HPLIP not printing, musb.c errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
distro: slackware-current
kernel: 2.6.34-smp stable
printer: HP Deskjet 5440 USB
HPLIP installs fine.
Printer is detected fine.
Printer is stuck in spool trying to print with no errors except the following...
In the /var/log/syslog
Jun 28 17:57:16 Raptor hp[2857]: io/hpmud/musb.c 1424: unable to write data hp:/usb/
Jun 28 17:57:16 Raptor kernel: [ 288.630096] usb 1-4: BOGUS urb flags, 1 --> 0
Jun 28 17:57:16 Raptor hp[2857]: io/hpmud/musb.c 1040: bulk_write failed buf=0xbfcc1f3c size=8192 len=-5: Success
In /var/log/debug
Raptor kernel: [ 299.409302] usb 1-4: usbfs: usb_submit_urb returned -22
All msgs in both logs files appear to repeat themselves about 30 times or more a second until cupsd is killed.
As far as cups error log /var/log/
E [29/Jun/
E [30/Jun/
D [28/Jun/
D [28/Jun/
D [28/Jun/
D [28/Jun/
D [28/Jun/
D [28/Jun/
Previous kernel versions prior to 2.6.33.5 seem to work fine. Did a side by side comparison of kernel .config files couldn't find any differences that would cause this? No other changes in the operating system... 2.6.33.4 works... 2.6.33.5 doesn't, 2.6.34 doesn't. I'm hoping it's some simple .config issue over looked... but I'm clueless on what it could be. Tried disabling usblp, had no change at all.
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux Raptor 2.6.34 #4 SMP PREEMPT Tue Jun 29 13:19:00 CDT 2010 i686 Intel(R) Xeon(TM) MP CPU 2.70GHz GenuineIntel GNU/Linux
Distribution:
unknown 0.0
Checking Python version...
OK, version 2.6.4 installed
Checking PyQt 4.x version...
OK, version 4.7.3 installed.
Checking for CUPS...
Status: scheduler is running
Version: 1.4.4
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.1
-------
| COMPILE AND RUNTIME DEPENDENCIES |
-------
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
Checking for dependency: CUPS - Common Unix Printing System...
OK, found.
Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.
Checking for dependency: CUPS image - CUPS image development files...
OK, found.
Checking for dependency: DBus - Message bus system...
OK, found.
Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.
Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.
Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.
Checking for dependency: libjpeg - JPEG library...
OK, found.
Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.
Checking for dependency: libpthread - POSIX threads library...
OK, found.
Checking for dependency: libtool - Library building support services...
OK, found.
Checking for dependency: libusb - USB library...
OK, found.
Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.
Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.
Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.
Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.
Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.
Checking for dependency: Python devel - Python development files...
OK, found.
Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.
Checking for dependency: Python XML libraries...
OK, found.
Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.
Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.
Checking for dependency: Reportlab - PDF library for Python...
OK, found.
Checking for dependency: SANE - Scanning library...
OK, found.
Checking for dependency: SANE - Scanning library development files...
OK, found.
Checking for dependency: scanimage - Shell scanning program...
OK, found.
Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.
-------
| HPLIP INSTALLATION |
-------
Currently installed HPLIP version...
HPLIP 3.10.5 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.5
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-install=no
cups-ppd-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-
hpijs-only-build=no
Current contents of '/var/lib/
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.10.5
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-install=no
cups-ppd-
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-
hpijs-only-build=no
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
al=TH5741409H047N
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
Deskjet_5400
------------
Type: Printer
Device URI: hp:/usb/
Communication status: Good
-------
| SANE CONFIGURATION |
-------
'hpaio' in '/etc/sane.
OK, found. SANE backend 'hpaio' is properly set up.
Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
-------
| PYTHON EXTENSIONS |
-------
Checking 'cupsext' CUPS extension...
OK, found.
Checking 'pcardext' Photocard extension...
OK, found.
Checking 'hpmudext' I/O extension...
OK, found.
Checking 'scanext' SANE scanning extension...
OK, found.
-----------------
| USB I/O SETUP |
-----------------
Checking for permissions of USB attached printers...
HP Device 0x8604 at 001:003:
Device URI: hp:/usb/
Device node: /dev/bus/
Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/003
# owner: root
# group: lp
user::rw-
group::rw-
other::---
---------------
| USER GROUPS |
---------------
root bin daemon sys adm disk wheel floppy audio video cdrom tape plugdev
-----------
| SUMMARY |
-----------
No errors or warnings.
I also wanted to say I already tried chmod 666 to /dev/bus/usb/001 etc... And added lp group to /etc/cups/ cupsd.conf - When I added lp to cupsd.conf - instead of being stuck in spooling it said hp back end error... something like /usr/bin/hp or w/e defiantly the hp bin file. Security model change in the kernel? Or hp backend code?