I use ROCK Pi 4B v1.3, with Debian9Desktop from Radxa download. Kernel 4.4.154-90.
I want to use it as external USB storage for my PC.
I connect it via USB OTG to my host PC and starts g_mass_storage.
I noticed that it is running as USB2.0 device instead of USB3.0 device.
The configuration is: ROCK Pi 4 with NVMe disk connected to it.
On the NVMe is created a container file, which is mount as g_mass_storage to USB OTG port.
Transfer rate is quite good for USB2.0 standard - 31MB/s. But is not satisfying for USB3.0 standard.
The PC, I connect the ROCK Pi 4, is running Windows7 system.
As I checked in host PC, the ROCK Pi 4 is recognized as USB2.0 device.
So how to connect the ROCK Pi OTG g_mass_storage as USB3.0 device ?
Below the dmesg:
[ 95.472596] EXT4-fs (nvme0n1p1): mounted filesystem with ordered data mode. Opts: (null)
[ 95.595941] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 95.607591] ntfs: volume version 3.1.
[ 147.409421] Mass Storage Function, version: 2009/09/11
[ 147.409899] LUN: removable file: (no medium)
[ 147.410477] LUN: removable read only file: /mnt/nvme/file.img
[ 147.411000] Number of LUNs=1
[ 147.411650] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 147.412394] g_mass_storage gadget: g_mass_storage ready
[ 147.784374] g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage