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




Post new topic Reply to topic  [ 45 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Need help getting GPS working in Toughbook CF-18

Joined: 19 Jul 2014, 12:47
Posts: 27
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?


Top
   
 
 Post subject: Re: Need help getting GPS working in Toughbook CF-18

Joined: 04 Nov 2010, 20:51
Posts: 1062
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
$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>
It's why I'm bald where I'm not grey.


Top
   
 
 Post subject: Re: Need help getting GPS working in Toughbook CF-18

Joined: 19 Jul 2014, 12:47
Posts: 27
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


Top
   
 
 Post subject: Re: Need help getting GPS working in Toughbook CF-18

Joined: 04 Nov 2010, 20:51
Posts: 1062
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
interface is as follows. For detailed descriptions, see the CXD2951 Communication Command Specification
document.
Taking a look we see
CXD2951 Communication Command Spec. wrote:
Notice: When the baud rate is set for port setting, NMEA message may
not be outputted correctly in some cases. In this case, please
execute @CLR command (2.11).
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.

Anyway, my current hypothesis is this chip .
GXB5005 Datasheet wrote:
UART Interface
Interface: Asynchronous serial interface (UART)
Baud rate: 4800bps/9600bps/19200bps/38400bps
might be getting conflicting ideas.
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
gpsd:INFO: speed 9600, 8N1
flips the chip out and sends it down a doomed path. I don't know.

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.


Top
   
 
 Post subject: Re: Need help getting GPS working in Toughbook CF-18

Joined: 04 Nov 2010, 20:51
Posts: 1062
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


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


Search for:
cron

Credits © 2010 - 2024