Erratic USB Scanner

eric tanguy eric.tanguy at physique.univ-nantes.fr
Tue Jun 15 15:52:23 UTC 2004


This is the answer i received few days before you can also find it in the
archives :
Possibly the problem is the USB device node, /proc/bus/usb/$BUS/$DEVICE
only having write permissions for root.

If you do a sane-find-scanner, you'll get a line somewhat like this:
found USB scanner (vendor=0x05d8, product=0x4003, chip=GT-6816) at
libusb:001:002

The two last numbers are the interesting ones: in my case, $BUS is 001
and $DEVICE is 002. My scanner's device node is /proc/bus/usb/001/002,
which by default was owned by root with permissions of 644.

I solved this by creating a symlink from /dev/scanner to
/proc/bus/usb/001/002. Then when I login at the console,
/proc/bus/usb/001/002 is chowned to james and chmodded to 600. Now I can
scan as a normal user.

Eric
> When I install kernel 2.6.6 (rpm -Fvh kernelxxx) my scanner acer 3300
> usb work as root, changing the the rights to 777 work on user mode too.
> But when I reboot my pc the scanner don't work again :(
>
> What happend with kernel 2.6 the 2.4 are more stable???  I never have
> problem with 2.4 redhat 9 and fedora core 1, I change to core 2 because
> need 2.6 for my new zoran based capture card.
>
> thanks for any answer.







More information about the fedora-list mailing list