gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] IO to GPS chip set from gpsd


From: nagaraj
Subject: [gpsd-users] IO to GPS chip set from gpsd
Date: Tue, 26 May 2015 22:51:50 -0700

I see gpsd is writing some information to /dev/ttyACM0 which will eventually be received by the GPS chipset. Does anybody know what is this information that is being written to the serial device. I am using EWM-G108H01E GPS/GNSS module from u-blox 7. what is the reason behind writing this information to /dev/ttyACM0. I am running gpsd version 3.7 for openwrt attitude adjustment build. Sometimes gpsd is not working correctly with the GPS chipset EWM-G108H01E. Do I need to configure or write something to the /dev/ttyACM0 to make it work properly all the time. Please let me know if anybody has any insight.

May 26 22:01:29 gpsd[9914]: gpsd:IO: opening IPv4 socket
May 26 22:01:29 gpsd[9914]: gpsd:IO: opening IPv6 socket
May 26 22:01:29 gpsd[9914]: gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
May 26 22:01:29 gpsd[9914]: gpsd:IO: => GPS: @F0.3=1*67\x0d\x0a
May 26 22:01:29 gpsd[9914]: gpsd:IO: => GPS: @F2.2=1*64\x0d\x0a
May 26 22:01:29 gpsd[9914]: gpsd:IO: writing oncore control type Cj
May 26 22:01:29 gpsd[9914]: gpsd:IO: => GPS: @@Cj)\x0d\x0aRID*28\x0d\x0a
May 26 22:01:29 gpsd[9914]: gpsd:IO: Sent GeoStar packet id 0xc1
May 26 22:01:29 gpsd[9914]: gpsd:IO: => GPS: 5053474700c100010000000050924746
May 26 22:01:30 gpsd[9914]: gpsd:IO: => GPS: $PGRMCE*0E\x0d\x0a
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,02,u-blox ag - www.u-b
lox.com*50^M
May 26 22:01:30 gpsd[9914]: gpsd:IO: => GPS: $PSRF100,0,9600,8,1,0*0C\x0d\x0a
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,02/UBX
,HW  UBX-G5xxx  0004
0005 FFF1FFFFp*1C^M
May 26 22:01:30 gpsd[9914]: gpsd:IO: => GPS: $PFEC,GPint*58\x0d\x0a
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,02,ROM CORE 5.00 (2848
3) Jun  6 2008 14:45:11*40^M
May 26 22:01:30 gpsd[9914]: gpsd:IO: => GPS: $PTNLSNM,0139,01*5C\x0d\x0a
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,02,ANTSUPERV=AC SD PDo
S SR*20^M
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,02,ANTSTATUS=OK*3B^M
May 26 22:01:30 gpsd[9914]: gpsd:IO: => GPS: $PFEC,GPsrq*5B\x0d\x0a
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,01,PGRM inv format*34^
M
May 26 22:01:30 gpsd[9914]: gpsd:IO: => GPS: $PASHQ,RID*28\x0d\x0a
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,01,PSRF inv format*2B^
M
May 26 22:01:30 gpsd[9914]: gpsd:IO: <= GPS: $GPTXT,01,01,01,PFEC inv format*2C^
M
May 26 22:01:30 gpsd[9914]: gpsd:IO: => GPS: $PMTK605*31\x0d\x0a

strace output
===========

write(5, "$PASHQ,RID*28\r\n", 15)       = 15
ioctl(5, TCGETA or SNDCTL_TMR_TEMPO, 0x1) = 0
write(5, "@F0.3=1*67\r\n", 12)          = 12
ioctl(5, TCGETA or SNDCTL_TMR_TEMPO, 0x1) = 0
write(5, "@F2.2=1*64\r\n", 12)          = 12
ioctl(5, TCGETA or SNDCTL_TMR_TEMPO, 0x1) = 0
write(5, "@@Cj)\r\n", 7)                = 7
ioctl(5, TCGETA or SNDCTL_TMR_TEMPO, 0x1) = 0
ioctl(5, TCSETAW or SNDCTL_TMR_METRONOME, 0x2) = 0
ioctl(5, TCSETAW or SNDCTL_TMR_METRONOME, 0x2) = 0
write(5, "PSGG\0\301\0\1\0\0\0\0P\222GF", 16) = 16
write(5, "$PGRMCE*0E\r\n", 12)          = 12
ioctl(5, TCGETA or SNDCTL_TMR_TEMPO, 0x1) = 0
time(NULL)                              = 1432700473
open("/etc/TZ", O_RDONLY)               = 6
read(6, "PST8PDT\n", 68)                = 8
close(6)                                = 0
open("/etc/TZ", O_RDONLY)               = 6
read(6, "PST8PDT\n", 68)                = 8
close(6)                                = 0
open("/etc/TZ", O_RDONLY)               = 6
read(6, "PST8PDT\n", 68)                = 8
close(6)                                = 0
read(5, "$GPGGA,042112.00,,,,,0,00,99.99,"..., 1012) = 178
clock_gettime(CLOCK_REALTIME, {1432700473, 124591209}) = 0
write(5, "$PSRF100,0,9600,8,1,0*0C\r\n", 26) = 26
ioctl(5, TCGETA or SNDCTL_TMR_TEMPO, 0x1) = 0
read(5, 0x4645f6, 855)                  = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_REALTIME, {1432700473, 126805323}) = 0
write(5, "$PFEC,GPint*58\r\n", 16)      = 16
ioctl(5, TCGETA or SNDCTL_TMR_TEMPO, 0x1) = 0
write(5, "$PTNLSNM,0139,01*5C\r\n", 21) = 21

reply via email to

[Prev in Thread] Current Thread [Next in Thread]