Browse Source

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.
Maximilian Luz 5 năm trước cách đây
mục cha
commit
15bf4e4f1c
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      root/etc/udev/rules.d/98-keyboardscovers.rules

+ 0 - 6
root/etc/udev/rules.d/98-keyboardscovers.rules

@@ -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"