Re: [PATCH] Input: Adding graceful shutdown to sysrq key reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 23, 2013 at 05:50:32PM -0600, Mathieu Poirier wrote:
> On 13-04-16 08:45 AM, Mathieu Poirier wrote:
> > On 13-04-15 02:45 PM, Dmitry Torokhov wrote:
> >> Hi Mathieu,
> >>
> >> On Fri, Apr 05, 2013 at 07:38:32AM -0600, mathieu.poirier@xxxxxxxxxx wrote:
> >>> From: "Mathieu J. Poirier" <mathieu.poirier@xxxxxxxxxx>
> >>>
> >>> 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.
> > 
> 
> I haven't hard back from my last question so I'll try to interpret your
> original answer differently.
> 
> The proposed functionality is a last effort at rebooting the system when
> the UI is hung.  In such case the rest of the system could still be
> alive and as such should be given a chance to reboot more gracefully
> than when using emergency_reset().

OK, fair enough.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux