[sane-devel] Please correct documentation! (was: udev updates /dev/..., sane accesses /proc/...)

Felix E. Klee felix.klee at inka.de
Fri Jan 5 18:15:56 CET 2007


At Thu, 04 Jan 2007 00:12:49 +0100,
Felix E. Klee wrote:
> I could simply copy the entry for my scanner from libsane.rules and
> add a NAME or SYMLINK key.  In addition, I'd have to edit
> "/usr/local/etc/sane.d/snapscan.conf".

I just did all of that.  But it still doesn't work, although a symlink
is created correctly:

  # ls -l /dev/Perfection_3490 
    lrwxrwxrwx  1 root root 9 2007-01-05 17:50 /dev/Perfection_3490 -> usbdev4.5
  # ls -l /dev/usbdev4.5       
    crw-rw----  1 root scanner 189, 132 2007-01-05 17:50 /dev/usbdev4.5
  # scanimage -L
    device `snapscan:libusb:004:005' is a EPSON EPSON Scanner1 flatbed
    scanner
  # su - <non privileged user>
  $ scanimage -L

    No scanners were identified. [...]
  $ groups
    [...] scanner [...]

Again documentation is apparently incorrect.  In this case, it's the
following piece of documentation that I found at the top of
"/usr/local/etc/sane.d/snapscan.conf":

  # If not automatically found you may manually specify a device name.

  # For USB scanners also specify bus=usb, e.g.
  # /dev/usb/scanner0 bus=usb

Any further suggestions?  I find it a pity that one has to resort to
scanning as root with the current version of Sane, unless one makes use
of presumably undocumented features (that I'd like to learn about).

FWIW some excerpts from my configuration:

* /etc/udev/rules.d/60-Perfection_3490.rules:

  [...]
  SYSFS{idVendor}=="04b8", SYSFS{idProduct}=="0122", MODE="660", \
  GROUP="scanner", SYMLINK="Perfection_3490"
  [...]

* /usr/local/etc/sane.d/snapscan.conf:

  [...]
  firmware /usr/local/share/sane/snapscan/Esfw52.bin
  [...]
  /dev/Perfection_3490 bus=usb

-- 
Felix E. Klee



More information about the sane-devel mailing list