I am trying to get a usb network cable to work with the tx2 development board.
I have an ubuntu 16.04 vm that is able to use this cable with no problems, but the tx2 does not seem to have the proper drivers installed.
This is the cable I have - Plugable USB 3.0 Windows SuperSpeed Transfer Cable – Plugable Technologies
Here is the output of usb-devices in my vm.
T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 1
P: Vendor=067b ProdID=27a1 Rev=01.00
S: Manufacturer=Prolific Technology Inc.
S: Product=USB-To-USB Cable Bridge
S: SerialNumber=PROLIFICMP000000001
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=96mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=plusb
Here is it on the tx2
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 61 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 1
P: Vendor=067b ProdID=27a1 Rev=01.00
S: Manufacturer=Prolific Technology Inc.
S: Product=USB-To-USB Cable Bridge
S: SerialNumber=PROLIFICMP000000001
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=96mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
Here is the output from sudo lsusb -v from my vm
Bus 004 Device 019: ID 067b:27a1 Prolific Technology, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x067b Prolific Technology, Inc.
idProduct 0x27a1
bcdDevice 1.00
iManufacturer 1 Prolific Technology Inc.
iProduct 2 USB-To-USB Cable Bridge
iSerial 3 PROLIFICMP000000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 24mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 22
bNumDeviceCaps 2
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000002
Link Power Management (LPM) Supported
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x000e
Device can operate at Full Speed (12Mbps)
Device can operate at High Speed (480Mbps)
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 10 micro seconds
bU2DevExitLat 2047 micro seconds
Device Status: 0x000c
(Bus Powered)
U1 Enabled
U2 Enabled
Here it is from the tx2
Bus 002 Device 064: ID 067b:27a1 Prolific Technology, Inc.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 9
idVendor 0x067b Prolific Technology, Inc.
idProduct 0x27a1
bcdDevice 1.00
iManufacturer 1 (error)
iProduct 2 (error)
iSerial 3 (error)
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 24mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0400 1x 1024 bytes
bInterval 0
bMaxBurst 0
Device Status: 0x0401
Self Powered
Seems that there is some error on the tx2 side as iManufacturer, iProduct, iSerial all report errors.
In my vm I noticed the kernel module that is used as the driver is plusb. The default tx2 image does not have the plusb kernel module. I added the following lines to tegra18_defconfig to compile this module and its dependencies.
CONFIG_USB_NET_PLUSB=m
CONFIG_USB_USBNET=m
CONFIG_MII=m
After recompiling the kernel with these options I had no change in the behavior of the device.
Can someone please help me get this usb device to work? Maybe I need to do some other configuration with the kernel? Please let me know if there is anything else I need to do to diagnose the problem.