Hi,
I have imx6ul development board with Linux 4.15.
I found there is a problem with USB automounting (USB 2.0 memory stick). The same type USB sticks, some of them work well with automounting and others don't. With the sticks failed automounting, they can be mounted manually. Here are observations:
1. Good ones don't show up the messages:
[sda] No Caching mode page found
sd 1:0:0:0: [sda] Assuming drive cache: write through
2. Bad ones always display the above messages when they are plugged in.
3. if udevadm monitor is running, all of them are auto-mounted successfully.
The link :
[SOLVED] USB drives no longer being auto mounted [Archive] - Ubuntu Forums
It seems provide a solution for that similar problem, but I found no modules file under /etc folder for yocto/linux.
Can anyone propose a solution?
Thank you
David Zhou
As a workaround you can write a script that parses the log for the messages like one you noted and performs the mount with the command like "mount /dev/sda1 /mnt/sdcard".
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------