diff --git a/hplip-hpfirmware-timeout.patch b/hplip-hpfirmware-timeout.patch index 9aa9b29..77db559 100644 --- a/hplip-hpfirmware-timeout.patch +++ b/hplip-hpfirmware-timeout.patch @@ -1,5 +1,5 @@ diff --git a/config_usb_printer.py b/config_usb_printer.py -index 946a2d4..fdab79d 100755 +index 946a2d4..8db097e 100755 --- a/config_usb_printer.py +++ b/config_usb_printer.py @@ -28,6 +28,7 @@ __doc__ = "Udev invokes this tool. Tool detects the plugin, Smart Install (C/DVD @@ -10,14 +10,15 @@ index 946a2d4..fdab79d 100755 # Local from base.g import * -@@ -181,8 +182,9 @@ try: +@@ -181,9 +182,10 @@ try: # ******************************* RUNNING FIRMWARE DOWNLOAD TO DEVICE FOR SUPPORTED PRINTER'S fw_download_req = mq.get('fw-download', False) if fw_download_req: - fw_cmd = "hp-firmware -y3 -s %s"%param + fw_cmd = "hp-firmware -n -y3 -s %s"%param log.info(fw_cmd) -+ time.sleep(5) fw_sts, fw_out = utils.run(fw_cmd) ++ time.sleep(5) if fw_sts == 0: log.debug("Firmware downloaded to %s "%device_uri) + else: diff --git a/hplip.spec b/hplip.spec index 89d04ee..6f430c4 100644 --- a/hplip.spec +++ b/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.21.2 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC Url: https://developers.hp.com/hp-linux-imaging-and-printing @@ -836,6 +836,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio %changelog +* Mon Jun 28 2021 Zdenek Dohnal - 3.21.2-7 +- sleep after utils.run() (related #1963114) + * Fri Jun 11 2021 Zdenek Dohnal - 3.21.2-6 - 1963114 - patch for hplip firmware load timeout fix