Arch Linux

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!
Tasklist

FS#4228 - hplip removes /dev/usb/lp0

Attached to Project: Arch Linux
Opened by Tom Killian (tomk) - Tuesday, 21 March 2006, 14:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hplip 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

Closed by  Tobias Powalowski (tpowa)
Wednesday, 22 March 2006, 08:02 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Tuesday, 21 March 2006, 15:55 GMT
new 0.9.9 uses libusb as backend and doesn't need the /dev/usb/lp0 device
Comment by Tom Killian (tomk) - Tuesday, 21 March 2006, 16:15 GMT
Well, $£&% it - I thought I was on to something. :(

Is there anything else above that would explain why my printer isn't working anymore? That "invalid model" message, maybe?
Comment by Tobias Powalowski (tpowa) - Tuesday, 21 March 2006, 16:17 GMT
http://bbs.archlinux.org/viewtopic.php?p=150310#150310
the users there also use 9x0 printers, strange my laserjet works fine here
Comment by Tom Killian (tomk) - Tuesday, 21 March 2006, 17:56 GMT
It's not Arch so - better close this. I'll look elsewhere.
Comment by Tobias Powalowski (tpowa) - Tuesday, 21 March 2006, 18:00 GMT
what do you mean other distros are affected too?
Comment by Tom Killian (tomk) - Tuesday, 21 March 2006, 18:33 GMT
Sorry - I meant that it's not the Arch hplip package, if your printer is OK. I don't know if other distros are affected or not, I've posted it on the hplip forum anyway. If anything useful comes back, I'll add it here (if it's still open), and in that forum thread.
Comment by Tobias Powalowski (tpowa) - Tuesday, 21 March 2006, 18:36 GMT
yes would be great on forum 2 other guys have problems with new hplip see the link above
Comment by Francois Charette (Firmicus) - Tuesday, 21 March 2006, 21:41 GMT
Same problem here with my HP Business Inkjet 1000 (USB): with hplip 0.9.8 it worked, but since upgrade to 0.9.9 my printer is declared "unsupported" and nothing happens.
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
Comment by Tobias Powalowski (tpowa) - Tuesday, 21 March 2006, 23:16 GMT
forced downgrade to 0.9,8 again, willsee if they release a new version soon, seems this one causes more problems then it's worth for updating.
greetings
tpowa

Loading...