Description of problem: Unable to setup printer via hp-setup Version-Release number of selected component (if applicable): hplip-3.19.6-4.fc31.x86_64 How reproducible: Always Steps to Reproduce: 1. hp-setup -i Actual results: Printer is not detected Expected results: Printer is detected and can be installed. Additional info: normalizeModelName() returns: hp_laserjet_cp_1025nw while following section is in /usr/share/hplip/data/models/models.dat: hp_laserjet_cp1025nw As a workaround, I added following line to normalizeModelName() model = model.replace("CP_", "CP")
Hi Dan, thank you reporting the bug and investigating, it helps a lot! Would you mind providing the following info: 1) please start to capture packets on network interface where printer and PC are: $ sudo tcpdump -s0 -w traffic.pcap -i <interface> 2) please run: $ sudo lpinfo -l -v 3) end packet capture and attach it to the ticket 4) please run: $ hp-setup -i -ldebug The lpinfo command and packet capture should provide us an info how backends see the device and its uri (the device itself can report its uri incorrectly - this should tell us packet capture or backend can process it improperly - output of lpinfo) Running hp-setup with -ldebug should provide us info if the issue is only in hplip package itself. Note: I checked the printer model on the internet - it really seems like the correct name is HP LaserJet CP1025nw, so I'm curious where that 'wild' space appears...
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
Hi Dan, sorry for the delay, I had other urgent issues to solve and new hplip raised several similar issues. To sum it up: There were two records about cp1025nw - cp_1025nw and cp1025nw - in models.dat, hpcups.drv, hpijs.drv and foomatic_drv.inc. The one with '_' HP upstream deleted, which causes the issue. I'll revert the changes and report it upstream.
Hi Dan, would you mind trying these rpms from following link https://koji.fedoraproject.org/koji/taskinfo?taskID=37605798 ? I reverted upstream changes, so the printer should be discovered and work without your patch.
FEDORA-2019-2d05204b5f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2d05204b5f
I confirm that the build works fine. I've tried all combinations of: * USB / NET * hp-setup --gui / hp-setup -i
hplip-3.19.6-9.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2d05204b5f
hplip-3.19.6-9.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.