Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271079 - [PATCH] net-print/foo2zjs should properly support HP-P1505 and some other models
Summary: [PATCH] net-print/foo2zjs should properly support HP-P1505 and some other models
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 15:54 UTC by Martin Väth
Modified: 2012-01-14 22:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified files/foo2zjs-20081129-udevfwld.patch to support further printer models (foo2zjs-20081129-udevfwld.patch,8.22 KB, patch)
2009-05-24 16:01 UTC, Martin Väth
Details | Diff
Alternative form of the above patch: Patch to be applied after the original foo2zjs-20081129-udevfwld.patch (foo2zjs-hpp1505.patch,3.34 KB, patch)
2009-05-24 16:03 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2009-05-24 15:54:50 UTC
Although foo2zjs-20081129 support HP P1505 and some other printers and although
the ebuild installs the correct firmware files for these printers, the firmware
is only copied to the printer when a HP 10* printer model is used.
The reason is that the patch
  foo2zjs-20081129-udevfwld.patch
does not support these models. I suspect that an earlier version of foo2zjs
did not support these models, and the patch was not updated for the new models.
Comment 1 Martin Väth 2009-05-24 16:01:18 UTC
Created attachment 192315 [details, diff]
Modified files/foo2zjs-20081129-udevfwld.patch to support further printer models

The attached patch should replace files/foo2zjs-20081129-udevfwld.patch
It modifies the /etc/udev/rules.d/11-hplj10xx.rules
and the /sbin/foo2zjs-loadfw script so that not only for the HP 10* but
also for the other supported printers (like P1505) the necessary firmware
copy is done when the printer is attached.

I tested it successfully with HP P1505, but all models are treated similarly,
so that I expect that no problems arise for the other new printers.
Comment 2 Martin Väth 2009-05-24 16:03:42 UTC
Created attachment 192317 [details, diff]
Alternative form of the above patch: Patch to be applied after the original foo2zjs-20081129-udevfwld.patch

In case you want to be extremely careful and keep the original
files/foo2zjs-20081129-udevfwld.patch
You can apply this second attached patch afterwards.
The outcoming result is the same as if files/foo2zjs-20081129-udevfwld.patch
is replaced by the previous file.
Comment 3 Roger 2009-05-25 23:05:52 UTC
I don't have one of these printers to test, but now that you've explained this within bug #263494, it now makes sense to me as I didn't previously understand much about the newer added printers since the last release of this ebuild.

Now the only issue is with bug #263494 concerning adding the newer ICC profiles using getweb?
Comment 4 hitachi 2009-05-26 13:50:32 UTC
This should be added to portage as foo2zjs-20081129-r1!
Comment 5 Yu Yuwei 2009-09-06 13:09:05 UTC
Thanks! new patch make P1008 workable via usb :)
Comment 6 Daniel Nilsson 2009-10-16 14:27:29 UTC
I confirm that the patch works for my HP P1005.
Thanks to all working on printer support in Gentoo!
I've had a frustrating day trying to get my printer to work, but thanks to finding this bug and the patch I can print now.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2012-01-14 22:23:48 UTC
The version patched here is not in the tree anymore.