How to resend the udev event or defer init the ttymxc4?

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

How to resend the udev event or defer init the ttymxc4?

570件の閲覧回数
xiongjunhe
Contributor II

I have a imx6ul board, and a 2G modem connected to ttymxc4, also I use the ModemManager to manage it. The ModemManager would listen the udev event of ttymxc4 as the udev rules indict, once the udev has the add action, the ModemManger would talk with the modem.

And this works some times, but sometimes, the modemManger didn't get the udev event of probe of ttymxc4. So my question is:

1. How to simulator a udev event of the 'add' action of ttymxc4 device when the system is booted?

2. Or how can I defer probe the ttymxc4, so the probe uevent wouldn't lost?

ラベル(2)
0 件の賞賛
返信
1 返信

492件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi XiongJun

one can remove driver module with rmmod and then load it again.

Also one can try debug why event not happens using AN4553 Using Open Source

Debugging Tools for Linux on i.MX Processors
http://www.nxp.com/assets/documents/data/en/application-notes/AN4553.pdf

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信