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.
3 lines
159 B
Plaintext
3 lines
159 B
Plaintext
# Type Cover Re-attach (SP4)
|
|
ACTION=="add", SUBSYSTEM=="usb", ATTRS{product}=="Surface Type Cover", RUN+="/sbin/modprobe -r i2c_hid && /sbin/modprobe i2c_hid"
|