You are not logged in.
Pages: 1
New 1080p Pinebook, running Q4OS/TDE from the EMMC. Logged in as administrator.
When I close the lid (without logging out) nothing happens. The display stays on, and eventually the screensaver starts.
How can I configure Q4OS to turn off the display when I close the lid?
I decided to try with a different distro - I booted to AOSC/MATE from the microSD card, and LO! - when I slide the fridge-door magnet beside the Back Space/Right Bracket keys (where the Hall-effect lid switch is located), the screen turns off, and I get to the AOSC Login screen. Same when I close the lid.
There is something about my Q4OS/TDE installation that is preventing the lid switch from functioning.
Offline
We will take a look on that and report back, thanks for the report.
Offline
There is something about my Q4OS/TDE installation that is preventing the lid switch from functioning.
Yes, we can confirm a bug, that prevents lid switch from functioning properly. As we could find out, the issue lies in the Debian "Systemd" manager. The command "/lib/systemd/systemd-logind" doesn't detect Pinebook lid switch events at all for Debian Stretch based distros. The AOSC is based on Ubuntu, so it's the difference. Unfortunately, fixing this bug is quite complicated, it would involve low level systemd correction. We will add it into our internal task list and try to resolve, or at least workaround, it until an official fix will be available.
Offline
Thank you for that explanation, @q4osteam.
Q4OS is currently using systemd version 232, while version 237 is available on KDE Neon. KDE Neon detects the lid switch.
Do you think updating systemd would correct this problem for Q4OS?
Offline
Yes, you could try to ugrade "systemd" package from Debian Stretch backports repository, it's a clean way to get more recent packages version, see https://backports.debian.org/Instructions/ . Please report back, if possible.
Offline
We have found a solution, so this bug should be fixed within the next Q4OS for Pinebook image revision.
Offline
@q4osteam - Thanks for that link.
I need a bit of coaching. The instructions say:
"For stretch add this line
deb http://ftp.debian.org/debian stretch-backports main
to your sources.list".
Where can I find MY sources.list file? Catfish finds many of them on my Q4OS Pinebook installation.
Offline
You need to run the command:
$ echo 'deb http://ftp.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/debianbackports.list
It will add backports repository into the "/etc/apt/sources.list.d/debianbackports.list" file.
Offline
I did that, then ran apt-get update and reboot.
Synaptic says systemd is still version 232.
I look forward to your solution.
Offline
If you want to use a backport package you will need to install it specifically, ie
sudo apt -t stretch-backports install systemd
Offline
Thank you, @Dai_trying.
systemd is now up-to-date, version 239.
But it didn't fix the problem - the display still stays on with the lid closed.
@q4osteam has found a solution for inclusion in a future release.
Offline
Maybe the devs will release an update that will solve this for you, also did you reboot after applying the upgrade?
Offline
Yes, the lid close issue will be fixed within the next Q4OS release.
@jschall
You should also upgrade "udev" package:
$ sudo apt -t stretch-backports --purge --reinstall install udev
Offline
Thank you for that information, @q4osteam.
I updated udev to 239 and rebooted.
Good news! The lid switch now SORT OF works!
Now, if I close the lid very slowly, the Pinebook SOMETIMES suspends.
Same thing if I hover the fridge magnet above the Hall sensor beside the"]" key, it goes into suspend.
What do you think of that?
Offline
Pages: 1