[sane-devel] genesys:libusb:.... changes while scanning (sane)
Stef
stef.dev at free.fr
Wed Feb 12 05:30:07 UTC 2014
On 29/01/2014 12:26, n d wrote:
> Hi,
> So I created simple udev rules:
> ATTR{product}=="CanoScan", KERNEL=="2-5.1",
> SYMLINK+="bus/usb/002/SCANNER1"
> ATTR{product}=="CanoScan", KERNEL=="2-5.2",
> SYMLINK+="bus/usb/002/SCANNER2"
> ATTR{product}=="CanoScan", KERNEL=="2-5.3",
> SYMLINK+="bus/usb/002/SCANNER3"
> ATTR{product}=="CanoScan", KERNEL=="2-5.4",
> SYMLINK+="bus/usb/002/SCANNER4"
>
> now scanimage -L give the next result:
> device `genesys:libusb:002:013' is a Canon LiDE 700F flatbed scanner
> device `genesys:libusb:002:014' is a Canon LiDE 700F flatbed scanner
> device `genesys:libusb:002:015' is a Canon LiDE 700F flatbed scanner
> device `genesys:libusb:002:016' is a Canon LiDE 700F flatbed scanner
> device `genesys:libusb:002:SCANNER1' is a Canon LiDE 700F flatbed scanner
> device `genesys:libusb:002:SCANNER4' is a Canon LiDE 700F flatbed scanner
> device `genesys:libusb:002:SCANNER2' is a Canon LiDE 700F flatbed scanner
> device `genesys:libusb:002:SCANNER3' is a Canon LiDE 700F flatbed scanner
>
> when scanning for the first time (lets say calling to
> `genesys:libusb:002:SCANNER1' it works)
> but when trying to call to the rest of the scanners i get error
> messages like
>
> scanimage: open of device genesys:libusb:002:SCANNER2 failed: Invalid
> argument
> or
> scanimage: sane_start: Invalid argument
>
> that happens _manually_ too.
>
> any idea?
>
> tnx alot.
>
>
Hello,
thanks for a friend that gave me a LiDE 100, I have now 2 identical
GL847 scanners. I did a quick test and I cannot reproduce the problem
you have. Have you a script or a command list that reliably hit the bug
so I can try to reproduce it ?
I already noticed that the calibration file is named after the
logical name, not the usb device name, which means every scanner of the
same model share the same calibration file, which gives bad quality
scans. I'll fix that soon.
stefdev:/home/stefdev>scanimage -L
device `genesys:libusb:001:005' is a Canon LiDE 100 flatbed scanner
device `genesys:libusb:001:006' is a Canon LiDE 100 flatbed scanner
device `net:localhost:genesys:libusb:001:005' is a Canon LiDE 100
flatbed scanner
device `net:localhost:genesys:libusb:001:006' is a Canon LiDE 100
flatbed scanner
stefdev:/home/stefdev>scanimage -d genesys:libusb:001:005 --mode color
>preview.pnm
stefdev:/home/stefdev>scanimage -d genesys:libusb:001:006 --mode color
>preview.pnm
Both scans are going well (if I don't take wrong calibration file use
into account).
Regards,
Stef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20140212/d2b6049c/attachment.html>
More information about the sane-devel
mailing list