Disable:
- thunderbolt → wakeup from suspend (fix in 5.4)
- fingerprint → no driver for Goodix Fingerprint
- camera → no driver for Intel AVStream Camera
Disable:
- iio-sensor-proxy.service → bug in kernel spam logs when using sensors
| GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mitigations=off mem_sleep_default=deep acpi_osi=Linux" |
| options dell-smm-hwmon ignore_dmi=1 | |
| blacklist psmouse |
| options i915 enable_fbc=1 enable_guc=3 enable_dc=2 enable_psr=1 enable_dpcd_backlight=1 fastboot=1 disable_power_well=0 |
| export LIBVA_DRIVER_NAME=iHD |
| [Unit] | |
| Description=Disable hissing sound with headphones | |
| After=pulseaudio.service | |
| PartOf=pulseaudio.service | |
| [Service] | |
| Type=oneshot | |
| ExecStart=amixer -c PCH cset 'name=Headphone Mic Boost Volume' 1 | |
| [Install] | |
| WantedBy=pulseaudio.service |
| SUBSYSTEM=="power_supply", DRIVERS=="ac", ATTR{type}=="Mains", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/sys/subsystem/power_supply/main_AC", ENV{SYSTEMD_READY}="$env{POWER_SUPPLY_ONLINE}" |
| #!/bin/bash | |
| set -xeu -o pipefail | |
| resolution="$1" | |
| scale="$2" | |
| function get_serial() { | |
| serial="$(gdbus call --session --dest org.gnome.Mutter.DisplayConfig \ | |
| --object-path /org/gnome/Mutter/DisplayConfig \ | |
| --method org.gnome.Mutter.DisplayConfig.GetResources | awk '{print $2}' | tr -d ',')" | |
| echo $serial | |
| } | |
| serial=$(get_serial) | |
| gdbus call --session --dest org.gnome.Mutter.DisplayConfig \ | |
| --object-path /org/gnome/Mutter/DisplayConfig \ | |
| --method org.gnome.Mutter.DisplayConfig.ApplyMonitorsConfig \ | |
| $serial 1 "[(0, 0, $scale, 0, true, [('eDP-1', '$resolution', [] )] )]" "[]" |
| [Unit] | |
| StopWhenUnneeded=yes | |
| [Service] | |
| Type=oneshot | |
| RemainAfterExit=yes | |
| ExecStart=/usr/local/bin/change-resolution [email protected] 2 | |
| ExecStop=/usr/local/bin/change-resolution [email protected] 1 | |
| [Install] | |
| WantedBy=sys-subsystem-power_supply-main_AC.device |
I'd also really really love to use the webcam on the 2019 model.