Hi, On Wed, Jun 25, 2003 at 02:43:08PM +0000, Robert R. Pavlis wrote: > I looked for solutions to this problem on the Internet and found that > hoards of people have had the same problem!
There is also some discussion on the sane-devel mailing list. After discussions with the previous maintainer of the scanner driver I came to the conclusion that the code in scanner.c is intended and fixed odd behaviour for other scanners. So I won't change it until someone can prove to me that more scanners than the Nikon coolscan happen to don't like the current code and that other scanners don't break if it's changed. > I found a couple of references to the source code for scanner.c in the > Linux source code usb modules that stated that the line (around line > 700) that reads: > > count-=this_read; is WRONG and that it should be It's not really wrong. The scanner respinded with a short packet so either the scanner shouldn't do this or the backend tried to get too much data. While I think the latter is the case at least with vuescan, the coolscan backend maintainer says that his backend doesn't read to much data. > At any rate after changing this line the system worked perfectly. The > best system seems to be to use xscanimage as a gimp plug-in. If skilled > in the use of gimp, one can get beautiful scans with this set up. Do you use an UHCI host controller? Someone on sane-devel reported that the problem only occurs if he uses the "uhci" module. He switched to "usb-uhci" and scanning worked without problems at least with vuescan. > Have any other people had this problem? Is there a reason why the > distribution source code is what it is? See above. If the problem occurs with usb-uhci or usb-ohci, could you please revert the change in scanner.c, enable debugging in scanner.h and send me a kernel log when you try to scan and the problem occurs with SANE? Currently I only have a log file for vuescan. Thanks, Henning ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
