Re: [PATCH 02/24] leds: core: Add support for composing LED class device names

From: Pavel Machek
Date: Tue Nov 13 2018 - 16:50:49 EST


On Tue 2018-11-13 22:38:49, Geert Uytterhoeven wrote:
> Hi Pavel,
>
> On Mon, Nov 12, 2018 at 11:07 PM Pavel Machek <pavel@xxxxxx> wrote:
> > Not really, I'm afraid. Hard drives have no red LEDs on them (and the
> > LED would not be visible, anyway) so the "device" symlink in such case
> > would point to some kind of i2c LED controller.
>
> I've seen hard drives with LEDs on the PCB.

Me too.

> External USB enclosures with hard drives typically have LEDs, too.

Yes, but typically neither are OS controlled.

I'm thinking home NAS system; it may have per-disk LEDs and they'll
probably be on some kind of dedicated LED controller.

Anyway, my point is that "device that controls this LED" is often
different from "device this LED is about".

Regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature