<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 29/01/2014 12:26, n d wrote:<br>
</div>
<blockquote
cite="mid:CAFxKckPKWj7jmPC=9gsZ60r2eqZNj-KHb0tjHUEuSr1OMK9tig@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div>So I created simple udev rules:</div>
<div>
<div>ATTR{product}=="CanoScan", KERNEL=="2-5.1",
SYMLINK+="bus/usb/002/SCANNER1"</div>
<div>ATTR{product}=="CanoScan", KERNEL=="2-5.2",
SYMLINK+="bus/usb/002/SCANNER2"</div>
<div>ATTR{product}=="CanoScan", KERNEL=="2-5.3",
SYMLINK+="bus/usb/002/SCANNER3"</div>
<div>ATTR{product}=="CanoScan", KERNEL=="2-5.4",
SYMLINK+="bus/usb/002/SCANNER4"</div>
</div>
<div><br>
</div>
<div>now scanimage -L give the next result:</div>
<div>
<div>device `genesys:libusb:002:013' is a Canon LiDE 700F
flatbed scanner</div>
<div>device `genesys:libusb:002:014' is a Canon LiDE 700F
flatbed scanner</div>
<div>device `genesys:libusb:002:015' is a Canon LiDE 700F
flatbed scanner</div>
<div>device `genesys:libusb:002:016' is a Canon LiDE 700F
flatbed scanner</div>
<div>device `genesys:libusb:002:SCANNER1' is a Canon LiDE 700F
flatbed scanner</div>
<div>device `genesys:libusb:002:SCANNER4' is a Canon LiDE 700F
flatbed scanner</div>
<div>device `genesys:libusb:002:SCANNER2' is a Canon LiDE 700F
flatbed scanner</div>
<div>device `genesys:libusb:002:SCANNER3' is a Canon LiDE 700F
flatbed scanner</div>
</div>
<div><br>
</div>
<div>when scanning for the first time (lets say calling to
`genesys:libusb:002:SCANNER1' it works)</div>
<div>but when trying to call to the rest of the scanners i get
error messages like </div>
<div>
<br>
</div>
<div>scanimage: open of device genesys:libusb:002:SCANNER2
failed: Invalid argument<br>
</div>
<div>or</div>
<div>scanimage: sane_start: Invalid argument<br>
</div>
<div><br>
</div>
<div>that happens <u>manually</u> too.<br>
<br>
</div>
<div>any idea?</div>
<div><br>
</div>
<div>tnx alot.</div>
<div><br>
</div>
</div>
<br>
</blockquote>
<br>
Hello,<br>
<br>
can you provide a debug log ? Run scanimage with debug trace
enabled by:<br>
<br>
export SANE_DEBUG_GENESYS=255<br>
export SANE_DEBUG_GENESYS_LOW=255<br>
export SANE_DEBUG_GENESYS_GL847=255<br>
<br>
and redirect stderr to a log file, for instance a preview would be
like:<br>
<br>
export SANE_DEBUG_GENESYS=255<br>
export SANE_DEBUG_GENESYS_LOW=255<br>
export SANE_DEBUG_GENESYS_GL847=255<br>
scanimage -d genesys:libusb:002:SCANNER2 --mode Color
>preview.pnm 2>debug.log<br>
<br>
Then send us the debug log (compressed to keep the mail below
the max size allowed by the mailing list). In cas there is nothin
obvious in log, you may add <br>
<br>
export SANE_DEBUG_SANEI_USB=255<br>
<br>
to get sanei_usb functions log.<br>
<br>
Regards,<br>
Stef<br>
<br>
<br>
</body>
</html>