Sub :- USB pen drive not auto mounted / unmounted in imx6 kitkat
we have developed a custom board using imx6DL processor.
We have developed android kitkat 4.4.2 for this board.
When we are connecting usb pen drive then in dmesg it is shown as sda.
But it is not get mounted anywhere. If we manually mount it then we can see contents of pen drive.
If we remove pen drive and again connected then in dmesg sdb shown.
Means every time pen drive connected new node created for pen drive in /dev/block/ and we have to manually mount it.
Also in Android setting -- storage -- usb storage it is not reflected even after mounting it manually.
Please give some solution for this problem..