Re: 2.6.0-test6 APM/IDE double-suspend weirdness

From: Pavel Machek
Date: Sun Oct 12 2003 - 06:52:20 EST


Hi!

[Disk is going up/down/up/down when doing apm -s].

> > > Try removing pm_send_all from apm.c
> >
> > Ok I tried removing all pm_send_all from apm.c.
> > I made no difference at all.
>
> I am not surprised. 2.4.20 has the same pm_send_all but does not
> >have

Well, 2.4.20 does not have driver model, either.

> What is the intended effect of device_suspend(3)? Am I asking for trouble
> by removing it?

Notebook bios is expected to handle apm -s itself. But most notebooks
get it wrong (and fail to save state of audio or something),
device_suspend() should help that. If it works without that, thats
fine.

Try doing without syslogd.

apm really should stop all processes before going to driver model, or
spinup/spindown/spinup weirdness is well possible. Anyway, this is
driver model, Patrick should know more.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
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/