[sane-devel] RE: help with Canon 650U

Gerhard Jaeger gerhard at gjaeger.de
Thu Mar 2 06:35:28 UTC 2006

On Wednesday 01 March 2006 15:50, void at chatcircuit.com wrote:
> those logs are from root. I looked at my kernel. I have all the usb stuff
> compiled into the kernel. I have usbfs compiled. I'm guessing it is a problem
> with udev. I ran the knoppix cd last night, hotplug creates /dev/usbscanner and
> my native machine does not. I have hotplug, udev, and coldplug installed. right
> now the kernel is using udev. I can see that in /proc/sys/kernel/hotplug. I
> didn't bring logs with me today, I have left over hotplug config files on my
> thumbdrive. hotplug doesn't even do a thing with my scanner. It's like hotplug
> doesn't see something that is there. as for udev, I noticed last night that
> scanners isn't listed in the rules. So far today I haven't found anything for a
> need for scanner in the rules.
> Well, if you can think of anything post back.


/dev/usbscanner might be fine, but useless here, when using the libusb,
the backend tries to access the device via procfs.
Is the usbfs mounted?
Make sure to have somethink like
usbfs           /proc/bus/usb   usbfs           noauto 0 0
somewhere in /etc/fstab

Then you should also check the procfs entries, i.e:
sane-find-scanner reports something like:
found USB scanner (vendor=0x04a9 [Canon], product=0x220d [CanoScan], chip=LM9832/3) at libusb:003:002

cat /proc/bus/usb/devices should contain (amongst other stuff):
T:  Bus=03 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)
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

Also /proc/bus/usb/003/002 should exist.
If that is true, at least it should be possible to let scanimage -L
work as root.


More information about the sane-devel mailing list