Re: usb: gadget: f_mass_storage: detect eject

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

 



Hi,

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes:
>> 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?
>
> Somewhere under /sys/devices will be a directory for the system's USB
> device controller.  Beneath that will be the gadget directory for 

you can start from /sys/class/udc/

-- 
balbi



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

  Powered by Linux