hp-check fails when other HP devices are found on USB bus
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Committed
|
Medium
|
Stan Dolson |
Bug Description
Hi I have a HP 6735B laptop and a HP Color LaserJet CM1312nfi attached to the USB port.
I am running Ubuntu 9.04 (Jaunty) with hplip 3.9.2-3
My lsusb shows:
Bus 007 Device 002: ID 08ff:2810 AuthenTec, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 03f0:4f17 Hewlett-Packard
Bus 002 Device 003: ID 0424:2514 Standard Microsystems Corp.
Bus 002 Device 002: ID 04f2:b059 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 002: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I run hp-check -r and parts of the output is:
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x4f17 at 002:005:
Device URI: hp:/usb/
Device node: /dev/bus/
Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/005
# owner: root
# group: lp
user::rw-
user:jarl:rw-
group::rw-
mask::rw-
other::r--
HP Device 0x171d at 006:002:
warning: Device URI: (Makeuri FAILED)
Device node: /dev/bus/
Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/006/002
# owner: root
# group: root
user::rw-
group::rw-
other::r--
-------
hp-check is clearly mistaking the HP wireless device to be a printer device, hence trying to run hp-makeuri for that device, which fails.
Jarl
Confirmed this is an issue.