lkml.org 
[lkml]   [2007]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB Key light on/off state depending on mount
Casey Dahlin wrote:
> Most USB keys nowadays have a small LED somewhere inside of them that
> lights up when they are plugged in. On a windows box, the key is lit up
> whenever it is mounted, and as soon as it is unmounted it turns off,
> giving a handy physical indicator that the key is safe to remove. On
> linux, the light is simply on whenever the key is plugged in.
>
> Should linux toggle the light depending on mount state? Is it as trivial
> as it seems or does this reflect some larger issue?

I think that Windows turns off power to the port when you do the "safely
remove hardware" on it, or something like that. Mount/unmount doesn't
really indicate whether the device is in use in Linux, though, since it
can still be potentially accessed even when the device isn't mounted.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/

-
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/

\
 
 \ /
  Last update: 2007-08-25 01:23    [W:0.432 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site