Image

Imageneonleonb wrote in Imagelinux 😡irritated Berkeley, CA

Scanner troubles, but permissions seem fine

I have a scanner, but can only access it as root and not as a user. I have checked the permissions as well as I know how, and the user has RW access to the scanner device. The user can detect the scanner via 'sane-find-scanner' but not via 'scanimage -L'. Please help me if you can. Thanks in advance.

My user can detect the scanner using sane-find-scanner.
leon@caesar /proc/bus/usb/003 $ sane-find-scanner
  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x05d8, product=0x4003, chip=GT-6816?) at libusb:003:037
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.


The user cannot detect the scanner using scanimage -L.
leon@caesar /proc/bus/usb/003 $ 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).


Root does find the scanner using scanimage -L.
caesar 003 # scanimage -L
device `artec_eplus48u:libusb:003:037' is a Artec E+ 48U USB flatbed scanner


I gave the device very wide permissions, so anyone could read or write to it, to no avail.
caesar usb # ls -lh /proc/bus/usb/003/037
-rw-rw-rw- 1 root scanner 0 Jun 25 10:30 /proc/bus/usb/003/037


Ancillary details: I'm using gentoo, kernel 2.6.21.1, sane backends 1.0.18-r2, sane frontends 1.0.14.