Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLUTION] Screen brightness control #40

Open
LucaCraft89 opened this issue Aug 23, 2024 · 0 comments
Open

[SOLUTION] Screen brightness control #40

LucaCraft89 opened this issue Aug 23, 2024 · 0 comments

Comments

@LucaCraft89
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant