Bug 6491

Summary: ARM Linux iPAQ USB network link failure (cdc ethernet)
Product: Drivers Reporter: Thomas Loeber (kernel)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: REJECTED INSUFFICIENT_DATA    
Severity: normal    
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.17-rc3 Subsystem:
Regression: --- Bisected commit-id:
Bug Depends on:    
Bug Blocks: 5089    

Description Thomas Loeber 2006-05-04 11:35:02 UTC
Most recent kernel where this bug did not occur:
 - 2.6.15

Distribution:
 - Gentoo

Hardware Environment:
 - AMD Athlon(tm) XP 2600+
 - VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge (rev 80)
 - VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
 - HP iPAQ 3950 (familiar linux) + USB cradle

Software Environment:
 - Gentoo (stable branch)
 - vanilla kernel 2.6.17-rc3
 - "usbcore: registered new driver cdc_subset"

Problem Description:
 - the iPAQ doesn't get recognized as an USB device

 - with kernel 2.6.15 when putting the iPAQ in its cradle the iPAQ is registered
as an USB device and with cdc_ether a network link can be established via usb0:

usb 3-2: new full speed USB device using uhci_hcd and address 4
usb0: register 'cdc_subset' at usb-0000:00:10.2-2, Linux Device, ea:73:bf:8b:a6:c5

 - with kernel 2.6.17-rc3 the iPAQ is not registered and the USB debug log is as
follows:

hub 4-0:1.0: state 7 ports 6 chg 0000 evt 0040
ehci_hcd 0000:00:10.3: GetStatus port 6 status 001803 POWER sig=j CSC CONNECT
hub 4-0:1.0: port 6, status 0501, change 0001, 480 Mb/s
hub 4-0:1.0: debounce: port 6: total 100ms stable 100ms status 0x501
ehci_hcd 0000:00:10.3: port 6 full speed --> companion
ehci_hcd 0000:00:10.3: GetStatus port 6 status 003801 POWER OWNER sig=j CONNECT
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0004
uhci_hcd 0000:00:10.2: port 2 portsc 0093,00
hub 3-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
hub 3-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
usb 3-2: new full speed USB device using uhci_hcd and address 4
usb 3-2: ep0 maxpacket = 16
usb 3-2: khubd timed out on ep0in len=16/18
usb 3-2: device descriptor read/all, error 16
usb 3-2: new full speed USB device using uhci_hcd and address 5
usb 3-2: ep0 maxpacket = 16
usb 3-2: khubd timed out on ep0in len=16/18
usb 3-2: device descriptor read/all, error 16
usb 3-2: new full speed USB device using uhci_hcd and address 6
usb 3-2: ep0 maxpacket = 16
usb 3-2: khubd timed out on ep0in len=16/18
usb 3-2: device descriptor read/all, error 16
usb 3-2: new full speed USB device using uhci_hcd and address 7
usb 3-2: ep0 maxpacket = 16
usb 3-2: khubd timed out on ep0in len=16/18
usb 3-2: device descriptor read/all, error 16
hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0004


Steps to reproduce:
 - boot the system
 - put iPAQ into cradle
Comment 1 David Brownell 2006-06-13 12:27:52 UTC
Not clear why UHCI would time this out ... can you try this 
with either an OHCI host, or an EHCI one (through a high speed 
hub), and say whether the same failure appears? 
Comment 2 Greg Kroah-Hartman 2006-08-30 00:57:27 UTC
Closing due to inactivity.

If this is still a problem on the latest kernel release, please reopen with
the requested information.