Score:0

Wrong signals from lid switch

gu flag
Ubuntu 22.10
Kernel 5.19.0-23-generic

Closing the laptop lid doesn't work for me

libinput list-devices

Device:           Lid Switch
Kernel:           /dev/input/event0
Group:            2
Seat:             seat0, default
Capabilities:     switch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         n/a

But when I close the lid, I get such an event. It's like I pressed a button. I think because of this, the laptop does not go into standby mode

sudo libinput debug-events
-event3   DEVICE_ADDED            Video Bus                         seat0 default group1  cap:k
-event0   DEVICE_ADDED            Lid Switch                        seat0 default group2  cap:S
-event1   DEVICE_ADDED            Power Button                      seat0 default group3  cap:k
-event5   DEVICE_ADDED            PNP0C50:0e 06CB:7E7E Mouse        seat0 default group4  cap:p left scroll-nat scroll-button
-event6   DEVICE_ADDED            PNP0C50:0e 06CB:7E7E Touchpad     seat0 default group4  cap:pg  size 102x62mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on dwtp-on
-event2   DEVICE_ADDED            AT Translated Set 2 keyboard      seat0 default group5  cap:k
-event10  DEVICE_ADDED            PS/2 Generic Mouse                seat0 default group6  cap:p left scroll-nat scroll-button
-event4   DEVICE_ADDED            MSI WMI hotkeys                   seat0 default group7  cap:k
-event2   KEYBOARD_KEY            +0.000s   KEY_UNKNOWN (240) pressed
 event2   KEYBOARD_KEY            +0.003s   KEY_UNKNOWN (240) released

Also I have this:

sudo dmesg
ACPI: button: The lid device is not compliant to SW_LID.

What can I do about it?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.