• Pete Zaitcev's avatar
    usblp: continuously poll for status · dd44be6b
    Pete Zaitcev authored
    The usblp in 2.6.18 polled for status regardless if we actually needed it.
    At some point I dropped it, to save the batteries if nothing else.
    As it turned out, printers exist (e.g. Canon BJC-3000) that need prodding
    this way or else they stop. This patch restores the old behaviour.
    If you want to save battery, don't leave jobs in the print queue.
    
    I tested this on my printers by printing and examining usbmon traces
    to make sure status is being requested and printers continue to print.
    Tuomas Jäntti verified the fix on BJC-3000.
    Signed-off-by: default avatarPete Zaitcev <zaitcev@redhat.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    dd44be6b
usblp.c 39.2 KB