On 09/11/17 21:17, Gary E. Miller
wrote:
Yo stinga!
On Thu, 9 Nov 2017 21:12:24 +0000
stinga <address@hidden> wrote:
address@hidden:~# ppscheck /dev/pps0
# Seconds nanoSecs Signals
PPS ioctl(TIOCMIWAIT) failed: 25 Inappropriate ioctl for device
My mistake, ppscheck is for serial ports, and you are now using the
pps-gpio. Do ppstest /dev/ppsX
Well it used to and now it does not, let me test a bit more.
address@hidden:~# dmesg|grep -i pps
[ 5.487282] pps_core: LinuxPPS API ver. 1 registered
[ 5.487291] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <address@hidden>
[ 5.511174] pps pps0: new PPS source pps.-1
[ 5.511363] pps pps0: Registered IRQ 178 as PPS source
Did you check the doc that IRQ 178 is connected to your GPIO pin?
How would I confirm/check that?
--
'ooroo
Stinga...(:)-)
---------------------------------------------------
Email: address@hidden o
You need only two tools. o /////
A hammer and duct tape. If it /@ `\ /) ~
doesn't move and it should use > (O) X< ~ Fish!!
the hammer. If it moves and `\___/' \) ~
shouldn't, use the tape. \\\
---------------------------------------------------