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
Date: Thu Mar 31 2005 - 13:34:00 EST


On Thu, 31 Mar 2005 18:50:07 +0200, Romano Giannetti <romanol@xxxxxxx> 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@xxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/