Re: [PATCH] enclosure: add support for enclosure services

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Bottomley
Date: Tuesday, February 12, 2008 - 11:45 am

On Tue, 2008-02-12 at 10:22 -0800, Kristen Carlson Accardi wrote:

Correct me if I'm wrong, but didn't the original AHCI enclosure patch
expose activity LEDs via sysfs?

I'm not saying there aren't a lot of non standard pieces that need to be
activated by direct commands or other user activated protocol.  I am
saying there are a lot of standard pieces that we could do with showing
in a uniform manner.

The pieces I think are absolutely standard are

1. Actual enclosure presence (is this device in an enclosure)
2. Activity LED, this seems to be a feature of every enclosure.

I also think the following are reasonably standard (based on the fact
that most enclosure standards recommend but don't require this):

3. Locate LED (for locating the device).  Even if you only have an
activity LED, this is usually done by flashing the activity LED in a
well defined pattern.
4. Fault.  this is the least standardised of the lot, but does seem to
be present in about every enclosure implementation.

All I've done is standardise these four pieces ... the services actually
take into account that it might not be possible to do certain of these
(like fault).

James


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] enclosure: add support for enclosure services, James Bottomley, (Sun Feb 3, 2:40 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Sun Feb 3, 5:16 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Mon Feb 4, 5:41 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Mon Feb 4, 7:14 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Mon Feb 4, 9:37 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Tue Feb 5, 8:01 am)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Tue Feb 5, 1:29 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Tue Feb 5, 7:57 pm)
Re: [PATCH] enclosure: add support for enclosure services, Kristen Carlson Accardi, (Tue Feb 12, 11:22 am)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Tue Feb 12, 11:45 am)
Re: [PATCH] enclosure: add support for enclosure services, Kristen Carlson Accardi, (Tue Feb 12, 12:07 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Tue Feb 12, 12:28 pm)
Re: [PATCH] enclosure: add support for enclosure services, Luben Tuikov, (Tue Feb 12, 12:45 pm)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Wed Feb 13, 9:04 am)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Wed Feb 13, 9:43 am)
Re: [PATCH] enclosure: add support for enclosure services, Kristen Carlson Accardi, (Wed Feb 13, 10:45 am)
Re: [PATCH] enclosure: add support for enclosure services, James Bottomley, (Wed Feb 13, 11:17 am)