mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [usb] device not accepting address / timeout
@ 2004-12-05 17:46 Alexander Dressler
  2004-12-06  8:54 ` Roland Kuhn
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dressler @ 2004-12-05 17:46 UTC (permalink / raw)
  To: linux-kernel

hi,

I encountered some problems connecting a usb-scanner (usb2). Since I found 
only postings in newgroups that report similar problems but no solution, I 
hope someone here can help.

OS: Debian Sarge
Tested Kernels:  2.6.9, 2.6.10-rc1, 2.6.10-rc3

Usb output of dmesg:

ehci_hcd 0000:00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.3: reset hcs_params 0x2204 dbg=0 cc=2 pcc=2 ordered !ppc 
ports=4
ehci_hcd 0000:00:10.3: reset hcc_params 6872 thresh 7 uframes 256/512/1024
ehci_hcd 0000:00:10.3: capability 0001 at 68
ehci_hcd 0000:00:10.3: irq 21, pci mem 0xdfffff00
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 period=1024 
Reset HALT
ehci_hcd 0000:00:10.3: init command 010009 (park)=0 ithresh=1 period=256 RUN
ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
ehci_hcd 0000:00:10.3: supports USB remote wakeup
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: default language 0x0409
usb usb1: Product: VIA Technologies, Inc. USB 2.0
usb usb1: Manufacturer: Linux 2.6.10-rc1 ehci_hcd
usb usb1: SerialNumber: 0000:00:10.3
usb usb1: hotplug
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: hotplug
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: ganged power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j  CSC CONNECT
hub 1-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:10.3: port 4 high speed
ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0  PE 
CONNECT
usb 1-4: new high speed USB device using address 2
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 5
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller
uhci_hcd 0000:00:10.0: irq 21, io base 0xe800
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.0: detected 2 ports
[....]
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: default language 0x0409
usb usb3: Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller 
(#2)
usb usb3: Manufacturer: Linux 2.6.10-rc1 uhci_hcd
usb usb3: SerialNumber: 0000:00:10.1
usb usb3: hotplug
usb usb3: adding 3-0:1.0 (config #1, interface 0)
usb 3-0:1.0: hotplug
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
hub 3-0:1.0: standalone hub
hub 3-0:1.0: no power switching (usb 1.0)
hub 3-0:1.0: individual port over-current protection
hub 3-0:1.0: power on to power good time: 2ms
hub 3-0:1.0: local power source is good
uhci_hcd 0000:00:10.0: suspend_hc
uhci_hcd 0000:00:10.1: suspend_hc
usb 1-4: control timeout on ep0in
ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
usb 1-4: device not accepting address 2, error -71
hub 1-0:1.0: port 4 not reset yet, waiting 50ms
ehci_hcd 0000:00:10.3: port 4 high speed
ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0  PE 
CONNECT
usb 1-4: new high speed USB device using address 3
usb 1-4: control timeout on ep0in       <------------------------
ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
usb 1-4: device not accepting address 3, error -71     <--------
uhci_hcd 0000:00:10.0: port 1 portsc 008a,00
hub 2-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
uhci_hcd 0000:00:10.0: port 2 portsc 008a,00
hub 2-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
uhci_hcd 0000:00:10.1: port 1 portsc 008a,00
hub 3-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
uhci_hcd 0000:00:10.1: port 2 portsc 009a,00
hub 3-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j  CSC CONNECT
hub 1-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
hub 1-0:1.0: port 4 not reset yet, waiting 50ms
ehci_hcd 0000:00:10.3: port 4 high speed
ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0  PE 
CONNECT
usb 1-4: new high speed USB device using address 4
[.....]



lsusb reports:
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
although the scanner is connected.

Other usb-devices such as memory sticks work normaly. I tried to disable ehci 
but this didn't improve the situation. And the scanner already worked 
successfully with a 2.4 kernel a year ago. 


Hope someone can clear up.

TIA.

Alex






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [usb] device not accepting address / timeout
  2004-12-05 17:46 [usb] device not accepting address / timeout Alexander Dressler
@ 2004-12-06  8:54 ` Roland Kuhn
  0 siblings, 0 replies; 2+ messages in thread
From: Roland Kuhn @ 2004-12-06  8:54 UTC (permalink / raw)
  To: Alexander Dressler; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 6492 bytes --]

Hi Alexander!

