]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add the Canon PIXMA MP240 to the USB quirk list
authorSwyter <swyterzone@gmail.com>
Sat, 31 Jul 2021 17:56:33 +0000 (19:56 +0200)
committerSwyter <swyterzone@gmail.com>
Sat, 31 Jul 2021 18:29:30 +0000 (20:29 +0200)
Without it the printer gets stuck waiting for some kind of USB response from the computer 3/4 into the page. Right at the end of the job.
Sometimes it moves the printing head once every few minutes, if we wait for 20-30 minutes it often finishes correctly. Which is unacceptable.

Using `no-reattach unidir` instead of only `unidir` seems to also work fine, but is seemed superfluous in my case, so try that if things are still wonky.
Disconnecting the USB cable makes it stop the job instantly, spitting the rest of the page.

The same setup works on Windows just fine. Maybe adding the other MP2XX models into the list should be considered.
In my case, until a few months ago printing via CUPS without any kinds of quirks seemed to work fine, so it seems like some kind of regression.

The credit goes to @mounaiban for the original solution:
https://github.com/agalakhov/captdriver/issues/7#issuecomment-602004919

More information here:
https://github.com/agalakhov/captdriver/issues/7#issuecomment-890380405

backend/org.cups.usb-quirks

index 404a0e846012f3c53dd38f607f90273884eb84f7..4d5e7bd956e7f65643a3d9712ff4a087e5b1f2f4 100644 (file)
@@ -77,6 +77,9 @@
 # Canon, Inc. MP210 (https://bugzilla.redhat.com/show_bug.cgi?id=847923#c53)
 0x04a9 0x1721 unidir
 
+# Canon, Inc. MP240 Printer (https://github.com/agalakhov/captdriver/issues/7#issuecomment-890380405)
+0x04a9 0x1732 unidir
+
 # Canon, Inc. MP500 Printer (https://bugs.launchpad.net/bugs/1032456)
 0x04a9 0x170c unidir