[ltp] R50p & 2.6.5 USB Problems

hamish linux-thinkpad@linux-thinkpad.org
Fri, 16 Apr 2004 23:03:20 +0100


Hi all.

I have a brand new r50p. (TJ22AUK == 1832-2AG, of which IBM don't seem 
to have any 2AG's on their support site yet for some reason) . I've 
installed Debian which I had on my old A20p, and put unstanble on it 
(Not the whole of unstable, some bits I haven't updated), but I've put 
on the new 2.6.5 kernal image etc. And I've also grabbed a copy of the 
2.6.5 kernel sources & compiled it myself.

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? The BT LED on the laptop is on when it first boots, but 
switches off around the same time ACPI loads (Just to make sure I've 
tried apm as well, but same thing).

I also can't get the USB port to see my older bluetooth USB dongle... 
Everything loads, but the most action I've ever got out of it is a 
kernel oops I've attached below...

Apr 16 17:32:14 ballbreaker kernel: usb 1-4: registering 1-4:1.0 (config 
#1, interface 0)
Apr 16 17:32:14 ballbreaker kernel: drivers/usb/core/usb.c: usb_hotplug
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: usb_probe_interface
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: usb_probe_interface - 
got id
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: USB hub found
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: 4 ports detected
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: standalone hub
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: individual port power 
switching
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: individual port 
over-current protection
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: Single TT
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: TT requires at most 16 
FS bit times
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: Port indicators are  
supported
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: power on to power good 
time: 100ms
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: hub controller current 
requirement: 100mA
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: local power source is good
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: no over-current 
condition exists
Apr 16 17:32:14 ballbreaker kernel: drivers/usb/host/ehci-sched.c: 
scheduled qh df6cf100 usecs 7/0 period 256.0 starting 255.0 (gap 0)
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: enabling power on all ports
Apr 16 17:32:14 ballbreaker kernel: ehci_hcd 0000:00:1d.7: GetStatus 
port 5 status 001803 POWER sig=j  CSC CONNECT
Apr 16 17:32:14 ballbreaker kernel: hub 1-0:1.0: port 5, status 501, 
change 1, 480 Mb/s
Apr 16 17:32:14 ballbreaker kernel: hub 1-0:1.0: debounce: port 5: delay 
100ms stable 4 status 0x501
Apr 16 17:32:14 ballbreaker kernel: ehci_hcd 0000:00:1d.7: port 5 full 
speed --> companion
Apr 16 17:32:14 ballbreaker kernel: ehci_hcd 0000:00:1d.7: GetStatus 
port 5 status 003801 POWER OWNER sig=j  CONNECT
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: port 4, status 101, 
change 1, 12 Mb/s
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: debounce: port 4: delay 
100ms stable 4 status 0x101
Apr 16 17:32:14 ballbreaker kernel: hub 1-4:1.0: port 4 not reset yet, 
waiting 10ms
Apr 16 17:32:14 ballbreaker kernel: usb 1-4.4: new full speed USB device 
using address 3
Apr 16 17:32:14 ballbreaker kernel: ehci_hcd 0000:00:1d.7: qh df6cf180 
(#0) state 1
Apr 16 17:32:14 ballbreaker kernel: usb 1-4.4: new device strings: 
Mfr=0, Product=0, SerialNumber=0
Apr 16 17:32:14 ballbreaker kernel: drivers/usb/core/usb.c: usb_hotplug
Apr 16 17:32:14 ballbreaker kernel: usb 1-4.4: registering 1-4.4:1.0 
(config #1, interface 0)
Apr 16 17:32:14 ballbreaker kernel: drivers/usb/core/usb.c: usb_hotplug
Apr 16 17:32:14 ballbreaker kernel: hci_usb 1-4.4:1.0: usb_probe_interface
Apr 16 17:32:14 ballbreaker kernel: hci_usb 1-4.4:1.0: 
usb_probe_interface - got id
Apr 16 17:32:14 ballbreaker kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000004
Apr 16 17:32:14 ballbreaker kernel:  printing eip:
Apr 16 17:32:14 ballbreaker kernel: e09c9b99
Apr 16 17:32:14 ballbreaker kernel: *pde = 00000000
Apr 16 17:32:14 ballbreaker kernel: Oops: 0000 [#1]
Apr 16 17:32:14 ballbreaker kernel: CPU:    0
Apr 16 17:32:14 ballbreaker kernel: EIP:    
0060:[pg0+542874521/1069473792]    Not tainted
Apr 16 17:32:14 ballbreaker kernel: EFLAGS: 00010246   (2.6.5)
Apr 16 17:32:14 ballbreaker kernel: EIP is at 
usb_disable_interface+0x11/0x44 [usbcore]
Apr 16 17:32:14 ballbreaker kernel: eax: dfca9960   ebx: 00000000   ecx: 
00000000   edx: 00000007
Apr 16 17:32:14 ballbreaker kernel: esi: 00000000   edi: 00000001   ebp: 
df714400   esp: dfa7bd64
Apr 16 17:32:14 ballbreaker kernel: ds: 007b   es: 007b   ss: 0068
Apr 16 17:32:14 ballbreaker kernel: Process khubd (pid: 69, 
threadinfo=dfa7a000 task=dfa8f1b0)
Apr 16 17:32:14 ballbreaker kernel: Stack: 00000002 dfc77190 00000001 
df714400 e09c9e3f df714400 dfca9960 00000002
Apr 16 17:32:14 ballbreaker kernel:        dfc771d8 00000001 dfca9860 
00000000 dfca9960 e094c69f df714400 00000001
Apr 16 17:32:14 ballbreaker kernel:        00000002 e094d860 e094d760 
ffffffed dfca9a74 dfa7be00 00000028 dfa7be30
Apr 16 17:32:14 ballbreaker kernel: Call Trace:
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542875199/1069473792] 
usb_set_interface+0xdb/0x14c [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542361247/1069473792] 
hci_usb_probe+0x313/0x488 [hci_usb]
Apr 16 17:32:14 ballbreaker kernel:  [alloc_inode+48/336] 
alloc_inode+0x30/0x150
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542851214/1069473792] 
usb_probe_interface+0x86/0xa0 [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [bus_match+49/92] bus_match+0x31/0x5c
Apr 16 17:32:14 ballbreaker kernel:  [device_attach+86/140] 
device_attach+0x56/0x8c
Apr 16 17:32:14 ballbreaker kernel:  [bus_add_device+80/136] 
bus_add_device+0x50/0x88
Apr 16 17:32:14 ballbreaker kernel:  [device_add+136/280] 
device_add+0x88/0x118
Apr 16 17:32:14 ballbreaker kernel:  [device_register+17/24] 
device_register+0x11/0x18
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542876023/1069473792] 
usb_set_configuration+0x1fb/0x234 [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542855652/1069473792] 
usb_new_device+0x444/0x4d8 [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [printk+266/280] printk+0x10a/0x118
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542862413/1069473792] 
hub_port_connect_change+0x22d/0x2ac [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542862866/1069473792] 
hub_events+0x146/0x398 [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542863509/1069473792] 
hub_thread+0x31/0xfc [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [pg0+542863460/1069473792] 
hub_thread+0x0/0xfc [usbcore]
Apr 16 17:32:14 ballbreaker kernel:  [default_wake_function+0/28] 
default_wake_function+0x0/0x1c
Apr 16 17:32:14 ballbreaker kernel:  [kernel_thread_helper+5/12] 
kernel_thread_helper+0x5/0xc
Apr 16 17:32:14 ballbreaker kernel:
Apr 16 17:32:14 ballbreaker kernel: Code: 80 7e 04 00 74 25 31 ff 8b 46 
0c 8a 44 38 02 25 ff 00 00 00



Any secrets to getting USB to work correctly?


TIA

Hamish.