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.
Using a single file with a generic names allows us to easily remove
rules later. If we use specialized filenames we couldn't easily remove
them, we would have to replace them with an empty file.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
As of recently, this is handled in the kernel directly. I have been
running the patch + this script for some time and couldn't notice any
regressions.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This is a bit of a guess. I am not 100% sure if this has any impact. But I haven't
found any way to make it an independent config file (i.e. it doesn't overwrite a
default one), and it won't work on Arch or any non-debian distro anyways.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
This moves the parts of the NetworkManager config that appear to be important
to a surface-specific file in conf.d. That way, no config is overwritten when
installing the files.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
Same as with the pulseaudio configs: They are not needed and the setup script even
asks if you want to delete them.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
With the revert of the HID changes that IPTS did, those rules are already dead,
since they rely on the "Touchscreen" / "Pen" suffix to detect devices. Those
are not added anymore, and since nothing seems to be broken, it should be safe
to remove them.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
They only contain values that are the default anyways, and potentially overwrite
custom stuff that was set by the user.
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
In some instances, bluetooth devices can prevent the device from going
to sleep or cause spurious wake-ups. Add a note to the sleep script on
how bluetooth can be turned off completely during suspend.