Skip to content

Instantly share code, notes, and snippets.

@wkalt
Created July 14, 2018 23:27
Show Gist options
  • Save wkalt/1df6309c898ea1c71583ac8ca6481532 to your computer and use it in GitHub Desktop.
Save wkalt/1df6309c898ea1c71583ac8ca6481532 to your computer and use it in GitHub Desktop.
# Save this file (after modifying ID_VENDOR and ID_MODEL if necessary) as
# /etc/udev/rules.d/81-thinkpad-dock.rules
# These values seem to work for "ThinkPad Mini Dock Plus Series 3"
SUBSYSTEM=="usb", ACTION=="add|remove", ENV{ID_VENDOR_ID}=="17ef", ENV{ID_MODEL_ID}=="1010", RUN+="/usr/bin/thinkpad-dock.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment