I recently purchased a Nikon LS40 scanner. The computer to which I connected it was a recent Pentium with Slackware 8.1, using kernel 2.4.18.

I downloaded the very latest version of the sane backends and frontends, (and replaced the coolscan2.c code with the enhanced version before compiling.) I then downloaded the latest xsane and upgraded this too.

After loading the required modules and adding the line "options scanner vendor=0x4b0 product=0x4000 the xsane and xscanimage both found the scanner, but on issuing scan commands the usb system simply hung after a partial scan line was received.

I looked for solutions to this problem on the Internet and found that hoards of people have had the same problem!

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

count-=partial;

(I think early scanner.c modules had "count-=this_read;" in two places, and the distributed kernel had the first one modified some time back.)

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.

Have any other people had this problem? Is there a reason why the distribution source code is what it is?



-------------------------------------------------------
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

Reply via email to