On Mon, Nov 28, 2005 at 01:30:38AM +0200, Mark Niven wrote: > Package: libsane > Version: 1.0.16-5 > Severity: important > > Firstly I can confirm the problem with udev and coldplug scripts failing > to set permissions correctly; unplugging and then replugging works - bug > #339669. However, even with permissions apparently set correctly, > scanimage is unable to access the scanner, although as root (!) there is > no problem: > > >[EMAIL PROTECTED]:~$ sane-find-scanner //finds scanner ok > >... > >found USB scanner (vendor=0x055f, product=0x021a, chip=GT-6816?) at > >libusb:2:4 > >... > >[EMAIL PROTECTED]:~$ ls -l /proc/bus/usb/002 > >total 0 > >-rw-r--r-- 1 root root 43 2005-11-28 02:39 001 > >-rw-rw---- 1 root scanner 50 2005-11-28 00:43 004 > > //group and permissions seem ok > >[EMAIL PROTECTED]:~$ scanimage -L //doen't find it > >... > >No scanners were identified. > >... > >[EMAIL PROTECTED]:~$ scanimage -d gt68xx:libusb:2:4 //try to force > >scanimage: open of device gt68xx:libusb:2:4 failed: Access to resource has > >been denied > >[EMAIL PROTECTED]:~$ su > >Password: > >tapuz:/home/mniven# scanimage -L //as root no problem > >device `gt68xx:libusb:2:4' is a Mustek BearPaw 2448 TA Plus flatbed scanner > > I suspect this is all cinnected with the udev/hotplug tangle with > incorrect permissions elsewhere, but cannot wotk out where else to look. >
libusb now uses /dev/bus/usb/x/x if it is available, ie when using udev and a >= 2.6.14 kernel, which seems to be your case. Could you check the permissions of the device there? Bye, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]