Package: gpsd
Version: 3.16-4
Severity: normal

Hi,

Situation:
- system with gps connected to serial port, pps to a gpio-pin
- two serial ports: /dev/ttyAMA0 and /dev/ttyS0
- gps is connected to /dev/ttyAMA0

Receiving and processing NMEA data works fine. The problem though is that gpsd 
opens the wrong /dev/pps device and thus doesn't receive the pps signal.

gpsd       431 451       gpsd    6u      CHR     204,64      0t0       6063 
/dev/ttyAMA0
gpsd       431 451       gpsd    7u      CHR      240,1      0t0      12379 
/dev/pps1

root@autobd2:~# cat /sys/devices/virtual/pps/pps0/assert
1559545038.000242375#26895
root@autobd2:~# cat /sys/devices/virtual/pps/pps1/assert
0.000000000#0



-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.3 (stretch)
Release:        9.3
Codename:       stretch
Architecture: armv6l

Kernel: Linux 4.19.42+
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gpsd depends on:
ii  adduser              3.115
ii  init-system-helpers  1.48
ii  libbluetooth3        5.43-2+rpt2+deb9u2
ii  libc6                2.24-11+deb9u1
ii  libdbus-1-3          1.10.24-0+deb9u1
ii  libgps22             3.16-4
ii  libusb-1.0-0         2:1.0.21-1
ii  lsb-base             9.20161125+rpi1
ii  netbase              5.4
ii  systemd-sysv         232-25+deb9u1

Versions of packages gpsd recommends:
ii  python  2.7.13-2
ii  udev    232-25+deb9u1

Versions of packages gpsd suggests:
ii  dbus          1.10.24-0+deb9u1
ii  gpsd-clients  3.16-4

-- no debconf information

Reply via email to