Comment 14 for bug 564917

Revision history for this message
Gary Wing (bandemere) wrote : Re: [Bug 564917] Re: Ubuntu 10.04 does not recognize local printer (HP Laserjet 4) connected via USB.

Pascal,

Output from USB Printer Detection is listed below.

There is one interesting thing that I have noticed in the output. In the last section of the output, the "/dev/lp0" is associated with "direct parallel". This is probably a CUPS error. Although my HP Laserjet 4 is actually connected to a USB port and nothing is connected to the parallel port, CUPS seems to falsely and erroneously think that it is a parallel printer.

Anyway, as an experiment, I navigated to System > Administration > Printing and tried to add my HP Laserjet 4 as a parallel printer, even though it was actually connected to a USB port. Although it accepted my printer as a parallel printer and I was able to create an entry for it, I was unable to actually print out any documents because the printing process would always freeze or hang in suspension with a "pending" or "processing" status. The printing job would never go to completion or finish.

***************************************************************************

toysun@xw8200:~$ lsmod | grep usb
usblp 12407 0
usbhid 40988 0
hid 83376 1 usbhid

toysun@xw8200:~$ tail -f /var/log/messages
Apr 18 09:37:18 xw8200 rsyslogd: [origin software="rsyslogd" swVersion="4.2.0" x-pid="605" x-info="http://www.rsyslog.com"] rsyslogd was HUPed, type 'lightweight'.
Apr 18 09:41:26 xw8200 kernel: [ 1010.040065] usb 4-2: USB disconnect, address 3
Apr 18 09:41:26 xw8200 kernel: [ 1010.040321] usblp0: removed

Apr 18 09:42:51 xw8200 kernel: [ 1095.190018] usb 4-2: new full speed USB device using uhci_hcd and address 4
Apr 18 09:42:51 xw8200 kernel: [ 1095.386105] usb 4-2: configuration #1 chosen from 1 choice
Apr 18 09:42:51 xw8200 kernel: [ 1095.430131] usblp0: USB Bidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
^C

toysun@xw8200:~$ lpinfo -v
network lpd
network ipp
network socket
network http
direct scsi
serial serial:/dev/ttyS0?baud=115200
network smb
network beh
direct parallel:/dev/lp0
direct hp
direct hpfax

toysun@xw8200:~$

***************************************************************************

--- On Sat, 4/17/10, Pascal De Vuyst <email address hidden> wrote:

> From: Pascal De Vuyst <email address hidden>
> Subject: [Bug 564917] Re: Ubuntu 10.04 does not recognize local printer (HP Laserjet 4) connected via USB.
> To: <email address hidden>
> Date: Saturday, April 17, 2010, 3:46 AM
> Please provide the information as
> described in the Printer detection section here:
> https://wiki.ubuntu.com/DebuggingPrintingProblems
>
> Also run the following command on a terminal to provide
> some useful printing related information about your system:
> apport-collect 564917
>
> ** Changed in: cups (Ubuntu)
>        Status: New =>
> Incomplete
>
> --
> Ubuntu 10.04 does not recognize local printer (HP Laserjet
> 4) connected via USB.
> https://bugs.launchpad.net/bugs/564917
> You received this bug notification because you are a direct
> subscriber
> of the bug.
>
> Status in “cups” package in Ubuntu: Incomplete
>
> Bug description:
> To me, this is a serious problem that exists in Ubuntu
> 10.04 (also in 9.10). When I try to add a new printer that
> is connected via USB cable,  the "New Printer" popup
> screen only shows three options for adding local printers:
> 1) "LPT #1" for parallel connection, 2) "Serial Port #1" for
> serial connection, and 3) "Other" for devices with a URI.
> The option to add a local USB printer does not show up. In
> earlier releases, such as 8.10 and 8.04, the option to add a
> USB printer does appear, and I have had no problems doing
> so. But, for some reason or another, Ubuntu 9.10 and 10.04
> does not properly recognize the existence of USB printers
> anymore. It does not recognize my HP Laserjet 4 and probably
> fails to recognize other USB printers, too.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/564917/+subscribe
>