Removed two scripts which are no longer used by hotplug.

In the early udev days the firmware had to be uploaded
by comedi_config. However now the driver requests the
firmware by itself and there is no need to have dedicated
scripts for every kernel module in udev.
This commit is contained in:
Bernd Porr 2012-04-23 12:28:13 +01:00
parent 9a76f63cd3
commit c2d03227e0
3 changed files with 2 additions and 75 deletions

View file

@ -1,10 +1,10 @@
EXTRA_DIST = 90-comedi.rules usbdux usbduxfast
EXTRA_DIST = 90-comedi.rules
if INSTALL_UDEVHOTPLUG
udevrules_DATA = 90-comedi.rules
udevscripts_SCRIPTS = usbdux usbduxfast
udevscripts_SCRIPTS =
else

View file

@ -1,34 +0,0 @@
#!/bin/sh
#
# hotplug script for USBDUX. Apr 21 GMT 2007
# berndporr@f2s.com
#
#
#
#look for comedi config
COMEDI_CONFIG=
#
if [ -e /usr/local/sbin/comedi_config ]; then
COMEDI_CONFIG=/usr/local/sbin/comedi_config
fi
if [ -e /usr/sbin/comedi_config ]; then
COMEDI_CONFIG=/usr/sbin/comedi_config
fi
if [ -e /sbin/comedi_config ]; then
COMEDI_CONFIG=/sbin/comedi_config
fi
#
#
#look for the firmware
#default location
USBDUX_FIRMWARE=/lib/firmware/usbdux_firmware.hex
#
#
#
# just to make sure we remove the comedi device
$COMEDI_CONFIG -r /dev/comedi0
#
# connecting the comedi device comedi0 with the module usbdux
$COMEDI_CONFIG -i $USBDUX_FIRMWARE /dev/comedi0 usbdux
#
#

View file

@ -1,39 +0,0 @@
#!/bin/sh
#
# hotplug script for USBDUXFAST. Apr 21 2007.
# berndporr@f2s.com
#
#
#
#look for comedi config
COMEDI_CONFIG=
#
if [ -e /usr/local/sbin/comedi_config ]; then
COMEDI_CONFIG=/usr/local/sbin/comedi_config
fi
if [ -e /usr/sbin/comedi_config ]; then
COMEDI_CONFIG=/usr/sbin/comedi_config
fi
if [ -e /sbin/comedi_config ]; then
COMEDI_CONFIG=/sbin/comedi_config
fi
#
#
# default location
USBDUX_FIRMWARE=/lib/firmware/usbduxfast_firmware.hex
#
#
#
#
#
# If you have more than one device please add/uncomment
#
# just to make sure we remove the comedi device
$COMEDI_CONFIG -r /dev/comedi0
# $COMEDI_CONFIG -r /dev/comedi1
#
# connecting the comedi device comedi0 with the module usbdux
$COMEDI_CONFIG --read-buffer 512 -i $USBDUX_FIRMWARE /dev/comedi0 usbduxfast
# $COMEDI_CONFIG /dev/comedi1 usbduxfast
#
#