ublox: fully ignore GPS devices with plugin-installed rules
Instead of setting up the ID_MM_TTY_BLACKLIST tag used in 'legacy' filter mode, tag all known u-blox GPS devices with the broader ID_MM_DEVICE_IGNORE tag that applies under all filter modes. Also, make this rules be installed by the plugin itself, because at the end, it is the u-blox plugin the one attempting to probe all devices with vid 0x1546.
This commit is contained in:
@@ -106,11 +106,6 @@ ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="2000", ENV{ID_MM_TTY_BLACKLIST}="1"
|
||||
# PS-360 OEM (GPS sold with MS Street and Trips 2005)
|
||||
ATTRS{idVendor}=="067b", ATTRS{idProduct}=="aaa0", ENV{ID_MM_TTY_BLACKLIST}="1"
|
||||
|
||||
# u-blox AG, u-blox 5 GPS chips
|
||||
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a5", ENV{ID_MM_TTY_BLACKLIST}="1"
|
||||
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a6", ENV{ID_MM_TTY_BLACKLIST}="1"
|
||||
ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a7", ENV{ID_MM_TTY_BLACKLIST}="1"
|
||||
|
||||
# Garmin GPS devices
|
||||
DRIVERS=="garmin_gps", ENV{ID_MM_TTY_BLACKLIST}="1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user