foo2zjs doesn't find printer in /dev

Bug #425300 reported by ilf
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
foo2zjs (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Karmic by ilf

Bug Description

Binary package hint: foo2zjs

WIth cups 1.4.0-5 and foo2zjs 20090623-0ubuntu3 (on an up-to-date karmic) my printer doesn't work.

The problem seems to be that foo2zjs' /usr/sbin/hplj1000 seems to want to find the printer device as /dev/usb/lp0.
Anyways, it fails with:
   $ sudo /usr/sbin/hplj1000
   find: `/dev/usb': No such file or directory
and the firmware is not loaded.

Entering
   DEV="/dev/lp0" or
   DEV="/dev/bus/usb/<Bus>/<Device>"
in hplj1000 fails too.

If I had to guess, i'd suspect this has something to do with the usblp -> libusb transition in cups 1.4 and/or bug #420015.

Revision history for this message
ilf (ilf) wrote :

It seems someone also reported this problem upstream:

http://foo2zjs.rkkda.com/forum/read.php?12,2026
http://foo2zjs.rkkda.com/forum/read.php?12,2028

So this probably isn't related to #420015, but it still doesn't help me.

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

This is due to the changes in the CUPS USB backend (see also bug 420015).

I have also reported the problem to the driver author.

For the time being, please run hp-plugin to get an automatic firmware upload to the printer.

Revision history for this message
ilf (ilf) wrote :

What's "hp-plugin"? I can't find anything via 'apt-cache' or 'locate'.

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

hp-plugin is part of the hplip package. If it is not there, probably due to missing hplip.

Install "hplip" and run

sudo hp-plugin -i

This will download HP's firmware files and firmware upload scripts. It is all based on HP's CUPS backend which does not need /dev/usb/lp*.

Revision history for this message
ilf (ilf) wrote :

This happens when the "usblp" module is blacklisted. When it's not blacklisted, the firmware is uploaded correctly.
But it doesn't print and I get the following in /var/log/cups/error_log:
W [13/Oct/2009:18:54:23 +0200] [Job 23] If you have more than one HP LaserJet 1000 printer connected to this machine, please unload (and blacklist) the "usblp" kernel module as otherwise CUPS will not be able to distinguish your printers.

Revision history for this message
Monty Taylor (mordred) wrote :

This seems to still be problematic on an up to date karmic system. lsusb shows:

"Bus 001 Device 015: ID 03f0:2b17 Hewlett-Packard LaserJet 1020"

But nothing shows up in the Add Printer dialog. We tried all of the things in bug#420015, but to no avail.

Any new thoughts here?

Revision history for this message
Kevin Goodsell (kevin-goodsell) wrote :

Monty, you are probably encountering this bug:

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/543177

I've written a trouble-shooting guide that might help:

http://ubuntuforums.org/showthread.php?t=1438177

The basic problem described in this bug is fixed, however. usblp is un-blacklisted, /dev/usb/lp0 should be available. Printing probably still won't work by default, but the problem has shifted elsewhere. This bug should probably be closed.

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

usblp is not blacklisted any more, closing ...

Changed in foo2zjs (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
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.