View: 3141|Reply: 2

USB OTG g_mass_storage extreamly slow

[Copy link]

1

threads

2

posts

19

credits

Novice

Rank: 1

credits
19
Published in 2023-8-22 18:04:46 | Show all floors |Read mode
Hello


I have set up g_mass_storage and it works, well kinda.
sudo modprobe g_mass_storage -r
sudo modprobe g_mass_storage file=/root/usbdrv.img stall=0 removable=y
Do run, but the computer thats connected to the USB OTG does not understand whats up.
I have to run sudo echo 2 > /sys/bus/platform/devices/sunxi_usb_udc/otg_role
Every time aswell, not a big issue.


Main issue is that its extreamly sloooooow, i get about 1MB/sec copying data. On a Raspberry pi zero w i get 15-20MB per second

This is my dmesg, it say high speed connection still slow. any ideas ??

[ 5266.946148] usb close backing file: 0xeebe8800
[ 5267.032972] usb open backing file: /root/piusb.img, 0xeebfee00
[ 5267.033366] g_mass_storage gadget: Mass Storage Function, version: 2009/09/11
[ 5267.033379] g_mass_storage gadget: Number of LUNs=1
[ 5267.033396]  lun0: LUN: removable file: /root/piusb.img
[ 5267.033422] ep_matches, wrn: endpoint already claimed, ep(0xc094ac14, 0xbf1adc1c, ep1in-bulk)
[ 5267.033437] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 5267.033451] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 5267.033469] g_mass_storage gadget: g_mass_storage ready
[ 5267.362174] g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage
[376750.786756] g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage


1

threads

2

posts

19

credits

Novice

Rank: 1

credits
19
 Author| Published in 2023-8-31 15:05:09 | Show all floors
staff ? Noone reads these ?
Published in 7 daybefore | Show all floors
Ephedrin HCL ist der unglaublichste Fatburner ohne Zweifel. Ephedrin HCL Fatburner Kapseln wirken ungemein marked! Mittels Ephedrin haben meine Frau und ich        Patrick Market
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list