Re: ThinkPad x60 and FN keys

"Rong-en Fan" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On 3/17/07, YAMAMOTO, Taku /  <[email protected]> wrote:
> Try this patch.
>
>
> --
> -|-__   YAMAMOTO, Taku
>  | __ <     <[email protected]>
>
>       - 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");
>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.