I can connect my Sony Ericsson cell via USB and use it as modem. It all works pretty much out of the box via NetworkManager, I just have to set connection parameters given by my ISP.
However, if I unplug the cell, then plug it back again, it receives new dev id (ttyACM1, ttyACM2, …) and the NetworkManager profile does not recognize it as the same device again. I have to kill modem-manager, it restarts automatically and dev numbers are reset.
How do I force the same cell to be recognized as same tty device? Do I need a HAL policy?