Hi all,

I have a T40 with an Intel 82801DB:

00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 01)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 01)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 01)

When I plug things into my USB ports, they always show up on the uhci
hub (#1-3), not the ehci hub, and only give me full-speed, not high-speed.
Both hubs are in my usbtree:

[EMAIL PROTECTED]:~$ ./usbtree
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci-hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci-hcd/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=HID, Driver=hid, 1.5M
    |__ Port 2: Dev 3, If 0, Class=stor., Driver=none, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci-hcd/2p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=Corp./6p, 480M

I looked into this a bit.  Here's what the kernel says when I plug in a
USB2 device:

Jul  5 13:54:22 fermat kernel: hub 1-0:0: debounce: port 3: delay 100ms
stable 4 status 0x501

Looks good, it has USB_PORT_STAT_HIGH_SPEED | USB_PORT_STAT_POWER |
USB_PORT_STAT_CONNECTION.

But it fails to follow up on this good news by actually attaching the
device to hub1 (the high speed hub).

By inserting print statements, I tracked the execution through to
hub_port_reset, which always returns status 1, 'device disconnected'.
Weird.  When hub_port_reset calls hub_port_wait_reset, we get the
following iterations through the loop:

Jul  5 13:45:45 fermat kernel: hub 1-0:0: plam: hub_port_wait_reset got
portstatus 0x511
Jul  5 13:45:45 fermat kernel: hub 1-0:0: plam: hub_port_wait_reset got
portstatus 0x511
Jul  5 13:45:45 fermat kernel: hub 1-0:0: plam: hub_port_wait_reset got
portstatus 0x511
Jul  5 13:45:45 fermat kernel: hub 1-0:0: plam: hub_port_wait_reset got
portstatus 0x0
Jul  5 13:45:45 fermat kernel: hub 1-0:0: plam: hub_port_wait_reset got
portstatus 0x0

>From the code, it looks like portstatus should not go to 0.  It should,
instead, go to !USB_PORT_STAT_RESET & USB_PORT_STAT_ENABLE, which would
be 0x503 or something like that.

Does anyone have any ideas as to what might be happening?

I haven't seen any reports of anyone successfully using USB2 on this
particular controller.  I don't know enough about Windows to find out if
it properly initializes USB2 devices.

pat





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to