I need location information for one of my Raspberry Pi devices. I have a USB GPS receiver that appears on /dev/ttyUSB0. To verify the hardware operation, I installed minicom
sudo apt-get install minicom
sudo minicom -s
Then set the port to /dev/ttyUSB0, port parameters to 4800 N8! with no flow control. You should then be able to see NMEA sentences
Once we have proved that the hardware is working, install gpsd.
sudo apt-get install gpsd
sudo dpkg-reconfigure gpsd to set the serial port
Then you have to manually edit the /etc/default/gpsd file and remove /dev/ttyUSB0 from the DEVICES and put it into GPSD_OPTIONS field.
sudo reboot
Once running, you should be able to run cgps -s to see gpsd responding with valid location information.