HP Scanjet 7400c Scanner locks USB2 port

Bug #1643544 reported by Wolf
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

When trying to scan with the hp7400c (avision backend), the scanner will stop in the middle of the page, no further commands on a USB mouse or keyboard are possible. xsane will throw a I/O device error.

This happens on my desktop with ubuntu 16.10 (Kernel 4.8.0-27) and my laptop (kernel 4.4.0-38)
NO USB3 hardware is involved in my case, both machines have USB2-ports only, lsmod does NOT show and xhci modules loaded.

I tried the command
SANE_DEBUG_AVISION=8 SANE_DEBUG_SANEI_USB=5 scanimage > scanfehlerxx.txt

and produced the files attached.

The key statement might be:

 [sanei_usb] sanei_usb_read_bulk: trying to read 61054 bytes
  [sanei_usb] sanei_usb_read_bulk: read failed: No such device (it may have been disconnected)
  [avision] read 0 bytes
  [avision] No data arrived.

This error occurs as well with Fedora 24, but NOT with debian 8.6. So it may be related with the more recent kernels and their behaviour on the USB ports.

Revision history for this message
Wolf (drechsel) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Wolf, thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1643544

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in sane-backends (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
summary: - avision scanner locks USB2 port
+ HP Scanjet 7400c Scanner locks USB2 port
tags: added: regression-potential
Revision history for this message
Wolf (drechsel) wrote :

Followed the instructions given above. (:

Revision history for this message
penalvch (penalvch) wrote :

Wolf:

>"Followed the instructions given above. (:"

So, what happened specifically? The expected files weren't attached.

Despite this, it may be helpful to perform the apport-collect via a live environment using http://cdimage.ubuntu.com/daily-live/current/ .

Could you please advise?

Revision history for this message
Wolf (drechsel) wrote :

Thanks for your attention.

I did a SSO login and opened this issue web page (1643544).
Then did the command:

apport-collect 1643544
Package sane-backends not installed and no hook available, ignoring
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

A window pops up "no further information gathered" (see attachment)

$ sudo apt-get install sane-backends
says that the package cannot be found. I cannot find it in synaptic either. And this page (https://launchpad.net/ubuntu/+source/sane-backends/1.0.25+git20150528-1ubuntu2) says, that it's for USB3 "or fast recent hardware" - which is not available at my system.

So - what can I do now.

Revision history for this message
penalvch (penalvch) wrote :

Wolf, could you please test for this issue via http://cdimage.ubuntu.com/daily-live/current/ ? Please retry the apport-collect in this environment and advise to the results.

Revision history for this message
Wolf (drechsel) wrote :

The live system from "zesty" produced precisely the same results (see #5).

penalvch (penalvch)
tags: added: yakkety zesty
Revision history for this message
penalvch (penalvch) wrote :

Wolf, the apport-collect not working must be due to a limitation of apport with sane-backends. sane-backends is a meta package that represents all the different packages it provides as per:
https://launchpad.net/ubuntu/+source/sane-backends

Hence, let this step be skipped.

Despite this, to further narrow this down, did this problem not occur in a Ubuntu release prior to 16.10?

Given this works in Debian 8.6, and prior versions of Ubuntu are similar to this, this is likely a regression in Ubuntu also.

Revision history for this message
Wolf (drechsel) wrote :

I don't use the scanner daily, so I'm not completely certain. But as far as I remember, the problems started in ubuntu 16.04 with a kernel 4.4.x. At that time, I tried to go back to a prior kernel version, but that failed for nvidia video driver reasons.

There is quite a number of problem reports at the sane mailing list (<email address hidden>) - on the avision backend, and as well on USB problems with other backends.

Here is one recent example:
http://lists.alioth.debian.org/pipermail/sane-devel/2017-January/034968.html

penalvch (penalvch)
tags: added: xenial
Changed in sane-backends (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sane-backends (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.