From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Poirier Subject: Re: [PATCH] Input: Adding graceful shutdown to sysrq key reset Date: Tue, 16 Apr 2013 08:45:52 -0600 Message-ID: <516D6420.4070406@linaro.org> References: <1365169112-7999-1-git-send-email-mathieu.poirier@linaro.org> <20130415204535.GB4374@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pd0-f173.google.com ([209.85.192.173]:32810 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935614Ab3DPOpn (ORCPT ); Tue, 16 Apr 2013 10:45:43 -0400 Received: by mail-pd0-f173.google.com with SMTP id v14so330216pde.32 for ; Tue, 16 Apr 2013 07:45:42 -0700 (PDT) In-Reply-To: <20130415204535.GB4374@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, arve@android.com, kernel-team@android.com, john.stultz@linaro.org On 13-04-15 02:45 PM, Dmitry Torokhov wrote: > Hi Mathieu, > > On Fri, Apr 05, 2013 at 07:38:32AM -0600, mathieu.poirier@linaro.org wrote: >> From: "Mathieu J. Poirier" >> >> Attempt to reboot the system gracefully when a key combo >> is detected. The system is force to go down if the first >> attempt failed and the key combo is pressed a second time. >> > > If system can gracefully shutdown can;t we request it through normal > means? > > Thanks. > Can you provide more details on how you'd like to see this done please ? Since 'kernel_restart' is found in 'linux/reboot.h' I was under the impression that it is fairly mainstream. Thanks, Mathieu.