[sane-devel] Snapscan on Mac OS X 10.3

Rémi Zara remi_zara at mac.com
Sat Dec 6 17:20:44 GMT 2003


Le 6 déc. 03, à 12:19, Henning Meier-Geinitz a écrit :

> Hi,
>
> On Sun, Nov 30, 2003 at 01:46:37PM +0100, Rémi Zara wrote:
>>> Environment variable: SANE_DEBUG_SANEI_SOMETHING, e.g.
>>> SANE_DEBUG_SANEI_USB=255 or SANE_DEBUG_SANEI_SCSI=255.
>>
>> This is very interresting !
>> With SANE_DEBUG_SANEI_USB=255, scanimage -L finds my snapscan e40 !
>> Set it back to 0, and it does not find it anymore.
>> Set it back to 255, and here it is !
>> Either something's wrong with debugging, either there is maybe some
>> timing problems ?
>
> Usually that's a timinig issue. Maybe a problem in libusb?
>

Hi,

The problem might indeed be in libusb, since I found that the debug 
level necessary to make it find my scanner is anything >= 5, which 
activates debugging in libusb:

in sanei_usb_init (void)

#ifdef DBG_LEVEL
   if (DBG_LEVEL > 4)
     usb_set_debug (255);
#endif /* DBG_LEVEL */

Regards,

Rémi Zara
--
Rémi Zara
http://www.remi-zara.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20031206/bd14e028/attachment.bin>


More information about the sane-devel mailing list