Comment 5 for bug 2045072

Revision history for this message
rocco (rmeoli) wrote : Re: [Bug 2045072] Re: [Samsung Galaxy Book2 750XED] Screen goes black

Yes I think the PC is sleeping, because often I can turn the screen on just
by pressing some key (not always, but the machine is on). Sometimes I can
see the cursor flashing.

I found a solution on Internet where they said "The problem was a
combination of a bug in the handling of closing/opening the laptop lid and
a kernel compatibility issue with the new 12th gen intel hardware"

and the solution (still working, but if I close the lid doesn't sleep!) is
on changing some settings in grub file and in logind.conf file.

 from "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

  to "GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_dc=0
  intel_idle.max_cstate=2"

  then add to the file /etc/systemd/logind.conf

  the instructions:

  HandleLidSwitch=ignore
  HandleLidSwitchExternalPower=ignore
  HandleLidSwitchDocked=ignore