Set the ring buffer length to 512kB for usbduxfast. This is needed
authorBernd Porr <Bernd.Porr@f2s.com>
Sun, 27 Feb 2005 02:18:23 +0000 (02:18 +0000)
committerBernd Porr <Bernd.Porr@f2s.com>
Sun, 27 Feb 2005 02:18:23 +0000 (02:18 +0000)
for graphical software like qtscope. Otherwise we get always buffer
overflows.

etc/hotplug/usb/usbduxfast/usbduxfast

index 226161b4d26187435484ca500dc7dfec256ad308..c5776bf8f7a8e424231df30c0c9ba8de97a4482c 100755 (executable)
@@ -38,7 +38,7 @@ $COMEDI_CONFIG -r /dev/comedi0
 # $COMEDI_CONFIG -r /dev/comedi1
 #
 # connecting the comedi device comedi0 with the module usbdux
-$COMEDI_CONFIG -i $USBDUX_FIRMWARE /dev/comedi0 usbduxfast
+$COMEDI_CONFIG --read-buffer 512 -i $USBDUX_FIRMWARE /dev/comedi0 usbduxfast
 # $COMEDI_CONFIG /dev/comedi1 usbduxfast
 #
 #