Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] HP scanner is no longer found
Date: Mon, 24 Mar 2014 05:02:25
Message-Id: 532FBC4D.6000309@gmail.com
1 Howdy,
2
3 This is confusing. A month or so ago, my HP 5300C scanner worked just
4 fine. I plugged it in today, it doesn't show up. When I type lsusb, I
5 get this:
6
7 root@fireball / # lsusb
8 Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
9 hub
10
11 Bus 007 Device 002: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR
12 UPS
13
14 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
15 hub
16
17 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
18 hub
19
20 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
21 hub
22
23 Bus 005 Device 002: ID 046d:c05a Logitech, Inc. M90/M100 Optical
24 Mouse
25
26 Bus 005 Device 003: ID 22b8:6402 Motorola
27 PCS
28
29 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
30 hub
31
32 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root
33 hub
34
35 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root
36 hub
37
38 Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root
39 hub
40
41 Bus 008 Device 002: ID
42 2109:3431
43
44 Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
45 root@fireball / #
46
47 No scanner there. I thought maybe the cable was bad, plugged in my
48 printer with the same cable and the printer shows up just fine. I have
49 tried both a 3.11.6 and 3.13.6 kernel thinking just maybe it was a bug
50 but I'm pretty sure I was using 3.11.6 last time. Here is a list of usb
51 and sane packages installed:
52
53 root@fireball / # equery list *usb* *sane*
54 * Searching for *usb* ...
55 [IP-] [ ] dev-libs/libusb-1.0.18:1
56 [IP-] [ ] dev-libs/libusb-compat-0.1.5-r2:0
57 [IP-] [ ] sys-apps/usbutils-007:0
58 [IP-] [ ] virtual/libusb-0-r1:0
59 [IP-] [ ] virtual/libusb-1-r1:1
60
61 * Searching for *sane* ...
62 [IP-] [ ] kde-base/ksaneplugin-4.12.3:4/4.12
63 [IP-] [ ] kde-base/libksane-4.12.3:4/4.12
64 [IP-] [ ] media-gfx/sane-backends-1.0.24-r3:0
65 [IP-] [ ] media-gfx/xsane-0.999:0
66 root@fireball / #
67
68 This is the USE flags which I try to enable globally unless there is a
69 conflict that doesn't allow it.
70
71 root@fireball / # equery h usb
72 * Searching for USE flag usb ...
73 [IP-] [ ] app-crypt/gnupg-2.0.22:0
74 [IP-] [ ] app-mobilephone/gammu-1.33.0:0
75 [IP-] [ ] kde-base/systemsettings-4.11.7:4/4.11
76 [IP-] [ ] media-gfx/sane-backends-1.0.24-r3:0
77 [IP-] [ ] net-print/cups-1.7.1:0
78 [IP-] [ ] sys-power/nut-2.6.5-r1:0
79 root@fireball / #
80
81 And emerge -pv for some packages listed above just for giggles.
82
83 root@fireball / # emerge -pv dev-libs/libusb dev-libs/libusb-compat
84 sys-apps/usbutils =virtual/libusb-0-r1 =virtual/libusb-1-r1
85 media-gfx/sane-backends
86
87 These are the packages that would be merged, in order:
88
89 Calculating dependencies... done!
90 [ebuild R ] dev-libs/libusb-1.0.18:1 USE="udev -debug -doc
91 -examples -static-libs {-test}" ABI_X86="(64) (-32) (-x32)" 0 kB
92 [ebuild R ] virtual/libusb-1-r1:1 USE="udev" ABI_X86="(64) (-32)
93 (-x32)" 0 kB
94 [ebuild R ] dev-libs/libusb-compat-0.1.5-r2 USE="-debug -examples
95 -static-libs" ABI_X86="(64) (-32) (-x32)" 0 kB
96 [ebuild R ] sys-apps/usbutils-007 USE="zlib -python"
97 PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
98 [ebuild R ~] media-gfx/sane-backends-1.0.24-r3 USE="avahi gphoto2
99 ipv6 threads usb -doc -snmp -systemd -v4l -xinetd"
100 SANE_BACKENDS="avision hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005
101 hpsj5s snapscan* -abaton -agfafocus -apple -artec -artec_eplus48u -as6e
102 -bh -canon -canon630u -canon_dr -canon_pp -cardscan -coolscan -coolscan2
103 -coolscan3 -dc210 -dc240 -dc25 -dell1600n_net -dmc -epjitsu -epson
104 -epson2 -fujitsu -genesys -gt68xx -hs2p -ibm -kodak -kodakaio -kvs1025
105 -kvs20xx -kvs40xx -leo -lexmark -ma1509 -magicolor -matsushita -microtek
106 -microtek2 -mustek -mustek_pp -mustek_usb -mustek_usb2 -nec -net -niash
107 -p5 -pie -pixma -plustek -plustek_pp -pnm -qcam -ricoh -rts8891 -s9036
108 -sceptre -sharp -sm3600 -sm3840 -sp15c -st400 -stv680 -tamarack -teco1
109 -teco2 -teco3 {-test} -u12 -umax -umax1220u -umax_pp -xerox_mfp" 0 kB
110 [ebuild R ] virtual/libusb-0-r1 ABI_X86="(64) (-32) (-x32)" 0 kB
111
112 Total: 6 packages (6 reinstalls), Size of downloads: 0 kB
113 root@fireball / #
114
115 As you can see, I even tried to enable some other drivers as well. This
116 is a healthy snippet of messages when I plug in the scanner:
117
118 Mar 23 23:37:39 localhost kernel: [27889.849489] usb 7-2: device
119 descriptor read/64, error -62
120 Mar 23 23:37:39 localhost kernel: [27889.973714] ohci-pci 0000:00:16.0:
121 port[1] reset timeout, stat 00000111
122 Mar 23 23:37:39 localhost kernel: [27890.025736] ohci-pci 0000:00:16.0:
123 GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
124 Mar 23 23:37:39 localhost kernel: [27890.077856] usb 7-2: new full-speed
125 USB device number 9 using ohci-pci
126 Mar 23 23:37:39 localhost kernel: [27890.078906] ohci-pci 0000:00:16.0:
127 urb ffff880329d77140 path 2 ep0out 5ec20000 cc 5 --> status -62
128 Mar 23 23:37:39 localhost kernel: [27890.283192] ohci-pci 0000:00:16.0:
129 urb ffff880329d77140 path 2 ep0out 5ec20000 cc 5 --> status -62
130 Mar 23 23:37:39 localhost kernel: [27890.485430] usb 7-2: device not
131 accepting address 9, error -62
132 Mar 23 23:37:39 localhost kernel: [27890.508507] ohci-pci 0000:00:16.0:
133 port[1] reset timeout, stat 00000111
134 Mar 23 23:37:39 localhost kernel: [27890.560510] ohci-pci 0000:00:16.0:
135 GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS
136 Mar 23 23:37:39 localhost kernel: [27890.612624] usb 7-2: new full-speed
137 USB device number 10 using ohci-pci
138 Mar 23 23:37:39 localhost kernel: [27890.613671] ohci-pci 0000:00:16.0:
139 urb ffff880329d77140 path 2 ep0out 5ec20000 cc 5 --> status -62
140 Mar 23 23:37:40 localhost kernel: [27890.816970] ohci-pci 0000:00:16.0:
141 urb ffff8801eff5fbc0 path 2 ep0out 5ec20000 cc 5 --> status -62
142 Mar 23 23:37:40 localhost kernel: [27891.019200] usb 7-2: device not
143 accepting address 10, error -62
144 Mar 23 23:37:40 localhost kernel: [27891.019240] hub 7-0:1.0: unable to
145 enumerate USB device on port 2
146 Mar 23 23:37:40 localhost kernel: [27891.019249] hub 3-0:1.0: state 7
147 ports 4 chg 0000 evt 0000
148 Mar 23 23:37:40 localhost kernel: [27891.019257] hub 7-0:1.0: state 7
149 ports 4 chg 0000 evt 0004
150 Mar 23 23:37:40 localhost kernel: [27891.019265] hub 3-0:1.0: hub_suspend
151 Mar 23 23:37:40 localhost kernel: [27891.019273] usb usb3: bus
152 auto-suspend, wakeup 1
153 Mar 23 23:37:40 localhost kernel: [27891.019276] ehci-pci 0000:00:16.2:
154 suspend root hub
155
156
157 I have googled and tried different things such as trying to disable
158 autosuspend with no change. Most of the hits I find are pretty old.
159 While digging around, I did find places that said there should be a usb
160 directory here:
161
162 root@fireball / # ls /proc/bus/
163 total 0
164 dr-xr-xr-x 4 root root 0 Mar 23 23:43 .
165 dr-xr-xr-x 212 root root 0 Mar 23 10:53 ..
166 dr-xr-xr-x 2 root root 0 Mar 23 23:43 input
167 dr-xr-xr-x 7 root root 0 Mar 23 23:43 pci
168 root@fireball / #
169
170 As you can tell, there is not one there. Other places say it is
171 obsolete but thought it worth a mention. I checked permissions on the
172 nodes in /dev. They are root/usb. I also made sure I am in the scanner
173 and usb groups as well. It seems to me that until lsusb sees the
174 scanner, not much else matters. So far, no luck.
175
176 I figure it is something so simple that I am just plain over looking the
177 obvious. Anyone got any ideas? I got some really old family photos I
178 want to start scanning.
179
180 Thanks much to all. :-D
181
182 Dale
183
184 :-) :-)
185
186
187 P. S. Updated kernel and had to reboot while playing with this. The
188 init thingy screwed up. The init thingy is now gone. < waves good bye >
189
190 --
191 I am only responsible for what I said ... Not for what you understood or how you interpreted my words!

Replies

Subject Author
Re: [gentoo-user] HP scanner is no longer found "J. Roeleveld" <joost@××××××××.org>
Re: [gentoo-user] HP scanner is no longer found Matti Nykyri <matti.nykyri@×××.fi>
[gentoo-user] Re: HP scanner is no longer found James <wireless@×××××××××××.com>
[gentoo-user] Re: HP scanner is no longer found "Jörg Schaible" <joerg.schaible@×××.de>