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.

Linux/TSU6721: Does the USB-OTG of tsu6721 support 100M ethernet?

Part Number: TSU6721

Tool/software: Linux

As title:

Does the USB-OTG of tsu6721 support ethernet?
Using this module, we can recognize the mouse, SD card, U disk and other devices after switching to the OTG function. But it happened when we made usb to Ethernet.
E usb1-port1: disabled by hub (EMI?), re-enabling...
Now we are stuck here to determine if we can use the chip to switch to the OTG state and then switch to Ethernet.

  • 11-16 00:19:58.476 0 0 E [tsu672_device_type_get,581]: device type reg: 80 00 02
    11-16 00:19:58.507 0 0 I xhci-hcd.0.auto: xHCI Host Controller
    11-16 00:19:58.509 0 0 I xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    11-16 00:19:58.509 0 0 I xhci-hcd.0.auto: irq 546, io mem 0x07000000
    11-16 00:19:58.519 0 0 I usb1 : New USB device found, idVendor=1d6b, idProduct=0002
    11-16 00:19:58.519 0 0 I usb1 : New USB device strings: Mfr=3, Product=2, SerialNumber=1
    11-16 00:19:58.519 0 0 I usb1 : Product: xHCI Host Controller
    11-16 00:19:58.519 0 0 I usb1 : Manufacturer: Linux 3.18.71-gc5a47f7-dirty xhci-hcd
    11-16 00:19:58.519 0 0 I usb1 : SerialNumber: xhci-hcd.0.auto
    11-16 00:19:58.529 0 0 I hub 1-0 : 1.0: USB hub found
    11-16 00:19:58.529 0 0 I hub 1-0 : 1.0: 1 port detected
    11-16 00:19:58.534 0 0 E [tsu672_device_type_get,581]: device type reg: 80 00 02
    11-16 00:19:58.540 0 0 I xhci-hcd.0.auto: xHCI Host Controller
    11-16 00:19:58.542 0 0 I xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    11-16 00:19:58.542 0 0 I usb2 : New USB device found, idVendor=1d6b, idProduct=0003
    11-16 00:19:58.542 0 0 I usb2 : New USB device strings: Mfr=3, Product=2, SerialNumber=1
    11-16 00:19:58.542 0 0 I usb2 : Product: xHCI Host Controller
    11-16 00:19:58.542 0 0 I usb2 : Manufacturer: Linux 3.18.71-gc5a47f7-dirty xhci-hcd
    11-16 00:19:58.542 0 0 I usb2 : SerialNumber: xhci-hcd.0.auto
    11-16 00:19:58.542 0 0 E [tsu6721_work_func,724]: cur device type: 2, last device type: 0
    11-16 00:19:58.548 0 0 I hub 2-0 : 1.0: USB hub found
    11-16 00:19:58.549 0 0 I hub 2-0 : 1.0: 1 port detected
    11-16 00:19:58.846 0 0 I usb 1-1 : new full-speed USB device number 2 using xhci-hcd
    11-16 00:19:59.000 0 0 I usb 1-1 : New USB device found, idVendor=05e3, idProduct=0606
    11-16 00:19:59.000 0 0 I usb 1-1 : New USB device strings: Mfr=1, Product=2, SerialNumber=0
    11-16 00:19:59.000 0 0 I usb 1-1 : Product: USB Hub 2.0
    11-16 00:19:59.000 0 0 I usb 1-1 : Manufacturer: ALCOR
    11-16 00:19:59.021 0 0 W usb 1-1 : ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
    11-16 00:19:59.063 0 0 I hub 1-1 : 1.0: USB hub found
    11-16 00:19:59.064 0 0 I hub 1-1 : 1.0: 4 ports detected
    11-16 00:19:59.365 0 0 I usb 1-1.1: new full-speed USB device number 3 using xhci-hcd
    11-16 00:19:59.470 0 0 I usb 1-1.1: not running at top speed; connect to a high speed hub
    11-16 00:19:59.473 0 0 I usb 1-1.1: New USB device found, idVendor=0451, idProduct=8027
    11-16 00:19:59.473 0 0 I usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    11-16 00:19:59.473 0 0 I usb 1-1.1: SerialNumber: C20F005996C5
    11-16 00:19:59.497 0 0 W usb 1-1.1: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
    11-16 00:19:59.577 0 0 I hub 1-1.1: 1.0: USB hub found
    11-16 00:19:59.578 0 0 I hub 1-1.1: 1.0: 2 ports detected
    11-16 00:19:59.876 0 0 I usb 1-1.1.2: new full-speed USB device number 4 using xhci-hcd
    11-16 00:19:59.978 0 0 I usb 1-1.1.2: not running at top speed; connect to a high speed hub
    11-16 00:19:59.980 0 0 I usb 1-1.1.2: New USB device found, idVendor=0424, idProduct=9e00
    11-16 00:19:59.980 0 0 I usb 1-1.1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    11-16 00:20:00.081 0 0 I : smsc95xx v1.0.4
    11-16 00:20:00.356 0 0 I smsc95xx 1-1.1.2: 1.0 eth0: register 'smsc95xx' at usb-xhci-hcd.0.auto-1.1.2, smsc95xx USB 2.0 Ethernet, 0000000000000000
    11-16 00:20:00.466 0 0 I IPv6 : ADDRCONF(NETDEV_UP): eth0: link is not ready
    11-16 00:20:01.923 0 0 I IPv6 : ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    11-16 00:20:01.931 0 0 I smsc95xx 1-1.1.2: 1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
    11-16 00:20:01.984 0 0 I smsc95xx 1-1.1.2: 1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
    11-16 00:20:02.117 0 0 E usb1-port1: disabled by hub (EMI?), re-enabling...
    11-16 00:20:02.123 0 0 I usb 1-1 : USB disconnect, device number 2
    11-16 00:20:02.123 0 0 I usb 1-1.1: USB disconnect, device number 3
    11-16 00:20:02.123 0 0 I usb 1-1.1.2: USB disconnect, device number 4
    11-16 00:20:02.124 0 0 I smsc95xx 1-1.1.2: 1.0 eth0: unregister 'smsc95xx' usb-xhci-hcd.0.auto-1.1.2, smsc95xx USB 2.0 Ethernet
    11-16 00:20:02.147 0 0 E [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
    11-16 00:20:02.215 0 0 E [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister eth0
    11-16 00:20:02.795 0 0 I usb 1-1 : new full-speed USB device number 5 using xhci-hcd
    11-16 00:20:02.941 0 0 I usb 1-1 : New USB device found, idVendor=05e3, idProduct=0606
    11-16 00:20:02.941 0 0 I usb 1-1 : New USB device strings: Mfr=1, Product=2, SerialNumber=0
    11-16 00:20:02.941 0 0 I usb 1-1 : Product: USB Hub 2.0
    11-16 00:20:02.941 0 0 I usb 1-1 : Manufacturer: ALCOR
    11-16 00:20:02.950 0 0 W usb 1-1 : ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
    11-16 00:20:03.027 0 0 I hub 1-1 : 1.0: USB hub found
    11-16 00:20:03.027 0 0 I hub 1-1 : 1.0: 4 ports detected
    11-16 00:20:03.316 0 0 I usb 1-1.1: new full-speed USB device number 6 using xhci-hcd
    11-16 00:20:03.418 0 0 I usb 1-1.1: not running at top speed; connect to a high speed hub
    11-16 00:20:03.420 0 0 I usb 1-1.1: New USB device found, idVendor=0451, idProduct=8027
    11-16 00:20:03.420 0 0 I usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    11-16 00:20:03.420 0 0 I usb 1-1.1: SerialNumber: C20F005996C5
    11-16 00:20:03.429 0 0 W usb 1-1.1: ep 0x81 - rounding interval to 1024 microframes, ep desc says 2040 microframes
    11-16 00:20:03.539 0 0 I hub 1-1.1: 1.0: USB hub found
    11-16 00:20:03.539 0 0 I hub 1-1.1: 1.0: 2 ports detected
    11-16 00:20:03.834 0 0 I usb 1-1.1.2: new full-speed USB device number 7 using xhci-hcd
    11-16 00:20:03.936 0 0 I usb 1-1.1.2: not running at top speed; connect to a high speed hub
    11-16 00:20:03.938 0 0 I usb 1-1.1.2: New USB device found, idVendor=0424, idProduct=9e00
    11-16 00:20:03.938 0 0 I usb 1-1.1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    11-16 00:20:04.034 0 0 I usb 1-1 : USB disconnect, device number 5
    11-16 00:20:04.034 0 0 I usb 1-1.1: USB disconnect, device number 6
    11-16 00:20:04.044 0 0 E [tsu6721_work_func,699]: interrupt reg: 02 00
    11-16 00:20:04.105 0 0 E [tsu672_device_type_get,581]: device type reg: 00 00 00
    11-16 00:20:04.126 0 0 I xhci-hcd.0.auto: remove, state 4
    11-16 00:20:04.167 0 0 E [tsu672_device_type_get,581]: device type reg: 00 00 00
    11-16 00:20:04.175 0 0 I usb 1-1.1.2: USB disconnect, device number 7
    11-16 00:20:04.236 0 0 E [tsu672_device_type_get,581]: device type reg: 00 00 00
    11-16 00:20:04.306 0 0 E [tsu672_device_type_get,581]: device type reg: 00 00 00
    11-16 00:20:04.311 0 0 E [tsu6721_work_func,724]: cur device type: 0, last device type: 2

    Identification log after OTG device insertion
  • not sure, but will find the right person for you
  • Thank you, find the reason. The linux driver needs to add the USB-HOST service, which is to add CONFIG_USB_NET_RNDIS_HOST to the configuration to solve this problem.
    The legacy issue is that if you don't use the TSU6721 chip, you can use USB to Ethernet without adding this service.