From owner-freebsd-acpi@FreeBSD.ORG Wed Jul 20 15:30:59 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E701016A41F for ; Wed, 20 Jul 2005 15:30:59 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F61743D46 for ; Wed, 20 Jul 2005 15:30:59 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (adsl-64-171-187-230.dsl.snfc21.pacbell.net [64.171.187.230]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j6KFUto5027505 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 20 Jul 2005 08:30:56 -0700 Message-ID: <42DE6E2D.5040202@root.org> Date: Wed, 20 Jul 2005 08:30:53 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Markus Brueffer References: <42DD2F4B.7020805@root.org> <6a7033710507200150178fd9a6@mail.gmail.com> <20050720143707.GK2715@poupinou.org> <200507201722.10413.markus@brueffer.de> In-Reply-To: <200507201722.10413.markus@brueffer.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Thinkpad t42 fn+f3 (Blank Screen) 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: Wed, 20 Jul 2005 15:31:00 -0000 Markus Brueffer wrote: > On Wednesday 20 July 2005 16:37, Bruno Ducrot wrote: >>Thanks you both for sending me the ASLs for your machine. >> >>Unfortunately, I can't help yet looking around those ASLs. >> >>The problem are: >> >>1- the _Q12 method (which should be called if pressing >>Fn+F3 if I understand correctly a previous email) will call >>\_SB.PCI0.LPC.EC.HKEY.MHKQ (0x1003) >>and at the MHKQ() will then call '\UCMS (0x0D) (if Arg0 is 0x1003)', >>which in turn will call SMI(...) which is a call to a SMI handler (since >>it will output 'something' to io port 0xb2). And it's pretty hard to >>debug SMI handler somehow.. >> >>2- that method (MHKQ()) will also notify at the very end the device >>'HKEY'. That one is 'Name (_HID, EisaId ("IBM0068"))' and therefore is >>a propritary "device". We have to write a driver in order to handle >>that 'notify' (and I must admit I don't know what to do even then). > > > We already have one: acpi_ibm(4). Setting > > dev.acpi_ibm.0.events=1 > > enables these ACPI events (disabled by default, because it changes the > default behaviour of some keys, see manpage) which can be processed by > devd. > > On my T41p Fn+F3 doesn't work as advertised as well (without setting the > sysctl. Setting the sysctl correctly throws an event). Unfortunately I > didn't have time to look into this, yet :( Right. The problem with debugging SMM code that Bruno mentions is because it is not accessible at runtime (the memory is hidden and locked.) The only way to get to it is to dump the flash and that's a lot of work. -- Nate