|
Bugzilla – Full Text Bug Listing |
| Summary: | Unable to communicate with device (code=12): hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Forgotten User Si7ddX0wxG <forgotten_Si7ddX0wxG> |
| Component: | Printing | Assignee: | Johannes Meixner <jsmeix> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Johannes Meixner <jsmeix> |
| Severity: | Major | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
output from # hp-check -t
hp-photosmart7760settings unable to open device |
||
|
Description
Forgotten User Si7ddX0wxG
2010-01-22 11:53:43 UTC
Created attachment 338262 [details]
output from # hp-check -t
In attachment #338262 [details] ------------------------------------------- DISCOVERED USB DEVICES No devices found. ------------------------------------------- looks like a low-level USB issue. Does perhaps a reboot help? What results the command lsusb as root and as normal user? Regarding "...eries disabled since...": See "What is a CUPS backend and how does it work?" at http://en.opensuse.org/SDB:CUPS_in_a_Nutshell I.e. you must first re-enable printing before you can test printing again after such a failure. Regarding "/usr/lib64/cups/backend/hp failed": Have a look at /var/log/cups/error_log for possible CUPS error messages which might be of interest here and have a look at "If problems are encountered" at http://en.opensuse.org/SDB:CUPS_in_a_Nutshell In particular the "hp" backend logs mainly to /var/log/messages so that here error messages regarding the "hp" backend might be found. # lsusb [as normal user]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:0116 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 004: ID 174f:5a35 Syntek Sonix 1.3MPixel USB 2.0 Camera
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:b402 Hewlett-Packard PhotoSmart 7700 series
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 004 Device 003: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
# lsusb [as root]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0bda:0116 Realtek Semiconductor Corp. Mass Storage Device
Bus 001 Device 004: ID 174f:5a35 Syntek Sonix 1.3MPixel USB 2.0 Camera
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 03f0:b402 Hewlett-Packard PhotoSmart 7700 series
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 004 Device 003: ID 0b05:1712 ASUSTek Computer, Inc. BT-183 Bluetooth 2.0+EDR adapter
re:
>In particular the "hp" backend logs mainly
>to /var/log/messages so that here error messages
>regarding the "hp" backend might be found.
# cd /var/log/
/var/log # grep -i "hp " *
boot.msg:<5>[ 4.317106] scsi 7:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Dec 14 21:35:01 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Dec 14 21:35:02 zen kernel: [16440.353158] scsi 8:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Dec 18 13:16:04 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Dec 18 13:16:05 zen kernel: [15380.434188] scsi 8:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Jan 1 10:44:18 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Jan 12 11:37:40 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Jan 12 11:37:41 zen kernel: [ 231.878140] scsi 7:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Jan 12 11:40:16 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Jan 12 11:40:17 zen kernel: [ 387.810159] scsi 8:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Jan 15 21:32:13 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Jan 15 21:32:13 zen kernel: [ 7816.309166] scsi 8:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Jan 20 10:31:21 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Jan 20 10:31:22 zen kernel: [ 2562.490164] scsi 8:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Jan 22 16:53:25 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Jan 22 16:53:26 zen kernel: [ 5472.837110] scsi 7:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
messages:Jan 22 22:01:36 zen udev-configure-printer: MFG:hp MDL:photosmart 7700 series SERN:MY4B22K1Q0U0 serial:MY4B22K1Q0U0
messages:Jan 22 22:01:37 zen kernel: [23963.619179] scsi 8:0:0:0: Direct-Access HP photosmart 7700 1.00 PQ: 0 ANSI: 2
zen:/var/log #
Also found:
# grep -i "hpijs"
warn:Jan 22 22:08:16 hpijs[12034]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:08:16 hpijs[12034]: io/hpmud/musb.c 1104: unable to open hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 594: invalid usb_open: Permission denied
warn:Jan 22 22:13:06 hpijs[12076]: io/hpmud/musb.c 1104: unable to open hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0
# lpinfo -v network socket network beh direct pipe direct hal direct hpfax direct usb://hp/photosmart%207700%20series?serial=MY4B22K1Q0U0 direct hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0 network http network ipp network lpd direct scsi network smb # cd / # find . | grep -i photosmart ./dev/.udev/names/disk\x2fby-id\x2fusb-HP_photosmart_7700_MY4B22K1Q0U0-0:0 ./dev/.udev/names/disk\x2fby-id\x2fusb-HP_photosmart_7700_MY4B22K1Q0U0-0:0/\x2fdevices\x2fpci0000:00\x2f0000:00:02.0\x2fusb3\x2f3-1\x2f3-1:1.2\x2fhost7\x2ftarget7:0:0\x2f7:0:0:0\x2fblock\x2fsdc ./dev/disk/by-id/usb-HP_photosmart_7700_MY4B22K1Q0U0-0:0 ./etc/cups/ppd/hpphotosmart7700series.ppd ./var/lib/hardware/udi/org/freedesktop/Hal/devices/storage_serial_HP_photosmart_7700_MY4B22K1Q0U0_0_0 # grep -i error /var/log/cups/error_log # grep -i warn /var/log/cups/error_log # grep -i fatal /var/log/cups/error_log # Created attachment 338448 [details]
hp-photosmart7760settings
# hp-systray HP Linux Imaging and Printing System (ver. 3.9.8) System Tray Status Service ver. 2.0 Copyright (c) 2001-9 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. /usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK set_interactive(1) *It seemed to be stopped on line ->set_interactive(1) Created attachment 338449 [details]
unable to open device
# hp-systray (finally some info) HP Linux Imaging and Printing System (ver. 3.9.8) System Tray Status Service ver. 2.0 Copyright (c) 2001-9 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. /usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK set_interactive(1) HP Linux Imaging and Printing System (ver. 3.9.8) HP Device Manager ver. 15.0 Copyright (c) 2001-9 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. warning: Reportlab not installed. Fax coverpages disabled. warning: Please install version 2.0+ of Reportlab for coverpage support. libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/003: Permission denied. libusb requires write access to USB device nodes. error: Unable to communicate with device (code=12): hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0 error: Device not found *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/003: Permission denied. libusb requires write access to USB device nodes. error: Unable to communicate with device (code=12): hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0 error: Unable to open device hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0. libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/003: Permission denied. libusb requires write access to USB device nodes. error: Unable to communicate with device (code=12): hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0 error: Unable to open device hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0. libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/003/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/001: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/002: Permission denied. libusb requires write access to USB device nodes. libusb couldn't open USB device /dev/bus/usb/004/003: Permission denied. libusb requires write access to USB device nodes. error: Unable to communicate with device (code=12): hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0 error: Unable to open device hp:/usb/photosmart_7700_series?serial=MY4B22K1Q0U0. As far as I see the "Permission denied" is the root cause and then it is likely a duplicate of bug #542473. See there how to check if this one is really a duplicate. If it is a HP all-in-one device with a scanner unit, the best workaround to get those kind of HAL issues out of sight regarding using the scanner unit is to use the YaST scanner module and: ----------------------------------------------------------- .. you could access the scanner via the 'saned' as a workaround. For this workaround choose 'scanning via network' and select the 'local host configuration'. ---------------------------------------------------------- In particular on a workstation in a trusted network environment (e.g. when the Suse firewall protects it from acceess from the external network zone / Internet) this workaround should cause no security problems. Alternatively - and to get additionally even the device status information via hp-toolbox working: In particular on a workstation in a trusted network environment (e.g. when the Suse firewall protects it from acceess from the external network zone / Internet) you may change as a workaround in /etc/udev/rules.d/55-hpmud.rules in the line (which is only here shown wrapped): ATTR{idVendor}=="03f0", ATTR{idProduct}=="b402", OWNER="root", GROUP="lp", MODE="664", ENV{sane_hpaio}="yes" the MODE="664" to MODE="666" to allow any user read/write access. *** This bug has been marked as a duplicate of bug 542473 *** Hi The hp 7760 is just a printer only. I found out a workaround for it. Added the userid to the group called 'users' which has group members 'lp' This gave enough permission to print. |