I am looking at a UHCI usb device which has endpoints of type interrupt.
A userspace daemon attempts to submit an urb of type bulk to the device.
This fails and -EINVAl is returned.
Is it legal to send a bulk request to an interrupt endpoint?
proc_do_submiturb doesn't complain about this case.

The EINVAL comes from uhci_submit_interrupt because urb->interval is not
initialized for a bulk request on an interrupt endpoint. 

I don't really know anything about USB, so I hope this makes some sense.
The device and userspace daemon worked with earlier kernels. Maybe just
by accident? 

thanks,
Max Asbock



-------------------------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to