Newer HP LaserJet printers which need firmware can also have the USB product ID "xx2a"
Bug #734822 reported by
Till Kamppeter
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/
Related branches
lp:update-notifier/ubuntu
Superseded
for merging
into
lp:~dennis/update-notifier/apt-proxies
- Dennis Kaarsemaker: Pending requested
- Diff: 0 lines
Changed in update-notifier (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
status: | New → Triaged |
Changed in update-notifier (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
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
g_utf8_ strlen( id_product, -1) != 4)
(( id_product[ 2] == '2') && (tolower( id_product[ 3]) == 'a')) ))
if (g_strcmp0 (id_vendor, "03f0") != 0 ||
id_product == NULL ||
return FALSE;
if (! ( ((id_product[2] == '1') && (id_product[3] == '7')) ||
return FALSE;
Could you please double check and test (if you have the hardware)?