Re: Low performance of g_mass_storage virtual usb device

2013-09-06 Thread Alan Stern
On Fri, 6 Sep 2013, Victor Leschuk wrote: > Hello, thanks for the answer. Maybe I sound stupid but how can I tell > g_mass_storage which controller to use? If I unload dummy_hcd and then > try to modprobe g_mass_storage I get an error "no such device". There is no way to tell g_mass_storage which

Re: Low performance of g_mass_storage virtual usb device

2013-09-05 Thread Victor Leschuk
Hello, thanks for the answer. Maybe I sound stupid but how can I tell g_mass_storage which controller to use? If I unload dummy_hcd and then try to modprobe g_mass_storage I get an error "no such device". # lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID

Re: Low performance of g_mass_storage virtual usb device

2013-09-05 Thread Alan Stern
On Thu, 5 Sep 2013, Victor Leschuk wrote: > Hello all, > > I have recently faced a performance problem with usb gadget emulated > USB flash drive. It is working fine except for very low performance. > > I use a 4Gb file, created by dd and created a ext2 or vfat (tried > both) partition on it. Th

Low performance of g_mass_storage virtual usb device

2013-09-05 Thread Victor Leschuk
Hello all, I have recently faced a performance problem with usb gadget emulated USB flash drive. It is working fine except for very low performance. I use a 4Gb file, created by dd and created a ext2 or vfat (tried both) partition on it. Than I mount it using the following command sequence: