Kernel does not report some USB printers correctly, making them not being detected by CUPS

Bug #872711 reported by Till Kamppeter
212
This bug affects 39 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Tim Gardner
Oneiric
Fix Released
High
Tim Gardner
Precise
Fix Released
Undecided
Tim Gardner

Bug Description

See the following CUPS upstream bug report:

http://www.cups.org/str.php?L3884

Users complain that their USB printers do not get detected by CUPS and so they cannot set them up for printing. In the last comment it is told that the kernel is the culprit and a link to a patch proposal on the Kernel mailing list is given:

http://lkml.org/lkml/2011/9/25/57

The patch attached there is supposed to solve the problem.

I have also a printer (HP Color LaserJet CM3530 MFP) which is only detected by the HPLIP CUPS backend (this backend uses another detection method but is only avaiolable for HP printers) and not by CUPS' own backend, so I can reproduce the bug.

I did not test the kernel patch.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: till 2561 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211c,00100000'
   Controls : 17
   Simple ctrls : 9
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01'
   Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=9185f036-2e72-40e6-bf31-d9a8926a7883
MachineType: LENOVO 7417CTO
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   product info: "MoGo Mouse BT", " ", "", ""
PccardctlStatus:
 Socket 0:
   5.0V 16-bit PC Card
   Subdevice 0 (function 0) [unbound]
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-12-generic root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-12-generic N/A
 linux-backports-modules-3.0.0-12-generic N/A
 linux-firmware 1.60
StagingDrivers: mei
Tags: oneiric running-unity staging
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-09-30 (11 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/13/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET79WW (3.09 )
dmi.board.name: 7417CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7UET79WW(3.09):bd10/13/2009:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7417CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
tags: added: patch-forwarded-upstream
Changed in linux (Ubuntu):
importance: Undecided → High
milestone: none → oneiric-updates
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 872711

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Till Kamppeter (till-kamppeter) wrote : AcpiTables.txt

apport information

tags: added: apport-collected oneiric running-unity staging
description: updated
Revision history for this message
Till Kamppeter (till-kamppeter) wrote : AlsaDevices.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : AplayDevices.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : BootDmesg.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : IwConfig.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Lspci.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : Lsusb.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : PciMultimedia.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : ProcModules.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : PulseSinks.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : PulseSources.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : RfKill.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : UdevDb.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : UdevLog.txt

apport information

Revision history for this message
Till Kamppeter (till-kamppeter) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Before sending the logs with Apport I have removed all USB printers not concerned by the bug, connected only the CM3530, started system-config-printer and clicked "Add" to trigger a printer detection run by CUPS.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Some more info:

"lsusb" lists the printer, "ls -l /dev/bus/usb/*/*" shows that UDEV has set the permissions correctly, also the attached UDEV log file shows that the printer was correctly recognized by UDEV and, in case of an HP printer, also HPLIP's UDEV rules were correctly applied. Only wrong thin which one sees is that "sudo /usr/lib/cups/backend/usb" does not list the printer and this is relevant for whether CUPS accepts it (see posted output in duplicate bug 865613).

Following printers and USB->Parallel adapters are known to cause the problem up to now:

- HP Color LaserJet CM3530 MFP
- Xerox Phaser 3100MPF
- HP LaserJet 1200
- HP DeskJet 959C
- HP DeskJet 842C
- Canon IP6700D
- Epson Stylus Photo R300
- Prolific USB->Centronics cable (067b:2305)

As many of the devices are not from HP (where HPLIP works around this bug) the bug should get fixed as an SRU for Oneiric.

Revision history for this message
Andy Whitcroft (apw) wrote :

From the email thread mentioned this appears to have been picked up by GregKH for stable, so we should expect to receieve this patch shortly via there.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

I think the patch mentioned in that thread is queued for the 3.2 merge window. It does not appear to be marked for stable, so we'll have to mark it 'UBUNTU: SAUCE:' for now.

Changed in linux (Ubuntu Oneiric):
assignee: nobody → Tim Gardner (timg-tpi)
status: Confirmed → In Progress
Changed in linux (Ubuntu Precise):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Possibly bug 842823 is also cause by this bug.

Changed in linux (Ubuntu Oneiric):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Precise):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (10.3 KiB)

