Bug 1347231 - network scanning doesn't work, Error during device I/O (code=9)
Summary: network scanning doesn't work, Error during device I/O (code=9)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-16 10:51 UTC by Jan Včelák
Modified: 2016-06-21 11:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-21 11:31:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Včelák 2016-06-16 10:51:09 UTC
Description of problem:

Scanning on network HP printer doesn't work. Printing works perfectly, though.

Version-Release number of selected component (if applicable):
libsane-hpaio-3.16.5-1.fc24.x86_64
hplip-3.16.5-1.fc24.x86_64
xsane-0.999-20.fc24.x86_64

How reproducible:
always

Steps to Reproduce:
1. hp-scan
2.
3.

Actual results:

% hp-scan

HP Linux Imaging and Printing System (ver. 3.16.5)
Scan Utility ver. 2.2

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/HP_LaserJet_M2727nf_MFP?ip=172.27.5.25
Opening connection to device...
error: SANE: Error during device I/O (code=9)

% journalctl -b
...
/hp-scan[13674]: hp-scan[13674]: warning: No destinations specified. Adding 'file' destination by default.
/hp-scan[13674]: common/utils.c 188: unable to load library libm.so: /lib64/libm.so: invalid ELF header
/hp-scan[13674]: common/utils.c 69: unable to open /var/lib/hp/hplip.state: No such file or directory
/hp-scan[13674]: common/utils.c 119: validate_plugin_version() Failed to get Plugin version from [/var/lib/hp/hplip.state]
/hp-scan[13674]: common/utils.c 157: Plugin version is not matching
/hp-scan[13674]: common/utils.c 220: Invalid Library hanlder pLibHandler = NULL.
/hp-scan[13674]: hp-scan[13674]: error: SANE: Error during device I/O (code=9)

Expected results:

working scanner

Additional info:

% file /lib64/libm.so
/lib64/libm.so: ASCII text
% cat /lib64/libm.so    
/* GNU ld script
*/
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib64/libm.so.6  AS_NEEDED ( /usr/lib64/libmvec_nonshared.a /lib64/libmvec.so.1 ) )
% ls /var/lib/hp/hplip.state 
ls: cannot access '/var/lib/hp/hplip.state': No such file or directory

Comment 1 Zdenek Dohnal 2016-06-16 11:53:02 UTC
Hello Jan,

can you try to reinstall your printer (or reinstall hplip), follow one of ways in http://hplipopensource.com/node/309 to install your plugin and restart your printer after that, please? It seems the problem is in plugin.

Comment 2 Jan Včelák 2016-06-20 09:42:28 UTC
Hm. I don't have the plugin at all. I didn't know the plugin is needed for scanner to work. And no log message indicated that.

Let me check tomorrow if it works with the plugin.

Comment 3 Jan Včelák 2016-06-21 11:31:43 UTC
Installation of the plugin indeed solved the problem. Thank you, Zdenek.


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