forked from pool/systemd
Accepting request 163780 from home:rjschwei:branches:Base:System
- Add chromebook lid switch as a power switch to logind rule to enable suspend on lid close OBS-URL: https://build.opensuse.org/request/show/163780 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=362
This commit is contained in:
parent
e46422362e
commit
f33f3c9208
24
lid-switch-chromebook.patch
Normal file
24
lid-switch-chromebook.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From fced3673ee1001dc905206f9a92ea2062f951d3c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Robert Schweikert <rjschwei@suse.com>
|
||||||
|
Date: Fri, 12 Apr 2013 12:08:16 -0400
|
||||||
|
Subject: [PATCH] rules: add lid switch of ARM based Chromebook as a power
|
||||||
|
switch to logind
|
||||||
|
|
||||||
|
---
|
||||||
|
src/login/70-power-switch.rules | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/login/70-power-switch.rules b/src/login/70-power-switch.rules
|
||||||
|
index 36fb827..d925ab7 100644
|
||||||
|
--- a/src/login/70-power-switch.rules
|
||||||
|
+++ b/src/login/70-power-switch.rules
|
||||||
|
@@ -9,5 +9,6 @@ ACTION=="remove", GOTO="power_switch_end"
|
||||||
|
|
||||||
|
SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch"
|
||||||
|
SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch"
|
||||||
|
+SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="gpio-keys.8", TAG+="power-switch"
|
||||||
|
|
||||||
|
LABEL="power_switch_end"
|
||||||
|
--
|
||||||
|
1.8.1.4
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 12 16:17:04 UTC 2013 - rschweikert@suse.com
|
||||||
|
|
||||||
|
- Add chromebook lid switch as a power switch to logind rule to
|
||||||
|
enable suspend on lid close
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 8 14:51:47 CEST 2013 - fcrozat@suse.com
|
Mon Apr 8 14:51:47 CEST 2013 - fcrozat@suse.com
|
||||||
|
|
||||||
|
@ -292,6 +292,8 @@ Patch139: improve-readahead-spinning.patch
|
|||||||
Patch141: wait-for-processes-killed.patch
|
Patch141: wait-for-processes-killed.patch
|
||||||
# PATCH-FIX-UPSTREAM do-no-isolate-on-fsck-failure.patch bnc#812874 -- do not isolate if fsck fails
|
# PATCH-FIX-UPSTREAM do-no-isolate-on-fsck-failure.patch bnc#812874 -- do not isolate if fsck fails
|
||||||
Patch142: do-no-isolate-on-fsck-failure.patch
|
Patch142: do-no-isolate-on-fsck-failure.patch
|
||||||
|
# PATCH-FIX-UPSTREAM lid-switch-chromebook.patch
|
||||||
|
Patch143: lid-switch-chromebook.patch
|
||||||
|
|
||||||
# udev patches
|
# udev patches
|
||||||
# PATCH-FIX-OPENSUSE 1001-Reinstate-TIMEOUT-handling.patch
|
# PATCH-FIX-OPENSUSE 1001-Reinstate-TIMEOUT-handling.patch
|
||||||
@ -641,6 +643,7 @@ cp %{SOURCE7} m4/
|
|||||||
%patch140 -p1
|
%patch140 -p1
|
||||||
%patch141 -p1
|
%patch141 -p1
|
||||||
%patch142 -p1
|
%patch142 -p1
|
||||||
|
%patch143 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
Loading…
Reference in New Issue
Block a user