I have tried and tried to get GPSD to access NMEA data on my /dev/pts/2 device but I can not seem to make it happen. I have tried to change permissions to 777 still doesn't work. I can cat the /dev/pts/2 file and I see NMEA data plain as day but GPSD just keep saying it does not have permission. I tried to alter the /etc/apparmor.d/usr.sbin.gpsd file.I added
/dev/pts[0-9]* rw,# default paths feeding GPS data into chrony /{,var/}run/chrony.tty{,S,USB,AMA,pts}[0-9]*.sock rw,
I restarted apparmor still same errors.
I added my user to the tty group as well as the root user. No helpThe errors occur in both my local user and the root user.
Thanks for any help. I am running Ubuntu 22.04 on a desk top
gpsd:INFO: stashing device /dev/pts/2 at slot 0gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hookgpsd:INFO: SER: opening GPS data source type 6 at '/dev/pts/2'gpsd:ERROR: SER: device open of /dev/pts/2 failed: Permission denied - retrying read-onlygpsd:ERROR: SER: read-only device open of /dev/pts/2 failed: Permission deniedgpsd:ERROR: initial GPS device /dev/pts/2 open failedgpsd:ERROR: can't run with neither control socket nor devices open