debug.acpi.avoid, how do i use it to tell acpi to not control the keyboard?

John L.Utz III john at utzweb.net
Mon Jun 12 17:27:22 UTC 2006


At Mon, 12 Jun 2006 10:17:11 -0700,
Nate Lawson wrote:
> 
> John L.Utz III wrote:
> > oops, correction
> > 
> > At Mon, 12 Jun 2006 09:47:08 +0000,
> > John L.Utz III wrote:
> >> Hello again;
> >>
> >> to quote man acpi:
> >>
> >>
> >>      It is also possible to avoid portions of the ACPI namespace which may be
> >>      causing problems, by listing the full path of the root of the region to
> >>      be avoided in the kernel environment variable debug.acpi.avoid.  The
> >>      object and all of its children will be ignored during the bus/children
> >>      scan of the namespace.  The ACPI CA code will still know about the
> >>      avoided region.
> >>
> >> so, if i wanted to let acpi drive the power button and the suspend keypress but ignore everything else, how would one do that?
> > 
> > 
> > amend to read       
> > 
> > so, if i wanted to let acpi drive the power button and the suspend keypress
> > but ignore everything else ON THE KEYBOARD, how would one do that?
> > 
> >  
> >> or failing that, can someone provide a sample use of acpi.debug.avoid that i can work from?
> >>
> 
> Nope, that's not how PCs work.


hmm, 

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?

tnx!

johnu
 
> -- 
> Nate
> 


More information about the freebsd-acpi mailing list