66
src/77-mm-usb-device-blacklist.rules
Normal file
66
src/77-mm-usb-device-blacklist.rules
Normal file
@@ -0,0 +1,66 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION!="add|change", GOTO="mm_usb_device_blacklist_end"
|
||||
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
|
||||
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_end"
|
||||
|
||||
# APC UPS devices
|
||||
ATTRS{idVendor}=="051d", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Sweex 1000VA
|
||||
ATTRS{idVendor}=="0925", ATTRS{idProduct}=="1234", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Agiler UPS
|
||||
ATTRS{idVendor}=="05b8", ATTRS{idProduct}=="0000", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Krauler UP-M500VA
|
||||
ATTRS{idVendor}=="0001", ATTRS{idProduct}=="0000", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Ablerex 625L USB
|
||||
ATTRS{idVendor}=="ffff", ATTRS{idProduct}=="0000", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Belkin F6C1200-UNV
|
||||
ATTRS{idVendor}=="0665", ATTRS{idProduct}=="5161", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Various Liebert and Phoenixtec Power devices
|
||||
ATTRS{idVendor}=="06da", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Unitek Alpha 1200Sx
|
||||
ATTRS{idVendor}=="0f03", ATTRS{idProduct}=="0001", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Various Tripplite devices
|
||||
ATTRS{idVendor}=="09ae", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Various MGE Office Protection Systems devices
|
||||
ATTRS{idVendor}=="0463", ATTRS{idProduct}=="0001", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="0463", ATTRS{idProduct}=="ffff", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# CyberPower 900AVR/BC900D
|
||||
ATTRS{idVendor}=="0764", ATTRS{idProduct}=="0005", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
# CyberPower CP1200AVR/BC1200D
|
||||
ATTRS{idVendor}=="0764", ATTRS{idProduct}=="0501", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Various Belkin devices
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0980", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0900", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0910", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0912", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0551", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0751", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="0375", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
ATTRS{idVendor}=="050d", ATTRS{idProduct}=="1100", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# HP R/T 2200 INTL (like SMART2200RMXL2U)
|
||||
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1f0a", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Powerware devices
|
||||
ATTRS{idVendor}=="0592", ATTRS{idProduct}=="0002", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
# Palm Treo 700/900/etc
|
||||
# Shouldn't be probed themselves, but you can install programs like
|
||||
# "MobileStream USB Modem" which changes the USB PID of the device to something
|
||||
# that isn't blacklisted.
|
||||
ATTRS{idVendor}=="0830", ATTRS{idProduct}=="0061", ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||
|
||||
LABEL="mm_usb_device_blacklist_end"
|
||||
|
@@ -1,5 +1,12 @@
|
||||
SUBDIRS=. tests
|
||||
|
||||
udevrulesdir = $(UDEV_BASE_DIR)/rules.d
|
||||
udevrules_DATA = \
|
||||
77-mm-usb-device-blacklist.rules
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(udevrules_DATA)
|
||||
|
||||
noinst_LTLIBRARIES = libmodem-helpers.la
|
||||
|
||||
libmodem_helpers_la_CPPFLAGS = \
|
||||
@@ -139,7 +146,7 @@ modem_manager_SOURCES += $(loc_sources)
|
||||
|
||||
BUILT_SOURCES += mm-modem-location-glue.h
|
||||
else
|
||||
EXTRA_DIST = $(loc_sources)
|
||||
EXTRA_DIST += $(loc_sources)
|
||||
endif
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
Reference in New Issue
Block a user