I also had a problem with gpsd on BBB running debian/3.8.13-bone50. The
issue was that the init script was correct but systemd intercepts the init
script before it executes. My fix was to edit
/lib/systemd/system/gpsd.service to this:
[Unit]
Description=GPS (Global Positioning System) Daemon
Requires=gpsd.socket
[Service]
EnvironmentFile=/etc/default/gpsd
ExecStart=/usr/sbin/gpsd -N ${GPSD_OPTIONS} ${DEVICES}
[Install]
Also=gpsd.socket
On Saturday, July 5, 2014 10:15:20 AM UTC-4, [email protected] wrote:
>
> I was also running it as root. I ended up re-flashing the eMMC and it
>> started. The issue was the systemd was starting gpsd, but it was not
>> working properly. Prevent it from starting on boot and see if you can
>> manually run gpsd. Running as root, lsof -i :2947, will tell you if it
>> started at boot and once you manually start gpsd, if gpsd is using the port.
>>
>
>
>
>> I had some other issue with NTPD and GPSD (NPTD would not connect to
>> GPSD, it may have been a start order issue). I therefore deleted the
>> systemd service and socket files. I wrote a custom init script to handle
>> gpsd. Not the best solution, but I am more familiar with init scripts and
>> the configuration/use.
>>
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.