gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS


From: Frank Nicholas
Subject: Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS
Date: Thu, 5 May 2016 20:49:11 -0400


On May 5, 2016, at 8:32 PM, Gary E. Miller <address@hidden> wrote:
From my pi2:

address@hidden:~# gpsd -nND 9 /dev/ttyAMA0 |& fgrep PPS
gpsd:PROG: PPS:/dev/ttyAMA0 chrony socket /var/run/chrony.ttyAMA0.sock doesn't exist
gpsd:INFO: KPPS:/dev/pps0 RFC2783 path:/dev/pps0, fd is 6
gpsd:INFO: KPPS:/dev/pps0 pps_caps 0x1151
gpsd:INFO: KPPS:/dev/pps0 have PPS_CANWAIT
gpsd:WARN: KPPS:/dev/pps0 missing PPS_CAPTURECLEAR, pulse may be offset
gpsd:INFO: KPPS:/dev/pps0 kernel PPS will be used
gpsd:PROG: PPS:/dev/pps0 thread launched
gpsd:INFO: PPS:/dev/ttyAMA0 ntpshm_link_activate: 1
gpsd:INFO: KPPS:/dev/pps0 kernel PPS timeout Interrupted system call
gpsd:INFO: KPPS:/dev/pps0 kernel PPS timeout Interrupted system call
gpsd:PROG: KPPS:/dev/pps0 assert  1462494705.000023588, sequence: 149679, clear   0.000000000, sequence: 0 - using: assert
gpsd:PROG: KPPS:/dev/pps0 Assert cycle: 1462494705000023, duration:       0 @  1462494705.000023588
gpsd:RAW: PPS:/dev/pps0 Assert pps-detect changed to 1
gpsd:PROG: PPS:/dev/pps0 Assert cycle: 1462494705000023, duration:       0 @  1462494705.000023588
^C

From my Pi2:
dev2-rpi ~ # gpsd -nND 9 /dev/ttyAMA0 |& fgrep PPS
gpsd:PROG: PPS:/dev/ttyAMA0 chrony socket /var/run/chrony.ttyAMA0.sock doesn't exist
gpsd:WARN: KPPS:/dev/pps0 kernel PPS unavailable, PPS accuracy will suffer
gpsd:PROG: PPS:/dev/pps0 thread launched
gpsd:INFO: PPS:/dev/ttyAMA0 ntpshm_link_activate: 1

PPS device is automatically created:
crw-rw---- 1 root tty  244, 0 Dec 31  1969 /dev/pps0

Stock Raspberry Pi kernel from:
git clone --depth 1 https://github.com/raspberrypi/firmware.git
rsync -av firmware/boot/* /boot/

Modules (all auto loaded at boot):
Module                  Size  Used by
rpcsec_gss_krb5        21302  0
ipv6                  347530  36
cfg80211              427855  0
binfmt_misc             6388  1
btusb                  27628  0
btrtl                   3667  1 btusb
btintel                 6167  1 btusb
btbcm                   5929  1 btusb
bluetooth             326105  5 btbcm,btrtl,btusb,btintel
rfkill                 16037  3 cfg80211,bluetooth
8192cu                519156  0
bcm2835_wdt             3225  0
bcm2835_gpiomem         3040  0
pps_gpio                2655  0
pps_core                6779  1 pps_gpio
uio_pdrv_genirq         3164  0
uio                     8000  1 uio_pdrv_genirq






reply via email to

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