On Sat, 2002-10-05 at 09:26, Stephan Feder wrote:
> The scanner module does blocking IO. You cannot change it to any kind of
> nonblocking IO without breaking applications.
The intent of the patch was not to do nonblocking IO. The issue is that,
as man read(2) says, a read from a filedescriptor is allowed to return
less bytes than asked for. scanner.c tries to accumulate all bytes asked
for, and does so in a way that causes EOVERFLOW in the face of USB bulk
transfers that are smaller than the amount of bytes userspace asked for.
Is the USB scanner maintainer alive?
--
,_
/_) /| /
/ i e t e r / |/ a g e l
http://www.nagel.co.za
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel