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:Tsun6721的 USB-OTG 是否支持100M 以太网?

Guru**** 670100 points
Other Parts Discussed in Thread: TSU6721
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/interface-group/interface/f/interface-forum/754907/linux-tsu6721-does-the-usb-otg-of-tsu6721-support-100m-ethernet

器件型号:TSU6721

工具/软件:Linux

作为标题:

SIC6721的 USB-OTG 是否支持以太网?
使用此模块、我们可以在切换到 OTG 功能后识别鼠标、SD 卡、U 盘和其他设备。 但当我们将 USB 改为以太网时、就发生了这种情况。
e USB1-port1:被集线器禁用(EMI?)、重新启用...
现在、我们一直在这里确定我们是否可以使用芯片切换到 OTG 状态、然后切换到以太网。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    11-16 00:19:58.476 0 0 E [tsun672_device_type_get、581]:器件类型寄存器:80 00 02
    11-16 00:19:58.507 0 0 i xhci-hcd.0.auto: xHCI 主机控制器
    11-16 00:19:58.509 0 0 i xhci-hcd.0.auto:新 USB 总线已注册、分配总线编号1
    11-16 00:19:58.509 0 0 I xhci-hcd.0.auto: IRQ 546、IO 内存0x07000000
    11-16 00:19:58.519 0 0 i USB1:找到新的 USB 设备,idVendor=1d6b,idProduct=0002
    11-16 00:19:58.519 0 0 i USB1:新 USB 设备字符串:MFR=3、Product=2、SerialNumber=1
    11-16 00:19:58.519 0 0 i USB1:产品:xHCI 主机控制器
    11-16 00:19:58.519 0 0 i USB1:制造商:Linux 3.18.71-gc5a47f7-m脏 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 集线器1-0:1.0:找到 USB 集线器
    11-16 00:19:58.529 0 0 i 集线器1-0:1.0:检测到1个端口
    11-16 00:19:58.534 0 0 E [tsun672_device_type_get、581]:器件类型寄存器:80 00 02
    11-16 00:19:58.540 0 0 i xhci-hcd.0.auto: xHCI 主机控制器
    11-16 00:19:58.542 0 0 i xhci-hcd.0.auto:新 USB 总线已注册、分配总线编号2
    11-16 00:19:58.542 0 0 i USB2:找到新的 USB 设备,idVendor=1d6b,idProduct=0003
    11-16 00:19:58.542 0 0 i USB2:新 USB 设备字符串:MFR=3、Product=2、SerialNumber=1
    11-16 00:19:58.542 0 0 i USB2:产品:xHCI 主机控制器
    11-16 00:19:58.542 0 0 i USB2:制造商:Linux 3.18.71-gc5a47f7-m脏 xhci-hcd
    11-16 00:19:58.542 0 0 i USB2:Serial Number: xhci-hcd.0.auto
    11-16 00:19:58.542 0 0 E [tsu6721_work _func、724]:CUR 器件类型:2、最后一个器件类型:0
    11-16 00:19:58.548 0 0 i 集线器2-0:1.0:找到 USB 集线器
    11-16 00:19:58.549 0 0 i 集线器2-0:1.0:检测到1个端口
    11-16 00:19:58.846 0 0 i USB 1-1:新的全速 USB 设备编号2,使用 xhci-hcd
    11-16 00:19:59.000 0 0 i USB 1-1:找到新的 USB 设备,idVendor=05e3,idProduct=0606
    11-16 00:19:59.000 0 0 i USB 1-1:新 USB 设备字符串:MFR=1、Product=2、SerialNumber=0
    11-16 00:19:59.000 0 0 i USB 1-1:产品:USB 集线器2.0
    11-16 00:19:59.000 0 0 i USB 1-1:制造商:Alcor
    11-16 00:19:59.021 0 0 W USB 1-1:EP 0x81 -舍入间隔为1024微帧,EP desc 表示2040微帧
    11-16 00:19:59.063 0 0 i 集线器1-1:1.0:找到 USB 集线器
    11-16 00:19:59.064 0 0 i 集线器1-1:1.0:检测到4个端口
    11-16 00:19:59.365 0 0 i USB 1-1.1:使用 xhci-hcd 的全新全速 USB 器件编号3
    11-16 00:19:59.470 0 0 i USB 1-1.1:不以最高速度运行;连接到高速集线器
    11-16 00:19:59.473 0 0 i USB 1-1.1:找到新的 USB 设备、idVendor=0451、idProduct=8027
    11-16 00:19:59.473 0 0 i USB 1-1.1:新 USB 器件字符串:MFR=0、产品=0、串行号码=1
    11-16 00:19:59.473 0 0 I USB 1-1.1:序列号:C20F005996C5
    11-16 00:19:59.497 0 0 W USB 1-1.1:EP 0x81 -舍入间隔为1024微帧、EP desc 表示2040微帧
    11-16 00:19:59.577 0 0 I HUB 1-1.1:1.0:找到 USB 集线器
    11-16 00:19:59.578 0 0 I hub 1-1.1:1.0:检测到2个端口
    11-16 00:19:59.876 0 0 i USB 1-1.1.2:使用 xhci-hcd 的全新全速 USB 器件编号4
    11-16 00:19:59.978 0 0 i USB 1-1.1.2:不以最高速度运行;连接到高速集线器
    11-16 00:19:59.980 0 0 i USB 1-1.1.2:找到新的 USB 设备、idVendor=0424、idProduct=9e00
    11-16 00:19:59.980 0 0 i USB 1-1.1.2:新 USB 器件字符串:MFR=0、产品=0、串行号码=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:在 usb-xhci-hcd.0.auto-1.1.2、smsc95xx USB 2.0以太网、000000000000处注册'smsc95xx'
    11-16 00:20:00.466 0 0 i IPv6:ADDRCONF (NETDEV_UP):eth0:链路未就绪
    11-16 00:20:01.923 0 0 i IPv6:ADDRCONF (NETDEV_CHANGE):eth0:链路就绪
    11-16 00:20:01.931 0 0 i smsc95xx 1-1.1.2:1.0 eth0:链路打开、100Mbps、全双工、LPA 0xC1E1
    11-16 00:20:01.984 0 0 i smsc95xx 1-1.1.2:1.0 eth0:链路打开、100Mbps、全双工、LPA 0xC1E1
    11-16 00:20:02.117 0 0 E USB1-port1:被集线器禁用(EMI?)、重新启用...
    11-16 00:20:02.123 0 0 i USB 1-1:USB 断开连接,设备编号2
    11-16 00:20:02.123 0 0 I USB 1-1.1:USB 断开连接、器件编号3
    11-16 00:20:02.123 0 0 I USB 1-1.1.2:USB 断开连接、器件编号4
    11-16 00:20:02.124 0 0 i smsc95xx 1-1.1.2:1.0 eth0:取消注册'smsc95xx' usb-xhci-hcd.0.auto-1.1.2、smsc95xx USB 2.0以太网
    11-16 00:20:02.147 0 0 E [RMNET:Hi] rmnet_config_notify_CB():内核正在尝试取消注册 eth0
    11-16 00:20:02.215 0 0 E [RMNET:Hi] rmnet_config_notify_CB():内核正在尝试取消注册 eth0
    11-16 00:20:02.795 0 0 i USB 1-1:使用 xhci-hcd 的新全速 USB 设备编号5
    11-16 00:20:02.941 0 0 i USB 1-1:找到新的 USB 设备,idVendor=05e3,idProduct=0606
    11-16 00:20:02.941 0 0 i USB 1-1:新 USB 设备字符串:MFR=1、Product=2、SerialNumber=0
    11-16 00:20:02.941 0 0 i USB 1-1:产品:USB 集线器2.0
    11-16 00:20:02.941 0 0 i USB 1-1:制造商:Alcor
    11-16 00:20:02.950 0 0 W USB 1-1:EP 0x81 -舍入间隔为1024微帧,EP desc 表示2040微帧
    11-16 00:20:03.027 0 0 i 集线器1-1:1.0:找到 USB 集线器
    11-16 00:20:03.027 0 0 i 集线器1-1:1.0:检测到4个端口
    11-16 00:20:03.316 0 0 i USB 1-1.1:使用 xhci-hcd 的新型全速 USB 器件编号6
    11-16 00:20:03.418 0 0 i USB 1-1.1:不以最高速度运行;连接到高速集线器
    11-16 00:20:03.420 0 0 i USB 1-1.1:找到新的 USB 设备、idVendor=0451、idProduct=8027
    11-16 00:20:03.420 0 0 i USB 1-1.1:新 USB 器件字符串:MFR=0、产品=0、串行号码=1
    11-16 00:20:03.420 0 0 I USB 1-1.1:序列号:C20F005996C5
    11-16 00:20:03.429 0 0 W USB 1-1.1:EP 0x81 -舍入间隔为1024微帧、EP desc 表示2040微帧
    11-16 00:20:03.539 0 0 I HUB 1-1.1:1.0:找到 USB 集线器
    11-16 00:20:03.539 0 0 I hub 1-1.1:1.0:检测到2个端口
    11-16 00:20:03.834 0 0 i USB 1-1.1.2:使用 xhci-hcd 的全新全速 USB 器件编号7
    11-16 00:20:03.936 0 0 i USB 1-1.1.2:不以最高速度运行;连接到高速集线器
    11-16 00:20:03.938 0 0 i USB 1-1.1.2:找到新的 USB 设备、idVendor=0424、idProduct=9e00
    11-16 00:20:03.938 0 0 i USB 1-1.1.2:新 USB 器件字符串:MFR=0、产品=0、串行号码=0
    11-16 00:20:04.034 0 0 i USB 1-1:USB 断开连接,设备编号5
    11-16 00:20:04.034 0 0 I USB 1-1.1:USB 断开连接、器件编号6
    11-16 00:20:04.044 0 0 E [tsun6721_work _func、699]:中断寄存器:02 00
    11-16 00:20:04.105 0 0 E [tsun672_device_type_get、581]:器件类型寄存器:00 00
    11-16 00:20:04.126 0 0 I xhci-hcd.0.auto:删除、状态4
    11-16 00:20:04.167 0 0 E [tsun672_device_type_get、581]:器件类型寄存器:00 00
    11-16 00:20:04.175 0 0 I USB 1-1.1.2:USB 断开连接、器件编号7
    11-16 00:20:04.236 0 0 E [tsun672_device_type_get、581]:器件类型寄存器:00 00
    11-16 00:20:04.306 0 0 E [tsun672_device_type_get、581]:器件类型寄存器:00 00
    11-16 00:20:04.311 0 0 E [tsu6721_work _func、724]:CUR 器件类型:0、最后一个器件类型:2

    OTG 器件插入后的标识日志
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    不确定、但会找到适合您的人
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    谢谢、找到原因。 Linux 驱动程序需要添加 USB 主机服务、即将 CONFIG_USB_NET_RNDIS_HOST 添加到配置中以解决此问题。
    传统的问题是、如果您不使用 TSU6721芯片、则可以在不添加此服务的情况下使用 USB 转以太网。