2016-10-15 14:48 keltezéssel, Richard Ryniker írta:
$ sane-find-scanner
found USB scanner (vendor=0x04a9 [Canon], product=0x190f [CanoScan])
at libusb:003:002 could not open USB device 0x1d6b/0x0002 at 003:001:
Access denied (insufficient permissions)
This looks like a permission problem: the user who executed
sane-find-scanner is not allowed to access the scanner device.

A "quick and dirty" test to verify this is to run sane-find-scanner as
root.  For example:

  sudo sane-find-scanner

The udev mechanism controls permissions assigned to devices - use "man
udev" to learn more.  For my Epson scanner, I use the configuration file
that follows (change vendor and product codes to match your scanner; lines
that begin with # are comments):

#  File:  /etc/udev/rules.d/10.local.rules
#  Local (RWR) rules for udev.

# Epson scanner    idVendor=04b8, idProduct=012c
SUBSYSTEMS=="usb", ACTION="" ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012c", GROUP="users", MODE="0666"


Excuse me... actually we the solution? I am only a user... ;)


sudo sane-find-scanner
[sudo] csola48 jelszava:

  # 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.

could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error
found USB scanner (vendor=0x046d, product=0x089d) at libusb:001:003
found USB scanner (vendor=0x04a9 [Canon], product=0x190f [CanoScan], chip=GL848+) at libusb:003:002
  # 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.


sudo scanimage -L
device `genesys:libusb:003:002' is a Canon LiDE 220 flatbed scanner

sane-devel mailing list: sane-devel@lists.alioth.debian.org
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-requ...@lists.alioth.debian.org

Reply via email to