October 13, 2020

Fedora -- Getting rid of Modem Manager

I am working with a little microcontroller with USB. When I plug it in, it shows up as /dev/ttyACM0, but linux keeps it locked up for 15 seconds and it is receiving spurious input from some mysterious source.

This turns out to be modem manager. Why in the world this is a default package in an age when perhaps one in 50,000 people sill have a serial modem is a mystery to me. It used to be impossible to get rid of without also getting rid of Network Manager, but now it seems as simple as just getting rid of the package and then rebooting (or finding and killing the service, but I am due for a reboot anyhow). [root@trona tom]# dnf erase ModemManager Dependencies resolved. ================================================================================================================================ Package Architecture Version Repository Size ================================================================================================================================ Removing: ModemManager x86_64 1.12.8-1.fc32 @fedora 3.4 M Removing dependent packages: NetworkManager-bluetooth x86_64 1:1.22.16-1.fc32 @updates 106 k Removing unused dependencies: NetworkManager-wwan x86_64 1:1.22.16-1.fc32 @updates 138 k libmbim x86_64 1.22.0-1.fc32 @fedora 413 k libmbim-utils x86_64 1.22.0-1.fc32 @fedora 145 k libqmi x86_64 1.24.8-1.fc32 @fedora 2.7 M libqmi-utils x86_64 1.24.8-1.fc32 @fedora 6


Have any comments? Questions? Drop me a line!

Adventures in Computing / tom@mmto.org