Date: Sat, 17 Mar 2007 17:10:38 +0800 From: "Rong-en Fan" <grafan@gmail.com> To: "=?GB2312?B?WUFNQU1PVE8sIFRha3UgLyDJvbG+IM3Y?=" <taku@tackymt.homeip.net> Cc: Alexandre Sunny Kovalenko <alex.kovalenko@verizon.net>, freebsd-mobile@freebsd.org Subject: Re: ThinkPad x60 and FN keys Message-ID: <6eb82e0703170210t3d4be248w64b7cf9981880bbe@mail.gmail.com> In-Reply-To: <20070317170959.f48f5bf6.taku@tackymt.homeip.net> References: <6eb82e0703161009w15787d99p51510299fa0e1e45@mail.gmail.com> <1174078831.829.11.camel@RabbitsDen> <6eb82e0703170100v572a0794q334dc34bec992685@mail.gmail.com> <20070317170959.f48f5bf6.taku@tackymt.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/17/07, YAMAMOTO, Taku / 山本 拓 <taku@tackymt.homeip.net> wrote:
> Try this patch.
>
>
> --
> -|-__ YAMAMOTO, Taku
> | __ < <taku@tackymt.homeip.net>
>
> - A chicken is an egg's way of producing more eggs. -
>
>
Tested with newer acpica (available on acpi@). Without acpi_video,
brightness control (FN+Home, End) works. Bluetooth control
(fn+f5) works and the dev.acpi_ibm.0.bluetooth seems not flip flop.
FN+F7 still not work.
With acpi_video, brightness control does not work.
Thank you.
Regards,
Rong-En Fan
> --- acpi_ec.c-1.69 Tue Feb 27 09:14:20 2007
> +++ sys/dev/acpica/acpi_ec.c Tue Feb 27 14:39:52 2007
> @@ -825,6 +825,11 @@ EcGpeHandler(void *Context)
> CTR1(KTR_ACPI, "ec event was IBE/OBF, status %#x", EcStatus);
> sc->ec_csrvalue = EcStatus;
> wakeup(&sc->ec_csrvalue);
> + if (!sc->ec_sci_pend) {
> + Status = AcpiEnableGpe(sc->ec_gpehandle, sc->ec_gpebit, ACPI_ISR);
> + if (ACPI_FAILURE(Status))
> + printf("EcGpeHandler: AcpiEnableEvent failed\n");
> + }
> } else if (!sc->ec_sci_pend) {
> /* SCI bit set and no pending query handler, so schedule one. */
> CTR0(KTR_ACPI, "ec queueing gpe handler");
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0703170210t3d4be248w64b7cf9981880bbe>
