[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 10 Oct 2006 15:47:26 +0100
From: Richard Hughes <hughsient@...il.com>
To: Yu Luming <luming.yu@...il.com>
Cc: Matt Domsch <Matt_Domsch@...l.com>, 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
On Tue, 2006-10-10 at 22:32 +0800, Yu Luming wrote:
> >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/ ,.,..
This is what HAL has at the moment[1]. And it's hell to maintain, but
works for a lot of users.
> It should be:
> just write/read file in /sys/class/backlight ,....
That would make things much easier IMO.
Richard.
[1]
http://gitweb.freedesktop.org/?p=hal.git;a=blob;h=3ff9284be440a7197b0de9b5f0234761c3397cb1;hb=dbffafacbf7b9143d82547b9eabe61d1a5b8fffc;f=tools/linux/hal-system-lcd-get-brightness-linux
-
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