Commit graph

49 commits

Author SHA1 Message Date
Blaž Hrastnik cdfdf4ac56 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.
2020-01-08 11:23:40 +09:00
Blaž Hrastnik a53b87cf91 Delete snd-hda-intel.conf, SB2 works correctly without it nowadays. 2020-01-03 10:13:20 +09:00
Dorian Stoll 394b0d603b Use a single surface.rules file for udev
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>
2020-01-03 10:13:20 +09:00
Blaž Hrastnik d046546376 Remove soc-button-array.conf (was addressed upstream). 2020-01-03 10:11:02 +09:00
Dorian Stoll daf69af19c Use systemd for Surface Go touch power management
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 581bb34d5c Remove initramfs-tools config
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>
2020-01-03 10:11:02 +09:00
Dorian Stoll 2ffb1a8a5f Use conf.d for the NetworkManager config
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>
2020-01-03 10:11:02 +09:00
Dorian Stoll 656439fbf6 Remove example X11 config
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>
2020-01-03 10:11:02 +09:00
Dorian Stoll 4ef8ec4007 Remove pulseaudio example files
Those don't seem to be neccessary - the setup script itself asks if you
want to delete them

Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
2020-01-03 10:11:02 +09:00
Dorian Stoll 8836218417 Remove udev rules for touchscreen / pen
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>
2020-01-03 10:11:02 +09:00
Dorian Stoll 3179ce3622 Removed systemd configs
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>
2020-01-03 10:11:02 +09:00
Maximilian Luz d065c13cca
Fix surface-acpi module names for initramfs-tools 2019-12-02 19:56:41 +01:00
Maximilian Luz 15bf4e4f1c
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.
2019-12-02 19:51:01 +01:00
Paul Batchelor 38aa664ee1 Fixed udev rules for type cover.
These are adjustments needed in order for the type cover to work properly:

ATTR -> ATTRS

SUBSYSTEMS -> SUBSYSTEM

{iProduct} -> {product}

The initial sleep command was causing things to not work, so this was removed as well.
2019-12-01 20:59:11 -05:00
Sam Doshi 51d4546450 adding touchscreen and pen udev rules for SP6 2019-04-25 18:39:49 +01:00
Jake Day e71356f50e updating sound config 2019-03-13 13:08:29 -04:00
Jake Day d4e5ab5670 adding config file for button fixes 2019-03-07 15:01:35 -05:00
Jake Day 12eac38efc adding config file for sound fixes 2019-03-07 15:01:21 -05:00
Jake Day 7beb288014 fix surface type cover udev rule 2019-02-07 07:54:59 -05:00
Jake Day 148e917631 change pulse audio config files to be examples 2019-01-28 11:51:03 -05:00
Jake Day a5c410e28b adding surface_acpi module to initramfs 2019-01-22 08:31:08 -05:00
Jake Day ca5f445101 update default lid switch handling 2019-01-01 13:11:40 -05:00
Jake Day f72425b324 re-purpose xorg.conf intel file as example 2018-10-23 10:01:17 -04:00
Jake Day 0286c60be2 adding support for surface go 2018-09-10 12:33:19 -04:00
Jake Day d01c7a5bbe fix pulseaudio default.pa 2018-06-07 17:45:03 -04:00
Jake Day bcf42082f7 adding override for wifi powersave 2018-06-06 22:26:03 -04:00
Jake Day 7f879ac02c use interrupt driven scheduling instead of timer based for pulse 2018-06-06 22:15:43 -04:00
Jake Day 0c4424db8e update udev rule for undocking SB2 2018-04-18 19:02:24 -04:00
Jake Day 72725d75e6 renamed ipts rules to touchscreen rules and add SP3 support 2018-04-15 11:43:25 -04:00
Jake Day a377dd8945 updating udev rules 2018-04-10 22:09:07 -04:00
Jake Day 0bc2f0748e updating pulse daemon settings 2018-03-10 17:42:16 -05:00
Jake Day fe3fc0975f adding config for modules to load in initramfs 2018-02-17 15:40:43 -05:00
Jake Day 95d56cd460 adding udev rule for docking/undocking keyboards (SP4/SB2) 2018-02-07 21:07:20 -05:00
Jake Day 5841eb24dd add wifi powersave option to networkmanager.conf 2018-02-06 18:36:40 -05:00
Jake Day 4acfbb1cc3 change dri to true in intel graphics X11 conf 2018-01-19 19:57:34 -05:00
Jake Day f9a69b0a2a adding xorg config file for intel graphics 2018-01-12 08:25:54 -05:00
Jake Day 09f78e1f82 remove i915 options from modprobe
While these help with sb2, they cause issues with other devices. We will
get support in the newer kernel updates.
2017-12-05 11:28:45 -05:00
Jake Day 1951fb39c2 add conf file for i915 options
these options should help screen tearing and allow touch usage after
being undocked on the surface book 2
2017-11-26 18:08:47 -05:00
Jake Day ab5f988135 adding udev rule for touchscreen and pen for surface book 2 2017-11-16 21:56:12 -05:00
Jake Day 3fc64a8b35 removing unwanted file 2017-11-16 21:18:38 -05:00
Jake Day b278e5dc81 updating udev rules for touchscreens on pen for SP4, SP2017 and SB 2017-11-08 21:58:54 -05:00
Jake Day fe2450aa48 update udev rules 2017-11-03 19:50:47 -04:00
Jake Day aa26187b8c set default lid status switch to hibernate instead of suspend 2017-10-23 21:21:06 -04:00
Jake Day 8473b9322b adding NetworkManager.conf to fix wifi mac address changing 2017-09-08 18:44:53 -04:00
Jake Day da241a70cb remove no-power-save script as it's not needed anymore 2017-09-06 20:25:24 -04:00
Geoff Holden ea293a0e79 Adds rules for Surface Pro 2017 2017-08-29 20:01:30 -02:30
Jake Day e6ec6b1cdb updating wifi interface names 2017-08-22 20:10:55 -04:00
Jake Day 65840ccb3a adding tweaks to improve sound quality 2017-08-21 12:48:24 -04:00
Jake Day 5afd0ad3ba adding config files and moving kernel source 2017-08-20 19:28:05 -04:00