Skip to content

Commit 351888b

Browse files
committed
valve/deck: enable power key handling
Signed-off-by: Christian Stewart <christian@aperture.us>
1 parent 1cf6237 commit 351888b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# enable logind for power button detect
2+
BR2_PACKAGE_SYSTEMD_LOGIND=y
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[Login]
2+
HandlePowerKey=suspend
3+
HandlePowerKeyLongPress=poweroff
4+
HandleLidSwitch=suspend
5+
HandleLidSwitchExternalPower=suspend
6+
HandleLidSwitchDocked=ignore

0 commit comments

Comments
 (0)