Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Scanner fails to work with hpaio: I/O Error

Need help with peripherals or devices?
Post Reply
Message
Author
ygriffin
Posts: 3
Joined: 2024-02-27 10:47

Scanner fails to work with hpaio: I/O Error

#1 Post by ygriffin »

Hello!

I'm trying to scan with simple-scan document scanner, but it fails. It's weird though. When I start up the scanner and immediately hit the scan button, it succeeds and scans one page. The next page always fails. It also fails if I do not press the scan button immediately. An popup appears:

Code: Select all

Failed to scan
Unable to connect to scanner
I can scan with Gimp if I use airscan. If I use hpiao I get the message:

Code: Select all

Failed to open device 'hpaio:/usb/Deskjet_3630_series?serial=CN7414H46X0659': Error during device I/O.
Don't know where to go from here ... Any help appreciated as it would be great to use simple-scan ...

Here some information about the setup:

Code: Select all

Linux luigi 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

Code: Select all

$ lsusb
Bus 001 Device 008: ID 03f0:e311 HP, Inc DeskJet 3630 series

Code: Select all

$ sane-find-scanner
found possible USB scanner (vendor=0x03f0 [HP], product=0xe311 [DeskJet 3630 series]) at libusb:001:008

Code: Select all

scanimage --list-devices
device `hpaio:/usb/DeskJet_3630_series?serial=CN7414H46X0659' is a Hewlett-Packard DeskJet_3630_series all-in-one
device `airscan:e0:HP DeskJet 3630 series [9EA3BF] (USB)' is a eSCL HP DeskJet 3630 series [9EA3BF] (USB) ip=127.0.0.1

Code: Select all

$ scanimage > image.pnm
Output format is not set, using pnm as a default.
scanimage: open of device hpaio:/usb/DeskJet_3630_series?serial=CN7414H46X0659 failed: Error during device I/O

Code: Select all

$ ls -l /dev/bus/usb/*/*
crw-rw-r--  1 root root 189,   0 Feb 27 08:03 /dev/bus/usb/001/001
crw-rw-r--  1 root root 189,   1 Feb 27 08:03 /dev/bus/usb/001/002
crw-rw-r--  1 root root 189,   2 Feb 27 08:03 /dev/bus/usb/001/003
crw-rw-r--  1 root root 189,   3 Feb 27 08:03 /dev/bus/usb/001/004
crw-rw-r--  1 root root 189,   4 Feb 27 08:03 /dev/bus/usb/001/005
crw-rw-r--  1 root root 189,   5 Feb 27 08:03 /dev/bus/usb/001/006
crw-rw-r--  1 root root 189,   6 Feb 27 08:03 /dev/bus/usb/001/007
crw-rw-r--+ 1 root lp   189,   7 Feb 27 11:57 /dev/bus/usb/001/008
crw-rw-r--  1 root root 189, 128 Feb 27 08:03 /dev/bus/usb/002/001

Code: Select all

$ getfacl /dev/bus/usb/001/008
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/008
# owner: root
# group: lp
user::rw-
user:USERNAME:rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--
Packages installed (in case it matters):

Code: Select all

libsane-hpaio is already the newest version (3.22.10+dfsg0-2)
hplip is already the newest version (3.22.10+dfsg0-2)
simple-scan is already the newest version (42.5-2)
Thanks!

ygriffin
Posts: 3
Joined: 2024-02-27 10:47

Re: Scanner fails to work with hpaio: I/O Error

#2 Post by ygriffin »

I figured that I can start simple-scan from the command line with:

Code: Select all

simple-scan airscan:e0:HP
In this case it works.

Also when I start simple scan, I just figured out now, there is a selection option for the eSCL driver. It works like this.

Two things:

1) It is very slow ... I had it working with a linux mint installation and it was much faster ... don't know now which driver was used in mint.

2) how can I select the working "driver" as default?

arzgi
Posts: 1198
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 32 times

Re: Scanner fails to work with hpaio: I/O Error

#3 Post by arzgi »

https://wiki.debian.org/SaneOverNetwork

Have you installed

Code: Select all

sane-airscan

ygriffin
Posts: 3
Joined: 2024-02-27 10:47

Re: Scanner fails to work with hpaio: I/O Error

#4 Post by ygriffin »

Yes, I have:

Code: Select all

sane-airscan is already the newest version (0.99.27-1+b1)

arzgi
Posts: 1198
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 32 times

Re: Scanner fails to work with hpaio: I/O Error

#5 Post by arzgi »

Can you try Xsane? It probably gives you two scanners to choose, which of one is valid, you have try both.

Post Reply