Bug 349248

Summary: unsupported HP LaserJet 1000 was set up by YaST
Product: [openSUSE] openSUSE 10.3 Reporter: Michal Svec <msvec>
Component: PrintingAssignee: Michal Zugec <mzugec>
Status: RESOLVED DUPLICATE QA Contact: Johannes Meixner <jsmeix>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: hwinfo
y2log

Description Michal Svec 2007-12-17 16:25:17 UTC
Despite being detected by hwinfo and configured correctly via yast the printer
does not work, there's no sign of activity.

These messages are in /var/log/messages:
kernel: drivers/usb/class/usblp.c: usblp0: nonzero read/write bulk status received: -32
Comment 1 Michal Svec 2007-12-17 16:27:10 UTC
Created attachment 187902 [details]
hwinfo
Comment 2 Johannes Meixner 2007-12-18 10:06:39 UTC
From the message in /var/log/messages it looks like a low-level
USB communication problem (i.e. a problem in the kernel area).
The reason might be that this piece of hardware crap needs
firmware upload before it can operate, see
http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_1000

Check if it is perhaps the usblp <-> usbfs/libusb conflict
according to bug #184825 and if not, re-assign it to USB/kernel
provided you installed and configured the right driver
with firmware upoload for it.

I wonder how a HP LaserJet 1000 can be
"configured correctly via yast" at all.
According to
http://openprinting.org/show_printer.cgi?recnum=HP-LaserJet_1000
and according to
http://hplip.sourceforge.net/supported_devices/laser.html
it is a ZJStream printer and because of bug #263181 and bug #227702 
we cannot provide a ZJStream driver in out products
but via newest HPLIP e.g. from
http://download.opensuse.org/repositories/home:/jsmeix/
it should be supported (see bug #342704) only when you set it up
as root via hp-setup. The driver in HPLIP should do even the
firmware upload automatically.

As far as I see the real bug here is that YaST did set up
this device even if there is (normally) neither a PPD file
nor a driver installed in your system (except you did some
manuall installation of whatever software from wherever).

Therefore provide a y2log so that Michal can check why
YaST did set up this device.
Comment 3 Johannes Meixner 2007-12-18 10:20:23 UTC
By the way:
I am interested in feedback if hp-setup from HPLIP from
http://download.opensuse.org/repositories/home:/jsmeix/
does "the right stuff" to set up a HP ZJStream printer.
Currently I cannot test it because I don't have such a printer.
Comment 4 Michal Svec 2007-12-18 15:08:41 UTC
Created attachment 188062 [details]
y2log

This is an y2log, let me know what other info should I provide/check for to see what's wrong.
Comment 5 Johannes Meixner 2007-12-18 16:04:35 UTC
After a very quick look at attachment #188062 [details] it seems it is
the old bug that YaST selected again a non-matching PPD:
-------------------------------------------------------------------------------
Printer.ycp:439 Detected printer $["device":"hp LaserJet 1000",
 "device_db":"LASERJET1000", "info":"Hewlett-Packard hp LaserJet 1000",
 "location":"USB tiskárna na //HP/LaserJet%201000",
 "unique_key":"FKGF.di8_GAuNYRC", "uri":"usb://HP/LaserJet%201000",
 "vendor":"Hewlett-Packard", "vendor_db":"HP"]
...
printer/dialogs.ycp:147 matched LASERJET1010
Printerdb.ycp:614 Sorted PPD files for HP:LASERJET1010: ["/usr/share/cups/model/manufacturer-PPDs/hplip/HP-LaserJet_1010-hpijs.ppd.gz",
 "/usr/share/cups/model/gutenprint/stp-hp-lj_1010.5.0.ppd.gz",
 "/usr/share/cups/model/gutenprint/stp-hp-lj_1010.5.0.sim.ppd.gz"]
-------------------------------------------------------------------------------

See bug #210924 for openSUSE 10.2
and the related bugs bug #220712 and bug #236697
and for 10.3 it is bug #310607.



*** This bug has been marked as a duplicate of bug 310607 ***
Comment 6 Michal Svec 2007-12-18 17:49:58 UTC
Does it make sense to further investigate if the printer is supported
and it's possible to get it working (ideally via yast)?

I could possibly bring the printer to the office in January, for further
testing.
Comment 7 Johannes Meixner 2008-01-08 08:19:50 UTC
Michal Svec, see comment #2 and comment #3:

Please install the newest HPLIP from
http://download.opensuse.org/repositories/home:/jsmeix/

The printer should be supported (see bug #342704)
but only when you set it up as root via hp-setup.

hp-setup should autodetect that it is a ZJStream printer,
and then it should take care of everything which is needed.
E.g. first display the EULA, then download the right proprietray stuff
(in particular the proprietary driver library for ZJStream printers
and the proprietary firmware file for your model) from the right server,
install the proprietary stuff at the right place with the right
permissions, set up the printer accordingly, whatever else...

The driver in HPLIP should do the firmware upload automatically
whenever it is needed.
Please test it by disconnecting the printer from USB and power supply,
wait one minute to make sure its firmware is lost, then reconnect it
and try a printout.

Regarding "get it working (ideally via yast)?", see
https://bugzilla.novell.com/show_bug.cgi?id=342704#c3
------------------------------------------------------------------
There are even no PPDs for their ZJStream printers included in
the HPLIP sources so that generic setup tools would not set up
queues which cannot work for those printers.
------------------------------------------------------------------
I don't like to have such special stuff wich hp-setup does
re-implemented in YaST which causes sooner or later license issues
when something regarding the license changes upstream.
I would prefer to launch hp-setup from YaST, see bug #310476 and
http://lists.opensuse.org/yast-devel/2007-09/msg00035.html
Comment 8 Johannes Meixner 2008-01-29 14:09:36 UTC
Meanwhile I have a HP LaserJet 1020
and it works o.k. for me, see
https://bugs.launchpad.net/bugs/187049