|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Unreviewed How To and FAQ POST HERE: Tips and solutions for SUSE Linux from the community. (Please do not post questions) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
GPS units come in the graphical unit type and the simple receiver
unit that rely on a PC Software package to function. This howto focuses on the Simple USB receiver, the commands used to connect opensuse to these units may work with some of the graphical units but we have not test this premise. So please let us know if this proves to be true, and with what units as this will help others. Preparatory Steps You should search for and install the following packages: Code:
gpsd gpsd-client gpsbabel gpsdrive (0ptional) xgps (sky view info tool) Packages not in the software manager: To install these packages click here Code:
qtgpsc TangoGPS Viking qtgpsc Satellite sky view lets you see the satellites, their signal strength, there quadrant, etc. TangoGPS gps map tool works with Open Street Maps; This tool is a must, we will use it to test your unit. Viking gps map tool it has some advance options the others do not. gpsd, gpsd-client, gpsbabel These provide drivers, and hardware support/monitoring. Activation Commands It might be a good idea to do a restart at this point Just to be safe. I have tested Three units a Garmin Usb 18, ambicom gps-usb and Pharos iGPS-500 with these commands they all worked. The Garmin Required one extra command to run, so I will separate the command howto into two parts a general usb gps and a Garmin specific one. Step 1: Open your Terminal and plug-in receiver Step 2: Enter su (super user mode) Step 3: Enter Code:
dmesg | grep tty Code:
PC:/home/user # dmesg | grep tty console [tty0] enabled usb 3-3: pl2303 converter now attached to ttyUSB0 PC:/home/user # Code:
gpsd -N -n -D 2 /dev/ttyUSB0 Code:
$ gpsd -N -n -D 2 /dev/ttyUSB0 gpsd: launching (Version 2.36) gpsd: listening on port gpsd gpsd: successfully connected to the DBUS system bus gpsd: running with effective group ID 0 gpsd: running with effective user ID 0 gpsd: opening GPS data source at ‘/dev/ttyUSB1′ gpsd: speed 9600, 8N1 gpsd: garmin_gps not active. gpsd: gpsd_activate(1): opened GPS (5) gpsd: client 127.0.0.1 (0) connect on fd 6 gpsd: client(0) turned on raw mode gpsd: speed 4800, 8N1 ![]() In conclusion if you have connect successfully you will see satellites as shown in this image. Step 6: Using Map Software Tango allows us to use open street maps they download automatically and you can choose to download your region to a certain zoom level. Do not assume that your gps is work from the fact that you can see your area this is done by ip address. The blue bulls eye tells you that you have a working gps. ![]() ![]() This program is by no means the only option it is just the easiest I have found so far. Here are a few link that will show you some other options if you have a mind to explore. Vikling gpsdrive roadnav Navit Tango Other Help Resource links: GPS Software Review gpsd Garmin Instructions Units Tested: Garmin-Usb-18 Step 1: Open your Terminal and plug-in receiver Step 2: Enter su (super user mode) Step 3: Enter in order shown (Step 3a) Code:
mount -t usbfs none /proc/bus/usb/ Code:
dmesg | grep tty Code:
PC:/home/user # dmesg | grep tty console [tty0] enabled usb 3-3: pl2303 converter now attached to ttyUSB0 PC:/home/user # Code:
gpsd -N -n -D 2 /dev/ttyUSB0 Code:
$ gpsd -N -n -D 2 /dev/ttyUSB0 gpsd: launching (Version 2.36) gpsd: listening on port gpsd gpsd: successfully connected to the DBUS system bus gpsd: running with effective group ID 0 gpsd: running with effective user ID 0 gpsd: opening GPS data source at ‘/dev/ttyUSB1′ gpsd: speed 9600, 8N1 gpsd: garmin_gps not active. gpsd: gpsd_activate(1): opened GPS (5) gpsd: client 127.0.0.1 (0) connect on fd 6 gpsd: client(0) turned on raw mode gpsd: speed 4800, 8N1 My thanks to all that have help with this effort. Please let me know if this works with more models, the more units listed the greater help this will be to others. |
|
||||
|
Quote:
I use a Garmin Nuvi 260w, but before you plug it in to the USB port set it to debug mode by holding your finger on the battery icon for around 20 seconds. Then connect and exit debug mode ![]() I also use scripts place in the ~/bin directory to start and stop gpsd Code:
start_gpsd #!/usr/bin/sh echo "Starting the gpsd daemon" sudo /usr/sbin/gpsd -n /dev/ttyUSB0 stop_gpsd #!/usr/bin/sh echo "Stopping the gpsd daemon" sudo kill -9 `pidof gpsd` Cheers Malcolm °¿° (Linux Counter #276890) openSUSE 11.1 (i586) Kernel 2.6.27.21-0.1-pae up 2:46, 3 users, load average: 0.33, 0.14, 0.06 ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME |
![]() |
| Bookmarks |
| Tags |
| ambicom, garmin, linux gps howto, pharos, usb gps |
| Thread Tools | |
| Display Modes | |
|
|