- Mark SNMP quirks in PPD for HP OfficeJet Pro 8500 (bug #581825).

This commit is contained in:
Tim Waugh 2010-06-09 15:49:58 +00:00
parent 70daa3a5e4
commit 3976f4248e
2 changed files with 20 additions and 1 deletions

12
hplip-snmp-quirks.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up hplip-3.10.5/prnt/drv/hpcups.drv.in.snmp-quirks hplip-3.10.5/prnt/drv/hpcups.drv.in
--- hplip-3.10.5/prnt/drv/hpcups.drv.in.snmp-quirks 2010-06-09 16:14:58.240019141 +0100
+++ hplip-3.10.5/prnt/drv/hpcups.drv.in 2010-06-09 16:15:06.492145617 +0100
@@ -5261,6 +5261,8 @@ Manufacturer "HP"
Attribute "NickName" "" "HP Officejet Pro 8500 a909g, $Version"
Attribute "ShortNickName" "" "HP Officejet Pro 8500 a909g"
Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet pro 8500 a909g;DES:officejet pro 8500 a909g;"
+ // This device lies about its supplies capacity.
+ Attribute "cupsSNMPQuirks" "" "capacity"
PCFileName "hp-officejet_pro_8500_a909g.ppd"
Attribute "Product" "" "(HP Officejet Pro 8500 Wireless All-in-one Printer - a909g)"
}

View File

@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.10.5
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+ and MIT
Group: System Environment/Daemons
Conflicts: system-config-printer < 0.6.132
@ -22,6 +22,7 @@ Patch5: hplip-deviceIDs-drv.patch
Patch6: hplip-mucks-with-spooldir.patch
Patch7: hplip-udev-rules.patch
Patch8: hplip-retry-open.patch
Patch9: hplip-snmp-quirks.patch
Patch10: hplip-discovery-method.patch
Patch11: hplip-device-reconnected.patch
Patch12: hplip-clear-old-state-reasons.patch
@ -156,6 +157,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
# Retry when connecting to device fails (bug #532112).
%patch8 -p1 -b .retry-open
# Mark SNMP quirks in PPD for HP OfficeJet Pro 8500 (bug #581825).
%patch9 -p1 -b .snmp-quirks
# Fixed hp-setup traceback when discovery page is skipped (bug #523685).
%patch10 -p1 -b .discovery-method
@ -435,6 +439,9 @@ fi
%{_bindir}/hpcups-update-ppds &>/dev/null ||:
%changelog
* Wed Jun 9 2010 Tim Waugh <twaugh@redhat.com> - 3.10.5-4
- Mark SNMP quirks in PPD for HP OfficeJet Pro 8500 (bug #581825).
* Mon Jun 07 2010 Jiri Popelka <jpopelka@redhat.com> - 3.10.5-3
- hplip-gui requires libsane-hpaio