As part of my solar panel tracking project, and with advice and help from several posters here, I have set up a Debian 2.6.32 install on a VirtualBox drive on my Mac, with a view to getting a bit of a head start.
I think it was JamesH who suggested a Bluenext gps device, so I bought one from http://www.scan.co.uk
for about £16.50. There are no Linux drivers supplied so it means using the Synaptic Package Manager to download the following:
1. gpsd, gpsd-clients
2. A simple mapping app eg TangoGPS
3. usb-modeswitch-data, usb-modeswitch (I'm not sure these are absolutely necessary, could try setting up without them first to see if they are really needed).
The install:1. Install: gpsd, gpsd-clients
2. Install a mapping program, e.g. TangoGPS
3a Assuming you have installed Debian on a virtual drive such as VirtualBox, go to
the lower RH corner of the screen and click on the usb icon. This will bring up
a list of the usb devices connected, and you need to click the one which says
'Silicon Labs CP2104 usb to uart bridge controller' so it is ticked.
4. Open a Terminal Window, type su at the prompt and enter the root password.
5. cd /dev
6. ls - this will list all the folders in the /dev directory
7. Note down the folder of GPS device e.g. gps0
7. type dpkg-reconfigure gpsd
8. Optional: type gpspipe -r - wait a second and the screen should fill with the data strings being sent from the gps dongle.
9. Ctrl+C to Exit back to the prompt.
10. At the prompt, type lsmod
...and you should see a whole load of stuff appear, including the following
line near the bottom:
Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated
Products, Inc. CP210x Composite Device
If gpspipe -r and/or lsmod don't have any effect go back to step #6 and try a different device.
Typing xgps or cgps will start two small apps that will display the gps data, or open up yourmapping program and try it out.
Theres no need to run this setup again unless you change GPS device. I'm not sure how this process will compare with how it's done on a R Pi, but it looks as thoughwe'll find out soon. (Apologies to all the Linux experts here - I know the above is probably simple for you guys,but I've really struggled to get my head round Debian so far, and have repeatedly come up againstconfusing and badly written so-called 'tutorials' on the net.