Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#4228 - hplip removes /dev/usb/lp0
|
Detailshplip 0.9.9-1 fails to print on HP USB printers, because it removes /dev/usb/lp0. This is reproducable as follows:
- if hplip and cups are running, stop them. - modprobe -r usblp # ls /dev will now show no usb subdirectory, as expected - modprobe usblp # ls /dev will now show usb subdir, ls /dev/usb will show lp0 - (optional) cat somefile > /dev/usb/lp0 # printing will start - garbage, but still printing - start hplip - start cups # ls /dev will now show no usb subdirectory Here's an extract from /var/log/everything.log, with comments, starting from modprobe -r usblp above: Mar 21 14:03:49 tk-i5ka usbcore: deregistering driver usblp # module removed Mar 21 14:07:16 tk-i5ka drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 8 if 0 alt 0 proto 2 vid 0x03F0 pid 0x1604 Mar 21 14:07:16 tk-i5ka usbcore: registered new driver usblp # module loaded Mar 21 14:07:16 tk-i5ka drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver Mar 21 14:09:44 tk-i5ka hpiod: 0.9.9 accepting connections at 38921... # hplip started Mar 21 14:09:57 tk-i5ka hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport0: No such file or directory: io/hpiod/ppdevice.cpp 837 # CUPS started Mar 21 14:09:57 tk-i5ka hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport1: No such file or directory: io/hpiod/ppdevice.cpp 837 Mar 21 14:09:57 tk-i5ka hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport2: No such file or directory: io/hpiod/ppdevice.cpp 837 Mar 21 14:09:57 tk-i5ka hpiod: unable to ParDevice::Open hp:/par/ANY?device=/dev/parport3: No such file or directory: io/hpiod/ppdevice.cpp 837 Mar 21 14:09:58 tk-i5ka hpiod: removing usblp driver interface=0 for hp:/usb/DeskJet_940C?serial=HU24N1N16WCO io/hpiod/device.cpp 468 # Things start going wrong ... Mar 21 14:09:58 tk-i5ka drivers/usb/class/usblp.c: usblp0: removed # /dev/usb/lp0 removed # ... and wronger ... Mar 21 14:09:58 tk-i5ka hpiod: invalid model DeskJet_940C != DESKJET_940C Device::Open io/hpiod/device.cpp 919 Attempts to reload usblp at this stage are ineffective. The previous version of hplip worked on this machine. |
This task depends upon
Is there anything else above that would explain why my printer isn't working anymore? That "invalid model" message, maybe?
the users there also use 9x0 printers, strange my laserjet works fine here
My logfiles give the same error messages as reported by Tom.
This is in addition the output of hp-info
HP Linux Imaging and Printing System (ver. 0.9.9)
Device Information Utility ver. 3.4
<...>
Using device: hp:/usb/HP_Business_Inkjet_1000?serial=CN55K210P7
[ERROR]: Unsupported model: HP_Business_Inkjet_1000
Device Parameters (dynamic data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
Model Parameters (static data):
Parameter Value(s)
---------------------------- ----------------------------------------------------------
model HP_Business_Inkjet_1000
model-ui HP Business Inkjet 1000
Status History (most recent first):
Date/Time Code Status Description User Job ID
-------------------- ----- ---------------------------------------- -------- --------
21/03/06 21:38:16 1900 Unsupported printer model. francois
21/03/06 21:33:41 1900 Unsupported printer model. francois
greetings
tpowa