/lib/udev/rules.d/85-tlp-rdw.rules is in tlp-rdw 0.9-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # tlp-rdw - udev rules
#
# Copyright (c) 2016 Thomas Koch <linrunner at gmx.net>
# This software is licensed under the GPL v2 or later.
# --- Dock/undock events
# ThinkPad Advanced Mini Dock (and all older models), ThinkPad UltraBase
ACTION=="change", SUBSYSTEM=="platform", KERNEL=="dock.*", RUN+="/lib/udev/tlp-rdw-udev %p dock"
# ThinkPad Mini Dock (Plus) Series 3
ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/100a/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
# ThinkPad Ultra Dock
ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/1010/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
# ThinkPad Pro Dock
ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/1012/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
# ThinkPad Basic Dock
# *** TODO: yet unknown ***
# ThinkPad OneLink Pro Dock (USB3 Gigabit LAN interface)
ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/304b/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/304f/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
# ThinkPad OneLink Dock
ACTION=="add|remove", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="17ef/3049/*", RUN+="/lib/udev/tlp-rdw-udev %p usb_dock"
|