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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

397 Views
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?

Labels (2)
0 Kudos
1 Reply

319 Views
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 Kudos