View previous topic :: View next topic |
Author |
Message |
jots n00b

Joined: 05 Jun 2016 Posts: 9
|
Posted: Wed Jun 08, 2016 8:40 pm Post subject: Canon MG5250 and scanning |
|
|
My MG5250 is attached via USB and configured as printer and also as scanner via sane-backends.
lsusb: | Bus 003 Device 005: ID 04a9:1749 Canon, Inc. |
scanimage -L: | device `pixma:04A91749' is a CANON Canon PIXMA MG5200 multi-function peripheral |
So far, so fine.
Unfortunately, when starting up xsane, xsane needs some minutes to come up and then, when pressing the "scan" button in xsane, it seems to crash. Afterwards the device is in status "busy".
BUT, when first issuing the command
Code: | scanimage -d pixma > test.pnm |
everything works fine until the machine is rebooted. Even xsane starts up, scans etc. Everything OK then.
I'd be glad for help. Thank you in advance. |
|
Back to top |
|
 |
jots n00b

Joined: 05 Jun 2016 Posts: 9
|
Posted: Tue Jun 14, 2016 8:33 pm Post subject: |
|
|
After probing a while I found a solution based upon various information from the WWW and Fitzcarraldo's Blog:
https://fitzcarraldoblog.wordpress.com/2015/07/24/the-problem-of-scanning-using-usb-multi-function-printers-in-linux-continued-2/
However, i didn't do exactly the same. As discussed in various sources, the problem is not just the usb-storage module, but also the USB printing support in the kernel. This needs to be switched off:
Kernel: | Device Drivers --->
[*]USB Support --->
< > USB Printer Support |
Then I applied the "quirks" solution from Fitzcarraldo's blog:
/etc/modprobe.d/usb-storage.conf: | options usb-storage quirks=04a9:1749:i |
Printing over cups works well, and scanning works, too. To my favour, no need to create any udev rules and so on. Thanks to Fitzcarraldo for the "quirks" blog entry. That did the thing. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|