From owner-freebsd-acpi@FreeBSD.ORG Mon May 9 09:38:30 2005 Return-Path: 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 758F816A4E7 for ; Mon, 9 May 2005 09:38:30 +0000 (GMT) Received: from gateway.nixsys.be (gateway.nixsys.be [195.144.77.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id A71B143D5C for ; Mon, 9 May 2005 09:38:28 +0000 (GMT) (envelope-from philip@paeps.cx) Received: from loge.nixsys.be (loge.nixsys.be [IPv6:2001:838:37f:0:20c:6eff:fe4b:23f]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "loge.home.paeps.cx", Issuer "NixSys CA" (verified OK)) by gateway.nixsys.be (Postfix) with ESMTP id C64F9C11B for ; Mon, 9 May 2005 11:38:20 +0200 (CEST) Received: from loge.nixsys.be (philip@localhost [127.0.0.1]) by loge.nixsys.be (8.13.3/8.13.3) with ESMTP id j499cKxI010502 for ; Mon, 9 May 2005 11:38:20 +0200 (CEST) (envelope-from philip@loge.nixsys.be) Received: (from philip@localhost) by loge.nixsys.be (8.13.3/8.13.3/Submit) id j499cHMl010501 for freebsd-acpi@freebsd.org; Mon, 9 May 2005 11:38:17 +0200 (CEST) (envelope-from philip) Date: Mon, 9 May 2005 11:38:17 +0200 From: Philip Paeps To: freebsd-acpi@freebsd.org Message-ID: <20050509093816.GG719@loge.nixsys.be> Mail-Followup-To: freebsd-acpi@freebsd.org References: <427A8293.4020104@club-internet.fr> <20050509081417.GF719@loge.nixsys.be> <427F2A60.1080800@club-internet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <427F2A60.1080800@club-internet.fr> X-Date-in-Rome: ante diem VII Idius Maias MMDCCLVIII ab Urbe Condida X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3 FC53 BF4B D0E6 049D B879 X-Message-Flag: Get a proper mailclient! Organization: Happily Disorganized User-Agent: Mutt/1.5.9i Subject: Re: Support for Asus V6V in acpi_asus(4) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 09:38:30 -0000 On 2005-05-09 11:16:16 (+0200), Jean-Sébastien Pédron wrote: > Philip Paeps wrote: > > On 2005-05-05 22:31:15 (+0200), Jean-Sébastien Pédron wrote: > > > Especially, the method to get the display state (.disp_get): at boot > > > time, hw.acpi.asus.video_output contains out-of-range values, but after > > > setting it to an acceptable value, it reports the last set number. > > > > Would be interesting to know how out of range these values are and where > > they come from. Are the values also out of range when you load acpi_asus > > as a module after booting? > > I always get "257" when the module is loaded at boot time > (acpi_asus_load="YES" in /boot/loader.conf). I've just tested with a module > loaded only after the system has booted, it's "257" too. I remember I had > "758" once but perhaps with another ACPI method. Could it be that the method you're using for disp_get is just wrong? We only evaluate that on load, after that, we keep track of the value in the softc s_disp. Is your asl online somewhere? What does the \\_SB.PCI0.P0P1.VGA.GETD method return? Maybe that value needs to be massaged in some way... - Philip -- Philip Paeps Calm down ... it is only ones and zeros philip@freebsd.org 90% of everything is crud.