<html>
<head>
<meta content="text/html; charset=iso-8859-2"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">2016-10-15 14:48 keltezéssel, Richard
Ryniker írta:<br>
</div>
<blockquote cite="mid:E1bvOO6-00059T-1v@ryniker.org" type="cite">
<blockquote type="cite">
<pre wrap="">$ 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)
</pre>
</blockquote>
<pre wrap="">
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=="add", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012c", GROUP="users", MODE="0666"
</pre>
</blockquote>
<p>Richard, <br>
</p>
<p>Excuse me... actually we the solution? I am only a user... ;)<br>
</p>
<div class="output right half">
</div>
<p> </p>
<br>
===<br>
<p>sudo sane-find-scanner<br>
[sudo] csola48 jelszava: <br>
<br>
# sane-find-scanner will now attempt to detect your scanner. If
the<br>
# result is different from what you expected, first make sure
your<br>
# scanner is powered up and properly connected to your computer.<br>
<br>
# No SCSI scanners found. If you expected something different,
make sure that<br>
# you have loaded a kernel SCSI driver for your SCSI adapter.<br>
<br>
could not fetch string descriptor: Pipe error<br>
could not fetch string descriptor: Pipe error<br>
found USB scanner (vendor=0x046d, product=0x089d) at
libusb:001:003<br>
found USB scanner (vendor=0x04a9 [Canon], product=0x190f
[CanoScan], chip=GL848+) at libusb:003:002<br>
# Your USB scanner was (probably) detected. It may or may not be
supported by<br>
# SANE. Try scanimage -L and read the backend's manpage.<br>
<br>
# Not checking for parallel port scanners.<br>
<br>
# Most Scanners connected to the parallel port or other
proprietary ports<br>
# can't be detected by this program.</p>
<p>==</p>
<p>sudo scanimage -L<br>
device `genesys:libusb:003:002' is a Canon LiDE 220 flatbed
scanner<br>
</p>
<p><br>
</p>
</body>
</html>