lkml.org 
[lkml]   [2004]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Suspend 2 merge: 24/51: Keyboard and serial console hooks.
    From
    Date
    Hi.

    On Thu, 2004-11-25 at 00:29, Christoph Hellwig wrote:
    > On Wed, Nov 24, 2004 at 11:59:02PM +1100, Nigel Cunningham wrote:
    > > Here we add simple hooks so that the user can interact with suspend
    > > while it is running. (Hmm. The serial console condition could be
    > > simplified :>). The hooks allow you to do such things as:
    > >
    > > - cancel suspending
    > > - change the amount of detail of debugging info shown
    > > - change what debugging info is shown
    > > - pause the process
    > > - single step
    > > - toggle rebooting instead of powering down
    >
    > And why would we want this? If the users calls the suspend call
    > he surely wants to suspend, right?

    Have you ever pressed control-alt-delete/init 0 and then gone "Oh. I
    forgot, I wanted to..."? That's why you'd want to be able to cancel
    suspending.

    The ability to toggle rebooting is helpful because you don't have to
    edit a config file/proc entry. You can use one key press to initiate the
    suspend, and press 'R' iif you want to reboot (eg for dual booting)
    instead of powering down.

    The other options are really helpful when testing and debugging, and can
    be turned off at compile time.

    By the way, thanks for all the feedback.

    Regards,

    Nigel
    --
    Nigel Cunningham
    Pastoral Worker
    Christian Reformed Church of Tuggeranong
    PO Box 1004, Tuggeranong, ACT 2901

    You see, at just the right time, when we were still powerless, Christ
    died for the ungodly. -- Romans 5:6

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:4.172 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site