[sane-devel] sane-find-scanner finds Lide20, plustek backend does not

Lloyd Sumpter lsumpter@lynx.net
Tue, 28 Sep 2004 13:22:01 -0700


Gerhard Jaeger wrote:
> Hi,
> 
> On Thursday 23 September 2004 18:42, Lloyd Sumpter wrote:
> 
>>Hi,
>>
>>My Canon Lide20 (USB) was working on Mandrake 9.0 (sane 1.0.11, iirc and
>>Linux 2.4.x) using scanner.o. I upgraded to Mandrake 10.0 (sane 1.0.13,
>>Linux 2.6.3) and I found scanner.o has been discontinued, and I have to
>>use libusb. Sane tells me the scanner is supported with plustek backend.
>>

<snip>

>>    I took the vender and product IDs from sane-find-scanner and made
>>plustek.conf as:
>>
>>[usb] 0x04a9 0x220d
>>device auto
> 
> 
> Go and try
> [usb]
> device auto
> 

Tried it. Same result.

> If the problems still exist, send us the output of the following:
> export SANE_DEBUG_SANEI_USB=255 ; export SANE_DEBUG_PLUSTEK=20 ; scanimage -L
> 
> and
> 
> ls -l /proc/bus/usb/001/
> 
Thanks for the help! Still doesn't work, Here's the result of the ls:

[root@druid root]# ls -l /proc/bus/usb/001/
total 0
-rw-rw----  1 lsumpter usb 43 Sep 23 17:28 001
-rw-rw----  1 lsumpter usb 57 Sep 23 17:28 002
[root@druid root]# ls -l /proc/bus/usb/002/
total 0
-rw-rw----  1 lsumpter usb 43 Sep 23 17:28 001
-rw-rw----  1 lsumpter usb 43 Sep 22 21:34 002

(Scanner is on Bus=01 Lev=01)

And here is the DEBUG output:

[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x1606, product=0x0230
[sanei_usb] sanei_usb_open: trying to open device `/dev/usbscanner'
[sanei_usb] sanei_usb_open: can't find device `/dev/usbscanner' in list
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x1a20
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x1a26
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x2022
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x1a2a
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x2040
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x2060
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x207e
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20c0
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20b0
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20de
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20fc
[sanei_usb] sanei_usb_find_devices: vendor=0x04a5, product=0x20fe
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x0002
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x0001
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2061
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2093
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2091
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2095
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x2097
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x208d
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x20ff
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x208f
[sanei_usb] sanei_usb_find_devices: vendor=0x06bd, product=0x20fd
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0114
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011f
[sanei_debug] Setting debug level of plustek to 20.
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[plustek] Plustek backend V0.46-9, part of sane-backends 1.0.13
[plustek] ># Plustek-SANE Backend configuration file<
[plustek] ># For use with LM9831/2/3 based USB scanners<
[plustek] >#<
[plustek] ><
[plustek] >[usb] 0x04a9 0x220d<
[plustek] section contains no device name, ignored!
[plustek] next device is a USB device (0x04A9-0x220D)
[plustek] ... next device
[plustek] >device auto<
[plustek] Decoding device name >auto<
[plustek] ><
[plustek] ><
[plustek] ><
[plustek] ><
[plustek] ><
[plustek] attach (auto, 0xbfffc670, (nil))
[plustek] Device configuration:
[plustek] device name  : >auto<
[plustek] USB-ID       : >0x04A9-0x220D<
[plustek] warmup       : -1s
[plustek] lampOff      : -1
[plustek] lampOffOnEnd : yes
[plustek] cacheCalData : no
[plustek] altCalibrate : no
[plustek] skipCalibr.  : no
[plustek] skipFine     : no
[plustek] skipFineWhite: no
[plustek] invertNegs.  : no
[plustek] pos_x        : 0
[plustek] pos_y        : 0
[plustek] pos_shading_y: -1
[plustek] neg_x        : 0
[plustek] neg_y        : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x        : 0
[plustek] tpa_y        : 0
[plustek] tpa_shading_y: -1
[plustek] red gain     : -1
[plustek] green gain   : -1
[plustek] blue gain    : -1
[plustek] red Gamma    : 1.00
[plustek] green Gamma  : 1.00
[plustek] blue Gamma   : 1.00
[plustek] gray Gamma   : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] usbDev_open(auto,0x04A9-0x220D)
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x220d
[plustek] No matching device found!
[plustek] open failed: -1
[plustek] sane_get_devices (0xbfffe778, 0)
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0006
[sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0001
[sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0008
[sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0002
[sanei_usb] sanei_usb_find_devices: vendor=0x055f, product=0x0873
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x1005
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x1105
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0101
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0401
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0201
[sanei_usb] sanei_usb_find_devices: vendor=0x03f0, product=0x0601
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0101
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0103
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010c
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0104
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010b
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0106
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010a
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0107
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x010e
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0110
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0112
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011b
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011c
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x011e
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0801
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0802
[sanei_usb] sanei_usb_find_devices: vendor=0x04b8, product=0x0000
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x04b0, product=0x4000
[sanei_debug] Setting debug level of sanei_usb to 255.
[sanei_usb] sanei_usb_init: couldn't open /dev/usb/scanner0: No such device
[sanei_usb] sanei_usb_init: found 0 devices
[sanei_usb] sanei_usb_find_devices: vendor=0x04a9, product=0x2204
[plustek] sane_exit