Re: usb: gadget: f_mass_storage: detect eject

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 20, 2018 at 4:23 PM Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> 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 other way to use it? Isn't config fs the way to
instantiate GadgetFS/FunctionFS modules (f_mass_storage)?

The only other files I find in sysfs are the ones referring to the
module being loaded, but those do not change with eject.

What should I look for?

Thanks!



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux