Package: acpi-support
Version: 0.143-5.1
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
Since a week or two, in my Debian Unstable, my CPU has an high usage
when the laptod lid is closed (working with my external screen via my
dock station, by example).
This seems to be caused by a loop of Lid closed/Lid opened events, as
show in this journalctl -f output:
nov. 16 19:06:20 lyra systemd-logind[791]: Lid closed.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid opened.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid closed.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid opened.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid closed.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid opened.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid closed.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid opened.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid closed.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid opened.
nov. 16 19:06:20 lyra systemd-logind[791]: Lid closed.
nov. 16 19:06:21 lyra systemd-logind[791]: Lid opened.
nov. 16 19:06:21 lyra systemd-logind[791]: Lid closed.
nov. 16 19:06:21 lyra systemd-logind[791]: Lid opened.
nov. 16 19:06:21 lyra systemd-logind[791]: Lid closed.
... and so on.
But the state in /proc/acpi/button/lid/LID/state seems to be OK
This only occur when the lid is closed, when it is opened, I got only
one LID open event, which is the correct behavior.
I disabled all lid events in /etc/apci/events/lidbtn to prevent this
loop of events to run actions, and so to avoid the 100% cpu problem
(caused by the lid actions), but I would prefer to have this action
working correctly as before.
My laptop is a lenovo thinkpad x250.
I hop you will have an idea of the source of this problem...
Thanks for your work,
Florence
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-4-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages acpi-support depends on:
ii acpi-support-base 0.143-5.1
ii acpid 1:2.0.34-1
ii sysvinit-utils [lsb-base] 3.08-3
ii x11-xserver-utils 7.7+10
Versions of packages acpi-support recommends:
pn acpi-fakekey <none>
ii rfkill 2.39.2-6
Versions of packages acpi-support suggests:
pn radeontool <none>
pn vbetool <none>
pn xinput <none>
pn xscreensaver | gnome-screensaver | kscreensaver | xautolock | xlock <none>
| xtrlock | i3lock | cinnamon-screensaver
-- Configuration Files:
/etc/acpi/events/lidbtn changed:
event=button[ /]lid XXX
action=/etc/acpi/lid.sh
-- no debconf information