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

This commit is contained in:
Tim Waugh 2010-06-09 15:50:36 +00:00
parent 1d6ffcf1d7
commit a0dbbb0e71
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
@ -20,6 +20,7 @@ Patch3: hplip-ui-optional.patch
Patch4: hplip-no-asm.patch
Patch5: hplip-device-ids.patch
Patch6: hplip-mucks-with-spooldir.patch
Patch7: hplip-snmp-quirks.patch
Patch8: hplip-retry-open.patch
Patch10: hplip-discovery-method.patch
Patch11: hplip-device-reconnected.patch
@ -143,6 +144,9 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version}
# directly (bug #552572).
%patch6 -p1 -b .mucks-with-spooldir
# Mark SNMP quirks in PPD for HP OfficeJet Pro 8500 (bug #581825).
%patch7 -p1 -b .snmp-quirks
# Retry when connecting to device fails (bug #532112).
%patch8 -p1 -b .retry-open
@ -404,6 +408,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