Christopher Li wrote:
So usbdevfs will refuse to serve the setup packet bigger than one page.
Is there a reason why is that? I am asking because some user get some
devices try to send setup packet bigger than one page. VMware can't
pass it to linux kernel using usbdevfs. And I can't find this limit
on the usb spec either.
Nobody has cared before ... :)
The main reason I know to keep any limit around is an implementation
limitation of the OHCI driver: it doesn't try to handle more than 4KB
right in its data stages.
Patches to remove that limit (2.5 and 2.4), or notice when alignment
allows up to 8K (no updates to TD queueing code), would be good to have.
Should we increase that limit for usbdevfs? i.e. kmalloc a buffer instead?
Certainly you should be able to actually reach that 4KB limit, if
not get to 64KB. The 2.4 OHCI code doesn't report errors if you
hit the "doesn't work" cases, so it would be safest to just make
usbfs work correctly for the up-to-4KB case.
- Dave
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel