Re: Permission Problem with xsane - more
On 2011-10-03, Thomas H. George <lists@tomgeorge.info> wrote:
(...)
>> >> Tell us your scanner model? :-)
>> >>
>> > Epson Perfection 2400 Photo
>>
>>
(...)
> Just found the following:
>
>
> Script started on Mon 03 Oct 2011 03:38:15 PM EDT
> tom@dragon:~$ lsusb -s 001:005
> Bus 001 Device 005: ID 04b8:011b Seiko Epson Corp. Perfection 2400 Photo
> tom@dragon:~$ scanimage -L
> device `epson2:libusb:001:005' is a Epson GT-9300 flatbed scanner
> device `epson:libusb:001:005' is a Epson GT-9300 flatbed scanner
Same scanner works here on squeeze. Compare settings against:
$ ls -l /usr/bin/xsane
-rwxr-xr-x 1 root root 640536 Sep 5 2010 /usr/bin/xsane*
$ scanimage -L
device `epson2:libusb:001:003' is a Epson GT-9300 flatbed scanner
$ lsusb -s001:003
Bus 001 Device 003: ID 04b8:011b Seiko Epson Corp. Perfection 2400 Photo
$ ls -l /dev/bus/usb/001/003
crw-rw-r--+ 1 root scanner 189, 2 Oct 5 08:45 /dev/bus/usb/001/003
$ ls -ld /etc/sane.d
drwxr-xr-x 3 root root 4096 Aug 21 14:39 /etc/sane.d/
$ ls -l /etc/sane.d/epson*
-rw-r--r-- 1 root root 376 Dec 12 2010 /etc/sane.d/epson2.conf
-rw-r--r-- 1 root root 793 Dec 12 2010 /etc/sane.d/epson.conf
$ ls -l /etc/sane.d/dll.conf
-rw-r--r-- 1 root root 1063 Dec 12 2010 /etc/sane.d/dll.conf
$ grep epson /etc/sane.d/dll.conf
#epson
epson2
$ grep -B1 011b /lib/udev/rules.d/60-libsane.rules
# Epson Perfection 2400 | Epson GT-9300UF | Epson Perfection 2400 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011b", MODE="0664",
GROUP="scanner", ENV{libsane_matched}="yes"
Reply to: