USB Automounting fails

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB Automounting fails

962件の閲覧回数
davidzhou
Contributor V

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

0 件の賞賛
返信
1 返信

810件の閲覧回数
b36401
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信