Reply To: Having trouble getting data

Home Forums Forums Technical Support for BerryGPS and BerryGPS-IMU Having trouble getting data Reply To: Having trouble getting data

#15882
webtop
Participant

Okay, this may be an issue:

sudo systemctl status gpsd

● gpsd.service - GPS (Global Positioning System) Daemon

Loaded: loaded (/lib/systemd/system/gpsd.service; disabled; vendor preset: enabled)

Active: active (running) since Thu 2020-06-11 17:26:08 PDT; 1min 25s ago

Process: 1528 ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $DEVICES (code=exited, status=0/SUCCESS)

Main PID: 1529 (gpsd)

Tasks: 1 (limit: 2077)

Memory: 388.0K

CGroup: /system.slice/gpsd.service

└─1529 /usr/sbin/gpsd /dev/serial0

Jun 11 17:26:08 hab-pi-3 systemd[1]: Starting GPS (Global Positioning System) Daemon...

Jun 11 17:26:08 hab-pi-3 systemd[1]: Started GPS (Global Positioning System) Daemon.

Jun 11 17:26:55 hab-pi-3 gpsd[1529]: gpsd:ERROR: SER: device open of /dev/serial0 failed: Permission denied - retrying read-only

Jun 11 17:26:55 hab-pi-3 gpsd[1529]: gpsd:ERROR: SER: read-only device open of /dev/serial0 failed: Permission denied

Jun 11 17:26:55 hab-pi-3 gpsd[1529]: gpsd:ERROR: /dev/serial0: device activation failed.

Jun 11 17:26:55 hab-pi-3 gpsd[1529]: gpsd:ERROR: /dev/serial0: activation failed, freeing device

 

Then after running: sudo systemctl restart gpsd

sudo systemctl status gpsd
● gpsd.service - GPS (Global Positioning System) Daemon
Loaded: loaded (/lib/systemd/system/gpsd.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2020-06-11 17:29:25 PDT; 6s ago
Process: 1797 ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $DEVICES (code=exited, status=0/SUCCESS)
Main PID: 1798 (gpsd)
Tasks: 1 (limit: 2077)
Memory: 448.0K
CGroup: /system.slice/gpsd.service
└─1798 /usr/sbin/gpsd /dev/serial0

Jun 11 17:29:25 hab-pi-3 systemd[1]: Starting GPS (Global Positioning System) Daemon...
Jun 11 17:29:25 hab-pi-3 systemd[1]: Started GPS (Global Positioning System) Daemon.

But then after a while, it goes back to the permission denied status

Blip, blop, bloop...