Opened 5 years ago

Last modified 4 years ago

#10531 new bug

USB1 devices fails to work on UHCI port

Reported by: pulkomandy Owned by: mmlr
Priority: normal Milestone: R1
Component: Drivers/USB/UHCI Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I tried to use a PL2303 serial adapter. I found out it only works on one of the 3 serial ports on my Thinkpad X200.

When plugging to one of the non-working ports:

KERN: usb hub 37: port 0: new device connected
KERN: usb ehci -1: fullspeed device connected, giving up port ownership
KERN: usb hub 17: port 0: new device connected
KERN: usb error control pipe 41: timeout waiting for queued request to complete
Last message repeated 1 time
KERN: usb error uhci -1: td (0x0a586ba0) error: status: 0x00450007; token: 0x00e0002d;
KERN: usb error control pipe 41: timeout waiting for queued request to complete
KERN: usb error uhci -1: td (0x0a586be0) error: status: 0x00450007; token: 0x00e0002d;
KERN: usb error uhci -1: error while setting device address

When plugging to the working port:

KERN: usb hub 32: port 0: new device connected
KERN: usb ehci -1: fullspeed device connected, giving up port ownership
KERN: usb hub 2: port 0: new device connected
KERN: usb hub 32: port 0: device removed
KERN: usb_serial: probing device: 0x0000/0x0000
KERN: usb_serial: probing device: 0x067b/0x2303
KERN: usb_serial: PL2303 Serial adapter (ATEN/IOGEAR UC232A) (0x067b/0x2303) added

Listusb (device plugged to working port):

[Device /dev/bus/usb/0/0]
    Class .................. 0x00 (Per-interface classes)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0110
    Vendor ID .............. 0x067b (Prolific Technology, Inc.)
    Product ID ............. 0x2303 (PL2303 Serial Port)
    Product Version ........ 0x0300
    Manufacturer String .... ""
    Product String ......... ""
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0xff (Vendor specific)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 10
                    Interval ......... 1
                    Type ............. Interrupt
                    Direction ........ Input
                [Endpoint 1]
                    MaxPacketSize .... 64
                    Interval ......... 0
                    Type ............. Bulk
                    Direction ........ Output
                [Endpoint 2]
                    MaxPacketSize .... 64
                    Interval ......... 0
                    Type ............. Bulk
                    Direction ........ Input
