You are not logged in.
Pages: 1
When running skanpage I get the following error:
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:290:17: QML ToolButton: Binding loop detected for property "shortHeaderMargins":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:298:21
qrc:/qt/qml/org/kde/kirigami/AboutItem.qml:377:9: QML OverlaySheet: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:144:5
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
My HP Laserjet printer can print but no scanning. Xsane doesn't work either as it asks for canberra-gtk-module, although I have libcanberra intalled. Also:
$ ls /usr/lib/gtk-3.0/modules/
libcanberra-gtk-module.so libcanberra-gtk3-module.so
Offline
Please use [code][/code] tags.
skanpage errors are QML and portal noise, does it not start or fail to list your scanner or …?
canberra is a notification daemon, you typically need/have the plugin listed in $GTK_MODULES - what is the actual error message?
Also what are the actual symptoms/problems, I doubt that anything you listed is fatal.
Does
scanimage -Llist the scanner?
Offline
I hit this recently, with HP Deskjet 2810e connected through USB cable. I'm using KDE. Neither Skanpage nor Simple Scan / Document Scanner would work, usually said "connection failed". scanimage on CLI worked, was able to scan pages.
Offline
said "connection failed". scanimage on CLI worked
Not sure whether that relates to the OP but sounds like the GUIs are trying to use a network connection to the scanner?
(Though both should™ go through sane so it's kinda wild that they'd hallucinate a different device)
Offline
$ scanimage -L
device `hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=XXXXXXXXXX' is a Hewlett-Packard HP_LaserJet_MFP_M28-M31 all-in-one
$ env | grep -i gtk
GTK_MODULES=canberra-gtk-module
GTK_OVERLAY_SCROLLING=0
I have been using hplip, but it only launches xsane from its gui.
Last edited by cmt100 (2026-11-09 20:19:25)
Offline
I tried kylin-scanner.
$ kylin-scanner
kylin-scanner is not running.
"/usr/share/kylin-scanner/translations/kylin-scanner.en_GB"
SANE Init
SANE version code: 17039360
Get all devices...
QComboBox::setModel: cannot set a 0 model
...
userInfo.color = "Lineart"
QPixmap::scaled: Pixmap is a null pixmap
...
sane names: QList("Hewlett-Packard HP_LaserJet_MFP_M28-M31")
device name: ""
device index: 0
device `hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=XXXXXXXXXX' is a Hewlett-Packard HP_LaserJet_MFP_M28-M31 all-in-one
...
device name: Hewlett-Packard HP_LaserJet_MFP_M28-M31
QList("Hewlett-Packard HP_LaserJet_MFP_M28-M31")
Open a device
Name: hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=XXXXXXXXXX, vendor: HP_LaserJet_MFP_M28-M31, model: Hewlett-Packard, type: all-in-one
sane_open status: Error during device I/O
Open device failed!
After selecting a device, which then appears, it displays a warning saying "Please connect to a scan device firstly !"
Offline
Please use [code][/code] tags.
Do you rely on/have updated https://aur.archlinux.org/packages/hplip-plugin ?
lsusb -tv shows the scanner?
https://wiki.archlinux.org/title/Power_ … utosuspend issue? Do you use sth. like TLP?
Do you harden the system (apparmor etc)?
Does
scanimage --format=png --output-file test.png --progresswork?
Offline
I am trying to install hplip-plugin. scanimage does not work.
Offline
Is this a regression or has it never worked before?
Does scanimage work as root?
How did you add the scanner? Was it autodetected?
Also
https://wiki.archlinux.org/title/Power_ … utosuspend issue? Do you use sth. like TLP?
Do you harden the system (apparmor etc)?
Offline
This is a regression.
$ sudo scanimage --format=png --output-file test-file.png --progressscanimage: open of device hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=XXXXXXXXXX failed: Error during device I/OThe scanner was autodetected by hplib. The drivers were obtained through the internet through hplip.
Lately it has not retrieved the drivers from the internet but simply used the ones already supplied by hplip.
Last edited by cmt100 (2026-11-10 19:52:21)
Offline
# strace -f -o /tmp/scan.strace scanimage --format=png --output-file test-file.png --progress(Needs to happen from a root shell, you cannot sudo strace) - /tmp/scan.strace is gonna be the interesting file and hopefully not too big.
Does downgrading hplip help?
(Last update was 2026-10-13, sane was last updated february)?
Alternatively, does the LTS kernel work?
Offline
Same error from root. I have experimented with both kernels. I am going to downgrade hplip.
Offline
No, the idea was to post the strace as it will likely provide details on the IO error
Offline
Downgraded hplip-2:3.26.6-2 to hplip-1:3.25.8-5
Then hplip asked to install the proprietary plugin from an authorized server.
Now hplip works with xsane. Thank you.
Offline
Do you still have the strace?
hplip manages bugs at launchpad, https://developers.hp.com/hp-linux-imag … ting/about / https://bugs.launchpad.net/~hplip but that seems dead since 2008…
https://gitlab.archlinux.org/archlinux/ … c07daf9e87 ships /usr/share/ipp-usb/quirks/HPLIP.conf - it seems unrelated because you're using HPAIO but what if you move that away (and in doubt reboot)?
Offline
hplip proprietary plugin needs to be the exact same version as hplip itself for scanning to work.
There have been a few reports where hplip was not able to retrieve the correct version of the plugin , but the aur hplip-plugin package did work .
(my own hp laserjet tank MFP has the same problem).
Almost everything in this thread indicates you are facing that problem.
Please upgrade again to hplip 2:3.26.6-2 from extra repo, install latest hplip-plugin 3.26.6-1 from aur and verify whether scanning with skanpage then works.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Pages: 1