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
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
Edit boot config
sudo nano /etc/defualt/grub
Where you see GRUB_CMDLINE_LINUX_DEFAULT, comment the line with "#" change it to:
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
Where you see
GRUB_CMDLINE_LINUX_DEFAULT
, comment the line with "#" change it to:should look like this:
save with
CTRL
+X
thenY
thenENTER