gpsd depends on nonexistent /lib/udev/hotplug.functions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gpsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gpsd
When plugging in a USB GPS receiver (GlobalSat ND-100 in my case), udev tries to add the device to the running gpsd (assuming gpsd is correctly configured, see below).
The script executed by udev is /lib/udev/
After a quick workaround (comment out the sourcing of hotplug.functions and the calls to 'wait_for_file') hotplugging works perfectly, at least as long as the system is up and running when the device gets plugged in.
Is there a replacement for /lib/udev/
Steps to reproduce:
Note that in order for gpsd.hotplug.
START_
DAEMON_OPTS="-F /var/run/gpsd.sock"
DEVICES=""
USBAUTO="true"
See also: Bug #112494 reports the same problem (among others) and is marked as fixed. I still see the problem on Ubuntu 9.04 (Jaunty) with gpsd 2.38-1ubuntu3
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: gpsd 2.38-1ubuntu3 [modified: lib/udev/
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gpsd
Uname: Linux 2.6.28-11-generic i686
I have confirmed this on Jaunty, and have also copied /lib/udev/ hotplug. functions from the udev package in Debian sid (0.141-1) instead of commenting it out. I have tested this and found it plays well with hotplug on startup for Jaunty. Let me know if I can help with further testing on this.