December 20th, 2016, 02:15 PM
TS4200 autodetect MMC plug or remove
I'm using a TS4200 with the default debian distribution running on the XNAND.
Could you please help me to find how to detect when a micro SD card is plugged in or out ?
Thank you for your next answer
December 21st, 2016, 08:59 AM
I would like that when a micro SD card is plugged into the TS its block devices appears in /dev so that I will just have to watch /dev in order to execute whatever I need.
I also need that once plugged out, the mmcblck disappear from the /dev.
I know it's possible because somebody did with other hardware unfortunatly, I don't have enough knowledge to do that without any help.