The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Garmin GPS still not working after follow other post dir

Joined: 08 Jul 2016, 09:37
Posts: 15
robert@robert-HP-Pavilion-g4-Notebook-PC:~$ dmesg | tail
[ 64.368994] usb 3-1: new full-speed USB device number 2 using xhci_hcd
[ 64.505703] usb 3-1: New USB device found, idVendor=091e, idProduct=0003
[ 64.505712] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 64.639677] usbcore: registered new interface driver usbserial
[ 64.639757] usbcore: registered new interface driver usbserial_generic
[ 64.639823] usbserial: USB Serial support registered for generic
[ 64.658309] usbcore: registered new interface driver garmin_gps
[ 64.658353] usbserial: USB Serial support registered for Garmin GPS usb/tty
[ 64.658383] garmin_gps 3-1:1.0: Garmin GPS usb/tty converter detected
[ 64.659853] usb 3-1: Garmin GPS usb/tty converter now attached to ttyUSB0
robert@robert-HP-Pavilion-g4-Notebook-PC:~$

rebooted again without it pluged in and this is the tail below is what was in the xgps line but no gps info workiing

"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","activated":"2016-08-29T03:19:34.268Z","driver":"Garmin USB binary","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}]}


Top
   
 
 Post subject: Re: Garmin GPS still not working after follow other post dir

Joined: 04 Nov 2010, 20:51
Posts: 1062
The trick is not to get ahead of yourself.

If you believe this guy http://mattventura.net/2014/06/15/using-the-sierra-mc5725s-gps-on-linux/
Quote:
The -N option causes it to run in the foreground so we can see any issues. If you get a message saying ‘gpsd:ERROR: PPS iotctl(TIOCMIWAIT) failed: 25 Inappropriate ioctl for device’, this is normal and will not prevent gps from working.
The other problem is just flipping switches. While an effect technique, you need to remember the state your in and how that fits into the testing/diagnostic plan.

The current state is
  • unblacklisted garmin_gps module in two places
  • either with gpsd.rules or without (preference is toward having the rule (no #))
  • a /etc/default/gpsd that looks like
    Quote:
    netty@netty:~$ cat /etc/default/gpsd
    # Default settings for gpsd.
    # Please do not edit this file directly - use `dpkg-reconfigure gpsd' to
    # change the options.
    START_DAEMON="true"
    GPSD_OPTIONS="-b -n -G -N"
    DEVICES=""
    USBAUTO="true"
    GPSD_SOCKET="/var/run/gpsd.sock"
  • the gps has a clear view and has been plugged in for at least 15 minutes (to ensure no cold start issues and unknowns with gps memory and battery

If you run xgps, or cgps, from the/another terminal what happens?

Does cgps timeout and quit? Does xgps show anything except n/a?...particularly between the 'skyview' and the 'gps data' there is a 'response box' that give information on what's going on.


Top
   
 
 Post subject: Re: Garmin GPS still not working after follow other post dir

Joined: 04 Nov 2010, 20:51
Posts: 1062
I just saw
Quote:
rebooted again without it pluged in and this is the tail below is what was in the xgps line but no gps info workiing

"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyUSB0","activated":"2016-08-29T03:19:34.268Z","driver":"Garmin USB binary","native":0,"bps":9600,"parity":"N","stopbits":1,"cycle":1.00}
You have
  • the path (/dev/ttyUSB0) and
  • you have a time ('activated":"2016-08-29T03:19:34.268Z").

You also have a gps that doesn't
  • have a clear view, or
  • doesn't have the current almanac to calculate satellite locations

Set it by a window and let it grind away for a bit. It might be something else, but the next test is time.


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2


Search for:
cron

Credits © 2010 - 2024