Navigatrix.net - A Voyager's Companion http://navigatrix.net/ |
|
Need help getting GPS working in Toughbook CF-18 http://navigatrix.net/viewtopic.php?f=4&t=680 |
Page 3 of 3 |
Author: | mklym [ 08 Aug 2014, 14:00 ] |
Post subject: | Re: Need help getting GPS working in Toughbook CF-18 |
Output of terminal: morgan@CF-18MK5Mx0:~$ sudo cat /dev/ttyS5 [sudo] password for morgan: I left it for over half an hour, and nothing. I shut that terminal. Output of terminal with second command: morgan@CF-18MK5Mx0:~$ sudo gpsctl -f -n -s 9600 /dev/ttyS5 [sudo] password for morgan: gpsctl:ERROR: /dev/ttyS5 already opened by another process gpsctl:ERROR: activation of device /dev/ttyS5 failed, errno=22 morgan@CF-18MK5Mx0:~$ So, what did I do wrong? |
Author: | Moe [ 08 Aug 2014, 19:02 ] |
Post subject: | Re: Need help getting GPS working in Toughbook CF-18 |
Are we having fun yet? I've no idea why sudo cat /dev/ttyS5 did nothing, except, for me, if gpsd is not running. While the sudo gpsctl -f -n -s 9600 /dev/ttyS5 fails because the gpsd is running in the background and gpsctl is polite Quote: moe@len:~$ sudo cat /dev/ttyUSB1 It's why I'm bald where I'm not grey.
$GPRMC,234457.691,V,,,,,,,080814,,,N*45 $GPGGA,234458.691,,,,,0,00,,,M,0.0,M,,0000*54 $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPGSV,3,1,12,21,49,319,34,31,48,139,32,09,44,319,,10,43,078,*75 $GPGSV,3,2,12,26,41,248,,22,31,221,,15,30,000,,02,24,000,*74 $GPGSV,3,3,12,16,20,099,,30,14,011,,18,01,229,,07,-2,349,*6E $GPRMC,234458.691,V,,,,,,,080814,,,N*4A $GPGGA,234459.694,,,,,0,00,,,M,0.0,M,,0000*50 $GPGSA,A,1,,,,,,,,,,,,,,,*1E $GPRMC,234459.694,V,,,,,,,080814,,,N*4E moe@len:~$ sudo gpsctl -f -n -s 9600 /dev/ttyUSB1 gpsctl:ERROR: /dev/ttyUSB1 already opened by another process gpsctl:ERROR: activation of device /dev/ttyUSB1 failed, errno=22 moe@len:~$ sudo killall gpsd moe@len:~$ sudo rm /var/run/gpsd.sock moe@len:~$ sudo gpsctl -f -n -s 9600 /dev/ttyUSB1 gpsctl:SHOUT: vendor/product match with 091e:0003 not found gpsctl:ERROR: packet recognition timed out. moe@len:~$ sudo cat /dev/ttyUSB1 <nothing> |
Author: | mklym [ 09 Aug 2014, 15:00 ] |
Post subject: | Re: Need help getting GPS working in Toughbook CF-18 |
Moe, I have been trying to get the gps working in this CF-18 for over 2 weeks. Even with all the time and assistance you have provided, the GPS is no closer to working. I have no more time that I can spend on this issue. I sincerely appreciate the time and effort you have spent trying to come up with a fix. All the best in life, Morgan |
Author: | Moe [ 09 Aug 2014, 20:30 ] |
Post subject: | Re: Need help getting GPS working in Toughbook CF-18 |
Doing diagnostics via remote is a challenge, particularly when our two best resources, our brains and the internet, are distressingly vacant. Your chip GXB5005 Datasheet wrote: The GXB5005 modules have a command format, NMEA-0183 version 3.01. A list of the supported UART Taking a look we seeinterface is as follows. For detailed descriptions, see the CXD2951 Communication Command Specification document. CXD2951 Communication Command Spec. wrote: Notice: When the baud rate is set for port setting, NMEA message may GPSD runs a validity check on connected devices. If the data is garbled it will probe looking for a better suiting driver. If no suitable data is returned it detaches the device because it's not a gps device, or so it thinks.not be outputted correctly in some cases. In this case, please execute @CLR command (2.11). Anyway, my current hypothesis is this chip . GXB5005 Datasheet wrote: UART Interface might be getting conflicting ideas.Interface: Asynchronous serial interface (UART) Baud rate: 4800bps/9600bps/19200bps/38400bps I would think that setserial would take care of this, but possible the probing from the gpsd your gpsd output wrote: gpsd:WARN: KPPS kernel PPS will be used flips the chip out and sends it down a doomed path. I don't know.gpsd:INFO: speed 9600, 8N1 When you have the time and inclination you can either come back, or see that no conflicting messages are sent by any subsystem or service...because it should work, we just don't know how, yet. But it might be as simple as one hand not knowing what the other is doing. |
Author: | Moe [ 11 Aug 2014, 21:31 ] |
Post subject: | Re: Need help getting GPS working in Toughbook CF-18 |
I was checking for a reason your gps didn't return anything when you 'cat' it. Try this: Code: sudo killall gpsd Code: sudo rm /var/run/gpsd.sock Code: gpscat -D2 -s 4800N1 /dev/ttyS5
|
Page 3 of 3 | All times are UTC - 5 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |