Hi All,
How can we find g_mass_storage device is connected to imx6 sabresd based board using sysfs entries mean while how to find it is disconnected.
Thanks & Regards,
Lavanya
you can monitor the sys class device:
# cat /sys/class/udc/ci_hdrc.0/state
This will provide a string with one of the following:
You can manage it with /sys/module/usb_storage/parameters sysfs structure.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Victor ,
Thanks for information, i tried this but it was not helped.
Thanks & Regards,
Lavanya