Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Canon MG5250 and scanning
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jots
n00b
n00b


Joined: 05 Jun 2016
Posts: 9

PostPosted: Wed Jun 08, 2016 8:40 pm    Post subject: Canon MG5250 and scanning Reply with quote

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
View user's profile Send private message
jots
n00b
n00b


Joined: 05 Jun 2016
Posts: 9

PostPosted: Tue Jun 14, 2016 8:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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