浏览代码

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 年之前
父节点
当前提交
15bf4e4f1c
共有 1 个文件被更改,包括 0 次插入6 次删除
  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)
 # Type Cover Re-attach (SP4)
 ACTION=="add", SUBSYSTEM=="usb", ATTRS{product}=="Surface Type Cover", RUN+="/sbin/modprobe -r i2c_hid && /sbin/modprobe i2c_hid"
 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"