Page MenuHomeSolus

Simple Scan "hpaio:/usb/ENVY_6000_series" I/O error
Closed, ResolvedPublic

Description

I have a HP Envy 6000 series (6032e) printer scanner with the hplib and hplib-drivers installed. It is connected by USB and printing works fine. However simple scan detects the scanner correctly at startup but it fails on this I/O error in the log when trying to scan.

[+15.76s] DEBUG: scanner.vala:905: sane_open ("hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND") -> SANE_STATUS_IO_ERROR

Also hp-uiscan reports no device connected.

Simple Scan Log :-

[+0.00s] DEBUG: simple-scan.vala:2012: Starting simple-scan 40.5, PID=2661
[+0.00s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0.02s] DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
[+0.07s] DEBUG: app-window.vala:1999: Loading state from /home/admin/.cache/simple-scan/state
[+0.07s] DEBUG: app-window.vala:1978: Restoring window to 1362x740 pixels
[+0.15s] DEBUG: scanner.vala:1596: sane_init () -> SANE_STATUS_GOOD
[+0.15s] DEBUG: scanner.vala:1602: SANE version 1.0.30
[+0.15s] DEBUG: scanner.vala:1663: Requesting redetection of scan devices
[+0.15s] DEBUG: scanner.vala:844: Processing request
[+0.27s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+6.64s] DEBUG: scanner.vala:348: sane_get_devices () -> SANE_STATUS_GOOD
[+6.64s] DEBUG: scanner.vala:360: Device: name="v4l:/dev/video0" vendor="Noname" model="Integrated Camera: Integrated C" type="virtual device"
[+6.64s] DEBUG: scanner.vala:360: Device: name="hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND" vendor="Hewlett-Packard" model="ENVY_6000_series" type="all-in-one"
[+6.64s] DEBUG: scanner.vala:360: Device: name="hpaio:/net/envy_6000_series?ip=192.168.0.10&queue=false" vendor="Hewlett-Packard" model="envy_6000_series" type="all-in-one"
[+6.75s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+13.37s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+15.23s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+15.74s] DEBUG: simple-scan.vala:1817: Requesting scan at 600 dpi from device 'hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND'
[+15.74s] DEBUG: scanner.vala:1754: Scanner.scan ("hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND", dpi=600, scan_mode=ScanMode.COLOR, depth=8, type=single, side=back, paper_width=0, paper_height=0, brightness=0, contrast=0, delay=0ms)
[+15.74s] DEBUG: scanner.vala:844: Processing request
[+15.76s] DEBUG: scanner.vala:905: sane_open ("hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND") -> SANE_STATUS_IO_ERROR
[+15.76s] WARNING: scanner.vala:909: Unable to open device: Error during device I/O
[+15.93s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+494.05s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+494.27s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+494.88s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+495.04s] DEBUG: app-window.vala:2074: Saving state to /home/admin/.cache/simple-scan/state
[+495.19s] DEBUG: autosave-manager.vala:201: Deleting autosave records
[+495.19s] DEBUG: scanner.vala:1784: Stopping scan thread
[+495.19s] DEBUG: scanner.vala:844: Processing request
[+495.19s] DEBUG: scanner.vala:1795: sane_exit ()

Event Timeline

KDE Skanlite also fails with the same I/O problem.

Fails also on hp-scan both usb and network...

admin@lenovo ~ $ hp-scan

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

Copyright (c) 2001-18 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.


| SELECT DEVICE |

Num       Scan device URI                                       
--------  ------------------------------------------------------
0         v4l:/dev/video0                                       
1         hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND         
2         hpaio:/net/envy_6000_series?ip=192.168.0.5&queue=false

Enter number 0...2 for device (q=quit) ?1
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND
Opening connection to device...
error: SANE: Error during device I/O (code=9)
admin@lenovo ~ $ hp-scan

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

Copyright (c) 2001-18 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.


| SELECT DEVICE |

Num       Scan device URI                                       
--------  ------------------------------------------------------
0         v4l:/dev/video0                                       
1*        hpaio:/usb/ENVY_6000_series?serial=TH182CD1ND         
2         hpaio:/net/envy_6000_series?ip=192.168.0.5&queue=false

Enter number 0...2 for device (q=quit, <enter>=default: 1*) ?2
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/envy_6000_series?ip=192.168.0.5&queue=false
Opening connection to device...
error: SANE: Error during device I/O (code=9)

Issue still present, hp-scan and hp configuration tool won't launch at all, printing works but scanner can't connect. Same error message as described above when done in Terminal

Thanks!

Forgot to mention, issue still present on different HP model

joebonrichie triaged this task as Needs More Info priority.Aug 16 2022, 3:09 PM
joebonrichie moved this task from Backlog to Printers & Scanners on the Hardware board.
joebonrichie added a subscriber: joebonrichie.

hplip has been updated to 3.22.6 since the issue was created, is this still a problem?

Issue seem resolved with the new driver version. Thanks.

joebonrichie claimed this task.

Great, thanks for the follow through!