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

Lloyd Sumpter lsumpter@lynx.net
Thu, 23 Sep 2004 09:42:55 -0700


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.

Now, the scanner shows up on usbview and in sane-find-scanner:
found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], 
chip=LM9832/3) at libusb:001:002

It's also in /proc/bus/usb/devices as:
T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS= 8 #Cfgs=  1
P:  Vendor=04a9 ProdID=220d Rev= 1.00
S:  Manufacturer=Canon
S:  Product=CanoScan
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=16ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

(I'm a bit concerned about the "Driver=(none)" - can I change that?)

    I took the vender and product IDs from sane-find-scanner and made
plustek.conf as:

[usb] 0x04a9 0x220d
device auto

/etc/fstab has the line:
none /proc/bus/usb usbfs defaults,devmode=0666  0  0

(BTW: I'm the only user, so I don't care that ALL users have permission...)

however, when I set the debug on and run scanimage -L, I get:
[plustek] usbDev_open(auto,0x04A9-0x220D)
[plustek] No matching device found!
[plustek] open failed: -1

I've also tried making a /dev/usbscanner with mknod and using that, but 
  that doesn't work either.

Any help would be greatly appreciated!

Lloyd Sumpter