From owner-freebsd-acpi@FreeBSD.ORG Tue Feb 10 00:04:52 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42416106568F for ; Tue, 10 Feb 2009 00:04:52 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id BB7118FC13 for ; Tue, 10 Feb 2009 00:04:51 +0000 (UTC) (envelope-from ivakras1@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1044221fgb.35 for ; Mon, 09 Feb 2009 16:04:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=3epIrr5CH26V1mUF2al1R4uA/LFP2YUePUfviAgP+1o=; b=tqtrMV8RHSpOMYdklPLip8QtN/Zj0uu5dGxyzbCNMiorVHTodvX8RNsIxzJgM4bytb c6GNotQ7/7GIcyvW/F3GlWXs3m5oQfbiJ2EMwZI4yMxaecBKzr9pdtU03sm1EHzl8wmr dvU7E4K5XIOuwJsj7o37CDE8LQTNwTwmeb5tw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :message-id; b=Qar6u+E66GsfGoK3X+JdxbDUJZZoKj/Zvm0Ek9aNHIj+8cpqcOAdiAFoyY7vYpf6w4 fZ3+F7wIPxQt5dgqrBXznq20W65kczsjkoyLz/XeeGnCjFvlXtWg8GXE94jNa7nusVKE r0Sf3Xo1VgYwL1Z9l9QpNam0Y+NB0v+gm2tFE= Received: by 10.223.106.12 with SMTP id v12mr1662647fao.16.1234224290651; Mon, 09 Feb 2009 16:04:50 -0800 (PST) Received: from ?192.168.15.129? ([92.50.244.162]) by mx.google.com with ESMTPS id z15sm6941324fkz.31.2009.02.09.16.04.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Feb 2009 16:04:50 -0800 (PST) From: Dmitry Kolosov To: freebsd-acpi@freebsd.org Date: Tue, 10 Feb 2009 03:03:57 +0300 User-Agent: KMail/1.9.10 References: <494DBF33.7040301@micom.mng.net> <21911316.post@talk.nabble.com> <4911F71203A09E4D9981D27F9D830858146AC638@orsmsx503.amr.corp.intel.com> In-Reply-To: <4911F71203A09E4D9981D27F9D830858146AC638@orsmsx503.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902100303.57193.ivakras1@gmail.com> Subject: ACPI events X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Feb 2009 00:04:53 -0000 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: 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)) } and 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)) } 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!