Am Sonntag, 10. August 2003 18:18 schrieb Changwoo Ryu:
> Hi,
> 
> I'm trying to reverse-engineer a USB remote control receiver. 
> Fortunately the receiver consists of 1 configuration/1 interface/1
> interrupt-input endpoint, and no additional setting is required to read
> remote control signals from it.
> 
> First I used libusb to read input and I succeded.  With libusb, I just
> open the device and usb_bulk_read() to read data.  But when I tried to
> write a kernel driver, I failed.  The interrupt routine registered with
> FILL_INT_URB() has never been called.

Because you don't submit the URB. Using FILL_INT_URB is not enough.
You also need to call usb_submit_urb() with it.

        HTH
                Oliver



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to