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

Lloyd Sumpter lsumpter@lynx.net
Thu, 23 Sep 2004 10:19:01 -0700

gerard klaver wrote:
> On Thu, 2004-09-23 at 16:42, Lloyd Sumpter wrote:
>>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
> Check on www.sane-project.org the README.linux file
> check libusb package, hotplug package,
> ls -l /proc/bus/usb/001/002 should be at least
>  rw-rw----
Hi, Gerard, thanks for the reply!

I read the README.linux, but it mainly only addresses permission issues, 
  and I'm running as root (for now, until I get it working). Ditto 
hotplug and permissions on /proc/bus/usb/001/002. libusb must be working 
OK if sane-find-scanner finds the scanner, right? if not, where do I 
look to get it working with sane?

Another thread with similar problems talked of "emerging" libusb and 
xsane, but that was GenToo and I'm running Mandrake - I've never heard 
of "emerging"...

Shouldn't this be simple?

Lloyd Sumpter