[ltp] R50p & 2.6.5 USB Problems

hamish linux-thinkpad@linux-thinkpad.org
Sat, 17 Apr 2004 02:26:22 +0100


Brad Langhorst wrote:

>On Fri, 2004-04-16 at 18:03, hamish wrote:
>  
>
>>Hi all.
>>    
>>
>
>  
>
>>Unfortunatley the USB doesn't appear to work... Or at least not properly...
>>
>>if I understand it correctly, the the USB bus holds the bluetooth 
>>adapter on my laptop. However, although the ehci-hcd module loads & 
>>finds the usb chip, there's no bluetooth found... Does it have to be 
>>enabled somehow? 
>>    
>>
>fn f5
>you may also need to load the uhci-hcd module (i think the bluetooth on
>on the usb 1.0 bus 
>
>  
>

Thanks... It's looking... different now... 3 USB 1.x busses? What's 
supposed to be on them if both of the external USB ports are on the USB 
2.x bus?

Sadly, hci_usb still causes a kernel oops...

uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB USB (Hub #3)
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 11, io base 00001840
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: detected 2 ports
uhci_hcd 0000:00:1d.2: root hub device address 1
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
drivers/usb/core/message.c: USB device number 1 default language ID 0x409
usb usb4: Product: Intel Corp. 82801DB USB (Hub #3)
usb usb4: Manufacturer: Linux 2.6.5 uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.2
drivers/usb/core/usb.c: usb_hotplug
usb usb4: registering 4-0:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
hub 4-0:1.0: standalone hub
hub 4-0:1.0: unknown reserved power switching mode
hub 4-0:1.0: individual port over-current protection
hub 4-0:1.0: Port indicators are not supported
hub 4-0:1.0: power on to power good time: 2ms
hub 4-0:1.0: hub controller current requirement: 0mA
hub 4-0:1.0: local power source is good
hub 4-0:1.0: no over-current condition exists
hub 4-0:1.0: enabling power on all ports
uhci_hcd 0000:00:1d.2: port 1 portsc 0093
hub 4-0:1.0: port 1, status 101, change 1, 12 Mb/s
hub 4-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101
usb 4-1: new full speed USB device using address 2
usb 4-1: new device strings: Mfr=0, Product=0, SerialNumber=0
drivers/usb/core/usb.c: usb_hotplug
usb 4-1: registering 4-1:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
hci_usb 4-1:1.0: usb_probe_interface
hci_usb 4-1:1.0: usb_probe_interface - got id
Unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
e0974d01
*pde = 00000000
Oops: 0000 [#1]
CPU:    0
EIP:    0060:[<e0974d01>]    Not tainted
EFLAGS: 00010246   (2.6.5)
EIP is at usb_disable_interface+0x11/0x50 [usbcore]
eax: def4da80   ebx: 00000000   ecx: 00000017   edx: dff5f0a0
esi: 00000001   edi: 00000000   ebp: defbfc00   esp: df6fbd70
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 182, threadinfo=df6fa000 task=df78f180)
Stack: 00000002 00000001 df566570 defbfc00 e0974fb1 defbfc00 def4da80 
00000000
       def4da80 00000000 df566480 df566538 dfcac1a0 e09c1602 defbfc00 
00000001
       00000002 00000018 00000003 00000002 00000001 00000011 00000001 
00000003
Call Trace:
 [<e0974fb1>] usb_set_interface+0x91/0x160 [usbcore]
 [<e09c1602>] hci_usb_probe+0x232/0x480 [hci_usb]
 [<c0164c75>] simple_lookup+0x25/0x30
 [<e096f0a7>] usb_probe_interface+0x87/0xa0 [usbcore]
 [<c023086e>] bus_match+0x2e/0x60
 [<c02308da>] device_attach+0x3a/0x90
 [<c0230a7c>] bus_add_device+0x4c/0x90
 [<c022fb09>] device_add+0x79/0x100
 [<c022fba1>] device_register+0x11/0x20
 [<e097533c>] usb_set_configuration+0x1ec/0x290 [usbcore]
 [<e097013e>] usb_new_device+0x2ae/0x520 [usbcore]
 [<e0971c59>] hub_port_connect_change+0x1a9/0x2a0 [usbcore]
 [<e0972055>] hub_events+0x305/0x3a0 [usbcore]
 [<e0972118>] hub_thread+0x28/0xf0 [usbcore]
 [<c011a740>] default_wake_function+0x0/0x20
 [<e09720f0>] hub_thread+0x0/0xf0 [usbcore]
 [<c0107255>] kernel_thread_helper+0x5/0x10

Code: 80 7b 04 00 74 2b 31 f6 8d b4 26 00 00 00 00 8b 43 0c 47 8a
 <3>hw_random: RNG not detected
uhci_hcd 0000:00:1d.0: suspend_hc


Anything I have to do to fix that? Has anyone actually got this working 
yet? I haven't found a great deal of info round the 'net about getting 
the internal BT to work...