Bug 2548961 - hplip 3.26.6-1.fc44: scanning fails on Photosmart 5520 (USB), "http_read: response exceeds buffer"
Summary: hplip 3.26.6-1.fc44: scanning fails on Photosmart 5520 (USB), "http_read: res...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 44
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2549339 2554685 2558758 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-10 10:34 UTC by Giorgio
Modified: 2026-11-21 02:07 UTC (History)
7 users (show)

Fixed In Version: hplip-3.26.6-2.fc46 hplip-3.26.6-2.fc44 hplip-3.26.6-2.fc43
Clone Of:
Environment:
Last Closed: 2026-10-13 08:04:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Giorgio 2026-10-10 10:34:15 UTC
Description of problem:
After updating to hplip 3.26.6-1.fc44, scanning with the HP Photosmart 5520
series (connected via USB) no longer works. sane_open on the hpaio backend
returns SANE_STATUS_IO_ERROR. Downgrading to hplip 3.25.8-2.fc44 fixes it
immediately. The device worked before the update.

Version-Release number of selected component:
hplip-3.26.6-1.fc44.x86_64 (updates) - broken
hplip-3.25.8-2.fc44.x86_64 (fedora)  - works
Also affected: hplip-common, hplip-libs, libsane-hpaio (same versions)
Other: Fedora 44, kernel 7.2.9-200.fc44, SANE 1.4.0, simple-scan 50.0

Hardware:
HP Photosmart 5520 series, all-in-one, USB
(device name as listed by SANE: hpaio:/usb/Photosmart_5520_series?serial=...)
No HP proprietary plugin installed.




Reproducible: Always

Steps to Reproduce:
1. Update to hplip 3.26.6-1.fc44
2. scanimage -L           -> device is listed correctly
3. scanimage -d 'hpaio:/usb/Photosmart_5520_series?serial=<serial>' --format=png > test.png
Actual Results:
scanimage: open of device hpaio:/usb/Photosmart_5520_series?serial=<serial> failed: Error during device I/O

The same failure occurs in simple-scan (sane_open -> SANE_STATUS_IO_ERROR).

Expected Results:
Scanner opens and scans, as with 3.25.8-2.fc44.

Additional Information:

Every failed attempt logs this line to the journal (from scanimage and simple-scan):

  scan/sane/http.c 507: http_read: response exceeds buffer (read=8196 len=12 max=8192)

The USB layer looks healthy: hpmud claims the interfaces, reads the device ID
(len=652), and opens an HP-LEDM-SCAN channel, which is then closed right
away before sane_open returns the error.

Ruled out:
- Permissions/SELinux: identical failure as root, no AVC denials
- ipp-usb: identical failure with ipp-usb stopped
- Device state: full power cycle (power cable unplugged) made no difference
- Downgrading hplip, hplip-common, hplip-libs and libsane-hpaio to 3.25.8-2.fc44
  resolves the problem

Comment 1 Zdenek Dohnal 2026-10-12 08:30:39 UTC
*** Bug 2549339 has been marked as a duplicate of this bug. ***

Comment 2 Zdenek Dohnal 2026-10-12 11:34:02 UTC
Hi Giorgio!

Thank you for the report!

I see there is error in counting read bytes in one scope, so I suspect that's the reason for the bug.

I have made a testing RPM https://koji.fedoraproject.org/koji/taskinfo?taskID=151201437  - would you mind testing it?

Thank you in advance!

Comment 3 Zdenek Dohnal 2026-10-12 11:59:08 UTC
MR https://src.fedoraproject.org/rpms/hplip/pull-request/23

Comment 4 Fedora Update System 2026-10-13 07:43:44 UTC
FEDORA-2026-4e89863f66 (hplip-3.26.6-2.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-4e89863f66

Comment 5 Fedora Update System 2026-10-13 08:00:27 UTC
FEDORA-2026-5a5c9ce6d9 (hplip-3.26.6-2.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a5c9ce6d9

Comment 6 Fedora Update System 2026-10-13 08:04:13 UTC
FEDORA-2026-4e89863f66 (hplip-3.26.6-2.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-10-13 08:19:32 UTC
FEDORA-2026-ea0385b889 (hplip-3.26.6-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-ea0385b889

Comment 8 Giorgio 2026-10-13 17:05:54 UTC
Hi Zdenek,
thanks a lot for the prompt fix - I confirm that it works :)

Tested hplip-3.26.6-2.fc44 (Koji scratch build, task 151201437) on Fedora 44 x86_64 with HP Photosmart 5520 over USB. 
Scanning works with scanimage and Simple Scan, and the "http_read: response exceeds buffer" line is no longer logged. 
This indeed fixes the regression from 3.26.6-1.

Comment 9 Fedora Update System 2026-10-14 02:45:23 UTC
FEDORA-2026-ea0385b889 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-ea0385b889`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-ea0385b889

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-10-14 02:57:30 UTC
FEDORA-2026-5a5c9ce6d9 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-5a5c9ce6d9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-5a5c9ce6d9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Zdenek Dohnal 2026-10-19 07:26:39 UTC
*** Bug 2554685 has been marked as a duplicate of this bug. ***

Comment 12 Fedora Update System 2026-10-21 16:43:53 UTC
FEDORA-2026-5a5c9ce6d9 (hplip-3.26.6-2.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2026-10-22 01:48:32 UTC
FEDORA-2026-ea0385b889 (hplip-3.26.6-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Zdenek Dohnal 2026-10-22 06:29:21 UTC
*** Bug 2558758 has been marked as a duplicate of this bug. ***

Comment 15 frederic.berrouet 2026-11-19 10:40:53 UTC
Also tested on HP Officejet Pro 8600 with FC44 and it works fine, when can we expect hplip-3.26.6-2 to land on FC45 ?

Comment 16 Fedora Update System 2026-11-20 07:32:39 UTC
FEDORA-2026-a2ecdfa0cb (hplip-3.26.6-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a2ecdfa0cb

Comment 17 Zdenek Dohnal 2026-11-20 07:33:30 UTC
Damn, I'm so sorry! I thought I've already built and submitted F45 update for this - either I really missed the branch or there was koji/bodhi outage at that time.

EDIT: Yeah, there were Bodhi connection issues at that time, because build exists, but not the update... fixing it now https://bodhi.fedoraproject.org/updates/FEDORA-2026-a2ecdfa0cb .

Please add karma there to get it into the stable repo.

Comment 18 Fedora Update System 2026-11-21 02:07:45 UTC
FEDORA-2026-a2ecdfa0cb has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a2ecdfa0cb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a2ecdfa0cb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.


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