This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB2077A: PORTDIS low

Part Number: TUSB2077A

I have a TUSB2077A connected to an embedded Linux computer. The computer can see the Hub and assigns it a correct ID (0451:2077 Texas Instruments, Inc. TUSB2077 Hub). However, none of the downstream ports of the hub register a device. The HUBCFG, and PORTPWR pins are high, but PORTDIS is low. What are the conditions for PORTDIS to be low? The schematic is basically copied from the data sheet. I've tried replacing the hub with the same results. What should I be looking for?

Thanks

*My company has a strict policy about sharing schematics so I can not post or send anything*

  • Hello Anthony,

    Could you please use the lsusb command and share the log?
    Share more details on your system (Linux kernel version, etc.) and the status of SUSPEND nad PWRON1-7 outputs.

    The logic that enables or disables the HUBCFG, PORTPWR, PORTDIS outputs is fully under the control of the host system. The TUSB2077A (or any other hub peripheral) can only respond to commands issued by the hosts system, which is a combination of the host controller and operating system.
    The USB host controls the port power of a USB hub using the SET PORT FEATURE (PORT POWER) and CLEAR PORT FEATURE (PORT POWER) commands, these commands cause the TUSB2077A to assert or dessert the PWRONz outputs. These commands are automatically by the USB driver loaded on the USB host. The power commands are sent during system power on / off, reboot, sleep and resume as needed. They will also be sent during overcurrent conditions.
    Do you have pull-ups in OVRCUR terminals?
    Regards
  • Sure.

    We are using a Raspberry pi 3 compute module with Raspbian 9 as the distro.

    uname -r

    4.9.41-v7+

    SUSPEND is low.

    PWRON1-7 are low.

    dmesg

    [ 4978.210802] hub 1-1.1:1.0: USB hub found
    [ 4978.211355] hub 1-1.1:1.0: 7 ports detected
    [ 7467.120760] usb 1-1.1: USB disconnect, device number 13
    [ 7469.979112] usb 1-1.1: new full-speed USB device number 84 using dwc_otg
    [ 7470.112613] usb 1-1.1: New USB device found, idVendor=0451, idProduct=2077
    [ 7470.112627] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    [ 7470.112635] usb 1-1.1: Product: General Purpose USB Hub
    [ 7470.116172] hub 1-1.1:1.0: USB hub found
    [ 7470.116729] hub 1-1.1:1.0: 7 ports detected
    

    lsusb

    Bus 001 Device 084: ID 0451:2077 Texas Instruments, Inc. TUSB2077 Hub

    I have 10k pull-ups on OVRCUR terminals.

  • Hello,

    In the dmseg log, there is a USB disconnection. Is this repeated behavior?

    [ 7467.120760] usb 1-1.1: USB disconnect, device number 13

    Confirm that Vbus is active for all the downstream ports.

    Please, connect a USB downstream device and check that the DP signal of this that port is pulled high. Then run the dsmesg command to see if the device attempts any full-speed connection.

    Is the hub embedded in your board with the host? Could you try connect the Hub in a PC with a windows system ? just want to confirm if the issue follows the driver.

    Regards
  • Sorry, that disconnect was from when I reset the hub. It does not disconnect on its own.

    Vbus is active for the downstream ports.

    When a device is plugged in the DP signal is pulled high. There is no new message in dsmesg.

    The hub is embedded on the board with host. I have tried to connect the hub to another computer with the same result (Ubuntu would recognize the hub as a general purpose hub, but would not see any downstream devices).


    I just noticed this in dmesg, but I can not reproduce it

    [20999.230649] hub 1-1.1:1.0: hub_ext_port_status failed (err = -32)
    [20999.230760] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.231008] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.231133] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.231259] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.231265] usb 1-1.1-port2: Cannot enable. Maybe the USB cable is bad?
    [20999.231383] usb 1-1.1-port2: cannot disable (err = -32)
    [20999.231509] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.231635] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.231758] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.232009] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.232133] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.232139] usb 1-1.1-port2: Cannot enable. Maybe the USB cable is bad?
    [20999.232259] usb 1-1.1-port2: cannot disable (err = -32)
    [20999.232384] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.232508] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.232634] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.232759] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.233008] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.233013] usb 1-1.1-port2: Cannot enable. Maybe the USB cable is bad?
    [20999.233133] usb 1-1.1-port2: cannot disable (err = -32)
    [20999.233259] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.233385] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.233508] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.233634] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.233758] usb 1-1.1-port2: cannot reset (err = -32)
    [20999.233764] usb 1-1.1-port2: Cannot enable. Maybe the USB cable is bad?
    [20999.234009] usb 1-1.1-port2: cannot disable (err = -32)
    [20999.234019] usb 1-1.1-port2: unable to enumerate USB device
    [20999.234134] usb 1-1.1-port2: cannot disable (err = -32)
    [20999.234761] hub 1-1.1:1.0: hub_ext_port_status failed (err = -32)
    [20999.235512] hub 1-1.1:1.0: hub_ext_port_status failed (err = -32)
    [20999.236015] usb 1-1.1: Failed to suspend device, error -32
    

  • Hello Anthony, 

    Does the hub have any unused port? If so, are the DP/DM terminals pulled down?

    It would help if I could have access to the schematics I can contact you directly via email. 

    Regards,

  • All of the ports are connected, but I'm only testing one at a time. They all have 15k pull downs. I got permission to send the schematic via email. Thanks