yogabook-linux icon indicating copy to clipboard operation
yogabook-linux copied to clipboard

[SOLUTION] Screen brightness control

Open LucaCraft89 opened this issue 1 year ago • 0 comments

To allow control of the brightness of the display you need to load the following kernel modules: pwm-lpss pwm-lpss-platform and add 3 .bin firmware files.

Here is How

  1. Download and copy the firmware files commands
mkdir firmware
cd firmware
apt update
apt install wget
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/dg2_huc_gsc.bin
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/mtl_guc_70.bin
wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/mtl_huc_gsc.bin
cp *.bin /usr/lib/firmware/i915
# Additionaly remove dir
cd ..
rm -rf firmware
  1. Edit boot config
sudo nano /etc/defualt/grub

Where you see GRUB_CMDLINE_LINUX_DEFAULT, comment the line with "#" change it to:

GRUB_CMDLINE_LINUX_DEFAULT="pwm-lpss pwm-lpss-platform quiet splash resume=UUID=ab3b8c33-635c-4af8-bc8a-d1d8546c5ab8"

should look like this:

# GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=<your-UUID>
GRUB_CMDLINE_LINUX_DEFAULT="pwm-lpss pwm-lpss-platform quiet splash resume=UUID=<your-UUID>"

save with CTRL + X then Y then ENTER 3. Update Config Run

sudo update-grub
  1. Reboot
sudo reboot
  1. Test Open the quick toggle menu in gnome in the top right and see if you can adjust screen brightness with the slider

LucaCraft89 avatar Aug 23 '24 12:08 LucaCraft89