Repository navigation
Add unidir USB quirk for Canon Pro9000 Mark II - #1818
Open
JessePomeroy wants to merge 1 commit into
Open
JessePomeroy wants to merge 1 commit into
JessePomeroy wants to merge 1 commit into
Conversation
After a job sent with bidirectional I/O the printer accepts no further job until it is power-cycled: the backend stays at "Sending data to printer" and transfers nothing. With unidirectional I/O consecutive jobs print. Other Canon entries, among them the PIXMA iP4200, iP4300 and iP6000D, already use the same quirk.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the default bidirectional I/O, a Canon Pro9000 Mark II (04a9:10cf) prints one job and then accepts no further job until it is power-cycled. The next job sits at "Sending data to printer" with no state reason; when the printer was finally switched off, the backend log for that job showed
Sent 0 bytes.With
usb-unidirconsecutive jobs print without a power cycle. Other Canon entries, among them the PIXMA iP4200, iP4300 and iP6000D, already use the same quirk; the iP6000D report (Launchpad 1160638) describes a similar stall that lasts until power is cycled.Observed with CUPS 2.4.20, libusb 1.0.30, Linux, raw jobs:
Sent 0 bytesEvery job that followed a bidirectional job without a power cycle was refused (four of four); every job that followed a unidirectional job printed (three of three).
Limits: one printer. The kernel
usblpmodule's attachment also differed between some runs and was not controlled for. Tested withlp -o usb-unidir=trueandlpadmin -o usb-unidir-default=true, not with the quirk file itself, and with debug logging off, so the backend's "Forced uni-directional communication" line was not captured.