[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190912205551.GA13514@amd>
Date: Thu, 12 Sep 2019 22:55:52 +0200
From: Pavel Machek <pavel@....cz>
To: Dan Murphy <dmurphy@...com>
Cc: jacek.anaszewski@...il.com, robh+dt@...nel.org,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 2/9] documention: leds: Add multicolor class
documentation
Hi!
> +Directory Layout Example
> +========================
> +root:/sys/class/leds/rgb:grouped_leds# ls -lR colors/
> +colors/:
> +drwxr-xr-x 2 root root 0 Jun 28 20:21 blue
> +drwxr-xr-x 2 root root 0 Jun 28 20:21 green
> +drwxr-xr-x 2 root root 0 Jun 28 20:21 red
> +-rw------- 1 root root 4096 Jun 28 20:21 color_mix
> +
> +colors/blue:
> +-rw------- 1 root root 4096 Jun 28 20:21 intensity
> +-r-------- 1 root root 4096 Jun 28 20:27 max_intensity
> +-r-------- 1 root root 4096 Jun 28 20:21 color_id
I don't really like the directories... A bit too much complexity, and
it will have a memory footprint, too.
I'd expect max_intensity to be same for all the leds in
rgb:grouped_leds... Could we simply rely on max_brightness file?
[If not, would one "max_intensity" file in rgb:grouped_leds be
enough?]
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists