[sane-devel] sane-find-scanner finds Lide20, plustek backend does not
Gerhard Jaeger
gerhard@gjaeger.de
Fri, 24 Sep 2004 14:33:56 +0200
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.
>
> 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
Go and try
[usb]
device auto
>
> /etc/fstab has the line:
> none /proc/bus/usb usbfs defaults,devmode=0666 0 0
That should be okay.
>
> (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.
No need to do this.
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/
ciao,
Gerhard