r/linuxquestions • u/arborvitae3 • 2d ago
Support Left click & power button does not work after physically closing laptop.
/r/linuxmint/comments/1y7s8ud/left_click_power_button_does_not_work_after/
1
Upvotes
1
u/m4uri 1d ago
Since every mouse loses left click and the power button dies too, its probably not the touchpad driver. Feels more like something stays stuck after the lid event, either Cinnamon holding a grab or the lid close using a different sleep path than your normal sleep.
Next time it happens, a few checks:
sudo libinput debug-events
then click. If you see BUTTON_LEFT pressed/released there, the kernel gets the clicks and its Cinnamon. Try Alt+F2, type r and Enter to restart Cinnamon without logging out.
cat /sys/power/mem_sleep
shows if your using s2idle or deep. Lid close and the menu sleep can be handled diffrently (Cinnamon power settings vs HandleLidSwitch in /etc/systemd/logind.conf), so set the lid to the same action that works for you.
journalctl -b -1 | grep -iE "lid|i2c_hid|suspend" right after a reboot can also show what broke. And a Dell BIOS update for the 5501 is worth a shot, they fixed some lid/resume stuff there over the years.