Bug 577898 - Missing Device ID for HP Officejet 7300 series
Summary: Missing Device ID for HP Officejet 7300 series
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: IEEE1284DeviceIDs
TreeView+ depends on / blocked
 
Reported: 2010-03-29 16:10 UTC by Jiri Popelka
Modified: 2010-05-07 04:01 UTC (History)
2 users (show)

Fixed In Version: hplip-3.10.2-11.fc13
Clone Of:
Environment:
Last Closed: 2010-05-07 04:01:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.