I/O Error while scanning using Scanner LIDE 120 Canon ?
Hello,
I have a scanner that gives I/O error with scanimage -d herethedevice > pic.ppm scanimage sees it but no way. I/O error. The machine is Scanner LIDE 120 Canon. My kernel 4.5.5. Code:
Bus 001 Device 008: ID 04a9:190e Canon, Inc. best regards, |
Are you connected via USB 3 port perhaps? I've read of similar issues where XHCI needs to be disabled in the BIOS before the expected communication can take place. I don't know if this is still a problem though.
|
I tried usb 2.0 and usb 3.0. Not working, did not change :( dmesg
Quote:
Code:
hci_uart 69632 0 |
Quote:
|
Quote:
What should be tried? I have so far my legacy boot bios. there are also something to do into the bios?? the bios of the used acer aspire es 15 is so crap. There is just boot UEFI or Legacy as possibility, and nothing for USB changing or tweaking. Likely a very limitating bios for users. Am I stuck with my new scanner? trash? |
It's not about the boot method, it was based on previous similar threads where the xhci driver wasn't dully compatible with some USB controller chipsets when communicating with USB 2 devices. It was just something to try...but it could well be due to some other cause anyway. It could well be a libsane regression based on what I've found during a quick search...
https://forums.linuxmint.com/viewtopic.php?t=235558 https://lists.debian.org/debian-user.../msg00241.html Quote:
|
Impossible.
I have installed Ubuntu Trusty, with libsane 1.0.23 and give it a cool 4.5.5 kernel that see the lib usb canon. However scanimage does not want to detect it. The ubuntu trusty is too old. the kernel fine, but trusty to old. 1.0.23 + kernel 4.5.5. are there, but nothing. scanimage will not see the scanner. what to do next? |
What is returned by the following? (Run as user then as root)
Code:
scanimage -L Code:
sudo scanimage -L Code:
sane-find-scanner Code:
sudo sane-find-scanner |
Quote:
The Canon LIDE 120 chipset 04a9:190e is only relatively recently supported I think based on what I've read here http://www.sane-project.org/sane-mfgs.html#Z-CANON which specifically references sane-backends-1.0.27. You might find that adding the required chipset to /etc/sane.d/genesys.conf will do the trick... Code:
# Canon LiDE 120 Code:
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="190e",ENV{libsane_matched}="yes" The advice in this thread may be helpful to you (shows how to upgrade to the latest version of SANE)... https://askubuntu.com/questions/6527...u-14-04/755505 |
Bus 001 Device 009: ID 04a9:190e Canon, Inc.
1. rules into /lib is made 2. edition of genesys.confg is made too Code:
# scanimage -L Code:
dpkg -l | grep sane Code:
scanimage -L /sane-backends-1.0.27$ has been compiled greatly. I did make install, rebooted the pc with the new lib backend 1.0.27 but still same error..... sane-find-scanner DID NOT find it. libsane backend with find scanner gives this verbose output: https://pastebin.com/raw/86HwN7MU test 4: after 1.0.27, then, I tried the debian experimental one: https://packages.debian.org/experimental/libsane http://cdn-fastly.deb.debian.org/deb...21.orig.tar.gz same story, unpack, ./configure, make and make install, reboot, and try: sane-backends_1.0.26~git20151121.orig.tar.gz same error. I/O still again and again. what to try then? :~# scanimage > image.ppm scanimage: sane_start: Error during device I/O Maybe we can use the drivers from Macintosch ???? http://gdlp01.c-wss.com/gds/2/010000...20-1_3-mcd.dmg |
1 Attachment(s)
Quote:
https://d2bwyyzfw77fhf.cloudfront.net/vuex3295.tgz md5sum vuex3295.tgz af17984af77a833add706066707491f2 vuex3295.tgz I unpacked the file, did installed : Get:1 http://ftp.de.debian.org/debian testing/main i386 libusb-0.1-4 i386 2:0.1.12-30 [23.5 kB] Fetched 23.5 kB in 0s (164 kB/s) Selecting previously unselected package libusb-0.1-4:i386. (Reading database ... 65790 files and directories currently installed.) Preparing to unpack .../libusb-0.1-4_2%3a0.1.12-30_i386.deb ... Unpacking libusb-0.1-4:i386 (2:0.1.12-30) ... Processing triggers for libc-bin (2.24-10) ... Setting up libusb-0.1-4:i386 (2:0.1.12-30) ... Processing triggers for libc-bin (2.24-10) .. xhost + ./vuescan ET VOILA !!! (btw, sane s** a bit no?) If proprietary software can do it, why not opensource sane? |
I guess it is a regression with xsane (SANE front-end) then. Anyway, choice is good!
|
Quote:
No way with SANE backend... does not work at all. Sane would have been interesting since I can plug an input, coded on C, to press the joystick key and get a quick scan and storing into my archives. An use of GUI is so ugly. |
Quote:
Quote:
|
Quote:
I have also logged ps aux while scanning but no idea how it does it. Using GUI is ugly, command line would be better, i meant. |
All times are GMT -5. The time now is 09:29 PM. |