From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267091AbTGOKXI (ORCPT ); Tue, 15 Jul 2003 06:23:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267096AbTGOKXI (ORCPT ); Tue, 15 Jul 2003 06:23:08 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:47878 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S267091AbTGOKXG (ORCPT ); Tue, 15 Jul 2003 06:23:06 -0400 Date: Tue, 15 Jul 2003 12:08:42 +0200 From: Pavel Machek To: Vojtech Pavlik Cc: Nigel Cunningham , Jamie Lokier , Dmitry Torokhov , swsusp-devel , Linux Kernel Mailing List Subject: Re: [Swsusp-devel] Re: Thoughts wanted on merging Software Suspend enhancements Message-ID: <20030715100842.GB3279@zaurus.ucw.cz> References: <20030713133517.GD19132@mail.jlokier.co.uk> <20030713193114.GD570@elf.ucw.cz> <1058130071.1829.2.camel@laptop-linux> <20030713210934.GK570@elf.ucw.cz> <1058147684.2400.9.camel@laptop-linux> <20030714201245.GC24964@ucw.cz> <20030714201804.GF902@elf.ucw.cz> <20030714204143.GA25731@ucw.cz> <20030714230219.GB11283@elf.ucw.cz> <20030715063612.GB27368@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030715063612.GB27368@ucw.cz> User-Agent: Mutt/1.3.27i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > > > > I'd suggest making it a mappable function in the keymap, like reboot is > > > > > for example. Both for initiating and stopping the suspend. How about > > > > > that? > > > > > > > > Any user can load his own keymap, I believe... And I do not like > > > > having special /proc options for esc key... > > > > > > So what? He can press ctrl-alt-del or whatever if he has access to the > > > keyboard anyway. Nevertheless I don't see any way to cause harm by > > > cancelling a sw-suspend other than if a server was shutting down due to > > > the UPS batteries being empty. And in that case the machine will be in a > > > locked room anyway. > > > > ctrl-alt-del maps to "echo you lost" on many machines. It just signals > > init, does nothing more. > > > > That UPS is bad enough... It should be okay to have server locked but > > have its keyboard/monitor publicly available. > > I'm very much sure this feature (having a server locked, while > keyboard/screen is accessible) is much LESS useful than being able to > stop an suspend in progress. That's if the suspend isn't lightning fast, > of course, which is is not. > > Unfortunately, while you can route the start-suspend command through > userspace (init, whatever) like the reboot command is, but I fear when > the suspend is in progress, it's not possible to talk to userspace > anymore ... No, userspace is frozen at that point. ... and so I believe right thing is to make magic sysrq combination for aborting suspend... -- Pavel Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...