Howdy,
This is confusing. A month or so ago, my HP 5300C scanner worked just
fine. I plugged it in today, it doesn't show up. When I type lsusb, I
get this:
root@fireball / # lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
hub
Bus 007 Device 002: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR
UPS
Bus 007 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 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
hub
Bus 005 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical
Mouse
Bus 005 Device 003: ID 22b8:6402 Motorola
PCS
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root
hub
Bus 008 Device 002: ID
2109:3431
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@fireball / #
No scanner there. I thought maybe the cable was bad, plugged in my
printer with the same cable and the printer shows up just fine. I have
tried both a 3.11.6 and 3.13.6 kernel thinking just maybe it was a bug
but I'm pretty sure I was using 3.11.6 last time. Here is a list of usb
and sane packages installed:
root@fireball / # equery list *usb* *sane*
* Searching for *usb* ...
[IP-] [ ] dev-libs/libusb-1.0.18:1
[IP-] [ ] dev-libs/libusb-compat-0.1.5-r2:0
[IP-] [ ] sys-apps/usbutils-007:0
[IP-] [ ] virtual/libusb-0-r1:0
[IP-] [ ] virtual/libusb-1-r1:1
* Searching for *sane* ...
[IP-] [ ] kde-base/ksaneplugin-4.12.3:4/4.12
[IP-] [ ] kde-base/libksane-4.12.3:4/4.12
[IP-] [ ] media-gfx/sane-backends-1.0.24-r3:0
[IP-] [ ] media-gfx/xsane-0.999:0
root@fireball / #
This is the USE flags which I try to enable globally unless there is a
conflict that doesn't allow it.
root@fireball / # equery h usb
* Searching for USE flag usb ...
[IP-] [ ] app-crypt/gnupg-2.0.22:0
[IP-] [ ] app-mobilephone/gammu-1.33.0:0
[IP-] [ ] kde-base/systemsettings-4.11.7:4/4.11
[IP-] [ ] media-gfx/sane-backends-1.0.24-r3:0
[IP-] [ ] net-print/cups-1.7.1:0
[IP-] [ ] sys-power/nut-2.6.5-r1:0
root@fireball / #
And emerge -pv for some packages listed above just for giggles.
root@fireball / # emerge -pv dev-libs/libusb dev-libs/libusb-compat
sys-apps/usbutils =virtual/libusb-0-r1 =virtual/libusb-1-r1
media-gfx/sane-backends
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-libs/libusb-1.0.18:1 USE="udev -debug -doc
-examples -static-libs {-test}" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild R ] virtual/libusb-1-r1:1 USE="udev" ABI_X86="(64) (-32)
(-x32)" 0 kB
[ebuild R ] dev-libs/libusb-compat-0.1.5-r2 USE="-debug -examples
-static-libs" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild R ] sys-apps/usbutils-007 USE="zlib -python"
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
[ebuild R ~] media-gfx/sane-backends-1.0.24-r3 USE="avahi gphoto2
ipv6 threads usb -doc -snmp -systemd -v4l -xinetd"
SANE_BACKENDS="avision hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005
hpsj5s snapscan* -abaton -agfafocus -apple -artec -artec_eplus48u -as6e
-bh -canon -canon630u -canon_dr -canon_pp -cardscan -coolscan -coolscan2
-coolscan3 -dc210 -dc240 -dc25 -dell1600n_net -dmc -epjitsu -epson
-epson2 -fujitsu -genesys -gt68xx -hs2p -ibm -kodak -kodakaio -kvs1025
-kvs20xx -kvs40xx -leo -lexmark -ma1509 -magicolor -matsushita -microtek
-microtek2 -mustek -mustek_pp -mustek_usb -mustek_usb2 -nec -net -niash
-p5 -pie -pixma -plustek -plustek_pp -pnm -qcam -ricoh -rts8891 -s9036
-sceptre -sharp -sm3600 -sm3840 -sp15c -st400 -stv680 -tamarack -teco1
-teco2 -teco3 {-test} -u12 -umax -umax1220u -umax_pp -xerox_mfp" 0 kB
[ebuild R ] virtual/libusb-0-r1 ABI_X86="(64) (-32) (-x32)" 0 kB
Total: 6 packages (6 reinstalls), Size of downloads: 0 kB
root@fireball / #
As you can see, I even tried to enable some other drivers as well. This
is a healthy snippet of messages when I plug in the scanner:
Mar 23 23:37:39 localhost kernel: [27889.849489] usb 7-2: device
descriptor read/64, error -62
Mar 23 23:37:39 localhost kernel: [27889.973714] ohci-pci 0000:00:16.0:
port[1] reset timeout, stat 00000111
Mar 23 23:37:39 localhost kernel: [27890.025736] ohci-pci 0000:00:16.0:
GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
Mar 23 23:37:39 localhost kernel: [27890.077856] usb 7-2: new full-speed
USB device number 9 using ohci-pci
Mar 23 23:37:39 localhost kernel: [27890.078906] ohci-pci 0000:00:16.0:
urb ffff880329d77140 path 2 ep0out 5ec20000 cc 5 --> status -62
Mar 23 23:37:39 localhost kernel: [27890.283192] ohci-pci 0000:00:16.0:
urb ffff880329d77140 path 2 ep0out 5ec20000 cc 5 --> status -62
Mar 23 23:37:39 localhost kernel: [27890.485430] usb 7-2: device not
accepting address 9, error -62
Mar 23 23:37:39 localhost kernel: [27890.508507] ohci-pci 0000:00:16.0:
port[1] reset timeout, stat 00000111
Mar 23 23:37:39 localhost kernel: [27890.560510] ohci-pci 0000:00:16.0:
GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
Mar 23 23:37:39 localhost kernel: [27890.612624] usb 7-2: new full-speed
USB device number 10 using ohci-pci
Mar 23 23:37:39 localhost kernel: [27890.613671] ohci-pci 0000:00:16.0:
urb ffff880329d77140 path 2 ep0out 5ec20000 cc 5 --> status -62
Mar 23 23:37:40 localhost kernel: [27890.816970] ohci-pci 0000:00:16.0:
urb ffff8801eff5fbc0 path 2 ep0out 5ec20000 cc 5 --> status -62
Mar 23 23:37:40 localhost kernel: [27891.019200] usb 7-2: device not
accepting address 10, error -62
Mar 23 23:37:40 localhost kernel: [27891.019240] hub 7-0:1.0: unable to
enumerate USB device on port 2
Mar 23 23:37:40 localhost kernel: [27891.019249] hub 3-0:1.0: state 7
ports 4 chg 0000 evt 0000
Mar 23 23:37:40 localhost kernel: [27891.019257] hub 7-0:1.0: state 7
ports 4 chg 0000 evt 0004
Mar 23 23:37:40 localhost kernel: [27891.019265] hub 3-0:1.0: hub_suspend
Mar 23 23:37:40 localhost kernel: [27891.019273] usb usb3: bus
auto-suspend, wakeup 1
Mar 23 23:37:40 localhost kernel: [27891.019276] ehci-pci 0000:00:16.2:
suspend root hub
I have googled and tried different things such as trying to disable
autosuspend with no change. Most of the hits I find are pretty old.
While digging around, I did find places that said there should be a usb
directory here:
root@fireball / # ls /proc/bus/
total 0
dr-xr-xr-x 4 root root 0 Mar 23 23:43 .
dr-xr-xr-x 212 root root 0 Mar 23 10:53 ..
dr-xr-xr-x 2 root root 0 Mar 23 23:43 input
dr-xr-xr-x 7 root root 0 Mar 23 23:43 pci
root@fireball / #
As you can tell, there is not one there. Other places say it is
obsolete but thought it worth a mention. I checked permissions on the
nodes in /dev. They are root/usb. I also made sure I am in the scanner
and usb groups as well. It seems to me that until lsusb sees the
scanner, not much else matters. So far, no luck.
I figure it is something so simple that I am just plain over looking the
obvious. Anyone got any ideas? I got some really old family photos I
want to start scanning.
Thanks much to all. :-D
Dale
:-) :-)
P. S. Updated kernel and had to reboot while playing with this. The
init thingy screwed up. The init thingy is now gone. < waves good bye >
--
I am only responsible for what I said ... Not for what you understood or how
you interpreted my words!