[sane-devel] genesys:libusb:.... changes while scanning (sane)

Nir Dick nirdick at gmail.com
Wed Feb 12 09:19:50 UTC 2014


Hi,
Sorry for the late answer.
After making more tests, I think that the problem is the fact that the hub
I used
had no electricity source of its own. Since the cannon lide 100 rely on the
comuter/hub
power source, I suspect that lack of power for all scanners caused all
kinds of problems.
(different hubs had different problems)

I will send a final answer in few days, but I think this was the issue.

(as for the calibration file, the only way we could deal this issue was to
call clear calibration every scan)

tnx and again. sorry for the late answer.

N


On Wed, Feb 12, 2014 at 7:30 AM, Stef <stef.dev at free.fr> wrote:

>  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
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>



-- 
ניר דיק


זה כמו הימים האלה שהאוויר בהיר מדי, צלול מדי, והצורות בולטות לעין,
חדות  ומדוייקות, וזאת אומרת שהגשם קרוב.

                                                                 (נטליה
גינצבורג)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20140212/b1805a09/attachment.html>


More information about the sane-devel mailing list