我有一个 USB 以太网设备,当我连接到几台 Ubuntu 18.04 机器(全新安装)时,它可以正常连接。例如,我将其视为网络接口
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether b6:30:f8:52:01:76 brd ff:ff:ff:ff:ff:ff
inet6 fe80::b430:f8ff:fe52:176/64 scope link
valid_lft forever preferred_lft forever
这是我将设备插入工作设置时的 dmesg 日志:
[ 66.350555] usb 1-1.2: new high-speed USB device number 3 using xhci_hcd
[ 66.451897] usb 1-1.2: New USB device found, idVendor=1cf2, idProduct=a4a2, bcdDevice= 3.14
[ 66.451918] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 66.451931] usb 1-1.2: Product: RNDIS/Ethernet Gadget
[ 66.451944] usb 1-1.2: Manufacturer: Linux 3.14.70-fslc+g34b9927 with 2184000.usb
[ 66.519502] cdc_eem 1-1.2:1.0 usb0: register 'cdc_eem' at usb-0000:01:00.0-1.2, CDC EEM Device, b6:30:f8:52:01:76
[ 66.521772] usbcore: registered new interface driver cdc_eem
但是,当我将设备连接到运行 Ubuntu 18.04 的 Nvidia Jetson 时,它并没有显示为 NIC,并且我在 dmesg 中收到以下日志(缺少设备注册):
[ 153.497340] usb 1-2.4: new high-speed USB device number 5 using tegra-xusb
[ 153.519325] usb 1-2.4: New USB device found, idVendor=1cf2, idProduct=a4a2
[ 153.519348] usb 1-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 153.519366] usb 1-2.4: Product: RNDIS/Ethernet Gadget
[ 153.519381] usb 1-2.4: Manufacturer: Linux 3.14.70-fslc+g34b9927 with 2184000.usb
对于解决此问题有什么建议或见解吗?
sudo dmesg | grep cdc
编辑:工作设备上的结果:
pi@rpi10:~$ sudo dmesg | grep cdc
[91816.165668] cdc_eem 1-1.2:1.0 usb0: register 'cdc_eem' at usb-0000:01:00.0-1.2, CDC EEM Device, ca:33:ae:de:1b:65
[91816.165860] usbcore: registered new interface driver cdc_eem
pi@rpi10:~$
结果sudo dmesg | grep cdc
非工作装置:
jet@jetson10:~$ sudo dmesg | grep cdc
jet@jetson10:~$