howto remove modem-manager ?

poma pomidorabelisima at gmail.com
Fri Dec 21 11:48:29 UTC 2012


On 12/20/2012 01:37 AM, John Wendel wrote:
> Can someone give me an incantation that will make modem-manager go away?
> I don't have a modem or wireless network in the box and this thing is
> triggering my OCD.
> 
> Thanks.
> 
> John
> 


Udev is your friend, i.e. ENV{ID_MM_DEVICE_IGNORE}="1".
…
/etc/udev/rules.d/78-mm-pci-device-blacklist.rules:
This is a custom udev rule file in addition to ModemManager's blacklist
files

ACTION!="add|change", GOTO="mm_pci_device_blacklist_end"
SUBSYSTEM!="pci", GOTO="mm_pci_device_blacklist_end"

# Communication controller: NetMos Technology PCI 9835 Multi-I/O
Controller (rev 01)
ATTR{vendor}=="0x9710", ATTR{device}=="0x9835", ENV{ID_MM_DEVICE_IGNORE}="1"

LABEL="mm_pci_device_blacklist_end"

# udevadm info -a -p /sys/class/pci_bus/0000\:01/device/0000\:01\:06.0
# udevadm info -q env -p /sys/class/pci_bus/0000\:01/device/0000\:01\:06.0
…
/etc/udev/rules.d/78-mm-usb-device-blacklist.rules:
This is a custom udev rule file in addition to ModemManager's blacklist
files

ACTION!="add|change", GOTO="mm_usb_device_blacklist_end"
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"

# Prolific Technology, Inc. PL2303 Serial Port
ATTR{idVendor}=="067b", ATTR{idProduct}=="2303",
ENV{ID_MM_DEVICE_IGNORE}="1"

LABEL="mm_usb_device_blacklist_end"

# udevadm info -a -p /sys/devices/pci0000:00/0000:00:04.0/usb4/4-2
# udevadm info -q env -p /sys/devices/pci0000:00/0000:00:04.0/usb4/4-2
…
Accordingly On-Chip Debugger's(OCD)/connected controller's
Vendor/Product id(s).

Cheers,
poma




More information about the users mailing list