gpsd-users
[Top][All Lists]
Advanced

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

[gpsd-users] pps on rpi


From: Wolfgang S. Rupprecht
Subject: [gpsd-users] pps on rpi
Date: Thu, 02 Mar 2017 15:43:17 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

I'm seeing gpsd fail to read PPS on the current raspbian (jessie) on an
rpi 3 running the most current code from git.  The problem appears to be
that while TIOCMIWAIT exists in the include files and the ifdefs in the
code are turned on, the TIOCMIWAIT fails at runtime.

I found a thread from a year ago showing this exact problem but
didn't see a resolution.   I take it the solution of not using
TIOCMIWAIT is too painful?

Mar 02 14:27:12 time.wsrcc.com systemd[1]: Starting GPS (Global Positioning 
System) Daemon...
Mar 02 14:27:12 time.wsrcc.com systemd[1]: Started GPS (Global Positioning 
System) Daemon.
Mar 02 14:27:13 time.wsrcc.com gpsd[6589]: gpsd:WARN: KPPS kernel PPS will be 
used
Mar 02 14:27:13 time.wsrcc.com gpsd[6589]: gpsd:ERROR: PPS ioctl(TIOCMIWAIT) 
failed: 25 Inappropriate ioctl for device
Mar 02 14:27:13 time.wsrcc.com gpsd[6589]: gpsd:WARN: device read of /dev/pps0 
returned error or packet sniffer failed sync (flags {ERROR})
Mar 02 14:27:14 time.wsrcc.com gpsd[6589]: gpsd:WARN: can't use GGA time until 
after ZDA or RMC has supplied a year.
Mar 02 14:27:15 time.wsrcc.com gpsd[6589]: gpsd:ERROR: device open failed: 
Permission denied - retrying read-only
Mar 02 14:27:15 time.wsrcc.com gpsd[6589]: gpsd:ERROR: read-only device open 
failed: Permission denied
Mar 02 14:27:15 time.wsrcc.com gpsd[6589]: gpsd:ERROR: /dev/pps0: device 
activation failed.

-wolfgang




reply via email to

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