mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Norman Diamond <ndiamond@wta.att.ne.jp>,
	Patrick Mochel <mochel@osdl.org>
Cc: Mikael Pettersson <mikpe@csd.uu.se>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test6 APM/IDE double-suspend weirdness
Date: Sun, 12 Oct 2003 13:50:57 +0200	[thread overview]
Message-ID: <20031012115057.GB378@elf.ucw.cz> (raw)
In-Reply-To: <2c8a01c390a2$cee80640$5cee4ca5@DIAMONDLX60>

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?]

  reply	other threads:[~2003-10-12 11:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12  9:23 Norman Diamond
2003-10-12 11:50 ` Pavel Machek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-29 12:34 Mikael Pettersson
2003-10-02 12:51 ` Pavel Machek
2003-10-07  9:11   ` Mikael Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031012115057.GB378@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    --cc=mochel@osdl.org \
    --cc=ndiamond@wta.att.ne.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®