Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] HP scanner is no longer found Dale <rdalek1967@×××××.com>