Hi,

The GPSD package uses this file if the user would like the GPS device to
be automatically detected and loaded by GPSD.

Since this file (hotplug.functions) is still missing in Ubuntu including
Jaunty and Karmic, is there an alternative to using this file?

I downloaded hotplug.functions from Debian sid, and copied it to
/lib/udev for the autodetecting to work in GPSD

It is called by the following file in the GPSD package:
/lib/dev/gpsd.hotplug.wrapper

The following changes had to also be made in the file in order for
everything to work properly:

[ "$START_DAEMON" = "true" ] || exit 0

Changed to:
[ "$START_DAEMON" = "false" ] || exit 0

Also, it had to be activated in the following file /etc/default/gpsd:

USBAUTO="true"

And I might had to add a device in:
DEVICES="/dev/ttyUSB0"

But I don't remember anymore.

It's working now, but I noticed that as long as I keep plugging and
unplugging the GPS device, it keeps increasing in its allocation as
follows:

/dev/ttyUSB0
/dev/ttyUSB1
/dev/ttyUSB2
/dev/ttyUSB3
/dev/ttyUSB4

Shouldn't it instead free the previous device and use it again if it is
available instead of increasing?

If you can direct me to an alternative way of retrieving the
functionality of hotplug.functions, I would be very grateful.

Was it removed to be replaced by something else?

Thanks

-- 
/lib/udev/hotplug.functions is missing
https://bugs.launchpad.net/bugs/6435
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to