Bug 577302 - Missing Device ID for HP PhotoSmart 380 (Bluetooth)
Summary: Missing Device ID for HP PhotoSmart 380 (Bluetooth)
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: 568351
Blocks: IEEE1284DeviceIDs
TreeView+ depends on / blocked
 
Reported: 2010-03-26 16:29 UTC by Tim Waugh
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:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2010-03-26 16:29:22 UTC
Description of problem:
Using the CUPS backend output from bug #241352, I get this:

$ ~/devel/system-config-printer/check-device-ids.py 'HP Photosmart 380' "MFG:HP;MDL:Photosmart 380 series_BT;CMD:PCL,DW-PCL,DESKJET,DYN;CLS:PRINTER;DES:385;"
Installing relevant drivers using session service
Fetching driver list
└── HP Photosmart 380: MFG:HP;MDL:Photosmart 380 series_BT;CMD:PCL,DW-PCL,DESKJET,DYN;
    └── foomatic:HP-PhotoSmart_380-hpijs.ppd [/usr/lib/cups/driver/foomatic]
        MISSING  drv:///hp/hpcups.drv/hp-photosmart_380_series.ppd [/usr/share/cups/drv/hp/hpcups.drv]

It's because the ID listed in hpcups.drv is for the non-bluetooth edition, and HP sticks "_BT" on the end of the model name for bluetooth editions(!).

Needs an *additional* 1284DeviceID attribute with _BT added.

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

Comment 1 Jiri Popelka 2010-04-08 16:35:26 UTC
If I add the second 1284DeviceID attribute like
{
  ModelName "HP Photosmart 380 Series"
  Attribute "NickName" "" "HP Photosmart 380 Series, $Version"
  Attribute "ShortNickName" "" "HP Photosmart 380 Series"
  Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart 380 series;DES:photosmart 380 series;"
+ Attribute "1284DeviceID" "" "MFG:HP;MDL:Photosmart 380 series_BT;DES:385;"
  PCFileName "hp-photosmart_380_series.ppd"
  Attribute "Product" "" "(HP Photosmart 385 Compact Photo Printer)"
  Attribute "Product" "" "(HP Photosmart 385xi Compact Photo Printer)"
  Attribute "Product" "" "(HP Photosmart 385v Compact Photo Printer)"
}

the check-device-ids.py still marks it as MISSING.
"It" probably takes only the first 1284DeviceID attribute, because when I add it as first 1284DeviceID attribute check-device-ids.py finds it, but then
./check-device-ids.py "HP Photosmart 380" "MFG:HP;MDL:Photosmart 380 series;" (without _BT) marks it as MISSING.

Only solution I have is to add new entry with different 1284DeviceID.

Comment 2 Tim Waugh 2010-04-08 17:07:15 UTC
That's actually a bug in my RPM provides script: see bug #568351.

It's perfectly valid for a PPD to contain several 1284DeviceID attributes; I just didn't realise that when I wrote the script.

For cases like this, let's add the additional 1284DeviceIDs anyway -- the RPM provides script will eventually get fixed and pick them up.

Comment 3 Fedora Update System 2010-04-16 22:08:39 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:02 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:29 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.