From owner-freebsd-mobile@FreeBSD.ORG Tue Aug 29 12:25:24 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C02716A4E2 for ; Tue, 29 Aug 2006 12:25:24 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 776F043D5D for ; Tue, 29 Aug 2006 12:25:13 +0000 (GMT) (envelope-from freebsd@meijome.net) Received: (qmail 5387 invoked from network); 29 Aug 2006 07:25:12 -0500 Received: from 203-214-156-184.perm.iinet.net.au (HELO localhost) (203.214.156.184) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 29 Aug 2006 07:25:12 -0500 Date: Tue, 29 Aug 2006 22:25:06 +1000 From: Norberto Meijome To: freebsd-mobile@freebsd.org Message-ID: <20060829222506.234af1be@localhost> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: For the archives : devd events for Thinkpad Z60M X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 12:25:24 -0000 Hi all, following up on the email about my devd email earlier in the week ( http://lists.freebsd.org/pipermail/freebsd-mobile/2006-August/008948.html ) , I'd thought I should share a bit of documentation on the events triggered by this Thinkpad Z60M and acpi_ibm.ko. It should be pretty similar for latest models of Thinkpads Please see the link above for rest of config changes to use this information ----- ################################################## ## There is a discrepancy between what devd shows in /var/log/messages with knob dev.acpi_ibm.0.events = 1 and what devd in debug mode (devd -dD) shows as being caught and matched. ## MsgLog : notify:10nn DevD : notify 0xnn ###################################################### Fn-F1 May 29 18:03:11 ayiin kernel: IBM:NOTIFY:80 May 29 18:03:11 ayiin kernel: notify:1001 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x01' Fn-F2 -> Fn-F9 (2 -> 9 = {F#} May 29 18:03:14 ayiin kernel: IBM:NOTIFY:80 May 29 18:03:14 ayiin kernel: notify:100{F#} Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x0{F#}' Fn F10 - nothing (should be ACPI IBM 0x0a Fn F11 : May 29 18:04:33 ayiin kernel: IBM:NOTIFY:80 May 29 18:04:33 ayiin kernel: notify:100b Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x0b' Fn F12 - Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x0c' Fn Home (lcd brightness up) May 29 18:05:22 ayiin kernel: IBM:NOTIFY:80 May 29 18:05:22 ayiin kernel: notify:1010 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x10' FN End (lcd brightness down) May 29 18:05:27 ayiin kernel: IBM:NOTIFY:80 May 29 18:05:27 ayiin kernel: notify:1011 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x11' FN PgUp (thinklight) May 29 18:05:25 ayiin kernel: IBM:NOTIFY:80 May 29 18:05:25 ayiin kernel: notify:1012 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x12' ThinkVantage key May 29 18:06:38 ayiin kernel: IBM:NOTIFY:80 May 29 18:06:38 ayiin kernel: notify:1018 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x18' Fn Spacebar (magnifiying glass) May 29 18:07:00 ayiin kernel: IBM:NOTIFY:80 May 29 18:07:00 ayiin kernel: notify:1014 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x14' Sound keys No sound key May 29 18:07:52 ayiin kernel: IBM:NOTIFY:80 May 29 18:07:52 ayiin kernel: notify:1017 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x17' Sound down key May 29 18:07:53 ayiin kernel: IBM:NOTIFY:80 May 29 18:07:53 ayiin kernel: notify:1016 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x16' Sound up key May 29 18:07:54 ayiin kernel: IBM:NOTIFY:80 May 29 18:07:54 ayiin kernel: notify:1015 Processing event '!system=ACPI subsystem=IBM type=\_SB_.PCI0.LPC_.EC__.HKEY notify=0x15' Close Lid: Processing event '!system=ACPI subsystem=Lid type=\_SB_.LID_ notify=0x00' Open Lid: Processing event '!system=ACPI subsystem=Lid type=\_SB_.LID_ notify=0x01' Radio switch (front of laptop) Jul 7 02:32:24 ayiin kernel: IBM:NOTIFY:80 Jul 7 02:32:24 ayiin kernel: notify:7000 It doesnt seem to be parsed by devd -dD ----- _________________________ {Beto|Norberto|Numard} Meijome "He has Van Gogh's ear for music." Billy Wilder I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.