Bug 844185

Summary: hplip-3.12.6 tools fail to identify USB attached printer
Product: [Fedora] Fedora Reporter: Stephen J Alexander <stevea12345>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-17 11:38:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace -f hp-probe -busb
none
lsusb, and various /sys/bus/usb values. none

Description Stephen J Alexander 2012-07-29 16:23:43 UTC
Created attachment 601058 [details]
strace -f hp-probe -busb

Description of problem:hplip tools fail to identify USB attached HP k60xi printer.


Version-Release number of selected component (if applicable):
hplip-3.12.6-1.fc17.x86_64

How reproducible:
100%

Steps to Reproduce:
1.hp-probe -busb
2.
3.
  
Actual results:
HP Linux Imaging and Printing System (ver. 3.12.6)
Printer Discovery Utility ver. 4.1

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.


--------------------
| DEVICE DISCOVERY |
--------------------

warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
warning: check to make sure your devices are properly connected and powered on.

Done.


Expected results:
...
  Device URI                                   Model              
  -------------------------------------------  -------------------
  hp:/usb/OfficeJet_K60xi?serial=MY12KC609FOH  HP OfficeJet K60xi 

Found 1 printer(s) on the 'usb' bus.
...

Additional info:
hp-setup fails with
  Searching... (bus=usb, search=(None), desc=0)
  error: No devices found on bus: usb

If directed to use USB device 007:002 then hp-setup fails with:
  Found device: hp:/usb/OfficeJet_K60xi?serial=MY12KC609FOH
  \error: Unable to communicate with device (code=12): hpfax:/usb/OfficeJet_K60xi?serial=MY12KC609FOH
  error: Unable to communicate with the device. Please check the device and try again.

Device works as expected under F14.


Result of ,,,,
strace -f hp-probe -busb
... is attached.

Comment 1 Stephen J Alexander 2012-07-29 16:34:13 UTC
Created attachment 601059 [details]
lsusb, and various /sys/bus/usb values.

Comment 2 Stephen J Alexander 2012-07-29 19:09:50 UTC
Problem appears with these packages installed ...
hplip-3.12.6-1.fc17.x86_64 
hplip-common-3.12.6-1.fc17.x86_64
hplip-gui-3.12.6-1.fc17.x86_64
hplip-libs-3.12.6-1.fc17.x86_64                     

By manually installing only the following from package
hplip-libs-3.12.4-2.fc17.x86_64.rpm
/usr/lib64/libhpmud.so
/usr/lib64/libhpmud.so.0
/usr/lib64/libhpmud.so.0.0.6
/usr/lib64/python2.7/site-packages/hpmudext.so
the problem disappears. IN this condition hp-probe and normal printing are successful.

It is believed this problem is isolated to changes in /usr/lib64/libhpmud.so.0.0.6 between 3.12.4-2.fc17 and 3.12.6-1.fc17 .

Comment 3 Jiri Popelka 2012-07-30 14:14:48 UTC
Since 3.12.6 hplip has had a support for libusb-1.0.
Diff of io/hpmud/musb.c between 3.12.4 and 3.12.6 shows a huge amount of changes.

So I think the best you can do is to fill a bug at
https://bugs.launchpad.net/hplip/+filebug
and provide all the info you attached to this ticket.
Thanks

Comment 4 Stephen J Alexander 2012-07-31 16:50:20 UTC
Problem reported upstream.

Comment 5 Stephen J Alexander 2012-09-14 07:10:44 UTC
Upstream marked this problem https://bugs.launchpad.net/hplip/+bug/1031419
Won't Fix 

You may as well too.

Comment 6 Tim Waugh 2012-09-17 11:38:55 UTC
OK. Looks like that HPLIP's support for that printer is only as-is now.