projects
/
comedilib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5e78d
)
update from bernd porr to use fxload to load firmware
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 21 Dec 2003 17:30:01 +0000
(17:30 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 21 Dec 2003 17:30:01 +0000
(17:30 +0000)
etc/hotplug/usb/usbdux/usbdux
patch
|
blob
|
history
diff --git
a/etc/hotplug/usb/usbdux/usbdux
b/etc/hotplug/usb/usbdux/usbdux
index fd16b841963b7efa9365f1948c2e02d3809592db..194b1eab5475011e89ecff2c8d136e1b3712b496 100755
(executable)
--- 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
#
#