Bug 2274365

Summary: Unable to setup hp printer in fedora silverblue 40
Product: [Fedora] Fedora Reporter: Sankar <e.p.sankarvinayak>
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 40CC: e.p.sankarvinayak, jridky, tkorbar, twaugh, zdohnal
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://discussion.fedoraproject.org/t/hp-printer/112401
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-11 06:14:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***