From: Frank Mori Hess Date: Sun, 21 Dec 2003 17:30:01 +0000 (+0000) Subject: update from bernd porr to use fxload to load firmware X-Git-Tag: r0_7_22~111 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a57ff1fc14750abf4d140686fa4f8dc7e754d859;p=comedilib.git update from bernd porr to use fxload to load firmware --- 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 # #