You are not logged in.
I wanted to use my scanner, I could see it in sane-find-scanner:
<cut>
found USB scanner (vendor=0x055f, product=0x021a [USB Scanner], chip=GT-6816?) at libusb:001:005
<cut>
but scanimage doesn't :
$ scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
but it does from root account:
# scanimage -L
device `gt68xx:libusb:001:005' is a Mustek BearPaw 2448 TA Plus flatbed scanner
I started invastigating and discovered that all USB devices belong to camera group:
$ ls -lR /dev/bus/
/dev/bus/:
razem 0
drwxr-xr-x 7 root root 0 paź 29 2007 usb
/dev/bus/usb:
razem 0
drwxr-xr-x 2 root root 0 paź 29 12:16 001
drwxr-xr-x 2 root root 0 paź 29 2007 002
drwxr-xr-x 2 root root 0 paź 29 2007 003
drwxr-xr-x 2 root root 0 paź 29 2007 004
drwxr-xr-x 2 root root 0 paź 29 2007 005
/dev/bus/usb/001:
razem 0
crw-rw-r-- 1 root camera 189, 0 paź 29 12:16 001
crw-rw-r-- 1 root camera 189, 4 paź 29 12:20 005
/dev/bus/usb/002:
razem 0
crw-rw-r-- 1 root camera 189, 128 paź 29 12:16 001
crw-rw-r-- 1 root camera 189, 129 paź 29 12:16 002
/dev/bus/usb/003:
razem 0
crw-rw-r-- 1 root camera 189, 256 paź 29 12:16 001
/dev/bus/usb/004:
razem 0
crw-rw-r-- 1 root camera 189, 384 paź 29 12:16 001
/dev/bus/usb/005:
razem 0
crw-rw-r-- 1 root camera 189, 512 paź 29 12:16 001
I added my user to camera group also (my user was a member of scanner group before) and scanner started to work.
But why all USB devices are owned by camera group?
Offline
I renamed /etc/udev/rules.d/53-sane.rules to 55-sane.rules so it's starting after 54-gphoto.rules and now one of /dev/bus/usb/ files has root:scanner owning.
Offline