[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 10 Oct 2006 22:32:46 +0800
From: Yu Luming <luming.yu@...il.com>
To: Matt Domsch <Matt_Domsch@...l.com>
Cc: Pavel Machek <pavel@....cz>, Andrew Morton <akpm@...l.org>,
Alessandro Guido <alessandro.guido@...il.com>,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
len.brown@...el.com, jengelh@...ux01.gwdg.de, gelma@...ma.net,
ismail@...dus.org.tr
Subject: Re: [PATCH 2.6.18-mm2] acpi: add backlight support to the sony_acpi driver
> > Please move it into the kernel where it belongs, and use lcd
> > brightness subsystem like everyone else.
>
> We've been through this before.
> http://marc.theaimsgroup.com/?l=linux-kernel&m=114067198323596&w=2
>
> In addition, the SMI call used to change the backlight level *may*
> require (if configured by the sysadmin in BIOS), a password be
> entered.
>
> This begs for a common userspace app that can grok libsmbios and
> kernel interfaces both, and use the appropriate method on each, rather
> than just putting it all in the kernel
>From my understanding, a cute userspace App shouldn't have this kind
of logic:
if (is DELL )
invoke libsmbios
if (is foo)
invoke libfoo,
if (is bar)
invoke libbar,
....
else
operate on /sys/class/backlight/ ,.,..
It should be:
just write/read file in /sys/class/backlight ,....
Right?
Thanks,
Luming
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists