-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Scanning, Faxing, and Copying
- Failed to start scanner: Invalid argument

Create an account on the HP Community to personalize your profile and ask a question
03-29-2018 06:04 AM
When I try to scan i get 'Failed to start scanner: Invalid argument'.
i'm using : net-print/hplip-3.17.10 and media-gfx/xsane-0.999-r2 on Gentoo
I't seems the drivers are ok. When I run # scanimage -L:
device `hpaio:/net/HP_LaserJet_Pro_MFP_M26nw?ip=192.168.1.148' is a Hewlett-Packard HP_LaserJet_Pro_MFP_M26nw all-in-one
device `hpaio:/net/Officejet_7300_series?ip=192.168.1.145' is a Hewlett-Packard Officejet_7300_series all-in-one
I can scan from the OJ-7310 just fine. I can scan to the laserjet if I use a differnt program (simple scan) but not from the Hp device Manager which uses xsane. Is there some config file hidden somewhere for xsane that i need to set manually?
03-29-2018 01:27 PM - edited 03-29-2018 01:59 PM
I found this in /var/log/messages:
Mar 29 15:09:24 p9x79 xsane[7512]: io/hpmud/model.c 532: no laserjet_pro_mfp_m26nw attributes found in /usr/share/hplip/data/models/models.dat
Mar 29 15:09:24 p9x79 xsane[7512]: io/hpmud/model.c 543: no laserjet_pro_mfp_m26nw attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
Mar 29 15:09:24 p9x79 xsane[7512]: common/utils.c 188: unable to load library libm.so: /usr/lib64/libm.so: invalid ELF header
Mar 29 15:09:30 p9x79 xsane[7512]: scan/sane/soapht.c 950: invalid extents: tlx=5400466 brx=5976516 tly=5472472 bry=6084525 minwidth=3196059 minheight3196059 maxwidth=14149222 maxheight=194$
There is a [hp_laserjet_pro_mfp_m26nw] section in that models.dat file mentioned above. Is it possible th 'hp_' part of that entry is causing it to be ignored? I edited out "hp_" and the printer was no longer availabe.
I don't know about the library error but libm.so is present
/lib32/libm.so.6
/lib64/libm.so.6
/usr/lib32/libm.so
/usr/lib64/libm.so