PPS API broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The kernel PPS API appears to be broken. I have a serial GPS with PPS attached to /dev/ttyS4. If I use gpsd to create /dev/pps0, gpsd fails to see PPS data. If I disable gpsd and create /dev/pps0 with ldattach, any app or tool run against ttyS4 works fine and does see the CTS transitions every second, i.e. gpsmon and ppscheck. Anything run against pps0 fails, i.e. ppstest, ppswatch. ntpd gets data from ttyS4 but not pps0.
There are some issues with stock apparmor with gpsd and ntpd, but I have solved those.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-80-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
CurrentDesktop: GNOME-Flashback
Date: Sat Jul 31 16:41:32 2021
HibernationDevice: RESUME=
InstallationDate: Installed on 2016-08-05 (1820 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187.15
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2020-11-09 (264 days ago)
dmi.bios.date: 11/26/2009
dmi.bios.vendor: Intel Corp.
dmi.bios.version: TYG4110H.
dmi.board.
dmi.board.name: DG41TY
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE47335-302
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCor
Hello Jim,
Did it work before with your system and got broken after a kernel update? If yes, would you be able to identify the kernel version which was working before? If you didn't run this use case before, would you be able to boot with an older kernel version and check whether it works?
Thanks.