From owner-freebsd-acpi@FreeBSD.ORG Tue Mar 11 14:04:14 2008 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 A0E5D1065674 for ; Tue, 11 Mar 2008 14:04:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 744708FC1B for ; Tue, 11 Mar 2008 14:04:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id DFFDB1A4D83; Tue, 11 Mar 2008 07:03:26 -0700 (PDT) From: John Baldwin To: Anish Mistry Date: Tue, 11 Mar 2008 08:40:04 -0400 User-Agent: KMail/1.9.7 References: <200803101910.m2AJA26c037165@freefall.freebsd.org> <200803101753.51267.jhb@freebsd.org> <200803101823.21617.amistry@am-productions.biz> In-Reply-To: <200803101823.21617.amistry@am-productions.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803110840.05057.jhb@freebsd.org> Cc: freebsd-acpi@freebsd.org Subject: Implementing external methods via ACPI-CA 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, 11 Mar 2008 14:04:14 -0000 On Monday 10 March 2008 06:23:10 pm Anish Mistry wrote: > On Monday 10 March 2008, John Baldwin wrote: > > On Monday 10 March 2008 05:14:02 pm Anish Mistry wrote: > > > On Monday 10 March 2008, John Baldwin wrote: > > > ACPI Error (psargs-0459): [\_SB_.PCI0.GFX0.LCD_.BLNF] Namespace > > > lookup failure, AE_NOT_FOUND > > > ACPI Error (psparse-0626): Method parse/execution failed > > > [\_GPE._L1C] (Node 0xff ffff00011bd780), AE_NOT_FOUND ACPI > > > Exception (evgpe-0687): AE_NOT_FOUND, while evaluating GPE method > > > [_L1C] [20070320] > > > > The problem is that ACPI-CA matches "Windows 2006" internally and > > thus sets OSTB to 0x40. The garbage you were using for _OSI must > > have made it always fail. You probably will need to just patch > > your ASL and/or figure out what BLNF does and implement it. > > Perhaps check to see what folks with Linux are seeing with this > > laptop as it has the same ACPI-CA code. > > So there is no way to have that External method call out some C code? > I already have to code in my updated acpi_fujitsu module to handle > changing of the brightness, I just need it called. I'd like to get > this all working so it doesn't require ASL patching. > > As for the Linux stuff, Google doesn't reveal anything. This laptop > is pretty new, it's only been out for about a month. I'm not sure how we can add additional external methods via ACPI-CA. Might be a question for the ACPI-CA guys. -- John Baldwin