udev support for usbdux and usbduxfast in comedilib

Hi!

I've added udev support to comedilib (CVS).

You have to explicitly switch on udev support with the configure option 
because it needs a path as an argument (we could default it to /lib but 
for the time being you have to specify it).

./configure --enable-udev-hotplug=/lib --sysconfdir=/etc

This will install the firmware in /lib/firmware and the scripts in 
/lib/udev. The udev-rules for comedi are under /etc/udev/rules.d.
configure generates a warning if you specify other paths than /lib or 
/etc because it won't work in other locations such as /usr/local/etc.

The old hotplug is now off by default but can be switched on with

./configure --enable-etc-hotplug -sysconfdir=/etc

/Bernd

-- 
www:    http://www.berndporr.me.uk/
         http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7840 340069
Work:   +44 (0)141 330 5237
         University of Glasgow
         Department of Electronics & Electrical Engineering
         Room 519, Rankine Building, Oakfield Avenue,
         Glasgow, G12 8LT

Received on 2007-04-23Z21:57:24