Bug 2274365 - Unable to setup hp printer in fedora silverblue 40
Summary: Unable to setup hp printer in fedora silverblue 40
Keywords:
Status: CLOSED DUPLICATE of bug 1695713
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL: https://discussion.fedoraproject.org/...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-04-10 15:43 UTC by Sankar
Modified: 2024-04-11 06:14 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-04-11 06:14:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sankar 2024-04-10 15:43:01 UTC
unable to setup the printer (hp laserjet p 1007) which require the hplip plugin and unable to install it using the hp-plugin or hp-setup -i command

Checked in lenovo v14 with AMD 5500U and a KVM under linux.
after downloading the plugin using hplip utility

Plugin installation failed
error: Plugin installation failed
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1007.fw.gz' not found.
error: Firmware download is Failed.

it does not happen in the fedora 39,40 workstations.
I believe it is because the /usr cant be modified and it is trying to do that


Reproducible: Always

Steps to Reproduce:
under fedora silverblue 40
1.connect hp printer which require the proprietary plugin(laserjet p1007)
2.run hp-setup -i
3.
Actual Results:  
Plugin installation failed
error: Plugin installation failed

Done.
 
------------------------
| DOWNLOADING FIRMWARE |
------------------------


Downloading firmware to device hp:/usb/HP_LaserJet_P1007?serial=NC0T0R2...
warning: Unable to start hp-systray
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1007.fw.gz' not found.

Done.

---------------------
| PRINT QUEUE SETUP |
---------------------
 
warning: Unable to start hp-systray
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1007.fw.gz' not found.
error: Firmware download is Failed.

the firmware folder in /usr/share/hplip/data is empty

Expected Results:  
downloading and installing the hp plugin and working printer.
In fedora workstation 39,40 it downloads the plugin and downloads the firmware to /usr/share/hplip/data/firmware and the printer functions properly

Comment 1 Sankar 2024-04-10 15:54:10 UTC
the error is definitely due to the immutability of the system
after running `ostree admin unlock` i was able to run the `hp-setup` without error and successfully get the print out but it does not persist after reboot.

Comment 2 Zdenek Dohnal 2024-04-11 06:14:54 UTC

*** This bug has been marked as a duplicate of bug 1695713 ***


Note You need to log in before you can comment on or make changes to this bug.