From a57ff1fc14750abf4d140686fa4f8dc7e754d859 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 21 Dec 2003 17:30:01 +0000 Subject: [PATCH] update from bernd porr to use fxload to load firmware --- etc/hotplug/usb/usbdux/usbdux | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/etc/hotplug/usb/usbdux/usbdux b/etc/hotplug/usb/usbdux/usbdux index fd16b84..194b1ea 100755 --- a/etc/hotplug/usb/usbdux/usbdux +++ b/etc/hotplug/usb/usbdux/usbdux @@ -31,8 +31,13 @@ fi # # please modify if needed # -echo "$COMEDI_CONFIG -i $USBDUX_FIRMWARE /dev/comedi0 usbdux" -$COMEDI_CONFIG -i $USBDUX_FIRMWARE /dev/comedi0 usbdux -# +# firmware upload into the usb device +fxload -v -2 -I $USBDUX_FIRMWARE +# +# 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 /dev/comedi0 usbdux # # -- 2.26.2