Installation notes on the Yoga Slim 7, February 2023. This is with Debian Bookworm, which is testing at the moment. ### Graphics - Need `firmware-amd-graphics` from `non-free`, the `amdgpu` module. - For the backlight we need `/etc/udev/rules.d/81-backlight.rules` to give the `video` group permissions to change the backlight level; then we can write to `/sys/class/backlight/amdgpu_bl0/brightness` (see `.i3/config`). ### Wireless - Need `firmware-misc-nonfree` from `non-free`, the `mt7921` module. - Use `rfkill` to list the wireless devices, then `rfkill unblock` to remove the soft blocks. ### Audio - Need `firmware-sof-signed` from `non-free`(?), as well as `pulseaudio`. ### Battery saving ``` $ sudo apt install tlp $ sudo systemctl enable tlp.service $ sudo tlp start ``` and see the settings in `/etc/tlp.conf`. Especially CPU scaling is important to reduce power usage on battery. ### Suspend The laptop apparently does not support S3 and suspension upon closing the laptop does not work out of the box. However, we can use `systemctl suspend` / `systemctl suspend-then-hibernate`; see `/etc/systemd/logind.conf`. ### Dropbox and Skype Install these using the `.deb` provided. `apt update` will complain about missing certificates. To fix this: ``` # export GNUPGHOME=$(mktemp -d) # gpg --keyserver keyserver.ubuntu.com --recv-keys D4040146BE3972509FD57FC71F3045A5DF7587C3 # gpg --export D4040146BE3972509FD57FC71F3045A5DF7587C3 > /etc/apt/trusted.gpg.d/skype.gpg # gpg --keyserver keyserver.ubuntu.com --recv-keys 1C61A2656FB57B7E4DE0F4C1FC918B335044912E # gpg --export 1C61A2656FB57B7E4DE0F4C1FC918B335044912E > /etc/apt/trusted.gpg.d/dropbox.gpg ```