xtrx-sdr / images

Pre-built XTRX packages and firmware images
https://www.crowdsupply.com/fairwaves/xtrx
44 stars 27 forks source link

GPS issue #88

Open martinspears opened 4 years ago

martinspears commented 4 years ago

gpsd give permission denied when attempting to open gpsd with the /dev/ttyXTRX0.

gpsd -n -N -D8 -S 3900 /dev/ttyXTRX0 gpsd:INFO: launching (Version 3.20) gpsd:IO: opening IPv4 socket gpsd:SPIN: passivesock_af() -> 3 gpsd:IO: opening IPv6 socket gpsd:SPIN: passivesock_af() -> 4 gpsd:INFO: listening on port 3900 gpsd:PROG: NTP: shmat(98347,0,0) succeeded, segment 2 gpsd:PROG: NTP: shmat(98348,0,0) succeeded, segment 3 gpsd:PROG: NTP: shmat(98349,0,0) succeeded, segment 4 gpsd:PROG: NTP: shmat(98350,0,0) succeeded, segment 5 gpsd:PROG: NTP: shmat(98351,0,0) succeeded, segment 6 gpsd:PROG: NTP: shmat(98352,0,0) succeeded, segment 7 gpsd:PROG: successfully connected to the DBUS system bus gpsd:PROG: shmget(0x47505344, 24024, 0666) for SHM export succeeded gpsd:PROG: shmat() for SHM export succeeded, segment 98355 gpsd:INFO: stashing device /dev/ttyXTRX0 at slot 0 gpsd:PROG: no /etc/gpsd/device-hook present, skipped running ACTIVATE hook gpsd:INFO: SER: opening GPS data source type 2 at '/dev/ttyXTRX0' gpsd:ERROR: SER: device open of /dev/ttyXTRX0 failed: Permission denied - retrying read-only gpsd:ERROR: SER: read-only device open of /dev/ttyXTRX0 failed: Permission denied gpsd:ERROR: initial GPS device /dev/ttyXTRX0 open failed gpsd:ERROR: can't run with neither control socket nor devices open

can you help?

arzulo commented 3 years ago

I actually opened a new issue with the exact same problem here: https://github.com/xtrx-sdr/images/issues/91

Did you happen to find a solution?