Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2009 03:03:57 +0300
From:      Dmitry Kolosov <ivakras1@gmail.com>
To:        freebsd-acpi@freebsd.org
Subject:   ACPI events
Message-ID:  <200902100303.57193.ivakras1@gmail.com>
In-Reply-To: <4911F71203A09E4D9981D27F9D830858146AC638@orsmsx503.amr.corp.intel.com>
References:  <494DBF33.7040301@micom.mng.net> <21911316.post@talk.nabble.com> <4911F71203A09E4D9981D27F9D830858146AC638@orsmsx503.amr.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all!
I have acpi events mapped to Fn+F7 (lcd brightness up) and to Fn+F8 (lcd 
brightness down), and several other combinations. I think the corresponding 
code in my `acpidump -dt` produced asl file is:
<code>
If (LEqual (Local1, 0x07))
{
   Store ("Fn+F7 Pressed", Debug)
   If (LEqual (OSYS, 0x07D6))
   {
      If (IGDS)
      {
         BRTN (0x87)
      }
      Else
      {
         Notify (^^PCI0.PEGP.VGA.LCD, 0x87)
      }
   }
   Else
   {
      Store (0x15, SMIF)
      Store (Zero, TRP0)
   }
   Sleep (0x32)
   Store (0xB6, Index (DerefOf (Index (Local0, 0x02)), Zero))
   Store (One, Index (DerefOf (Index (Local0, 0x02)), One))
}
</code>

and
<code>
If (LEqual (Local1, 0x08))
{
   Store ("Fn+F8 Pressed", Debug)
   If (LEqual (OSYS, 0x07D6))
   {
      If (IGDS)
      {
         BRTN (0x86)
      }
      Else
      {
         Notify (^^PCI0.PEGP.VGA.LCD, 0x86)
      }
   }
   Else
   {
      Store (0x14, SMIF)
      Store (Zero, TRP0)
   }
   Sleep (0x32)
   Store (0xB7, Index (DerefOf (Index (Local0, 0x02)), Zero))
   Store (One, Index (DerefOf (Index (Local0, 0x02)), One))
}
</code>

It is no effect when i pressed it, it is also no keycodes sent (tested with 
xev). The question is: how to debug usage of this combinations? Is there a way 
to get it work?
Thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902100303.57193.ivakras1>