Linux ATA/IDE development
 help / color / mirror / Atom feed
* Feature request: HDD status
@ 2006-02-28 23:40 Victor Porton,,,
  2006-02-28 23:55 ` Shem Multinymous
  2006-03-01  6:16 ` shogunx
  0 siblings, 2 replies; 3+ messages in thread
From: Victor Porton,,, @ 2006-02-28 23:40 UTC (permalink / raw)
  To: linux-ide, linux-kernel

Hi,

I want the following feature:

Linux would be able (if this is possible for software) to
deliver to the user the state of the HDD, whether it is
active.

I mean that Linux would have a module which would export to
user space a boolean flag (probably a semaphore) which would
be true while the HDD red lamp is shining and false while it
is dark.

That is I want sofrware to provide the same info as this
hadrware HDD indicator on the front panel of most PCs.

(Then a Gnome applet would show it.)

I just look under the table to check HDD status to often
and would instead like to see it on the monitor.

Just a little wish.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Feature request: HDD status
  2006-02-28 23:40 Feature request: HDD status Victor Porton,,,
@ 2006-02-28 23:55 ` Shem Multinymous
  2006-03-01  6:16 ` shogunx
  1 sibling, 0 replies; 3+ messages in thread
From: Shem Multinymous @ 2006-02-28 23:55 UTC (permalink / raw)
  To: Victor Porton,,,; +Cc: linux-ide, linux-kernel

On 3/1/06, Victor Porton,,, <porton@ex-code.com> wrote:
> Linux would be able (if this is possible for software) to
> deliver to the user the state of the HDD, whether it is
> active.
>
> I mean that Linux would have a module which would export to
> user space a boolean flag (probably a semaphore) which would
> be true while the HDD red lamp is shining and false while it
> is dark.

You can get a fair approximation of that information by monitoring
/proc/diskstats or the relevant counter files under /sys. Simply turn
on the logical LED if the IO counter has been incremented in the last
(say) 30ms. The only time this is likely to be noticable different
than the physical LED is when the drive is in some initialization
state or error condition.

For an amusing ready-made graphical version, try the gkhdplop plugin of gkrellm.

  Shem

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Feature request: HDD status
  2006-02-28 23:40 Feature request: HDD status Victor Porton,,,
  2006-02-28 23:55 ` Shem Multinymous
@ 2006-03-01  6:16 ` shogunx
  1 sibling, 0 replies; 3+ messages in thread
From: shogunx @ 2006-03-01  6:16 UTC (permalink / raw)
  To: Victor Porton,,,; +Cc: linux-ide, linux-kernel

try gkrellm


On Wed, 1 Mar 2006, Victor Porton,,, wrote:

> Hi,
>
> I want the following feature:
>
> Linux would be able (if this is possible for software) to
> deliver to the user the state of the HDD, whether it is
> active.
>
> I mean that Linux would have a module which would export to
> user space a boolean flag (probably a semaphore) which would
> be true while the HDD red lamp is shining and false while it
> is dark.
>
> That is I want sofrware to provide the same info as this
> hadrware HDD indicator on the front panel of most PCs.
>
> (Then a Gnome applet would show it.)
>
> I just look under the table to check HDD status to often
> and would instead like to see it on the monitor.
>
> Just a little wish.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

sleekfreak pirate broadcast
http://sleekfreak.ath.cx:81/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-01  6:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 23:40 Feature request: HDD status Victor Porton,,,
2006-02-28 23:55 ` Shem Multinymous
2006-03-01  6:16 ` shogunx

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox