From 15bf4e4f1c407a2f1826c80391c66726d75c2199 Mon Sep 17 00:00:00 2001 From: Maximilian Luz Date: Mon, 2 Dec 2019 19:51:01 +0100 Subject: [PATCH] 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. --- root/etc/udev/rules.d/98-keyboardscovers.rules | 6 ------ 1 file changed, 6 deletions(-) diff --git a/root/etc/udev/rules.d/98-keyboardscovers.rules b/root/etc/udev/rules.d/98-keyboardscovers.rules index 63c3c7c5b..20e15a10c 100644 --- a/root/etc/udev/rules.d/98-keyboardscovers.rules +++ b/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"