Date: Wed, 14 Jun 2006 22:39:29 -0700 From: Nate Lawson <nate@root.org> To: john@utzweb.net Cc: freebsd-acpi@freebsd.org Subject: Re: debug.acpi.avoid, how do i use it to tell acpi to not control the keyboard? Message-ID: <4490F291.9010406@root.org> In-Reply-To: <34543.69.93.78.27.1150155257.squirrel@69.93.78.27> References: <86zmgi1zab.wl%john@utzweb.net> <86y7w21y3o.wl%john@utzweb.net> <448DA197.70707@root.org> <86wtbm1xgj.wl%john@utzweb.net> <448DD256.7040307@root.org> <34543.69.93.78.27.1150155257.squirrel@69.93.78.27>
next in thread | previous in thread | raw e-mail | index | archive | help
john@utzweb.net wrote:
>> John L.Utz III wrote:
>>> At Mon, 12 Jun 2006 10:17:11 -0700,
>>> Nate Lawson wrote:
>>> wouldnt this be the one to avoid, assuming that 'KBC' is
>>> KeyboardController?
>>>
>>> Device (KBC)
>>> {
>>> Name (_HID, EisaId ("PNP0303"))
>>> Name (CRS, ResourceTemplate ()
>>> {
>>> IO (Decode16, 0x0060, 0x0060, 0x10, 0x01)
>>> IO (Decode16, 0x0064, 0x0064, 0x04, 0x01)
>>> IRQNoFlags () {1}
>>> })
>>> Method (_CRS, 0, NotSerialized)
>>> {
>>> Return (CRS)
>>> }
>>> }
>>>
>>>
>>>
>>> can you clarify your comment a trifle?
>> It would take a long time to explain it fully. ACPI is not controlling
>> your keyboard. The BIOS just decides whether or not to send ACPI hotkey
>> events (different from keystrokes) or consume them itself via SMI.
>
> so, the act of loading acpi.ko implements a callback for the bios that
> informs it that an acpi cognizant os is available?
>
> it seems to me that i would like to tell it to not use acpi and stick with
> smi because if i dont load acpi the buttons work almost perfectly. the
> only bit of grief i have is that without acpi, the powerbutton shuts off
> hard instead of performing a shutdown
Yep, that's your choice.
>> For some reason, the notify isn't getting delivered to ACPI along
>> the way.
>
> some do, some dont, suspend get's responded to, power button get's
> responded to.
>
> what commands do i use to break on buttons in acpidb?
Just stick a printf in acpi_button.c?
--
Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4490F291.9010406>
