From: "Alejandro Bonilla" <abonilla@linuxwireless.org>
To: Pavel Machek <pavel@suse.cz>, Hui Cheng <hcheng@cse.unl.edu>
Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Re: How to quickly detect the mode change of a hard disk?
Date: Wed, 16 Nov 2005 12:58:27 -0600 [thread overview]
Message-ID: <20051116185628.M35560@linuxwireless.org> (raw)
In-Reply-To: <20051113151056.GB2193@spitz.ucw.cz>
On Sun, 13 Nov 2005 15:10:56 +0000, Pavel Machek wrote
> > I am currently doing a kernel module involves detecting/changing
> > disk mode among STANDBY and ACTIVE/IDLE. I used ide_cmd_wait() to issue
> > commands like WIN_IDLEIMMEDIATELY and WIN_STANDBYNOW1. The problem is, a
> > drive in standby mode will automatically awake whenever a disk operation
> > is requested and I need to know the mode change as soon as possible. (So I
>
> AFAIK there's no nice way to get that info, but it is useful, so
> patch would be welcome.
I would check the hdparm man page again. Still, it sounds interesting.
Additionally, it could be cool if someone could finish up or make the option
for the HD freeze to use it with the HDAPS driver. ;-)
.Alejandro
next prev parent reply other threads:[~2005-11-16 18:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-10 22:34 [PATCH] getrusage sucks Claudio Scordino
2005-11-11 5:06 ` David Wagner
2005-11-11 19:09 ` Lee Revell
2005-11-11 19:13 ` David Wagner
2005-11-12 17:45 ` How to quickly detect the mode change of a hard disk? Hui Cheng
2005-11-13 15:10 ` Pavel Machek
2005-11-16 18:58 ` Alejandro Bonilla [this message]
2005-11-18 19:41 ` Hui Cheng
2005-11-19 23:44 ` Pavel Machek
2005-11-22 15:39 ` Hui Cheng
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=20051116185628.M35560@linuxwireless.org \
--to=abonilla@linuxwireless.org \
--cc=hcheng@cse.unl.edu \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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