gpsd doesn't start when USB GPS is plugged in
Bug #57486 reported by
Sascha Silbe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gpsd (Debian) |
Fix Released
|
Unknown
|
|||
gpsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gpsd
/usr/share/
/etc/hotplug/
Since the GPS receiver is usually not plugged in at bootup, I cannot simply start gpsd in the default runlevel (the device doesn't exist). So currently I have to start it manually. That's quite annoying.
Changed in gpsd: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
On Sat, 2005-11-12 at 12:22 +0100, Marco d'Itri wrote:
> Package: gpsd
> Version: 2.28-2
> Severity: important
>
> Your package installs files in the /etc/hotplug/usb/ directory, but
> does not provide an udev rules file. The /etc/hotplug/usb/ interface has
> been obsolete for a long time and is not supported by udev.
Hi Marco,
thanks for your report. I finally get round to prepare a new upload with
udev support.
> For more information about this you can look at the debian-devel@
> threads of last october.
> The libgphoto2 package is a good example of how to provide udev support,
> please let me know if you have any doubts.
> I will also be happy to review your changes before they are uploaded, if
> you want.
I'd be glad if you could have a look at my changes. All changes related www.subnetz. org/~til/ gpsd-preview/>.
to udev are attached as a diff; the package itself is at
<http://
> I also noticed that the script installed by your package uses python. hotplug. functions provides a wait_for_file function
> Please remember that udev RUN rules are run at the very beginning of the
> boot process, where /usr may not be available.
> You probably need to use a wrapper shell script which waits for /usr to
> appear, /lib/udev/
> you could use for this.
I assume /lib/udev/ hotplug. functions is not guarenteed to be around on hotplug. functions, but duplicate the wait_for_file
other distributions? I want to pass my changes upstream, so I don't
source /lib/udev/
function.
Cheers, Til