[Device /dev/bus/usb/0/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0110
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0110
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "UHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 02 00 00 00 00 00 ff 
    Hub ports count......... 2
    Hub Controller Current.. 0mA
      Port 1 status....... 0103.0000 Connect Enable Power Fullspeed
      Port 2 status....... 0100.0000 Power
[Device /dev/bus/usb/1/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0110
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0110
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "UHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 02 00 00 00 00 00 ff 
    Hub ports count......... 2
    Hub Controller Current.. 0mA
      Port 1 status....... 0100.0000 Power
      Port 2 status....... 0100.0000 Power
[Device /dev/bus/usb/2/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0110
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0110
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "UHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 02 00 00 00 00 00 ff 
    Hub ports count......... 2
    Hub Controller Current.. 0mA
      Port 1 status....... 0100.0000 Power
      Port 2 status....... 0100.0000 Power
[Device /dev/bus/usb/3/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0110
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0110
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "UHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 02 00 00 00 00 00 ff 
    Hub ports count......... 2
    Hub Controller Current.. 0mA
      Port 1 status....... 0100.0000 Power
      Port 2 status....... 0100.0000 Power
[Device /dev/bus/usb/4/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0110
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0110
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "UHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 02 00 00 00 00 00 ff 
    Hub ports count......... 2
    Hub Controller Current.. 0mA
      Port 1 status....... 0100.0000 Power
      Port 2 status....... 0100.0000 Power
[Device /dev/bus/usb/5/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0110
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0110
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "UHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 02 00 00 00 00 00 ff 
    Hub ports count......... 2
    Hub Controller Current.. 0mA
      Port 1 status....... 0100.0000 Power
      Port 2 status....... 0100.0000 Power
[Device /dev/bus/usb/6/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0200
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0200
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "EHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 06 00 00 00 00 00 ff 
    Hub ports count......... 6
    Hub Controller Current.. 0mA
      Port 1 status....... 0100.0000 Power
      Port 2 status....... 0100.0000 Power
      Port 3 status....... 0100.0000 Power
      Port 4 status....... 0100.0000 Power
      Port 5 status....... 0100.0000 Power
      Port 6 status....... 0100.0000 Power
[Device /dev/bus/usb/7/hub]
    Class .................. 0x09 (Hub)
    Subclass ............... 0x00
    Protocol ............... 0x00
    Max Endpoint 0 Packet .. 64
    USB Version ............ 0x0200
    Vendor ID .............. 0x0000
    Product ID ............. 0x0000
    Product Version ........ 0x0200
    Manufacturer String .... "HAIKU Inc."
    Product String ......... "EHCI RootHub"
    Serial Number .......... ""
    [Configuration 0]
        Configuration String . ""
        [Interface 0]
            [Alternate 0 active]
                Class .............. 0x09 (Hub)
                Subclass ........... 0x00
                Protocol ........... 0x00
                Interface String ... ""
                [Endpoint 0]
                    MaxPacketSize .... 8
                    Interval ......... 255
                    Type ............. Interrupt
                    Direction ........ Input
                [Descriptor 0]
                    Type ............. 0x29
                    Data ............. 06 00 00 00 00 00 ff 
    Hub ports count......... 6
    Hub Controller Current.. 0mA
      Port 1 status....... 0100.0000 Power
      Port 2 status....... 0100.0000 Power
      Port 3 status....... 0100.0000 Power
      Port 4 status....... 0100.0000 Power
      Port 5 status....... 0100.0000 Power
      Port 6 status....... 0100.0000 Power

listdev:

device Serial bus controller (SMBus) [c|5|0]
  vendor 8086: Intel Corporation
  device 2930: 82801I (ICH9 Family) SMBus Controller

device Mass storage controller (SATA controller, AHCI 1.0) [1|6|1]
  vendor 8086: Intel Corporation
  device 2929: 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode]

device Bridge (ISA bridge) [6|1|0]
  vendor 8086: Intel Corporation
  device 2917: ICH9M-E LPC Interface Controller

device Bridge (PCI bridge, Subtractive decode) [6|4|1]
  vendor 8086: Intel Corporation
  device 2448: 82801 Mobile PCI Bridge

device Serial bus controller (USB controller, EHCI) [c|3|20]
  vendor 8086: Intel Corporation
  device 293a: 82801I (ICH9 Family) USB2 EHCI Controller #1

device Serial bus controller (USB controller, UHCI) [c|3|0]
  vendor 8086: Intel Corporation
  device 2936: 82801I (ICH9 Family) USB UHCI Controller #3

device Serial bus controller (USB controller, UHCI) [c|3|0]
  vendor 8086: Intel Corporation
  device 2935: 82801I (ICH9 Family) USB UHCI Controller #2

device Serial bus controller (USB controller, UHCI) [c|3|0]
  vendor 8086: Intel Corporation
  device 2934: 82801I (ICH9 Family) USB UHCI Controller #1

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 2946: 82801I (ICH9 Family) PCI Express Port 4

device Network controller [2|80|0]
  vendor 8086: Intel Corporation
  device 4236: Ultimate N WiFi Link 5300

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 2942: 82801I (ICH9 Family) PCI Express Port 2

device Bridge (PCI bridge, Normal decode) [6|4|0]
  vendor 8086: Intel Corporation
  device 2940: 82801I (ICH9 Family) PCI Express Port 1

device Multimedia controller (Audio device) [4|3|0]
  vendor 8086: Intel Corporation
  device 293e: 82801I (ICH9 Family) HD Audio Controller

device Serial bus controller (USB controller, EHCI) [c|3|20]
  vendor 8086: Intel Corporation
  device 293c: 82801I (ICH9 Family) USB2 EHCI Controller #2

device Serial bus controller (USB controller, UHCI) [c|3|0]
  vendor 8086: Intel Corporation
  device 2939: 82801I (ICH9 Family) USB UHCI Controller #6

device Serial bus controller (USB controller, UHCI) [c|3|0]
  vendor 8086: Intel Corporation
  device 2938: 82801I (ICH9 Family) USB UHCI Controller #5

device Serial bus controller (USB controller, UHCI) [c|3|0]
  vendor 8086: Intel Corporation
  device 2937: 82801I (ICH9 Family) USB UHCI Controller #4

device Network controller (Ethernet controller) [2|0|0]
  vendor 8086: Intel Corporation
  device 10f5: 82567LM Gigabit Network Connection

device Communication controller [7|80|0]
  vendor 8086: Intel Corporation
  device 2a44: Mobile 4 Series Chipset MEI Controller

device Display controller [3|80|0]
  vendor 8086: Intel Corporation
  device 2a43: Mobile 4 Series Chipset Integrated Graphics Controller

device Display controller (VGA compatible controller, VGA controller) [3|0|0]
  vendor 8086: Intel Corporation
  device 2a42: Mobile 4 Series Chipset Integrated Graphics Controller

device Bridge (Host bridge) [6|0|0]
  vendor 8086: Intel Corporation
  device 2a40: Mobile 4 Series Chipset Memory Controller Hub

Possible duplicate: #3583.

Change History (2)

comment:1 Changed 5 years ago by pulkomandy

Summary: PL2303 serial converter fails to work on UHCI portUSB1 devices fails to work on UHCI port

I have the same problem on this machine with all USB1 devices: my mouse and keybpoard have the same issue. So 2 of my 3 USB ports are only useable with USB2 devices (usb sticks and hard drives work ok).

Note that the issue isn't 100% reproductible, sometimes I get this to work, but not often.

comment:2 Changed 4 years ago by waddlesplash

Component: Drivers/USBDrivers/USB/UHCI

Filtering UHCI tickets from Drivers/USB to Drivers/USB/UHCI.

Note: See TracTickets for help on using tickets.