+) Which Linux distro are you using? Ubuntu
+) Which release version? 24.04 LTS, updated most recently
+) Which kernel are you using? Linux 6.8.0-39-generic
+) Which BIOS version are you using? I currently don’t know, sorry. (FW16 purchased in June 2024) [Firmware Version 03.03, GNOME Version 46]
+) Which Framework Laptop 16 model are you using? AMD Ryzen™ 7040 Series
Situation is as following:
+) I used ‘Document Scanner’ with an outdated Tuxedo laptop (no longer supported) & Ubuntu 20 and an old HP scanner (Color LaserJet CM1312 MFP). It always worked.
+) I now use ‘Document Scanner’ with my new Framework laptop & Ubuntu 24 and the same HP scanner. Now I get the error message “Failed to scan. Unable to connect to scanner.” - although the scanner is correctly recognized by “Ready to Scan”!
+) I did the debugging procedure, SANE_DEBUG_DLL=255 simple-scan -d, with final I/O error message. In detail the words are:
DEBUG: scanner.vala:924: sane_open (“hpaio:/usb/HP_Color_LaserJet_CM1312_MFP?serial=00CNB882LGRD”) → SANE_STATUS_IO_ERROR
WARNING: scanner.vala:928: Unable to open device: Error during device I/O
+) I installed the most recent HP shell script, hplip-3.24.4.run, with final error message “not compatible with Ubuntu 24.04”
I think that it’s not the hardware.
Because the same scanner works with my outdated Tuxedo laptop under Ubuntu 20 and ‘Document Scanner’ (maybe an older version; I don’t know).
And because the same scanner works with my new Framework 16 laptop under Windows 11 and free ‘Quick Scan’.
Right, it’s not the laptop hardware. The issue is with the Linux distribution you are using and its configuration, so you’ll probably be more likely to find assistance in a forum or mailing list focused on that.
Is it possible there was a different driver installed on your old Tuxedo laptop?
I’d suggest searching “CM1312 linux driver” and see what you can turn up. Sometimes very old devices (or extremely new) don’t “just work” on linux without making sure you have the right driver.
ad 1) Yes, I also used it on my old Tuxedo laptop for printing and SCANNING.
ad 2) On the old Tuxedo with Ubuntu 20.04 printing and SCANNING with an unknown built-in driver worked. And so honestly I never cared if the used driver is from Ubuntu or HP.
ad 3) On the new Framework with Ubuntu 24.04 printing with some hplip-3.23.x driver works, however NOT SCANNING with built-in software ‘Document Scanner’ (maybe due to this I/O error meaning miscommunication, lacking protocols, etc).
Finally, I obviously have a scanning problem (with installed Ubuntu 24.04) - not a printing problem. So I will try different scanning solutions. Thanks at all.