Results 1 to 4 of 4

Thread: USB GPS Mini Howto

  1. #1
    Join Date
    Jul 2008
    Location
    USA
    Posts
    163

    Default USB GPS Mini Howto

    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:
    gpsd
    gpsd-client
    gpsbabel
    gpsdrive (0ptional)
    xgps (sky view info tool)

    Packages not in the software manager:
    To install these packages click here

    qtgpsc
    TangoGPS
    Viking
    Explanation of Tools:

    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 two 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
    Out put should look like this.
    Code:
    PC:/home/user # dmesg | grep tty
    console [tty0] enabled
    usb 3-3: pl2303 converter now attached to ttyUSB0
    PC:/home/user #
    Step 4: Enter (you are starting gpsd)
    Code:
    gpsd -N -n -D 2 /dev/ttyUSB0
    Out put should look like this.
    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
    Step 5: With a clear view of the sky start qtgpsc or xgps. This will give you a picture of the satellite your receiver is connected to.(notice the button next to Host it must be click to connect the unit)



    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

    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/
    (Step 3b)
    Code:
    dmesg | grep tty
    Out put should look like this.
    Code:
    PC:/home/user # dmesg | grep tty
    console [tty0] enabled
    usb 3-3: pl2303 converter now attached to ttyUSB0
    PC:/home/user #
    Step 4: Enter (you are starting gpsd)
    Code:
    gpsd -N -n -D 2 /dev/ttyUSB0
    Out put should look like this.
    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
    Step 5: With a clear view of the sky start qtgpsc or xgps. This will give you a picture of the satellite your receiver is connected to.

  2. #2

    Default Thanks very much

    Thanks very much for posting this; you seem very knowledgable on this topic;

    my worry is whether this excellent post will be easily findable for others who want to access this type of information;

    other forum members may suggest another place in the Suse system to store this

    many thanks for adding this knowledge

  3. #3
    ismee NNTP User

    Default Re: Thanks very much

    good guidelines.thanks.
    So, If my device have internal receiver (serial), the configurations for satellite signal,maps....still same?

  4. #4
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    405

    Default Re: Thanks very much

    I am trying to connect a keomo GPS receiver in openSUSE 11.3 need some help;

    linux:/home/anton # dmesg | grep tty
    [ 0.000000] console [tty0] enabled
    linux:/home/anton # gpsd -D 5 -nN /dev/ttyUSB0
    gpsd: launching (Version 2.92)
    gpsd: Can't bind to port gpsd
    gpsd: Maybe gpsd is already running!
    gpsd: Can't bind to port gpsd
    gpsd: Maybe gpsd is already running!
    gpsd: command sockets create failed, netlib errors -1, -1
    linux:/home/anton #

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •