On Tue, 26 Sep 2006, Lisa Ray wrote:

> Hi 
> 
> I have HID device which has 2 interrupt endpoints 0x81 for output and
> 0x02 for input. I tried hiddev ioctl approach but was unable to get any
> response from device my command is 6 bytes char array {0x01 ,
> 0x02,'C','v',-x03,0x06,0x00}.

In case you didn't already realize this, endpoint 0x81 is _input_ and
endpoint 0x02 is _output_.  Look again at your lsusb output.  If you mixed
them up, it could explain a lot.

> 1st byts is report id and rest device command, I tried to write to
> device interrupt endpoint by using FILL_INT_URB(&hid->outurb,....,0x081)
> ; usb_submit_urb(&hid->outurb). I had added this function call at end of
> hid-probe() in hid-core.c. But I am getting bogus endpoints error and
> device is not responding.

Can you be more specific?  What error exactly do you get?  Does the error 
occur when you submit the URB or when it completes?

> lsusb -vvv shows 0x081 (output) and 0x02 (input) endpoints same thing
> works on windows.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to