SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After last Current upgrade my printer stopped working. In syslog I have:
Code:
Mar 6 10:20:38 zielony hp[7400]: io/hpmud/musb.c 1026: bulk_write failed buf=0xbfe96184 size=8192 len=-5: Success
Mar 6 10:20:38 zielony hp[7400]: io/hpmud/musb.c 1393: unable to write data hp:/usb/DeskJet_840C?serial=CN0CE1B288KV: Success
Mar 6 10:20:38 zielony kernel: usb 2-1.8: BOGUS urb flags, 1 --> 0
I obviously tried to add printer in CUPS hundreds times. Here is my hp-check -t:
Code:
---------------
| SYSTEM INFO |
---------------
Basic system information:
Linux zielony 2.6.32.2 #1 SMP PREEMPT Wed Jan 6 14:36:12 CET 2010 i686 Intel(R) Core(TM) i5 CPU 750 @ 2.67GHz GenuineIntel GNU/Linux
Distribution:
unknown 0.0
Checking Python version...
OK, version 2.6.4 installed
Checking PyQt 4.x version...
OK, version 4.6.2 installed.
Checking for CUPS...
Status: planista jest uruchomiony
Version: 1.4.2
error_log is set to level: warn
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0
------------------------------------
| 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)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
Checking for dependency: PolicyKit - Administrative policy framework...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
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...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
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.9.12 currently installed in '/usr/share/hplip'.
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.12
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/HP
ppdbase=/usr/share/cups/model
doc=/usr/doc/hplip-3.9.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
# 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=yes
hpijs-install=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.9.12.29
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-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.
[plugin]
installed=0
eula=0
Current contents of '~/.hplip/hplip.conf' file:
[last_used]
device_uri = hp:/usb/Deskjet_F300_series?serial=CN695GJ1TY04KH
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
---------------------------------------- --------------------
hp:/usb/DeskJet_840C?serial=CN0CE1B288KV HP DeskJet 840C
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP_DeskJet_840C
---------------
Type: Printer
Device URI: hp:/usb/DeskJet_840C?serial=CN0CE1B288KV
PPD: /etc/cups/ppd/HP_DeskJet_840C.ppd
PPD Description: HP Deskjet 840c, hpcups 3.9.12
Printer status: drukarka HP_DeskJet_840C drukuje teraz HP_DeskJet_840C-0. włączona od sob, 6 mar 2010, 10:20:23 Processing page 2...
Communication status: Good
----------------------
| SANE CONFIGURATION |
----------------------
'hpaio' in '/etc/sane.d/dll.conf'...
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 0x604 at 002:003:
Device URI: hp:/usb/DeskJet_840C?serial=CN0CE1B288KV
Device node: /dev/bus/usb/002/003
Mode: 0777
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/003
# owner: root
# group: lp
user::rwx
group::rwx
other::rwx
---------------
| USER GROUPS |
---------------
root bin daemon sys adm disk wheel floppy tape
-----------
| SUMMARY |
-----------
error: 3 errors and/or warnings.
Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html
Done.
I've just upgraded left 2 updates which I hadn't had, I mean: udev (basing on the http://www.linuxquestions.org/questi...ernels-793583/) and kernel. But it still doesn't work. If my printer HP 840C is connected via USB, do I need parallel port support in CUPS, which is now disabled?
I believe the problem lies with cups 1.4.2. I also had problems with cups detecting my USB printer. From what I understand anyway is that there is a problem with usblp and that supposedly if you blacklist usblp it SHOULD see your printer. Didn't work for me though. I went back to cups 1.3 and everything worked again.
I would go back to 1.3. There are numerous threads about printers that have stopped working with 1.4 with and without usblp. I don't know what the problem is other than cups 1.4
I also tried connecting via usb://, but source of the problem was the same. Does kernel need to be compiled with some special options to work with CUPS 1.4? I don't have usblp in kernel.
Some other error from syslog:
Code:
Mar 7 11:16:07 zielony hp[1090]: io/hpmud/musb.c 1991: invalid usb_open: Permission denied
Mar 7 11:16:07 zielony last message repeated 3 times
this is the problem of the hplip 3.9.12. you can check the other thread about cups and print.
I use the hp 3.10.2 and compile with new feature. It work for my hp-3325 printer now.
I also had a problem printing after the upgrade. I manually merged my old cupsd.conf with cupsd.conf.net, but still no go.
I deleted the printer via cups and tried to re-add it, and it was not showing (usb / canon)
From another forum/thread, I performed;
Quote:
~$ lsmod |grep usblp
usblp 9539 0
~$ rmmod usblp
/etc/rc.d/rc.cups stop
cups: stopped scheduler. [ OK ]
/etc/rc.d/rc.cups start
cups: started scheduler. [ OK ]
I then tried to add the printer via the cups web interface, and it appeared. I then added my 'allowed' user via the web interface, printed a test page - it worked.
(Oh, my test page just came out almost 100% black. Still tweaking...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.