Re: 2.6.12-rc1 swsusp broken [Was Re: swsusp not working for me on a PREEMPT 2.6.12-rc1 and 2.6.12-rc1-mm3 kernel]

From: Benoit Boissinot (bboissin_at_gmail.com)
Date: 03/31/05

  • Next message: David S. Miller: "Re: [RFC/PATCH] network configs: disconnect network options from drivers"
    Date:	Thu, 31 Mar 2005 13:29:17 -0500
    To: romano@dea.icai.upco.es, dtor_core@ameritech.net, Pavel Machek <pavel@ucw.cz>, linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
    
    

    On Thu, 31 Mar 2005 18:50:07 +0200, Romano Giannetti <romanol@upco.es> wrote:
    > On Thu, Mar 31, 2005 at 10:15:26AM -0500, Dmitry Torokhov wrote:
    > > On Thu, 31 Mar 2005 16:47:29 +0200, Romano Giannetti <romanol@upco.es> wrote:
    > > >
    > > > The bad news is that with 2.6.12-rc1 (no preempt) swsusp fails to go.
    > >
    > > Ok, I see you have an ALPS touchpad. I think this patch will help you
    > > with swsusp:
    > >
    > > http://marc.theaimsgroup.com/?l=linux-kernel&m=111212532524998&q=raw
    >
    > Yes! With this it works ok.
    >
    > > Also, could you please try sticking psmouse_reset(psmouse) call at the
    > > beginning of drivers/input/mouse/alps.c::alps_reconnect() and see if
    > > it can suspend _without_ the patch above.
    >

    Both patches are working for me (Dell D600). before i was unable to
    suspend to disk on this laptop (it was stuck in alps code).

    By the way, i have an unrelated problem:
    if the kernel was booted with the "noresume" option, it cannot be
    suspended, it fails with:

    swsusp: FATAL: cannot find swap device, try swapon -a!

    Thanks,

    Benoit
    -
    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/


  • Next message: David S. Miller: "Re: [RFC/PATCH] network configs: disconnect network options from drivers"

    Relevant Pages