- From: Bernd Porr <BerndPorr_at_f2s.com>
- Date: Fri, 20 May 2005 11:50:01 +0100
>>comedi_config /dev/comedi0 usbdux
You need to load firmware into the device:
comedi_config -i /usr/local/share/usb/usbdux_firmware.hex /dev/comedi0
usbdux
See also bottom of the page:
http://www.linux-usb-daq.co.uk/drivers2/
/Bernd
www: http://www.berndporr.me.uk/
http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7840 340069
Work: +44 (0)141 330 5237
University of Glasgow
Department of Electronics & Electrical Engineering
Room 519, Rankine Building, Oakfield Avenue,
Glasgow, G12 8LT
Joel Chenu wrote:
> Hi all,
> I've followed the directions from the usbdux website
> closely and still can't make my usbdux device work...
>
> I have a USBDUX regular (not fast) plugged into a Dell
> Poweredge 2650 running kernel 2.6.11-8.
>
> Does anyone out there have any experience with this
> device that could shed some light on the situation?
>
> Here's a summary of what happen:
> 1) Plug in usbdux
>
>
>>dmesg
>
> usb 1-2: new full speed USB device using ohci_hcd and
> address 5
> comedi: version 0.7.70 - David Schleef
> <ds_at_schleef.org>
> usbdux.c: v1.00pre11:Stirling/ITL USB-DUX --
> Bernd.Porr_at_f2s.com
> comedi_: usbdux: setting all possible devs to invalid
> comedi_: usbdux_: finding a free structure for the
> usb-device
> comedi_: usbdux: usbduxsub[0] is ready to connect to
> comedi.
> comedi_: usbdux: ifnum=0
> comedi_: usbdux0 has been successfully initialized.
> usbcore: registered new driver usbdux
>
> 2) Configure device
>
>>comedi_config /dev/comedi0 usbdux
>>dmesg
>
> comedi0: usbdux: usb-device 0 is attached to comedi.
> comedi0: successfully attached to usbdux.
>
> 3) run test program
>
>>comedilib/demo/cmd
>
>
> BUG in do_test_for_insn_bits()
> : Connection timed out
> command before testing:
> start: now 0
> scan_begin: timer 1000000
> convert: now 0
> scan_end: count 4
> stop: count 1000
> first test returned 0 (success)
> start: now 0
> scan_begin: timer 1000000
> convert: now 0
> scan_end: count 4
> stop: count 1000
> second test returned 0 (success)
> start time: 1116114247.607902
>
>
>>dmesg
>
>
> usb 1-2: lt-cmd timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110
> comedi0: usbdux_ai_cmdtest
> comedi0: usbdux_ai_cmdtest
> comedi0: usbdux_ai_cmdtest
> comedi0: usbdux_ai_cmdtest
> comedi0: usbdux_ai_cmdtest
> comedi0: usbdux_ai_cmd
> comedi 0: sending commands to the usb device: size=8
> usb 1-2: lt-cmd timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110
>
> 4) Try other demo programs
>
>
>>./insn
>
> BUG in do_test_for_insn_bits()
> : Connection timed out
> /dev/comedi0: Connection timed out
>
>
>>/outp -s 1 2000
>
> BUG in do_test_for_insn_bits()
> : Connection timed out
> /dev/comedi0: Connection timed out
>
>
> The main problem: -110 USB ERROR
>
> Here's a sample of the output from dmesg
> usb 1-2: comedi_config timed out on ep0out
> comedi_: usbdux: result=-110
> comedi_: usbdux: uppload failed
> comedi_: usbdux: firmware upload failed
> comedi0: usbdux: usb-device 0 is attached to comedi.
> comedi0: successfully attached to usbdux.
> usb 1-2: lt-insn timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110
> usb 1-2: lt-insn timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110
> usb 1-2: lt-outp timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110
> usb 1-2: lt-outp timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110
> usb 1-2: lt-cmd timed out on ep4out
> comedi0: could not transmit dux_command to the
> usb-device, err=-110
>
> How do I resolve this -110 USB error? It appears to
> be caused by
> something in the USB part of the kernel (note that the
> errors all come
> from "usb 1-2"). Does the usbdux driver use the USB
> API incorrectly?
>
> Thanks for any help or guidance you can provide...
> Joel
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
>
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
Received on 2005-05-20Z09:50:01