|
From: Matt W. <ma...@co...> - 2004-01-13 01:56:50
|
Hey people, I have hit a slight snag which I think is libusb related. I have a Canonscan LiDE 20 (Vendor 0x04a9 Product 0x220d). The scanner works fine with the "scanner" module in 2.6 except for the segfault on removal. The scanner module is supposed to be obsolete so I thought I'd try libusb. When I cat /proc/bus/usb I get the following relevant info: T: Bus=01 Lev=03 Prnt=03 Port=03 Cnt=03 Dev#= 12 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 Which shows that the scanner is being registered with the usb subsystem. I've set hotplug up so that I get: riogrande usb # ls 001/012 -l -rw-rw-rw- 1 root root 57 Jan 13 01:45 001/012 When I set the xsane backends up with "scanner" everything is dandy and it works proplerly. If I try xscanimage with SANE_DEBUG_SANEI_USB=4 and SANE_DEBUG_PLUSTEK=255 I get this. [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 The vendor and product are correct and should be detected by the backend, except its not doing. The scanner is in a powered hub so it can't be whinging about lack of power. Any ideas people? Matt |