소스 검색

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