All of lore.kernel.org
 help / color / mirror / Atom feed
From: Soeren Sonnenburg <kernel@nn7.de>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: Justin Mattock <justinmattock@gmail.com>,
	Julien BLACHE <jb@jblache.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>,
	"Rafael J\. Wysocki" <rjw@sisk.pl>
Subject: Re: 2.6.25 intended change: smc:kbd_backlight vs. smc::kbd_backlight ?
Date: Sat, 05 Apr 2008 17:33:40 +0200	[thread overview]
Message-ID: <1207409620.4224.10.camel@localhost> (raw)
In-Reply-To: <1207392125.5021.11.camel@dax.rpnet.com>

On Sat, 2008-04-05 at 11:42 +0100, Richard Purdie wrote:
> On Sat, 2008-04-05 at 07:32 +0200, Soeren Sonnenburg wrote:
> > On Fri, 2008-04-04 at 15:12 +0000, Justin Mattock wrote:
> > > Hello; I noticed this as well, you loose the greatest feature; the
> > > cool leds lights on the keyboard with the macbook pro,
> > > A solution that worked for me was to compile pommed from the source
> > > and edit kbd_backlight.h
> > > regards;
> > >                Justin P. Mattock
> > 
> > Yeah, but it will not only affect pommed... and I don't see the
> > rationale of introducing :: to separate things... so I think we should
> > have another patch replacing the :: with ':' again to unbreak userspace
> > for 2.6.25.
> > 
> > Could someone more official please respond to this regression (CCing
> > Rafael to record it)
> 
> Basically the LED names were a mess, there is a documented standard
> which has been there since the beginning (Documentation/leds-class.txt)
> and a number of drivers didn't follow that. That standardisation commit
> was an attempt to deal with this problem once and for all and in that
> sense its a bugfix, not a regression. The fact function wasn't part of
> the original naming scheme was a mistake (see previous discussions on
> LKML) which we're trying to address without breaking the documented
> standard. The side effect is that some existing drivers need to be
> updated to match the documentation (and should never have been merged in
> the first place because of that) :(.

So to make it clear "devicename:colour:function" means in the case of
applesmc smc::kbd_backlight because there is no colour defined. One
could have used "devicename:function:colour" without breaking things -
no ?

So it seems we will have to file bug reports to the led dealing
userspace programs ...

Soeren

  reply	other threads:[~2008-04-05 15:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 18:58 2.6.25 intended change: smc:kbd_backlight vs. smc::kbd_backlight ? Soeren Sonnenburg
2008-04-04  6:54 ` Soeren Sonnenburg
2008-04-04 15:12   ` Justin Mattock
2008-04-05  5:32     ` Soeren Sonnenburg
2008-04-05  6:44       ` Justin Mattock
2008-04-05  6:51         ` Soeren Sonnenburg
2008-04-05 10:42       ` Richard Purdie
2008-04-05 15:33         ` Soeren Sonnenburg [this message]
2008-04-05 16:22           ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1207409620.4224.10.camel@localhost \
    --to=kernel@nn7.de \
    --cc=jb@jblache.org \
    --cc=justinmattock@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=rpurdie@rpsys.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.