[Foo2zjs-maintainer] Bug#517162: Bug#517162: foo2zjs: Completed print jobs not deleted from queue on P1007

Raj Mathur raju at linux-delhi.org
Tue Mar 24 12:54:32 UTC 2009


On Tuesday 24 Mar 2009, Luca Capello wrote:
> [snip]
> Well, there are two problems:
>
> - the Debian package is not the same version of the upstream sources
> you have installed, thus you can still have some compiled files from
> upstream sources around.  In this case, it is difficult to know which
> one is taken into account at runtime :-(
>
> - the Debian package installs upstream files in different locations,
>   since Debian is more strict WRT the file system hierarchy and every
>   packages must be compliant to the Debian Policy, too.  One example
> of this situation are the helper programs, which Debian installs in
> /usr/sbin/ while upstream in /etc/hotplug/usb/, now deprecated...
>
> >> However, the real problem is actually another one: the udev rules
> >> file expects various program in /usr/sbin:
>
> [...]
>
> >> However, the Debian package ships only the first fourth of them,
> >> thus the firmware for any P* model cannot be loaded because the
> >> helper program is missing.  Can you please try the udev rules file
> >> included in the Debian package, after having launched the
> >> following commands as root?
> >>
> >>   # cd /usr/sbin/
> >>   # ln -s hplj1000 hpljP1007
> >
> > Done that and the printer prints again with the new
> > 11-hplj10xx.rules from the Debian package, with the same problem
> > (print job persists).
>
> Thank you for the test, at least we are now in a situation where you
> do not need any modification to the Debian package to reproduce your
> bug.
>
> > Could this be because of some files still lying around from the
> > manual installation?
>
> This is my first guess, yes.
>
> > If that is a possibility, then give me a couple of days to clean
> > those up, reinstall the Debian package from scratch and test.
>
> Since upstream Makefile provides an uninstall target, I think you can
> try to use that to clean everything, but only after you have purged
> the Debian package.  If you still have upstream sources around,
> something like the following can work, as root:
>
>   # aptitude purge foo2zjs
>   # cd /path/to/upstream/sources
>   # make uninstall
>   # aptitude install foo2zjs
>   # cd /usr/sbin/
>   # ln -s hplj1000 hpljP1007
>
> If everything will work as expected, I will retitle this bug to
> "foo2zjs: firwmare is not loaded on HP LaserJet P1007" and upload a
> new version fixing it (ATM sitting on my hard disk).

Woah, I didn't know about the uninstall target.  Ran that and 
reinstalled foo2zjs after purging.  Now there are two problems :)

1. getweb from the foo2zjs package doesn't install the firmware.  It 
does install the file:

  /usr/share/foo2zjs/tmp/sihpP1005.img

whereas the printer needs (as per the syslog message):

  /usr/share/foo2xqx/firmware/sihpP1005.dl

I used the getweb from the upstream sources to get the the .dl file and 
push it into the right directory, after that the firmware is getting 
downloaded and the printer is printing.

2. Print jobs are still not getting deleted after completion.  The error 
in syslog remains the same:

HP_LaserJet_P1007?serial=ECXXXXX: prnt/backend/hp.c 594: ERROR: 40017 
other; will retry in 30 seconds...

Am trying to contact you on instant messenger to see if we can get some 
quickfixes out.

Regards,

-- Raju
-- 
Raj Mathur                raju at kandalaya.org      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves





More information about the Foo2zjs-maintainer mailing list