[sane-devel] HP Scanjet 3690 not recognized

stef stef.dev at free.fr
Fri May 18 05:33:05 UTC 2012


Le 18/05/2012 03:55, Michael N.Steen a écrit :
> tor, 17 05 2012 kl. 07:17 +0200, skrev stef:
>
>>       Hello,
>>
>>       could you add :
>> export SANE_DEBUG_SANEI_USB=255
>>       before running scanimage -L as root ? I have seen usb failing
>> sometimes on setting alternate endpoints. Which was solved by compiling
>> SANE with the old libusb (not libusb-1.0). With this debug level we
>> should have more information about it.
>>
>> Regards,
>>       Stef
>>
> Hi,
>
> So I tried
>
> # export SANE_DEBUG_GENESYS=255
> # export SANE_DEBUG_GENESYS_LOW=255
> # export SANE_DEBUG_GENESYS_GL646=255
> # export SANE_DEBUG_SANEI_USB=255
> # scanimage -L
>
> It seems to me, that it finds the scanner but can't figure out what to
> do with it. The output is so long and I'm not sure what is important and
> what not, so I' attaching it all as a text file, except that seemingly uninteresting
> part are deleted and replaced with [...] to comply with the size limits of the list.
>
> The original file is available if need be.
>
> My apologies to the moderators if I have inadvertedly violated the rules of the list.
>
> Thank you very much for your time.
>
> Best regards,
> Michael
>
>
>
     Hello,

     the interesting part is:
[sanei_usb] sanei_usb_open: trying to open device `libusb:004:012'
libusb:error [op_set_configuration] failed, error -1 errno 71
[sanei_usb] sanei_usb_open: libusb complained: Numerical result out of range
[genesys] attach: couldn't open device `libusb:004:012': Invalid argument
     this means SANE's to set up USB for your scanner. I have 
encountered this problem with my GL646 based MD5345. I worked around it 
by recompiling SANE with another libusb version (ie I used libusb 
instead aof libusb-1.0, or the other way round, I don't remember). The 
same software combination worked on another computer. I did some 
debugging but don't have enough time to finish. I wouldn't be surprised 
if it is a kernel or libusb (or a combination of both) bug.

Regards,
     Stef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120518/d9d96063/attachment.html>


More information about the sane-devel mailing list