sending urb to usb device
From: Frank (nospam_at_nospam.net)
Date: 02/25/05
- Previous message: Jan Kandziora: "Re: shared libs"
- Next in thread: Pete Zaitcev (OTID3): "Re: sending urb to usb device"
- Reply: Pete Zaitcev (OTID3): "Re: sending urb to usb device"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Feb 2005 23:19:10 +0100
Hi,
For a week I'm trying to send a single URB to an USB device, but I can't
manage to let it work. no matter how I try to get the urb structure
filled correctly, usb_submit_urb returns with -EINVAL. The URB I try to
send is for diagnosting the functions of the device. (leds on the device
will blink for 5 seconds) Because I've tried many codes it's no good to
post some here. I got
http://wwwbode.cs.tum.edu/Par/arch/usb/usbdoc/node2.html as reference
and builtin kernel modules as examples. Nevertheless I just can't
manage it. Can anyone give me a simple example to send 1 URB?
(PS. The USB device is not supported in linux and I've contacted the
manufacturer how it works. They've told me to send an URB of 16 bytes
data to the HID device, but as far I've understood URB's can't be send a
received via the hiddev.)
thank in advanced,
Frank de Bot
- Previous message: Jan Kandziora: "Re: shared libs"
- Next in thread: Pete Zaitcev (OTID3): "Re: sending urb to usb device"
- Reply: Pete Zaitcev (OTID3): "Re: sending urb to usb device"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|