Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu
Which version of system do you use? Please provide the version of the system here:
Linux Khadas 5.15.137 #1.7.3 Ubuntu 24.04.1 LTS
Please describe your issue below:
When testing USB 3.0 transfer speed for our device it will transfer at around 1300Mbps on regular linux x86, but on the vim4 connected to the USB 3.0 port, the one close to gigabit lan, it will transfer at around 400Mbps only.
Post a console log of your issue below:
Here are the logs of the device ( thinkRF_R6000 ) information:
root@Khadas:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 005: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 001 Device 006: ID 2c7c:0306 Quectel Wireless Solutions Co., Ltd. EG06/EP06/EM06 LTE-A modem
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 005: ID 3830:5301 thinkRF R6000-408
root@Khadas:~/git_clones/libtrf/build/source/arm_build# udevadm info --query=all --name=/dev/bus/usb/002/003
P: /devices/platform/soc/fde00000.crg3drd/xhci-hcd-meson.0.auto/usb2/2-1
M: 2-1
R: 1
U: usb
T: usb_device
D: c 189:130
N: bus/usb/002/003
L: 0
V: usb
E: DEVPATH=/devices/platform/soc/fde00000.crg3drd/xhci-hcd-meson.0.auto/usb2/2-1
E: DEVNAME=/dev/bus/usb/002/003
E: DEVTYPE=usb_device
E: DRIVER=usb
E: PRODUCT=3830/5301/0
E: TYPE=239/2/1
E: BUSNUM=002
E: DEVNUM=003
E: MAJOR=189
E: MINOR=130
E: SUBSYSTEM=usb
E: USEC_INITIALIZED=129831604
E: ID_BUS=usb
E: ID_MODEL=R6000-408
E: ID_MODEL_ENC=R6000-408
E: ID_MODEL_ID=5301
E: ID_SERIAL=thinkRF_R6000-408_500173880002
E: ID_SERIAL_SHORT=500173880002
E: ID_VENDOR=thinkRF
E: ID_VENDOR_ENC=thinkRF
E: ID_VENDOR_ID=3830
E: ID_REVISION=0000
E: ID_USB_MODEL=R6000-408
E: ID_USB_MODEL_ENC=R6000-408
E: ID_USB_MODEL_ID=5301
E: ID_USB_SERIAL=thinkRF_R6000-408_500173880002
E: ID_USB_SERIAL_SHORT=500173880002
E: ID_USB_VENDOR=thinkRF
E: ID_USB_VENDOR_ENC=thinkRF
E: ID_USB_VENDOR_ID=3830
E: ID_USB_REVISION=0000
E: ID_USB_INTERFACES=:fe0301:020201:0a0000:
E: ID_PATH_WITH_USB_REVISION=platform-xhci-hcd-meson.0.auto-usbv3-0:1
E: ID_PATH=platform-xhci-hcd-meson.0.auto-usb-0:1
E: ID_PATH_TAG=platform-xhci-hcd-meson_0_auto-usb-0_1
root@Khadas:~/git_clones/libtrf/build/source/arm_build# udevadm info -a -p $(udevadm info -q path -n /dev/bus/usb/002/003)
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/platform/soc/fde00000.crg3drd/xhci-hcd-meson.0.auto/usb2/2-1':
KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{authorized}=="1"
ATTR{avoid_reset_quirk}=="0"
ATTR{bConfigurationValue}=="1"
ATTR{bDeviceClass}=="ef"
ATTR{bDeviceProtocol}=="01"
ATTR{bDeviceSubClass}=="02"
ATTR{bMaxPacketSize0}=="9"
ATTR{bMaxPower}=="96mA"
ATTR{bNumConfigurations}=="1"
ATTR{bNumInterfaces}==" 3"
ATTR{bcdDevice}=="0000"
ATTR{bmAttributes}=="c0"
ATTR{busnum}=="2"
ATTR{configuration}==""
ATTR{devnum}=="3"
ATTR{devpath}=="1"
ATTR{devspec}=="(null)"
ATTR{idProduct}=="5301"
ATTR{idVendor}=="3830"
ATTR{ltm_capable}=="no"
ATTR{manufacturer}=="thinkRF"
ATTR{maxchild}=="0"
ATTR{power/active_duration}=="2545828"
ATTR{power/autosuspend}=="2"
ATTR{power/autosuspend_delay_ms}=="2000"
ATTR{power/connected_duration}=="2545828"
ATTR{power/control}=="on"
ATTR{power/level}=="on"
ATTR{power/persist}=="1"
ATTR{power/runtime_active_time}=="2545609"
ATTR{power/runtime_status}=="active"
ATTR{power/runtime_suspended_time}=="0"
ATTR{product}=="R6000-408"
ATTR{quirks}=="0x0"
ATTR{removable}=="unknown"
ATTR{remove}=="(not readable)"
ATTR{rx_lanes}=="2"
ATTR{serial}=="500173880002"
ATTR{speed}=="5000"
ATTR{tx_lanes}=="2"
ATTR{urbnum}=="272108"
ATTR{version}==" 3.10"
looking at parent device '/devices/platform/soc/fde00000.crg3drd/xhci-hcd-meson.0.auto/usb2':
KERNELS=="usb2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{authorized}=="1"
ATTRS{authorized_default}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceProtocol}=="03"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bMaxPacketSize0}=="9"
ATTRS{bMaxPower}=="0mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bcdDevice}=="0515"
ATTRS{bmAttributes}=="e0"
ATTRS{busnum}=="2"
ATTRS{configuration}==""
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{idProduct}=="0003"
ATTRS{idVendor}=="1d6b"
ATTRS{interface_authorized_default}=="1"
ATTRS{ltm_capable}=="no"
ATTRS{manufacturer}=="Linux 5.15.137 xhci-hcd"
ATTRS{maxchild}=="1"
ATTRS{power/active_duration}=="2653736"
ATTRS{power/autosuspend}=="0"
ATTRS{power/autosuspend_delay_ms}=="0"
ATTRS{power/connected_duration}=="2672076"
ATTRS{power/control}=="auto"
ATTRS{power/level}=="auto"
ATTRS{power/runtime_active_time}=="2653726"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="18342"
ATTRS{power/wakeup}=="disabled"
ATTRS{power/wakeup_abort_count}==""
ATTRS{power/wakeup_active}==""
ATTRS{power/wakeup_active_count}==""
ATTRS{power/wakeup_count}==""
ATTRS{power/wakeup_expire_count}==""
ATTRS{power/wakeup_last_time_ms}==""
ATTRS{power/wakeup_max_time_ms}==""
ATTRS{power/wakeup_total_time_ms}==""
ATTRS{product}=="xHCI Host Controller"
ATTRS{quirks}=="0x0"
ATTRS{removable}=="unknown"
ATTRS{remove}=="(not readable)"
ATTRS{rx_lanes}=="1"
ATTRS{serial}=="xhci-hcd-meson.0.auto"
ATTRS{speed}=="10000"
ATTRS{tx_lanes}=="1"
ATTRS{urbnum}=="85"
ATTRS{version}==" 3.10"
looking at parent device '/devices/platform/soc/fde00000.crg3drd/xhci-hcd-meson.0.auto':
KERNELS=="xhci-hcd-meson.0.auto"
SUBSYSTEMS=="platform"
DRIVERS=="xhci-hcd-meson"
ATTRS{driver_override}=="(null)"
ATTRS{power/control}=="on"
ATTRS{power/runtime_active_time}=="2672092"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
ATTRS{power/wakeup}=="disabled"
ATTRS{power/wakeup_abort_count}==""
ATTRS{power/wakeup_active}==""
ATTRS{power/wakeup_active_count}==""
ATTRS{power/wakeup_count}==""
ATTRS{power/wakeup_expire_count}==""
ATTRS{power/wakeup_last_time_ms}==""
ATTRS{power/wakeup_max_time_ms}==""
ATTRS{power/wakeup_total_time_ms}==""
looking at parent device '/devices/platform/soc/fde00000.crg3drd':
KERNELS=="fde00000.crg3drd"
SUBSYSTEMS=="platform"
DRIVERS=="crg_drd"
ATTRS{driver_override}=="(null)"
ATTRS{power/autosuspend_delay_ms}=="5000"
ATTRS{power/control}=="on"
ATTRS{power/runtime_active_time}=="2672099"
ATTRS{power/runtime_status}=="active"
ATTRS{power/runtime_suspended_time}=="0"
looking at parent device '/devices/platform/soc':
KERNELS=="soc"
SUBSYSTEMS=="platform"
DRIVERS=="simple-pm-bus"
ATTRS{driver_override}=="(null)"
ATTRS{power/control}=="auto"
ATTRS{power/runtime_active_time}=="0"
ATTRS{power/runtime_status}=="unsupported"
ATTRS{power/runtime_suspended_time}=="0"
looking at parent device '/devices/platform':
KERNELS=="platform"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{power/control}=="auto"
ATTRS{power/runtime_active_time}=="0"
ATTRS{power/runtime_status}=="unsupported"
ATTRS{power/runtime_suspended_time}=="0"