[sane-devel] USB Canoscan N670U

Henning Meier-Geinitz henning@meier-geinitz.de
Fri, 15 Nov 2002 17:08:29 +0100


Hi,

On Fri, Nov 15, 2002 at 07:40:40AM -0800, Patrice Ouellette wrote:
> here is what i am running...
> IBM laptop T22
> with
> USB 1.1
> -82371AB/EB/MB PIIX4 USB
> -manufacturer: Intel Corp.
> -Driver usb-uhci
> -Device: N/A

Please also have a look at the mailing list archive. Similar problems
have been discussed quite a few times during the last weeks. Example:
http://www.mostang.com/pipermail/sane-devel/2002-November/005025.html

> here are some of the messages i get...
> sane-find-scanner -v gives the following...

[...]
> checking /dev/usbscanner15... failed to open (Invalid
> argument)

No scanner was found at any of the kernel scanner driver USB device
files.

> found USB scanner (vendor=0x04a9, product=0x220d) at
> libusb:001:002

Ok, at least USB works.

> cat /proc/bus/usb/devices
> 
> 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=00 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)

That's the interesting line. Your scanner was not detected by the
kernel scanner driver: Driver=(none). Try:

rmmod scanner; modprobe scanner vendor=0x04a9 product=0x220d

The line should now have: Driver=usbscanner.

> I AM USING THE FOLLOWING CONF FILE
> plustek.conf with the following settings....

[...]

> # The USB section:
> # each device needs at least two lines:
> # - [usb] vendor-ID and product-ID
> # - device devicename
> # i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)
> [usb] 0x04a9 0x220d
> device /dev/usbscanner2

Ok, but this means that this is your 3rd USB scanner. Do you really
have 3 scanners? Usually it's /dev/usb/scanner0.

If you want to try the libusb device mentioned above, that would be:
"device libusb:001:002", but I'm not sure if this works. Better use
"device /dev/usb/scanner0" if that's printed by sane-find-scanner.

[...]
> #
> # and of course the device-name
> #
> device /dev/usbscanner2

Why do you use the device option twice? Just use the last one (with
the correct device file) and remove the first one.

> NOW, what am i doing wrong?
> i have gone through many readme and install files.

Too many, probably :-)

The fastest way to run USB devices supported by the plustek backend
usually is:

rmmod scanner; modprobe scanner vendor=... product=...
edit plustek.conf, change /dev/usbscanner to /dev/usb/scanner0 (or
  whatever sane-find-scanner prints)

Bye,
  Henning