You are not logged in.
Hi folks,
I need help to troubleshoot this issue.
When the AC is uplugged closing and opening the lid causes the screen to become totally insensitive, I can move the mouse but I can't click anything.
If I g too the TTYs and I try to restart the lightdm(runit) through sudo service lightdm stop/start this command doesn't work, but killall lightdm does.
Suspending works, hibernate doesn't, I am not sure if the issue is always because the eMMC storage, by the way I haven't found any hints because I don't know where I actually should looking for.
lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Devuan
Description: Devuan GNU/Linux 5 (daedalus/ceres)
Release: 5
Codename: daedalus ceres
Linux abook 6.1.0-7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-1 (2023-03-19) x86_64 GNU/Linux
00:00.0 Host bridge: Intel Corporation Gemini Lake Host Bridge (rev 06)
00:00.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant (rev 06)
00:00.3 System peripheral: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 06)
00:02.0 VGA compatible controller: Intel Corporation GeminiLake [UHD Graphics 600] (rev 06)
00:0e.0 Audio device: Intel Corporation Celeron/Pentium Silver Processor High Definition Audio (rev 06)
00:0f.0 Communication controller: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface (rev 06)
00:12.0 SATA controller: Intel Corporation Celeron/Pentium Silver Processor SATA Controller (rev 06)
00:13.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:14.0 PCI bridge: Intel Corporation Gemini Lake PCI Express Root Port (rev f6)
00:15.0 USB controller: Intel Corporation Celeron/Pentium Silver Processor USB 3.0 xHCI Controller (rev 06)
00:17.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor I2C 4 (rev 06)
00:18.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.2 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:18.3 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO UART Host Controller (rev 06)
00:19.0 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 06)
00:19.1 Signal processing controller: Intel Corporation Celeron/Pentium Silver Processor Serial IO SPI Host Controller (rev 06)
00:1c.0 SD Host controller: Intel Corporation Celeron/Pentium Silver Processor SDA Standard Compliant SD Host Controller (rev 06)
00:1f.0 ISA bridge: Intel Corporation Celeron/Pentium Silver Processor LPC Controller (rev 06)
00:1f.1 SMBus: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model (rev 06)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 58.3G 0 disk
├─mmcblk0p1 179:1 0 512M 0 part /boot/efi
├─mmcblk0p2 179:2 0 488M 0 part /boot
└─mmcblk0p3 179:3 0 57.3G 0 part
└─mmcblk0p3_crypt 254:0 0 57.3G 0 crypt
├─abook--vg-root 254:1 0 56.3G 0 lvm /
└─abook--vg-swap_1 254:2 0 976M 0 lvm [SWAP]
mmcblk0boot0 179:256 0 4M 1 disk
mmcblk0boot1 179:512 0 4M 1 disk
Thanks... 🙏
Last edited by Danielsan (2023-04-18 05:34:48)
Offline
I found this but it is not very useful...
dmesg | grep -i freez
[ 882.490917] Freezing user space processes
[ 882.499928] Freezing user space processes completed (elapsed 0.009 seconds)
[ 882.499940] Freezing remaining freezable tasks
[ 882.501515] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[ 2841.976403] Freezing user space processes
[ 2841.978488] Freezing user space processes completed (elapsed 0.002 seconds)
[ 2841.978495] Freezing remaining freezable tasks
[ 2841.979459] Freezing remaining freezable tasks completed (elapsed 0.000 seconds)
Offline
I found the solution here:
https://www.reddit.com/r/xubuntu/commen … &context=3
and here:
https://docs.xfce.org/xfce/xfce4-power- … er-manager
Long story-short: To have logind handle the lid open/close event
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-lid-switch -n -t bool -s true
Offline
acpid might also help with passing events to acpi / the EC
It will help with power key I believe in a more minimal manner.
acpi also deals with lid closure.
Glad xfce4-power-manager works for you though.
Last edited by czeekaj (2023-04-23 10:31:19)
Offline
acpid might also help with passing events to acpi / the EC
It will help with power key I believe in a more minimal manner.
acpi also deals with lid closure.Glad xfce4-power-manager works for you though.
After some recent updates this trick stopped to work...
What did you mean with acpid? Is it something to install additionally?
Thanks... 🙏
Offline
Well the issues is getting worst... 😩
I tested Debian on the same hardware, I bought to my daughter the same laptop and install Debian instead of Devuan, and it does not have issue whatsoever.
The problem is with Devuan and Runit, I guess. 🤔
To recap:
The XFCE4 settings logind workaround does not work anymore
I tried to edit logind.conf ignoring lid actions and did not work
I tried with acpid and acpi/acpi-support, both did not work
I tried disabling KMS, did not work
I tried the steps above with xserver-xorg-video-intel uninstalled, did not solve anything
I tried to general disable the lid botton, could not achieve it
So far the only things that works it is to manually suspend the laptop before to close the lid. If I forget to do so: if I am lucky I get the screen frozen but I can enter in another TTY and relaunch lightdm, I would point out that sudo service lightdm --fullrestart does not work, instead I have to use sudo killall lightdm and perhaps this is some how related; otherwise I get a striped black and white screen with a frozen keyboard and I have to type alt+print_screen reisub to force a reboot.
This is becoming problematic and I would really like to solve it issue, thanks. 🙏
Offline
Hi,
[ sorry I don't have the solution, just some things to check ]
are you using the runit-services package, or you have your own set of runscripts or none of the two? is lightdm a runit service or is run as sysvinit script by the sysv emulation at startup?
If I g too the TTYs and I try to restart the lightdm(runit) through sudo service lightdm stop/start
if you have lightdm as runit service the right command is
sv stop/start lightdm
or (for a full restart)
sv e lightdm
I tested Debian on the same hardware, I bought to my daughter the same laptop and install Debian instead of
just to be sure, Debian + systemd?
Anyway, my suggestion is to try to replace some xfce component with some other program and see if it works:
It may be the screensaver/locker that doesn't work, for example it freezes while it should draw the window for user/passwd to unlock the screen: what are you using as screensaver/locker?
I'm using xscreensaver and it works fine with elogind (despite launching a xscreensaver-systemd), but I'm using Debian+ lxqt + runit and I'm not sure if it's lxqt-powermanagment that does the magic
another thing is to try to stop completely/kill the xfce4-power-manager daemon before closing the lid and see if elogind can handle the job; try with elogind + xscreensaver, not sure if xfce-screensaver will work without the xfce4-power-manager
Lorenzo
OT: by any chance are you the same Danielsan of the "Debianizzati" italian forum?
Offline
Ciao Lorenzo, yes I am exactly him...
I ran all my tests also without xfce4-power-setting enabled, but I still got the striped screen... 😖
Offline
I ran all my tests also without xfce4-power-setting enabled, but I still got the striped screen
what about replacing xfce4-screensaver package with xscreensaver?
yes I am exactly him...
Ha! I remember you! I used to be on that forum too (Ombra) years ago, nice to meet you again
Last edited by Lorenzo (2023-05-13 10:41:47)
Offline
I ran all my tests also without xfce4-power-setting enabled, but I still got the striped screen
what about replacing xfce4-screensaver package with xscreensaver?
yes I am exactly him...
Ha! I remember you! I used to be on that forum too (Ombra) years ago, nice to meet you again
Cool! These days I am bouncing between Devuan, Debian, FreeBSD and OpenBSD...
Anyway xfce4-screensaver is actually missing on the repo... perhaps is too thigh with systemd...
Offline
I compiled and installed xfce4-screensaver from git, the situation didn't change... 😖
Offline
I came back to Debian to troubleshoot it...
On Debian I used this method:
http://portal.mozz.us/gemini/omg.pebcak … ian-12.gmi
It looks enough reliable, I'll test it for a week and I'll try to adapt it to Devuan, and stick with it. 🤞
Offline
I definitely solved it:
http://portal.mozz.us/gemini/omg.pebcak … vuan-5.gmi
So I am now again on Devuan! 🙏
Offline
Nicely done,
Now there is no way to get it working using slim?
Right now on my machine the lid closure does absolutely nothing running openbox.
Basically I have no suspend features. Where XFCE I would have such features.
Offline
Also, one way I just noticed to effect lid closure. Depending on your hardware and what kernel module you load. Is to blacklist your vendor specific kernel module for acpi table and just use generic kernel mode will be fallback. Might effect laptops radio kill switch.
run
lsmod
can use modprobe for testing. setting can be in /etc/modprobe.d/blacklist.conf
syntax is for each line
blacklist {module_name}
Last edited by czeekaj (2023-07-25 11:40:35)
Offline