Remove Surface Go and SP4 workarounds. (Fixes #37)

Surface Go nowadays works without the touchscreen workaround.

The SP4 rule will run on all devices, breaking IPTS on Surface Go for
example. Therefore we moved it to the device's quirk page, requiring the
user to manually add the file if necessary.
This commit is contained in:
Blaž Hrastnik 2020-01-08 11:10:34 +09:00
parent 3ca250a015
commit cdfdf4ac56
3 changed files with 0 additions and 16 deletions

View file

@ -1,11 +0,0 @@
[Unit]
Description=Surface Go Touchscreen Power Management
[Service]
Type=oneshot
RemainAfterExit=yes
ConditionPathExists=/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/power/control
Exec=/bin/sh -c "echo on > /sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/power/control"
[Install]
WantedBy=multi-user.target

View file

@ -1,2 +0,0 @@
# Type Cover Re-attach (SP4)
ACTION=="add", SUBSYSTEM=="usb", ATTRS{product}=="Surface Type Cover", RUN+="/sbin/modprobe -r i2c_hid && /sbin/modprobe i2c_hid"

View file

@ -45,9 +45,6 @@ done
echo "==> Copying firmware files under root..."
sudo cp -rv firmware/* /lib/firmware/
echo "==> Enabling power management for Surface Go touchscreen..."
sudo systemctl enable -q surfacego-touchscreen
echo
echo "Setting your clock to local time can fix issues with Windows dualboot."