This bug was fixed in the package linux - 3.1.0-1.1

---------------
linux (3.1.0-1.1) precise; urgency=low

  [ Andiry Xu ]

  * SAUCE: (drop during 3.2 merge) xHCI: AMD isoc link TRB chain bit quirk
    - LP: #872811

  [ Andy Whitcroft ]

  * Revert "ubuntu: compcache -- follow changes to bd_claim/bd_release"
    - LP: #832694
  * Revert "ubuntu: compcache -- version 0.5.3"
    - LP: #832694
  * [Config] standardise CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
  * [Config] Enable CONFIG_MACVTAP=m
    - LP: #822601
  * record the compiler in the ABI and check for inconsistant builds
  * [Config] move ECRYPT_FS back to =y for all architectures
    - LP: #827197
  * [Config] enable CONFIG_DRM_VMWGFX=m
    - LP: #698009
  * [Config] re-fix ECRYPT_FS=y
    - LP: #827197
  * enforcer -- ensure we have CONFIG_ECRYPT_FS=y
    - LP: #827197
  * [Config] dropping compcache configuration options
  * [Config] standardise on HZ=250
  * SAUCE: headers_install: fix #include "..." usage for userspace
    - LP: #824377
  * make module-inclusion selection retain the left overs
  * add a new linux-image-extras package for virtual

  [ Colin Watson ]

  * Deliver more Atheros, Ralink, and iwlagn NIC drivers to d-i

  [ edwin_rong ]

  * SAUCE: Staging: add driver for Realtek RTS5139 cardreader
    - LP: #824273

  [ Greg Kroah-Hartman ]

  * SAUCE: staging: rts5139: add vmalloc.h to some files to fix the build.
    - LP: #824273

  [ Jesse Sung ]

  * SAUCE: Unregister input device only if it is registered
    - LP: #839238

  [ Jiri Kosina ]

  * SAUCE: HID: add MacBookAir4, 2 to hid_have_special_driver[]

  [ Joshua V. Dillon ]

  * SAUCE: HID: add support for MacBookAir4,2 keyboard.

  [ Kees Cook ]

  * [Config] enable and enforce SECCOMP_FILTER on x86

  [ Keng-Yu Lin ]

  * [Config] Enable CONFIG_RTS5139=m on i386/amd64
    - LP: #824273

  [ Leann Ogasawara ]

  * Revert "ubuntu: overlayfs -- ovl: make lower mount read-only"
  * Revert "ubuntu: overlayfs -- fs: limit filesystem stacking depth"
  * Revert "ubuntu: overlayfs -- ovl: improve stack use of lookup and
    readdir"
  * Revert "ubuntu: overlayfs -- ovl: fix overlayfs over overlayfs"
  * Revert "ubuntu: overlayfs -- overlayfs: implement show_options"
  * Revert "ubuntu: overlayfs -- overlayfs: add statfs support"
  * Revert "ubuntu: overlayfs -- overlay filesystem"
  * Revert "ubuntu: overlayfs -- overlay: overlay filesystem documentation"
  * Revert "SAUCE: ARM: OMAP: Add macros for comparing silicon revision"
  * Revert "SAUCE: OMAP: DSS2: check for both cpu type and revision, rather
    than just revision"
  * Revert "SAUCE: OMAP: DSS2: enable hsclk in dsi_pll_init for OMAP36XX"
  * Revert "ubuntu: fsam7400 disable driver"
    - LP: #876030
  * rebase to v3.1-rc1
  * [Config] updateconfigs after rebase to v3.1-rc1
  * rebase to v3.1-rc2
  * [Config] Updateconfigs after rebase to v3.1-rc2
  * ubuntu: Yama - update calls to generic_permission() and
    inode->i_op->permission()
  * ubuntu: ndiswrapper -- remove netdev_priv macro
  * ubuntu: aufs -- Temporarily disable due to build failure
  * [Config] Diable INTEL_MID_PTI on armel
  * [Config] Temporarily disable CONFIG_FTMAC100 on armel
  * [Conf...

Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
Herton R. Krzesinski (herton) wrote :

This bug is awaiting verification that the kernel for Oneiric in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-oneiric' to 'verification-done-oneiric'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-oneiric
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have tested the new kernel package on two Ubuntu Oneiric 64-bit boxes with the HP Color LaserJet CM3530 MFP and in both cases the printer is also recognized by the "usb" CUPS backend now. The bugs is really fixed by the new kernel package.

tags: added: verification-done-oneiric
removed: verification-needed-oneiric
Revision history for this message
Tony Fuge (tonyf) wrote :

The new kernel package has been tested on my Oneiric 64-bit desktop with the Epson Stylus R300 printer. bug is fixed.

Revision history for this message
A Munro (awamunro) wrote :

My friend has an Epsom Stylus Photo R300 multifunction printer and the bug still seems to be present. Printer still not detected.
It was OK before the upgrade to 11.04.

Revision history for this message
A Munro (awamunro) wrote :

Sorry I missed Tony Fuge's reply above so have asked friend for clarification. Unfortunately I am not at hos computer at the moment. Dell laptop not sure which model.

Revision history for this message
Pavel Kukacka (pavel-kukacka) wrote :

Tested with the new kernel (3.1. rc10) today on 32bit; nothing changed - printer not found; not even by the hp-lip tool.
Although it worked fine on Natty :-(.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Pavel, probably your problem is not the one handled here, as the HP printers affected by this bug were still visible for HPLIP. Is your printer visible in the output of "lsusb" and "ls -l /dev/bus/usb/*/*"?

Revision history for this message
Pavel Kukacka (pavel-kukacka) wrote :

May be, Till.
I've got an HP DeskJet 710C for parallel port connected to USB via the Prolific adapter (067b:2305 - the same you mentioned earlier).
It is visible - output of the mentioned commands is principally the same as on the computer on which the printer works.
In other words, lsusb detects the prolific adapter and when running the second command, the only difference when I connect the printer is that one row is added, that has the group column value 'lp' instead of 'root' and the current time.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Looks like a compatibility problem of the adapter cable.

can you run the following commands in thge given order and post all their output:

lsusb
lsusb -vvv
sudo /usr/lib/cups/backend/usb
sudo lsmod | grep usb
sudo modprobe usblp
sudo usb_printerid /dev/usb/lp0
sudo usb_printerid /dev/usb/lp1
sudo usb_printerid /dev/usb/lp2
sudo rmmod usblp

Note also that HPLIP recognizes only directly connected or network printers. In addition, the PPA printers, like the 710 are not supported by HPLIP and therefore not detected by HPLIP.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Pavel, did you reboot after the kernel update?

Revision history for this message
b3nmore (b3nmore) wrote :

The proposed kernel fixed the problem on my 32bit oneiric desktop. HP 690C usb printer is printing again.

Revision history for this message
David Shochat (david-shochat) wrote :

I don't know whether it is the "proposed kernel" but 3.0.0-13 has fixed the problem for me. My Epson Stylus Photo R300 is now detected. This a 32-bit oneiric system.

21 comments hidden view all 101 comments
Revision history for this message
ThierryM (thierry-munoz) wrote :

Hi, I have the same problem with a Canon MP240 under Oneiric 11.10 : the scanner is detected immediatly but not the printer. Before with Ubuntu 10.10, there wasn't any problem.
My kernel : 3.0.0-13-generic-pae #21-Ubuntu SMP Mon Oct 17 20:36:56 UTC 2011 i686 i686 i386 GNU/Linux

Revision history for this message
Richard.Talcott@gmail.com (rtalcott) wrote :

This problem is till current with me...I am using a usb-parallel port cable to a LaserJet 6L which worked fine up till 11.04...currently running 11.10 on 6 machines and it does not work on any of them...I have one older machine with a parallel port and am using the 6L there...

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Seems that the fix for this bug helped only some users but not everyone. So I suggest that everyone who still has problems should report a bug against the kernel (package "linux"). Seems that the printer support without the "usblp" kernel module still has problems.

The SRU can get moved into -updates as it already helps many users.

Revision history for this message
Maximiliano (meilan) wrote :
Download full text (3.9 KiB)

Parallel port with Canon BJC 5500 is not detected after install Ubuntu 11.10. Worked fine with previous versions of Ubuntu.
Kernel 3.0.0-13-generic

maxi@Maxi-Desktop:~$ lsmod | grep lp
lp 17455 0
parport 40930 3 ppdev,parport_pc,lp
maxi@Maxi-Desktop:~$ lsmod | grep ppdev
ppdev 12849 0
parport 40930 3 ppdev,parport_pc,lp
maxi@Maxi-Desktop:~$ lsmod | grep parport_pc
parport_pc 32114 1
parport 40930 3 ppdev,parport_pc,lp
maxi@Maxi-Desktop:~$ dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] vt handoff: transparent VT on vt#7
[ 11.638911] parport_pc 00:03: reported by Plug and Play ACPI
[ 11.639041] parport0: PC-style at 0x378 (0x778), irq 7, dma 0 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[ 11.791152] lp0: using parport0 (interrupt-driven).
[ 12.602648] type=1400 audit(1320352035.972:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=503 comm="apparmor_parser"
[ 12.603257] type=1400 audit(1320352035.972:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=503 comm="apparmor_parser"
[ 12.603629] type=1400 audit(1320352035.972:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=503 comm="apparmor_parser"
[ 13.507744] ppdev: user-space parallel port driver
[ 14.649938] type=1400 audit(1320352038.020:5): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm-guest-session-wrapper" pid=832 comm="apparmor_parser"
[ 14.655664] type=1400 audit(1320352038.024:6): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=839 comm="apparmor_parser"
[ 14.667404] type=1400 audit(1320352038.036:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=839 comm="apparmor_parser"
[ 14.667803] type=1400 audit(1320352038.036:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=839 comm="apparmor_parser"
[ 14.754743] type=1400 audit(1320352038.124:9): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince" pid=841 comm="apparmor_parser"
[ 14.797510] type=1400 audit(1320352038.168:10): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer" pid=841 comm="apparmor_parser"
[ 14.818369] type=1400 audit(1320352038.188:11): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-thumbnailer" pid=841 comm="apparmor_parser"
[ 1002.437324] parport0: lp tried to release parport when not owner
[ 1002.437338] parport0: ppdev0 forgot to release port
[ 1086.234004] parport0: lp already owner
maxi@Maxi-Desktop:~$ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp 6, 0 2011-11-03 18:27 /dev/lp0
crw-rw---- 1 root lp 99, 0 2011-11-03 18:27 /dev/parport0
maxi@Maxi-Desktop:~$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
-r--r--r-- 1 root root 0 2011-11-03 19:02 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 2011-11-03 19:02 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r-- 1 root root 0 2011-11-03 19:02 /p...

Read more...

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Can everyone who has still problems with printing from his USB printer after booting the new kernel try the new CUPS package in my PPA (https://launchpad.net/~till-kamppeter/+archive/ppa)? Simply follow the instructions under "Adding this PPA to your system" and then update your Oneiric system.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Maximiliano, can you run the command

sudo chmod 700 /usr/lib/cups/backend/parallel

in a terminal window and after that check whether CUPS detects your Canon printer now?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

New package (1.5.0-8ubuntu5~ppa2) uploaded to my PPA, to also fix crasher bug 887094. As soon as it gets available for download, please test this one.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The package in my PPA is now also proposed as an SRU (Stable Release Update) for Oneiric in bug 887094. Besides testing my PPA please also test the SRU which will be announced in that bug.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tim, this bug is "verification-done" for longer time already, when will the proposed kernel update make it into -updates?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The SRU mentioned in the comment #69 has been approved in oneiric-proposed and is ready for download. See bug 887094 for further instructions and test the package to see whether it also dolves your problem. Please report your results here.

Revision history for this message
John Belton (jbelton1950) wrote :

I have tried again with the install of my Lexmark X2650 printer/scanner on both my Dell Vostro 1510 laptop running Ubuntu 11.10 32bit and my Dell Optiplex 510 running Ubuntu 11.10 64bit with the same result, the printer is detected as a USB printer and identified as a "Lexmark 2600 series" but refuses to print anything, with a warning flag, the Icon is also marked up immediately after the printer is detected, the detection process overriding the printer driver installation software supplied by Lexmark. The printer worked fine with Ubuntu 11.04 (with the earlier Kernel). It doesn't seem to be a problem with the HP printer/scanner I now have but I am concerned about future upgrades doing a "Windows" making older hardware obsolete or the "Apple" approach of "must be approved by us".
It is a bit irritating as both my computers have the 3.0.0.13 Kernel and though I have looked at the Ubuntu 12.04 pre-alpha version with the newer 3.1.0 Kernel in VirtualBox I don't know if it could print as the VirtualBox imposes some limitations anyway.
I have seen many cups updates as well as at least one Kernel upgrade since I moved to 11.10 but the problem still persists.
John

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

John, did you also apply the proposed CUPS update from bug 887094, comments #18, #20, and #21? This update contains additional USB printing fixes.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (19.8 KiB)

This bug was fixed in the package linux - 3.0.0-13.22

---------------
linux (3.0.0-13.22) oneiric-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
    - LP: #884847

  [ Herton Ronaldo Krzesinski ]

  * Revert "SAUCE: Add a new entry (413c:8197) to Bluetooth USB device ID
    table"

linux (3.0.0-13.21) oneiric-proposed; urgency=low

  [Herton R. Krzesinski]

  * Release Tracking Bug
    - LP: #876701

  [ Leann Ogasawara ]

  * Revert "SAUCE: ata: make DVD drive recognisable on systems with
    Sandybridge CPT chipset"
    - LP: #737388, #782389, #794642
  * SAUCE: drm/radeon/kms: Fix logic error in DP HPD handler
    - LP: #860868

  [ Ming Lei ]

  * SAUCE: [media] uvcvideo: Set alternate setting 0 on resume if the bus
    has been reset
    - LP: #816484
  * SAUCE: ata_piix: make DVD Drive recognisable on systems with Intel
    Sandybridge chipsets(v2)
    - LP: #737388, #782389, #794642

  [ Seth Forshee ]

  * SAUCE: acer-wmi: Add wireless quirk for Lenovo 3000 N200
    - LP: #857297

  [ Tim Gardner ]

  * SAUCE: Add a new entry (413c:8197) to Bluetooth USB device ID table
    - LP: #854399
  * [Config] Enable ftrace support in the mac80211 layer
    - LP: #865171
  * SAUCE: usb/core/devio.c: Check for printer class specific request
    - LP: #872711
  * SAUCE: xHCI: AMD isoc link TRB chain bit quirk
    - LP: #872811

  [ Upstream Kernel Changes ]

  * Revert "rt2x00: Serialize TX operations on a queue."
    - LP: #868628
  * Revert "rt2x00: fix crash in rt2800usb_write_tx_desc"
    - LP: #868628
  * Revert "rt2x00: fix crash in rt2800usb_get_txwi"
    - LP: #868628
  * Revert "rt2x00: Move rt2800_txdone and rt2800_txdone_entry_check to
    rt2800usb."
    - LP: #868628
  * Revert "sfc: Use write-combining to reduce TX latency" and follow-ups
    - LP: #868628
  * Revert "drm/radeon/kms: fix typo in r100_blit_copy"
    - LP: #868628
  * x86, amd: Avoid cache aliasing penalties on AMD family 15h
    - LP: #862583
  * x86: Add a BSP cpu_dev helper
    - LP: #862583
  * x86, amd: Move BSP code to cpu_dev helper
    - LP: #862583
  * x86-32, amd: Move va_align definition to unbreak 32-bit build
    - LP: #862583
  * Make TASKSTATS require root access, CVE-2011-2494
    - LP: #866021
    - CVE-2011-2494
  * kernel/printk: do not turn off bootconsole in printk_late_init() if
    keep_bootcon
    - LP: #868628
  * rapidio: fix use of non-compatible registers
    - LP: #868628
  * arch/powerpc/sysdev/fsl_rio.c: correct IECSR register clear value
    - LP: #868628
  * ASoC: soc-jack: Fix checking return value of request_any_context_irq
    - LP: #868628
  * ASoC: ad193x: fix registers definition
    - LP: #868628
  * ASoC: ad193x: fix dac word len setting
    - LP: #868628
  * omap-serial: Allow IXON and IXOFF to be disabled.
    - LP: #868628
  * serial: 8250_pnp: add Intermec CV60 touchscreen device
    - LP: #868628
  * 8250_pci: add support for Rosewill RC-305 4x serial port card
    - LP: #868628
  * 8250: Fix race condition in serial8250_backup_timeout().
    - LP: #868628
  * tty: Add "spi:" prefix for spi modalias
    - LP: #868628
  * TTY: pty, fix pty counting
    - LP: #868628
  * USB: ftdi_sio: add Calao r...

Changed in linux (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Richard.Talcott@gmail.com (rtalcott) wrote :

12.04 No Problem...11.10...same problem...HP LJ6L using a sub to parallel port adapter.....works fine with 10.10 and 12.04 (in VBOX)

Revision history for this message
MrLeek (mrleek) wrote :

Still not fixed for me - I've got the exact same problem I had when I upgraded to 11.10 from 11.04. When I plug in the printer (Lexmark S405) via USB, Ubuntu detects that the printer is there....then decides that it doesn't have any drivers to use - I get told:

"The action is not supported by this backend. Please report a bug as this should not have happened. Provides postcript-driver not supported"

Same bug? Different bug? All I know is that I've wasted way too much time fixing a problem that didn't exist in 11.04! All very frustrating....

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Richard, MrLeek, did you also install the fixed CUPS package from bug 887094?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

MrLeek, where did you get this "The action is not supported by this backend. Please report a bug as this should not have happened. Provides postcript-driver not supported" message?

Revision history for this message
John Belton (jbelton1950) wrote :

Thanks for getting back to my problem, after doing all the updates yesterday I tried again with the Lexmark X2650 on my 64 bit Ubuntu 11.10 but it still seems to come up with the same install routine and flags up with the "cups-invalid-filter" (or words to that effect I'm not in front of the Desktop at the moment) and the installed icon has the red exclamation mark as before.
I've checked the kernel is 3.0.0.13-22 but I am not sure about the cups version (there have been many updates but I don't remember the current status of that.
The supplied Lexmark driver software still fails to install stopping at the "connect USB" stage, even if the printer auto-install routine has finished in the above state. It still asks for the USB to be connected after the connection is made.
I now have an HP Jetdesk 1050A printer which works with my laptop but would still like to resolve the problem with the Lexmark printer/scanner.
John

Revision history for this message
MrLeek (mrleek) wrote :

@ Till - I get that message when I connect the printer via USB either when installing the driver (downloaded from Lexmark's site) or when I have no printer installed and I just plug in the USB cable.

I get the popup saying "The action is not supported by this backend....." seconds after connecting the printer. I then get the new printer box up which allows me to select a printer from the database. It goes on to say that "The foomatic printer database contains various manufacturer provided PostScript Printer Descriptions.....". Eventually I can pick a printer, but since my S405 is not listed that method falls over.

There's another bunch of updates to do so I'm going to install those and have another swing at it.I'll also review the bug link you made to make sure that's covered.

Revision history for this message
John Belton (jbelton1950) wrote :

Re my message #79 above I got the message wrong that is shown it is "cups-insecure-filter" I confirmed it when I got access to the Desktop and printer earlier. I'm not sure if this implies the driver is not safe to use on a network or something but I read elsewhere on another "help" site that it may just be permissions that have to be changed though I couldn't find any changes that worked.
John

Revision history for this message
MrLeek (mrleek) wrote :

Regarding bug 887094 - I can confirm that I have cups 1.5.0-8ubuntu5 installed (according to Software Centre). I recall trying Till's ppa for this but it had no effect.

Revision history for this message
John Belton (jbelton1950) wrote :

Just to let you know I've tried again to get the desktop to work with the Lexmark printer but the result is the same. I am sure the latest "cups" and other updates have all been installed for Ubuntu 11.10 64 (including the Kernel to 3.0.0-14-generic(x86-64) the 32bit version doesn't seem to be available for my laptop). I have the Ubuntu 12.04 pre-Alpha in VirtualBox but I'm not sure if the printer would work correctly through VirtualBox without add-ons as I have never had to use it that way.
John

Revision history for this message
Alan Herron (a-herron) wrote :

A bit more contextual information...

I have an old laser printer connected via a usb to parallel cable. I have tried reconfiguring the printer, and it seems to find one, but any attempt to write to it hangs with a "printer not connected" message. lsusb finds the parallel cable just fine.

I also have a Canon iP4500 inkjet. It connects and prints OK, but I tried to use "ink" today to read the ink levels, and this hangs. The error message from "ink" indicates it is looking for the old url /dev/usb/lp0.

All this used to work in Natty. Thus it would appear the the changes in Oneiric introduced the regressions.

Alan H

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Note: All software insisting to access printers via /dev/usb/lp0, /dev/usb/lp1, ... will not work with Oneiric (11.10). This software needs the usblp kernel module which does not work together with current CUPS. Please report bugs top the appropriate upstream projects. Examples for such software are "ink" and some proprietary printer drivers.

Why is usblp and /dev/usb/lp* deprecated? Once, if you have more than one USB printer, The printers are not necessarily always assigned to the same /dev/usb/lp* device file, so software referencing to these files cannot reliably address the desired printer. Second, extra functions of multi-function printers are usually not accessible through usblp (some driver software, like HPLIP, even decouples printers from usblp as usblp does not provide the needed functionality).

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

If you have still access problems to USB printers, please file a new bug and follow the instructions of the section "USB printer" on https://wiki.ubuntu.com/DebuggingPrintingProblems. Tell us also which printer and which driver you are using.

Revision history for this message
John Belton (jbelton1950) wrote :

I tried accessing the link in #86 but get an "Internal Server Error", I think the link did work earlier in the week, but I didn't have time to investigate it properly at that time.
John

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

John, currently, the link is working, probably it was a temporary overload.

Revision history for this message
David Shochat (david-shochat) wrote :

This just stopped working for me. I seem to be back where I started (claims my printer is unplugged or turned off). I thought the problem might be that I had upgraded to kernel 3.0.0.14 so I tried booting up with 3.0.0.13, but it still doesn't work. This is an Epson Stylus Photo R300. Everything had been working fine once I upgraded to kernel 3.0.0.13 per instructions here. I did today take a CUPS update. Do I need to revert that? When I look at the CUPS web interface, my printer is there with the notation -CUPS+Gutenprint v5.2.7 Simplified Paused - "Unplugged or turned off" (it is plugged in and on). In /var/log/syslog, I see that it has been detected as a USB device, but with that phrase "udev-configure-printer: failed to claim interface 0".

Revision history for this message
David Shochat (david-shochat) wrote :

I looked back to my previous comment here and it was on 2011-10-22 that I reported my success with 3.0.0-13. However, the kernel files in /boot now for 3.0.0-13 are dated 2011-11-02! Does this mean I clobbered the good kernel by updating to a later "3.0.0-13" that lacks the fix? Are kernel updates continuing to appear without this fix?

Revision history for this message
David Shochat (david-shochat) wrote :

Just installed kernel 3.0.0-15 and my printer is once again being detected.

Revision history for this message
John Belton (jbelton1950) wrote :

Just to update people I have set up a Wubi install in the Windows partition on my desktop and upgraded it to 12.04 Alpha, connecting the Lexmark X2650 printer it doesn't "snatch" and try (and fail) to install it automaticaly and trying manually it stops indicating "no driver available".
I tried installing the Lexmark supplied driver but that is only 32bit and the Ubuntu 12.04 Alpha is 64bit.
Does anyone know a solution to run 32bit drivers in a 64bit installation?
I would like to try it if it shows the problem is really cured.
John

Revision history for this message
Nokir (nokir) wrote :

My USB/Parallel adapter (067b:2305) still isn't working. Printing with usblp loaded works fine.

$ uname -a
Linux ubuntu 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam
Bus 005 Device 002: ID 03eb:3301 Atmel Corp. at43301 4-Port Hub
Bus 003 Device 002: ID 147e:2016 Upek Biometric Touchchip/Touchstrip Fingerprint Sensor
Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 005 Device 004: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port

$ sudo /usr/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: usb_find_busses=7
DEBUG: usb_find_devices=12

$ sudo lsmod | grep usb
usb_storage 57901 0
btusb 18600 0
bluetooth 166112 11 bnep,rfcomm,btusb
usbserial 47107 1 ftdi_sio
usbhid 47198 0
hid 95463 1 usbhid

$ sudo modprobe usblp
$ sudo usb_printerid /dev/usblp0
GET_DEVICE_ID string:
x���`�ȁ�����|������8�Wy�������`lx

Revision history for this message
Tim Cuthbertson (ratcheer) wrote :

My Canon MP630 printer was working just fine in Ubuntu 11.10 64-bit until about a week ago. I discovered it had stopped working, yesterday. I tried to reinstall the printer, but I cannot get it added back. It is no longer detected by the printer add dialog or even by lsusb.

I wonder if the upgrade to 3.0.0-16 killed it?

Since it is completely undetected, none of the suggested troubleshooting procedures produce any helpful output.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The printer not being detected even by lsusb means that the kernel is at fault. Tim Gardner, should Tim Cuthbertson open a new bug or should we re-open this one (my HP Color LaserJet CM3530 MFP is still correctly detected).

Revision history for this message
David Shochat (david-shochat) wrote :

I currently have kernel 3.0.0-16 (32 bit) and my printer (Epson Stylus Photo R300) is not being detected. Note from some of my previous comments in this bug, e.g. 2011-10-22, that there have been some earlier kernel versions, originally a "proposed" 3.0.0-13 for which my printer was detected. So I'm still waiting for it to be detected reliably, as it was pre-oneiric.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Tim Cuthbertson - please start a new bug since your symptoms appear different.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tim Cuthbertson, David, if you report a new bug about your problem, please post the bug number here. Thanks.

Revision history for this message
David Shochat (david-shochat) wrote :

I have submitted bug 936155.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Tim Gardner, David's problem (bug 936155) is not a kernel problem, but Tim Cuthbertson's most probably is.

Tim Cuthbertson, can you report a new bug for your problem? Thanks.

Brad Figg (brad-figg)
tags: added: cscc
Displaying first 40 and last 40 comments. View all 101 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.