Newer HP LaserJet printers which need firmware can also have the USB product ID "xx2a"

Bug #734822 reported by Till Kamppeter
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: update-notifier

Newer HP LaserJet printers which need firmware can also have the USB product ID "xx2a" and not only "xx17" as older models. See also the /lib/udev/rules.d/56-hpmud_support.rules of the HPLIP package. I have updated the code of update-notifier appropriately. A debdiff of my change for the package is attached. Please apply this trivial fix to Natty. I did a regression test with the HP LaserJet 1020.

Tags: patch

Related branches

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Changed in update-notifier (Ubuntu):
milestone: none → ubuntu-11.04-beta-1
importance: Undecided → Medium
Changed in update-notifier (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
status: New → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

Hey Till! Thanks a lot for your patch. I modified the test slightly for (IMO) easier readability:

    // only idVendor=03f0, idProduct="??{17,2a}" requires firmware
    if (g_strcmp0 (id_vendor, "03f0") != 0 ||
        id_product == NULL ||
        g_utf8_strlen(id_product, -1) != 4)
       return FALSE;
    if (! ( ((id_product[2] == '1') && (id_product[3] == '7')) ||
            ((id_product[2] == '2') && (tolower(id_product[3]) == 'a')) ))
       return FALSE;

Could you please double check and test (if you have the hardware)?

Changed in update-notifier (Ubuntu):
status: Triaged → In Progress
Michael Vogt (mvo)
Changed in update-notifier (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-notifier - 0.111ubuntu2

---------------
update-notifier (0.111ubuntu2) natty; urgency=low

  [ Till Kamppeter ]
  * src/uevent.c:
    - HP laser printers which require firmware can also have the
      product ID "xx2a" now. (LP: #734822)
 -- Michael Vogt <email address hidden> Thu, 31 Mar 2011 11:21:51 +0200

Changed in update-notifier (Ubuntu):
status: Fix Committed → 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.