Re: [PATCH] Sonypi: convert to the new platform device interface
From: Stelian Pop
Date: Wed Dec 14 2005 - 04:06:41 EST
Le mardi 13 décembre 2005 à 21:57 -0800, Andrew Morton a écrit :
> "Yu, Luming" <luming.yu@xxxxxxxxx> wrote:
> >
> > But, from my understanding, sonypi.c should be cleanly implemented in ACPI.
> >
>
> heh, good luck. I've spent a decent chunk of this week making Linux suck
> less than 100% on a new Vaio, Am currently at 95%. Poking things into
> sonypi's /proc/acpi/brightness
this isn't sonypi's but sony_acpi's /proc/acpi/brightness
> is the only way known of controlling the
> screen brightness. One of the mysterious and undocumented ACPI calls will
> do it, but we don't know which, nor how.
For the brightness thingy, this is known: it's the SBRT/GBRT functions
of the "SNC" ACPI device (and this seems to work for all Sony Vaios
except the ones using nvidia graphic cards, where you have to use
smartdimmer instead)
Yu has somewhat integrated sony_acpi related functions in acpi_hotkey in
a testing patch (http://bugzilla.kernel.org/show_bug.cgi?id=4876) if you
like the proposed way to do it. Based on the existence of that patch,
the integration of sony_acpi into the offical kernel has been rejected
by ACPI people.
/me still wonders how hotkey.c got integrated into the kernel in its
current form...
--
Stelian Pop <stelian@xxxxxxxxxx>
-
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/