[Bug 815186] New: HPLIP: proprietary plug-in not send after plugging printer
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c0 Summary: HPLIP: proprietary plug-in not send after plugging printer Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@suse.com ReportedBy: embar@super.lt QAContact: jsmeix@suse.com Found By: --- Blocker: --- Created an attachment (id=535119) --> (http://bugzilla.novell.com/attachment.cgi?id=535119) fraction from /var/log/cups/error_log User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0 I have HP LaserJet 1018 printer, witch requires proprietary plug-in. Long time I succesfully used printer in openSUSE. But now my printer not receive proprietary plug-in, when printed is attached via USB. Yesterday I updated to hplip-3.13.4-2.11.1 from https://build.opensuse.org/package/show?project=home%3Aang-cz%3Abranches%3AopenSUSE%3A12.3%3AUpdate&package=hplip . It does not helped. Now I use workaroud: Open hp-toolbox, select my printer, use option „Download Firmware“ to send required proprietary plug-in to printer. After this, I can print. Reproducible: Always Maybe in openSUSE 12.2, I see bug#805016 : At each attach of printer, dialog propted to install proprietary plug-in, but printer just worked. And if I followed dialog and installed plug-in, dialog still opened at next time. So I just ignored that bug. But this bug, in contrast, don't care about fact, that plugin must send to printer! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c1 --- Comment #1 from Mindaugas Baranauskas <embar@super.lt> 2013-04-15 06:04:35 UTC --- Created an attachment (id=535120) --> (http://bugzilla.novell.com/attachment.cgi?id=535120) /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c2 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Platform|Other |All Found By|--- |Community User Resolution| |UPSTREAM --- Comment #2 from Johannes Meixner <jsmeix@suse.com> 2013-04-16 09:42:41 CEST --- We (i.e. openSUSE) distribute HPLIP from HP but we do not develop HPLIP. The issue is not caused by openSUSE, see https://bugzilla.novell.com/page.cgi?id=fields.html#status regarding "upstream" bug. In particular we cannot do anything that is related to proprietary software. Please report issues that are related to HP's proprietary software directly to HPLIP upstream, see "Report a Bug" at http://hplipopensource.com/hplip-web/support.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c3 --- Comment #3 from Johannes Meixner <jsmeix@suse.com> 2013-04-16 11:49:39 CEST --- Many thanks for your upstream report: https://bugs.launchpad.net/bugs/1169457 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c4 --- Comment #4 from Johannes Meixner <jsmeix@suse.com> 2013-04-16 11:53:46 CEST --- FYI: /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules is not provided by one of the hplip* RPMs from openSUSE but comes from HP's proprietary plugin. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c5 --- Comment #5 from Johannes Meixner <jsmeix@suse.com> 2013-04-16 16:28:06 CEST --- FYI: I have a HP LaserJet 1020 USB printer that also requires a proprietary plugin from HP. For me HP's proprietary plugin stuff "just works" both with HPLIP 3.13.3 and 3.13.4. HPLIP 3.13.4 is currently built in the openSUSE build service development project "Printing" and new RPMs should appear soon under http://download.opensuse.org/repositories/Printing/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c6 --- Comment #6 from Mindaugas Baranauskas <embar@super.lt> 2013-04-17 19:06:55 UTC --- I try to find udev log, but unsucessfully. Content of /etc/udev/udev.conf is next 3 lines: # see udev(7) for details #udev_log="info" Strange, but firmaware will be automatically send, if I execute as root and re-plug: udevadm control --log-priority=info or udevadm control --log-priority=debug But it don't send any firmware after execution any of next and replugging: udevadm control --log-priority= udevadm control --log-priority=err udevadm control --log-priority=error So maybe this is openSUSE specific bug? (in openSUSE 12.2 and 12.3 were strong changes in boot procedure) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c7 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rmilasan@suse.com --- Comment #7 from Johannes Meixner <jsmeix@suse.com> 2013-04-18 11:44:07 CEST --- I am afraid, I cannot help if the issue is related to udev. Robert Milasan, can you help how to debug what happens related to udev when a USB device is unplugged and re-plugged at the USB for openSUSE 12.3? I tried "udevadm monitor --kernel --udev --property" (according to "man udevadm") but this is insufficient for me or I do not understand how to interpret its output. In this case a HP LaserJet 1018 printer requires proprietary firmware to be uploaded and this should happen when the device is plugged in at the USB via /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules see attachment#535120 that is provided by HP in its proprietary software, see comment#4. How can we get a log from udev that shows whether or not the /usr/bin/hp-firmware program is run and if yes what the result of it was (exit code, stdout, and stderr)? Mindaugas Baranauskas, if the udev rules in /etc/udev/rules.d/86-hpmud-hp_laserjet_1018.rules do no longer work with udev in openSUSE 12.3 only HP can fix it because it is in their proprietary software. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #535120|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c8 --- Comment #8 from Robert Milasan <rmilasan@suse.com> 2013-04-18 09:51:57 UTC --- Well, please clear the logs "echo -n > /var/log/messages", enable udev debugging "udevadm control --log-priority=debug" and plug the printer and allow udev and/or the special app to run. After all of this please attach /var/log/message to the bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c9 --- Comment #9 from Johannes Meixner <jsmeix@suse.com> 2013-04-18 11:54:47 CEST --- Mindaugas Baranauskas, the udev rules in attachment#535120 show that you should find someting regarding "firmware" in /var/log/messages - e.g. for my printer I get: --------------------------------------------------------------------------- # grep firmware /var/log/messages ... Apr 18 11:24:34 ... logger: loading hp_laserjet_1020 firmware 001 007 Apr 18 11:24:34 ... python: hp-firmware[13762]: warning: No display found. Apr 18 11:24:34 ... python: hp-firmware[13762]: error: hp-firmware -u/--gui requires Qt4 GUI support. Entering interactive mode. ... # lsusb ... Bus 001 Device 007: ID 03f0:2b17 Hewlett-Packard LaserJet 1020 ... --------------------------------------------------------------------------- HP should at least specify the '-i' option when calling hp-firmware from a udev rules file to avoid those error message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c10 --- Comment #10 from Mindaugas Baranauskas <embar@super.lt> 2013-04-18 19:51:00 UTC --- Created an attachment (id=535906) --> (http://bugzilla.novell.com/attachment.cgi?id=535906) "udevadm control --log-priority=debug": /var/log/messages As I mentioned, If I use udevadm control --log-priority=debug or udevadm control --log-priority=info then firmware is send. I think, udev configuration file /etc/udev/udev.conf could be modifited... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c11 --- Comment #11 from Robert Milasan <rmilasan@suse.com> 2013-04-19 06:06:49 UTC --- I guess this is the problem: Apr 18 22:42:48 linux-17m9 hp-mkuri: common/utils.c 98: unable to find [s{product}] support-type in /usr/share/hplip/data/models/models.dat Apr 18 22:42:48 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-mkuri -c &'' [7216] exit with return code 0 Apr 18 22:42:48 linux-17m9 systemd-udevd[7218]: starting '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &'' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(err) '[35;01mwarning: No display found.[0m' Apr 18 22:42:50 linux-17m9 hp-firmware: hp-firmware[7219]: warning: No display found. Apr 18 22:42:50 linux-17m9 hp-firmware: hp-firmware[7219]: error: hp-firmware -u/--gui requires Qt4 GUI support. Entering interactive mode. Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(err) '[31;01merror: hp-firmware -u/--gui requires Qt4 GUI support. Entering interactive mode.[0m' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) '' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) '[01mHP Linux Imaging and Printing System (ver. 3.13.4)[0m' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) '[01mFirmware Download Utility ver. 2.4[0m' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) '' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) 'Copyright (c) 2001-13 Hewlett-Packard Development Company, LP' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) 'This software comes with ABSOLUTELY NO WARRANTY.' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) 'This is free software, and you are welcome to distribute it' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) 'under certain conditions. See COPYING file for more details.' Apr 18 22:42:50 linux-17m9 systemd-udevd[7194]: '/bin/sh -c '/usr/bin/hp-firmware -y3 -s001:003 &''(out) '' Sorry, it's not udev and there nothing I can do about it, leaving it closed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
From my experience with that kind of lowest-level hardware I recommend to never switch off the printer from the power supply because once the firmware was uploaded (manually) successfully
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c12 --- Comment #12 from Johannes Meixner <jsmeix@suse.com> 2013-04-19 11:36:31 CEST --- Regarding comment#10 "If I use 'udevadm control --log-priority=debug' ... then firmware is send": I am not at all a udev expert but I guess it is actually unrelated to the log-priority settings in udev whether or not the firmware gets successfully uploaded to the printer device. I assume this depends on other weird conditions elsewhere. My assumption is based on my own bad experience with a similar model "HP LaserJet 1020", see https://bugs.launchpad.net/hplip/+bug/187049 the device keeps its firmware as long as it is on power. This also means that when you like to test whether or not firmware gets successfully uploaded you need to switch off the printer from the power supply for each test. I don't know if a "HP LaserJet 1018" behaves exactly the same. This is only my experience with a "HP LaserJet 1020". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c13 --- Comment #13 from Robert Milasan <rmilasan@suse.com> 2013-04-19 09:42:54 UTC --- log-priority should not have anything to do with how the firmware thing happens. Like you said, it's some weird magic due to the app which does the firmware download and/or sent. I would look into it more, but I don't have the hardware to play it, to at least see what goes on. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c14 --- Comment #14 from Johannes Meixner <jsmeix@suse.com> 2013-04-19 12:08:44 CEST --- I gratefully leave it to the manufacturer of that hardware and to the developers of their driver software to deal with issues that originate from their hardware ;-) In contrast to most other printer manufacturers HP provides drivers and support for Linux users who bought their printer hardware which is THE reason to recommend HP printers for Linux (regardless that there is this or that annoyance or bug in HPLIP), see http://en.opensuse.org/SDB:Printer_buying_guide Compared to many other printer manufacturers, HP is far ahead regarding Linux support. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c15 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iron.bone@wp.pl --- Comment #15 from Johannes Meixner <jsmeix@suse.com> 2013-04-23 15:00:54 CEST --- *** Bug 815946 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=815946 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=815186 https://bugzilla.novell.com/show_bug.cgi?id=815186#c16 --- Comment #16 from Mindaugas Baranauskas <embar@super.lt> 2013-06-24 00:55:39 UTC --- Works after fixing syntax error in HPLIP 3.13.5 file /usr/bin/hp-config_usb_printer:260 : word "utlis" changed to "utils". P.S. HPLIP 3.13.5 installed via *.run Automatic Installer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com