Remove outdated udev rules for Surface Book 2

Instead of relying on udev rules targeted specifically at the nouveau
driver, users should consider installing and customizing the Surface DTX
daemon. This daemon is specifically intended to dispatch all necessary
related to clipboard detachment/attachment.
This commit is contained in:
Maximilian Luz 2019-12-02 19:51:01 +01:00
parent 70bd694119
commit 15bf4e4f1c
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02

View file

@ -1,8 +1,2 @@
# Type Cover Re-attach (SP4)
ACTION=="add", SUBSYSTEM=="usb", ATTRS{product}=="Surface Type Cover", RUN+="/sbin/modprobe -r i2c_hid && /sbin/modprobe i2c_hid"
# Keyboard Dock (SB2)
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0922", RUN+="/sbin/modprobe nouveau"
#Keyboard Undock (SB2)
ACTION=="remove", SUBSYSTEM=="usb", ENV{ID_MODEL}=="Surface_Keyboard", RUN+="/sbin/modprobe -r nouveau"