Bug 577898

Summary: Missing Device ID for HP Officejet 7300 series
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: hplip-3.10.2-11.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-07 04:01:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 219467    

Description Jiri Popelka 2010-03-29 16:10:57 UTC
Description of problem:
Using the lpinfo -l -v output from bug #198999, I get this:

$ python check-device-ids.py "HP Officejet 7300 series" "MFG:HP;MDL:Officejet
7300
series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:6543;SN:MY64PQ853B04HR;"
Installing relevant drivers using session service
Fetching driver list
└── HP Officejet 7300 series: MFG:HP;MDL:Officejet 7300
series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;
    (No drivers)
        MISSING  drv:///hp/hpcups.drv/hp-officejet_7300_series.ppd
[/usr/share/cups/drv/hp/hpcups.drv]
        MISSING  foomatic:HP-OfficeJet_7300-hpijs.ppd
[/usr/lib/cups/driver/foomatic]

Version-Release number of selected component (if applicable):
hplip-3.10.2-5.fc13

Comment 1 Jiri Popelka 2010-04-08 16:10:07 UTC
Tim:

There's already this change in hplip-device-ids.patch

@@ -3414,7 +3414,7 @@ Manufacturer "HP"
       ModelName "HP Officejet 7300 Series"
       Attribute "NickName" "" "HP Officejet 7300 Series, $Version"
       Attribute "ShortNickName" "" "HP Officejet 7300 Series"
-      Attribute "1284DeviceID" "" "MFG:HP;MDL:officejet 7300 series;DES:officejet 7300 series;"
+      Attribute "1284DeviceID" "" "MFG:Hewlett-Packard;MDL:officejet 7300 series;DES:officejet 7300 series;"
       PCFileName "hp-officejet_7300_series.ppd"
       Attribute "Product" "" "(HP Officejet 7310 All-in-one Printer)"
       Attribute "Product" "" "(HP Officejet 7310xi All-in-one Printer)"

So, which ID is correct ?

Comment 2 Tim Waugh 2010-04-08 16:58:53 UTC
I think the one from *this* bug report is the correct one.  The hplip-device-ids.patch change was just copying the Device IDs from foomatic-db, which is slightly more reliable (but not foolproof).

In this case, we can see the evidence backing up the Device ID in bug #198999.  The foomatic-db change was made automatically, but my script was confused by there being two entries:

  <autodetect>
    <general>
      <commandset>MLC,PCL,PML,DW-PCL,BIDI-ECP</commandset>
      <manufacturer>Hewlett-Packard</manufacturer>
      <model>officejet 7300 series</model>
    </general>
    <usb>
      <commandset>MLC,PCL,PML,DW-PCL,DESKJET,DYN</commandset>
      <description>6543</description>
      <manufacturer>HP</manufacturer>
      <model>Officejet 7300 series</model>
    </usb>
  </autodetect>

The second entry there agrees with ours -- as you might expect, as I put that there in 2006 from bug #198999. :-)

Hmm, looks like I actually broke a correct Device ID then in hplip-device-ids.patch. :-(

I guess the simplest thing to do is just remove that part of the patch.

Comment 3 Fedora Update System 2010-04-16 22:08:52 UTC
hplip-3.10.2-11.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/hplip-3.10.2-11.fc13

Comment 4 Fedora Update System 2010-04-20 13:27:16 UTC
hplip-3.10.2-11.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update hplip'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/hplip-3.10.2-11.fc13

Comment 5 Fedora Update System 2010-05-07 04:00:42 UTC
hplip-3.10.2-11.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.