[SOLVED] I/O Error while scanning using Scanner LIDE 120 Canon ?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
[ 154.252581] systemd[1]: apt-daily.timer: Adding 35min 42.168307s random time.
[ 186.425142] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 203.101239] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 207.204645] usb 1-1: USB disconnect, device number 2
[ 210.132703] usb 1-5.2: new high-speed USB device number 8 using xhci_hcd
[ 210.236314] usb 1-5.2: New USB device found, idVendor=04a9, idProduct=190e
[ 210.248770] usb 1-5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 210.257086] usb 1-5.2: Product: CanoScan
[ 210.265274] usb 1-5.2: Manufacturer: Canon
[ 235.437771] usb 1-5.2: reset high-speed USB device number 8 using xhci_hcd
I tried usb 2.0 and usb 3.0. Not working, did not change dmesg
Yes, but did you try explicitly enabling 'Legacy USB support' (or similar) in the BIOS/UEFI? Your dmesg output shows that an XHCI controller is active.
Yes, but did you try explicitly enabling 'Legacy USB support' (or similar) in the BIOS/UEFI? Your dmesg output shows that an XHCI controller is active.
I do not follow... I am not experience much in that field. I hope you can help me.
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.
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...
1. rules into /lib is made
2. edition of genesys.confg is made too
Code:
# scanimage -L
device `genesys:libusb:001:009' is a Canon LiDE 120 flatbed scanner
root@bbook:~# scanimage -d "genesys:libusb:001:009" > image.ppm
scanimage: sane_start: Error during device I/O
There was this but then I compiled the new one vers 27.
Code:
dpkg -l | grep sane
ii libsane:i386 1.0.25-4.1 i386 API library for scanners
ii libsane-common 1.0.25-4.1 all API library for scanners -- documentation and support files
ii libsane-extras:i386 1.0.22.4 i386 API library for scanners -- extra backends
ii libsane-extras-common 1.0.22.4 i386 API library for scanners -- documentation and support files
ii sane 1.0.14-12 i386 scanner graphical frontends
ii sane-utils 1.0.25-4.1 i386 API library for scanners -- utilities
Code:
scanimage -L
device `genesys:libusb:001:009' is a Canon LiDE 120 flatbed scanner
/sane-backends-1.0.27$ has been compiled greatly.
I did make install, rebooted the pc with the new lib backend 1.0.27
I have tried everything, but the scanner keeps giving the error i/o as earlier.
Something crude did work, thought of sharing it with other people facing same/similar problem.
Solution:
Download a proprietory software trial [https://www.hamrick.com/download.html] Vue Scan.
Extract the file downloaded, run the executable file.
Scan once, it works but software doesn't allow you to save without purchasing serial key. Don't save.
Close the application.
Run Simple Scan/Xscan, and voila everything works magically.
One major issue, the above process needs to be done every time you unplug device/restart computer.
I guess it is a regression with xsane (SANE front-end) then. Anyway, choice is good!
Proprietary is often better, since there is money money rules this world, giving more employees.
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.
Vuescan still relies on SANE libraries, but packages it's own supporting libraries AFAIU. In any case the only way such regressions will get fixed is when bug reports are submitted.
Quote:
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.
Vuescan still relies on SANE libraries, but packages it's own supporting libraries AFAIU. In any case the only way such regressions will get fixed is when bug reports are submitted.
I have no idea what you're on about here.
I tried to read the content of Vuescan with vim, but no idea what it does.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.