Update to latest package to make HP LaserJet 1020 work

Bug #6017 reported by Kokanee
32
Affects Status Importance Assigned to Milestone
Dapper Backports
Invalid
Undecided
Unassigned
Baltix
Fix Released
Medium
Mantas Kriaučiūnas
foo2zjs (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

The HP LaserJet 1020 does not work with the 2005-11-20 version of the foo2zjs driver in Dapper. As of 2005-12-1 it was updated to make the HP LaserJet 1020 work correctly. Please can we update the package to the latest version? There are lots of people waiting for this printer to work!

http://foo2zjs.rkkda.com

Kokanee (cholywell)
description: updated
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : Patched packages for Ubuntu 5.10 (breezy) and sources are available at ftp://ftp.akl.lt/Linux/Baltix/Baltix-Ubuntu_packages/

I can confirm this bug - it really exists on Ubuntu 5.10 (breezy). 2 months ago I patched foo2zjs package to work correctly with HP LaserJet 1000, 1005 and 1020 printers. Patched packages, compiled for Ubuntu 5.10 (breezy) and sources are available here:
ftp://ftp.akl.lt/Linux/Baltix/Baltix-Ubuntu_packages/HP-LaserJet_10xx-foo2zjs/
(these packages were tested with HP LaserJet 1020 printer)

Here is a changelog with my changes (Ubuntu developers, please compare my paches with latest foo2zjs sources from Ubuntu dapper before closing this bug):
Changed-By: Mantas Kriaučiūnas <email address hidden>
Description:
 foo2zjs - Support for printing to ZjStream-based printers
Changes:
 foo2zjs (20051113-2) breezy-backports; urgency=low

   * Modified makefile's install-hotplug section to not install HP LaserJet
     1000, 1005 and 1020 usb-id's into /etc/hotplug/usb.usermap
   * Patched debian/rules to install udev/hotplug autoloading firmware scripts (now cheap printers like HP LaserJet 1020 works)
   * Fixed hplj10xx.rules - now firmware autoloading works
   * Fixed hplj1000 (firmware uploading script) - ignore case when checking printer model

Changed in foo2zjs:
status: Unconfirmed → In Progress
Revision history for this message
stefab (bluefuture) wrote :

I tested also this upgraded package but after ther first printed job at the second one the printer (hpjs1020) begins to alternate bliking the green and orange led without printing anymore. I need to power off and power on to restart printing.

Revision history for this message
stefab (bluefuture) wrote : Solved

With this version in ubuntu the he laserjet 1020 after finish the first print job on the second print job begin to blikning with the orange and green led alternate. I dosn't know if is a problem with the 1020 firmware you packaged but i need to power off and power on the printer before i could print again.
I had tried to apt-get remove foo2zjs and manually compile and install the latest upstream version (http://foo2zjs.rkkda.com/) Fri May 12. It works fine and seems this issue to be solved. So please got in sync with the last upstream version.

Revision history for this message
KarlGoetz (kgoetz) wrote :

Is this printer/ printer package still a problem in Dapper stable or Edgy? if not please close this bug. if it is say so, or i will close it in a few weeks ;)
kk

Revision history for this message
Oscar (oscar-minioffroad) wrote :

Still doesn't seem to work in Dapper. When I reinstalled the drivers manually from source it also didn't work until I did a "sudo make install-hotplug", seems as if no firmware was uploaded if I didn't, just like with the package.

Haven't got Edgy to try with.

/O

Revision history for this message
Oscar (oscar-minioffroad) wrote :

Same thing with Edgy. An install from source with make; make install; make install hotplug. Did a "./getwebb" as well to fetch the firmware files.

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

Fixed in Egdy, up-to-date source of foo2zjs with support for the LaserJet 1020 is uploaded.

Changed in foo2zjs:
status: In Progress → Fix Released
Revision history for this message
Mantas Kriaučiūnas (mantas) wrote :

Must be fixed in Baltix 2.0 (based on Ubuntu 6.06) by updating backported foo2zjs package from Ubuntu Edgy

Revision history for this message
Oscar (oscar-minioffroad) wrote :

Using edgy:

Oct 6 20:31:49 laban kernel: [17184429.788000] usb 5-7: new high speed USB device using ehci_hcd and address 9
Oct 6 20:31:49 laban kernel: [17184429.940000] usb 5-7: configuration #1 chosen from 1 choice
Oct 6 20:31:49 laban kernel: [17184429.940000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Oct 6 20:31:51 laban /usr/bin/hplj1000: HP LaserJet 1000 firmware was not downloaded...
Oct 6 20:31:51 laban /usr/bin/hplj1000: ...couldn't find /bin/usb_printerid and DEV is not set

Revision history for this message
Oscar (oscar-minioffroad) wrote :

And this is what it looks like with the foo2zjs package compiled and installed manually (make;make install;make install-hotplug):

Oct 6 20:42:18 laban kernel: [17185058.792000] drivers/usb/class/usblp.c: usblp0: removed
Oct 6 20:42:20 laban kernel: [17185060.544000] usb 5-7: new high speed USB device using ehci_hcd and address 16
Oct 6 20:42:20 laban kernel: [17185060.692000] usb 5-7: configuration #1 chosen from 1 choice
Oct 6 20:42:20 laban kernel: [17185060.696000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 16 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Oct 6 20:42:22 laban /etc/hotplug/usb/hplj1020: loading HP LaserJet 1020 firmware /usr/share/foo2zjs/firmware/sihp1020.dl to /dev/usb/lp0 ...
Oct 6 20:42:23 laban /etc/hotplug/usb/hplj1020: ... download successful.

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

Oscar, can you try the Ubuntu package, but replace the file with the UDEV rules (AFAIR /etc/udev/rules.d/11-hplj10xx.rules) by the attached one? Does the firmware upload work then?

Can you also check where usb_printerid is actually located (/usr/bin, /usr/sbin, ...) and set a symbolic link to /bin/usb_printerid?

Changed in foo2zjs:
status: Fix Released → Needs Info
Revision history for this message
Oscar (oscar-minioffroad) wrote :

Adding a symlink for /usr/bin/usb_printerid didn't help, the message changed though, but it still isn't possible to print:

Oct 10 20:44:29 laban kernel: [17367961.604000] usb 5-7: new high speed USB device using ehci_hcd and address 18
Oct 10 20:44:29 laban kernel: [17367961.756000] usb 5-7: configuration #1 chosen from 1 choice
Oct 10 20:44:29 laban kernel: [17367961.756000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 18 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17

Changing the UDEV rules didn't change anything either, don't see how it could work either since the package doesn't install /usr/sbin/hplj1020.

Any more suggestions?

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

Can you manually create the links:

sudo ln -s /usr/bin/hplj1000 /usr/bin/hplj1005
sudo ln -s /usr/bin/hplj1000 /usr/bin/hplj1018
sudo ln -s /usr/bin/hplj1000 /usr/bin/hplj1020

and if you want to try the new UDEV rules file the links:

sudo ln -s /usr/bin/hplj1000 /usr/sbin/hplj1000
sudo ln -s /usr/bin/hplj1000 /usr/sbin/hplj1005
sudo ln -s /usr/bin/hplj1000 /usr/sbin/hplj1018
sudo ln -s /usr/bin/hplj1000 /usr/sbin/hplj1020

Does this help?

Revision history for this message
Oscar (oscar-minioffroad) wrote :

With the new UDEV, new symlinks in /usr/sbin like above and "sudo ln -s /usr/bin/usb_printerid /bin/usb_printerid", I now get this:

Oct 10 23:46:41 laban kernel: [17378893.364000] usb 5-7: new high speed USB device using ehci_hcd and address 23
Oct 10 23:46:41 laban kernel: [17378893.516000] usb 5-7: configuration #1 chosen from 1 choice
Oct 10 23:46:41 laban kernel: [17378893.516000] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 23 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Oct 10 23:47:13 laban /usr/sbin/hplj1020: Missing HP LaserJet 1020 firmware file /usr/share/foo2zjs/firmware/sihp1020.dl
Oct 10 23:47:13 laban /usr/sbin/hplj1020: ...read foo2zjs installation instructions and run ./getweb 1020

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

This looks very nice, now only follow what the last line of the log is telling you:

...read foo2zjs installation instructions and run ./getweb 1020

so that you get the firmware file from HP's site to your computer.

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

If you have the firmware already on your computer, make sure it can be found as

/usr/share/foo2zjs/firmware/sihp1020.dl

Revision history for this message
Oscar (oscar-minioffroad) wrote :

Sorry, haven't had time to test this today, but right now /usr/share/foo2zjs/firmware/ is empty, so putting the firmware there will probably solve it. Will get back to you with results.

Revision history for this message
Matt Zimmerman (mdz) wrote :

foo2zjs in edgy is recent enough to support this printer, so the original problem described here is fixed. If there is an issue with the firmware, please open a separate bug for that.

Changed in foo2zjs:
status: Needs Info → Fix Released
Revision history for this message
Oscar (oscar-minioffroad) wrote :

Right, let's try #65618 then.

Revision history for this message
John Dong (jdong) wrote :

-> Built Package: /var/cache/prevu/dapper-debs/foo2zjs_20060625dfsg-4ubuntu1~6.06prevu1_i386.deb

This version of foo2zjs is eligible for Dapper Backports. would this resolve the specified issue?

Changed in dapper-backports:
status: Unconfirmed → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

An update for Edgy is requested, see bug #65618. Perhaps the same reuqst should be done for Dapper?

Revision history for this message
John Dong (jdong) wrote :

Yeah, that might be the best solution...

Revision history for this message
John Dong (jdong) wrote :

Deferring to stable updates (Reopen backports ticket if I misunderstood)

Changed in dapper-backports:
status: Confirmed → Rejected
Przemek K. (azrael)
Changed in baltix:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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