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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

571 次查看
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 回复

493 次查看
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 项奖励
回复