On Tue, Aug 28, 2018 at 5:09 PM Alan Stern wrote:
> There is another way: modprobe g_file_storage with appropriate
> parameters.
Yes, but I am using a composite device, with ACM and UMS, and also
g_multi (Ethernet+ACM+UMS) is not a option since my HW does not
support enough endpoints for this con
On Mon, Aug 20, 2018 at 4:23 PM Alan Stern wrote:
> It is expected. No notifications for host-initiated ejects were ever
> put into the f_mass_storage driver.
>
> I have never tried to use f_mass_storage under configfs. When you do,
> does the driver create its normal sysfs files?
Is there any
Hi,
I am trying to get some kind of notification when the host ejects a
f_mass_storage disk.
When it happens, and the lun is removable, then the config
/sys/kernel/config/usb_gadget/*/functions/*/lun.*/file is cleared.
I understand that sysfs files can not be monitored with inotify, but
some mig
Dear Icenowy,
In ae49ba1 [1] you list endpoints 1 to 4 for H3, but on the datasheet I read:
Support High-Speed (HS, 480-Mbps), Full-Speed (FS, 12-Mbps) in device mode
Supports bi-directional endpoint0 for Control transfer in device mode
Supports up to 8 User-Configurable Endpoints for Bulk , Isoc
ation works on a am335x, and it also works in this
SOC when using just 1 or 3 functions, it just fails from 3.
Eg:
2x ACM - OK.
1x ACM + 1x Mass Storage works - OK.
3x ACM - ERROR
2x ACM + 1x Mass Storage - ERROR
Might this be a SOC limitation in some way? Hints were to start debugging?
Thanks,