I have the same problem with Debian unstable, kernel 2.6.10-rc2-mm3 and 
uhci-hcd (usb1). It affects my keyboard and mouse :-(

pci=noacpi solved the problem for me. Else the interrupt count on 
IRQ#10 stayed at zero and nothing worked. pci=routeirq did not help.

On Dec 5, 2004, at 6:46 PM, Alexander Dressler wrote:

> hi,
>
> I encountered some problems connecting a usb-scanner (usb2). Since I 
> found
> only postings in newgroups that report similar problems but no 
> solution, I
> hope someone here can help.
>
> OS: Debian Sarge
> Tested Kernels:  2.6.9, 2.6.10-rc1, 2.6.10-rc3
>
> Usb output of dmesg:
>
> ehci_hcd 0000:00:10.3: VIA Technologies, Inc. USB 2.0
> ehci_hcd 0000:00:10.3: reset hcs_params 0x2204 dbg=0 cc=2 pcc=2 
> ordered !ppc
> ports=4
> ehci_hcd 0000:00:10.3: reset hcc_params 6872 thresh 7 uframes 
> 256/512/1024
> ehci_hcd 0000:00:10.3: capability 0001 at 68
> ehci_hcd 0000:00:10.3: irq 21, pci mem 0xdfffff00
> ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
> ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 
> period=1024
> Reset HALT
> ehci_hcd 0000:00:10.3: init command 010009 (park)=0 ithresh=1 
> period=256 RUN
> ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
> ehci_hcd 0000:00:10.3: supports USB remote wakeup
> usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb1: default language 0x0409
> usb usb1: Product: VIA Technologies, Inc. USB 2.0
> usb usb1: Manufacturer: Linux 2.6.10-rc1 ehci_hcd
> usb usb1: SerialNumber: 0000:00:10.3
> usb usb1: hotplug
> usb usb1: adding 1-0:1.0 (config #1, interface 0)
> usb 1-0:1.0: hotplug
> hub 1-0:1.0: usb_probe_interface
> hub 1-0:1.0: usb_probe_interface - got id
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 4 ports detected
> hub 1-0:1.0: standalone hub
> hub 1-0:1.0: ganged power switching
> hub 1-0:1.0: individual port over-current protection
> hub 1-0:1.0: Single TT
> hub 1-0:1.0: TT requires at most 8 FS bit times
> hub 1-0:1.0: power on to power good time: 20ms
> hub 1-0:1.0: local power source is good
> hub 1-0:1.0: enabling power on all ports
> ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j  CSC 
> CONNECT
> hub 1-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
> hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
> ehci_hcd 0000:00:10.3: port 4 high speed
> ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-4: new high speed USB device using address 2
> USB Universal Host Controller Interface driver v2.2
> ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
> PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 5
> uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller
> uhci_hcd 0000:00:10.0: irq 21, io base 0xe800
> uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
> uhci_hcd 0000:00:10.0: detected 2 ports
> [....]
> usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
> usb usb3: default language 0x0409
> usb usb3: Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
> Controller
> (#2)
> usb usb3: Manufacturer: Linux 2.6.10-rc1 uhci_hcd
> usb usb3: SerialNumber: 0000:00:10.1
> usb usb3: hotplug
> usb usb3: adding 3-0:1.0 (config #1, interface 0)
> usb 3-0:1.0: hotplug
> hub 3-0:1.0: usb_probe_interface
> hub 3-0:1.0: usb_probe_interface - got id
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 2 ports detected
> hub 3-0:1.0: standalone hub
> hub 3-0:1.0: no power switching (usb 1.0)
> hub 3-0:1.0: individual port over-current protection
> hub 3-0:1.0: power on to power good time: 2ms
> hub 3-0:1.0: local power source is good
> uhci_hcd 0000:00:10.0: suspend_hc
> uhci_hcd 0000:00:10.1: suspend_hc
> usb 1-4: control timeout on ep0in
> ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
> ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
> usb 1-4: device not accepting address 2, error -71
> hub 1-0:1.0: port 4 not reset yet, waiting 50ms
> ehci_hcd 0000:00:10.3: port 4 high speed
> ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-4: new high speed USB device using address 3
> usb 1-4: control timeout on ep0in       <------------------------
> ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
> ehci_hcd 0000:00:10.3: devpath 4 ep0out 3strikes
> usb 1-4: device not accepting address 3, error -71     <--------
> uhci_hcd 0000:00:10.0: port 1 portsc 008a,00
> hub 2-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
> hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
> uhci_hcd 0000:00:10.0: port 2 portsc 008a,00
> hub 2-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
> hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
> uhci_hcd 0000:00:10.1: port 1 portsc 008a,00
> hub 3-0:1.0: port 1, status 0100, change 0003, 12 Mb/s
> hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
> uhci_hcd 0000:00:10.1: port 2 portsc 009a,00
> hub 3-0:1.0: port 2, status 0100, change 0003, 12 Mb/s
> hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
> ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j  CSC 
> CONNECT
> hub 1-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
> hub 1-0:1.0: debounce: port 4: total 100ms stable 100ms status 0x501
> hub 1-0:1.0: port 4 not reset yet, waiting 50ms
> ehci_hcd 0000:00:10.3: port 4 high speed
> ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0  PE
> CONNECT
> usb 1-4: new high speed USB device using address 4
> [.....]
>
>
>
> lsusb reports:
> Bus 003 Device 001: ID 0000:0000
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 001: ID 0000:0000
> although the scanner is connected.
>
> Other usb-devices such as memory sticks work normaly. I tried to 
> disable ehci
> but this didn't improve the situation. And the scanner already worked
> successfully with a 2.4 kernel a year ago.
>
>
> Hope someone can clear up.
>
> TIA.
>
> Alex
>
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

Ciao,
					Roland

--
TU Muenchen, Physik-Department E18, James-Franck-Str. 85747 Garching
Telefon 089/289-12592; Telefax 089/289-12570
--
A mouse is a device used to point at
the xterm you want to type in.
Kim Alm on a.s.r.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 186 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-06  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-05 17:46 [usb] device not accepting address / timeout Alexander Dressler
2004-12-06  8:54 ` Roland Kuhn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome