Re: [PATH] misc,acpi,backlight: Compal Laptop Extras (2nd try)

From: Richard Purdie
Date: Thu Feb 07 2008 - 04:29:54 EST


On Tue, 2008-02-05 at 18:38 +0100, Cezary Jackiewicz wrote:
> From: Cezary Jackiewicz <cezary.jackiewicz@xxxxxxxxx>
>
> This is driver for Compal Laptop: FL90/IFL90, based on MSI
> driver.
>
> This driver exports a few files in /sys/devices/platform/compal-laptop/:
> lcd_level - screen brightness: contains a single integer in the range 0..7 (rw)
> wlan - wlan subsystem state: contains 0 or 1 (rw)
> bluetooth - bluetooth subsystem state: contains 0 or 1 (rw)
> raw - raw value taken from embedded controller register (ro)
>
> In addition to these platform device attributes the driver registers itself
> in the Linux backlight control subsystem and is available to userspace under
> /sys/class/backlight/compal-laptop/.
>
> Based on 2.6.24

If you use the backlight class do we really need to duplicate the
lcd_level file under sysfs too?

Richard

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/