From: Benjamin Herrenschmidt <bh40@calva.net>
To: Michael Schmitz <schmitz@opal.biophys.uni-duesseldorf.de>,
<linuxppc-dev@lists.linuxppc.org>
Subject: Re: powerbook hang from post-sleep cdrom access - fix
Date: Thu, 27 Jul 2000 15:12:40 +0200 [thread overview]
Message-ID: <20000727131240.11712@mailhost.mipsys.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10007271407230.23151-100000@opal.biophys.uni-duesseldorf.de>
>Aye. Can you be more specific about 'do whatever needs to be done'? Can I
>just send the disk a read command to wake it up? Send a reset
>command?? Will a reset command hurt if I always send a drive reset
>there?
I don't know yet ;) I have to look more closely at my ATA spec. It may
not be necessary to wakeup the disk in fact, the current code seems to be
ok for the hard disk once the timeout has been bumped.
What bugs me is that on wakeup, the CD-ROM should automatically send a
request unit attention on the first command to signal a disk change. So
in theory, sending the media change command should not be necessary.
Well, it can do no harm, I'll see what can be done.
>I'll try that on my Lombard to see if I can save the nasty timeout when
>the drive was powered off with hdparm -Y ?? That would help fake sleep
>mode on the Pismo, or did you implement pmu sleep/wakeup there yet?
Not yet, i've not yet figured out all the details, this machine seems to
be more complicated to put to sleep (and to wakeup) than older ones, and,
as usual, I have absolutely no docs nor specs.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-07-27 13:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-27 7:13 powerbook hang from post-sleep cdrom access - fix Joseph Garcia
2000-07-27 7:16 ` Stephan Leemburg
2000-07-27 8:12 ` Joseph Garcia
2000-07-27 10:32 ` Benjamin Herrenschmidt
2000-07-27 17:46 ` Robert Thompson
2000-07-27 8:59 ` Michael Schmitz
2000-07-27 10:36 ` Benjamin Herrenschmidt
2000-07-27 12:12 ` Michael Schmitz
2000-07-27 13:12 ` Benjamin Herrenschmidt [this message]
2000-07-27 19:27 ` Michael Schmitz
2000-07-27 16:10 ` Joseph Garcia
2000-07-27 19:48 ` Michael Schmitz
2000-07-27 20:36 ` Joseph Garcia
2000-07-27 20:50 ` Michael Schmitz
2000-07-27 21:21 ` Benjamin Herrenschmidt
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=20000727131240.11712@mailhost.mipsys.com \
--to=bh40@calva.net \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=schmitz@opal.biophys.uni-duesseldorf.de \
/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;
as well as URLs for NNTP newsgroup(s).