jekhor / yogabook-linux

Yoga Book Linux porting efforts, umbrella repository for link all pieces together
74 stars 8 forks source link

Screen doesn't turn back on after closing lid #34

Open marco-04 opened 1 year ago

marco-04 commented 1 year ago

Installed the drivers and the kernel on a clean debian stable installation. After closing the lid, or after being in suspension for some time, the screen doesn't turn back on, while the keybard does

LucaCraft89 commented 1 month ago

same here but in my case is instantly after start up i see the log in for a split second

LucaCraft89 commented 1 month ago

try nano /etc/default/grub

....
GRUB_CMDLINE_LINUX_DEFAULT="pwm-lpss pwm-lpss-platform acpi_osi= i915.modeset=1 fbcon=rotate:1  video.use_native_backlight=1 i915.enable_fbc=1 i915.enable_rc6=1 i915.semaphores=1 quiet splash resume=UUID={arleady present}"
....

save

update-grub
reboot

among a lot of stuff i did extra this should be what it makes it work

LucaCraft89 commented 1 month ago

also put the following missing firmware bins in /usr/lib/firmware/i915 (you can use wget to download)

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/dg2_huc_gsc.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/mtl_guc_70.bin https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/i915/mtl_huc_gsc.bin

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