Results 1 to 5 of 5

Thread: GPS dongle how to get it to woek with Ubuntu

  1. #1
    Join Date
    Apr 2007
    Location
    Staunton, Va. USA
    Beans
    509
    Distro
    Ubuntu 16.04 Xenial Xerus

    GPS dongle how to get it to woek with Ubuntu

    I have a G-mouse GPS USB dongle and I want to configure my laptop to use it and show the GPS data. How do I go about getting it to work?

    I can not find any new information on setting up GPS on a Ubuntu laptop. Some how to's were posted in 2011 or 8 years ago, but not much for newer versions of Ubuntu (18.04 or newer)

  2. #2
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    9,934

    Re: GPS dongle how to get it to woek with Ubuntu

    Well, if a device doesn't work when you plug it in, then it likely means that there is no driver for it, so then you have to improvise.

    If you are lucky, then the device uses a serial USB interface, in which case it will show up as /dev/ttyUSBxx and then you can read it with cat or netcat, but you need to know what the port speed is running at, so the first thing to do, is to find the data sheet of the widget. Some googling should get one.

    Then, you need to do something like this:
    $ ls /dev/tty*
    Look for the widget and note the name e.g ttyUSB0

    echo "Set serial port USB0 to 9600N81"
    $ stty -F /dev/ttyUSB0 9600
    $ stty /dev/ttyUSB0

    # Read the data to the terminal window
    $ cat /dev/ttyUSB0

    GPS serial data is easy to parse. I've done it with an Arduino:
    https://www.aeronetworks.ca/2016/08/...ps-parser.html

    Also see these:
    https://www.aeronetworks.ca/2015/10/...om-serial.html
    https://www.aeronetworks.ca/2014/10/...revisited.html

  3. #3
    Join Date
    Apr 2007
    Location
    Staunton, Va. USA
    Beans
    509
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: GPS dongle how to get it to woek with Ubuntu

    I have a VK-162 Notebook USB GPS Navigation Module dongle. It connect via USB, but does not show when ls /dev/tty* is used in the terminal. I have downloaded using Synaptic Package Manager the GPSdaemon and GPS clients. Not sure what else to get.
    My dongle does not show when I do lsusb. Other USB devices will show when lsusb is used in CL.

  4. #4
    cprofitt's Avatar
    cprofitt is offline νόησις νοήσεως - nóesis noéseos
    Join Date
    Oct 2006
    Location
    平静
    Beans
    1,451
    Distro
    Ubuntu Development Release

    Re: GPS dongle how to get it to woek with Ubuntu

    I can not speak to your particular module, but I had an old Microsoft USB GPS dongle and it showed up when I did an lsub command. I suspect you do not have a driver as HermanAB said.

    That said there are items on sale at Amazon that claim this device works with Linux and only requires gpsd and gpsd-clients. Have you tried installing those?

  5. #5
    Join Date
    Mar 2007
    Location
    Promiseland
    Beans
    1,035
    Distro
    Xubuntu

    Re: GPS dongle how to get it to woek with Ubuntu

    It may appear as something else. This is what mine looks like:
    Code:
    $ lsusb
    ...
    Bus 001 Device 008: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
    ...
    I don't believe my Prolific PL2303 needed a specific driver.
    In addition to gpsd, you may need other programs to support GPS including foxtrotgps, gis-gps, gpsbabel, gpscorrelate, gpsd-clients, gpsman, gpx2shp, python-gps. This list is not all inclusive, there may be others.
    I don't recall having to complete any configuration. It sort of self-configures when it is installed. FoxtrotGPS is the program that shows where you are, and surrounding area.
    You also might want to check out http://opengps.org/ which has some good information about GPS.
    Attached Images Attached Images
    Last edited by him610; November 17th, 2019 at 12:21 AM. Reason: attachment
    Cheers,


    The Linux Command Line at http://linuxcommand.org/

Tags for this Thread

Bookmarks

Posting Permissions

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