Modem Manager Fix

From IPRE Wiki
Jump to: navigation, search

When connecting to a Fluke (and Fluke2) from Linux, the first attempt often fails, but subsequent attempts work. The problem seems to be that Modem Manager attempts to query the Fluke by sending some AT commands to it (thinking it's a modem), which causes the Fluke to freak out. The solution is to tell Modem Manager to back off and leave us alone.

My solution is to create file:

 /etc/udev/rules.d/85-mm-rfcomm.rules

This file should contain the following line:

 KERNEL=="rfcomm*", ENV{ID_MM_DEVICE_IGNORE}="1", ENV{ID_MM_CANDIDATE}=""

I should point out that this disables Modem Manager from recognizing any modem that happens to connect on a /dev/rfcomm* device. If you have a smart phone or some other bluetooth device that acts as a modem, then this solution may not work well for you since it would also disable your bluteooth modem.