scanner doesn't work on bootup

Bug #1018677 reported by manojav
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libusb (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When the computer boots up (12.04) with the scanner attached lsusb lists the scanner

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 03f0:1705 Hewlett-Packard ScanJet 5590
Bus 002 Device 003: ID 0424:2502 Standard Microsystems Corp.
Bus 002 Device 004: ID 0424:2602 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 005: ID 0424:2228 Standard Microsystems Corp. 9-in-2 Card Reader
Bus 002 Device 006: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

On Bus 002 Device 002

crw-rw-r--+ 1 root root 189, 129 Jun 27 21:51 /dev/bus/usb/002/002

But when I run scanimage -L

>scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

doesn't work as root either

scanimage -L
[sudo] password for manojav:

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

the only way to get the scanner working again is to power it off (unplug) and plug it again. this time its recognized by scanimage -L or xsane running as non-root as well root.

looks like something has got a hold of the device and not letting it go! its similar to when a scanning app crashes and leaves things is a bad state. only way to clear that is power off the scanner and plug it back-in

this has been happening since 11.10, and now also w/ 12.04

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xsane 0.998-3ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Wed Jun 27 22:00:50 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: xsane
UpgradeStatus: Upgraded to precise on 2012-06-26 (1 days ago)

Revision history for this message
manojav (manojav) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in libusb (Ubuntu):
status: New → Confirmed
Revision history for this message
svenw (svenw1973-launchpad) wrote :

my scanner was found by lsusb:
Bus 002 Device 042: ID 0424:2502 Standard Microsystems Corp.
Bus 002 Device 033: ID 040a:600b Kodak Co.

syslog entries after connecting the scanner:
Sep 26 10:13:27 sww500 kernel: [23638.940105] usb 2-2: new high speed USB device number 34 using ehci_hcd
Sep 26 10:13:27 sww500 kernel: [23639.073060] hub 2-2:1.0: USB hub found
Sep 26 10:13:27 sww500 kernel: [23639.073211] hub 2-2:1.0: 2 ports detected
Sep 26 10:13:27 sww500 kernel: [23639.344241] usb 2-2.1: new high speed USB device number 35 using ehci_hcd
Sep 26 10:13:28 sww500 mtp-probe: checking bus 2, device 35: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2.1"
Sep 26 10:13:28 sww500 mtp-probe: bus: 2, device: 35 was not an MTP device

kern.log:
Sep 26 10:14:34 sww500 kernel: [23706.304174] usb 2-2: new high speed USB device number 38 using ehci_hcd
Sep 26 10:14:34 sww500 kernel: [23706.437745] hub 2-2:1.0: USB hub found
Sep 26 10:14:34 sww500 kernel: [23706.437905] hub 2-2:1.0: 2 ports detected
Sep 26 10:14:35 sww500 kernel: [23706.708216] usb 2-2.1: new high speed USB device number 39 using ehci_hcd

Revision history for this message
Thomas Zahreddin (t-zahreddin) wrote :

I updated libusb-0.1.so.4 to libusb-dev in ubuntu 18.04 LTS and the error was gone.

BTW: i am astonished how such an error can remain so long in the operating system :-(

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.