From owner-freebsd-acpi@FreeBSD.ORG Mon May 9 11:19:20 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 29CDA16A4E7; Mon, 9 May 2005 11:19:20 +0000 (GMT) Received: from smtp.cegetel.net (mf00.sitadelle.com [212.94.174.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B24143D98; Mon, 9 May 2005 11:19:19 +0000 (GMT) (envelope-from jspedron@club-internet.fr) Received: from [172.16.142.1] (213-223-184-193.dti.cegetel.net [213.223.184.193]) by smtp.cegetel.net (Postfix) with ESMTP id D5C4C1A5AF6; Mon, 9 May 2005 13:19:05 +0200 (CEST) Message-ID: <427F474C.6080707@club-internet.fr> Date: Mon, 09 May 2005 13:19:40 +0200 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a6) Gecko/20050208 X-Accept-Language: fr-fr, fr, en-us, en, ja MIME-Version: 1.0 To: Philip Paeps References: <427A8293.4020104@club-internet.fr> <20050509081417.GF719@loge.nixsys.be> <427F2A60.1080800@club-internet.fr> <20050509093816.GG719@loge.nixsys.be> In-Reply-To: <20050509093816.GG719@loge.nixsys.be> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig694CFDD31B48D8792F94353A" Content-Transfer-Encoding: 8bit cc: freebsd-acpi@freebsd.org 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 11:19:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig694CFDD31B48D8792F94353A Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Philip Paeps wrote: > 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. Of course it may be wrong, I never read ASL before. By looking at other notebook definitions and the ASL from this V6V and an M6N, I just made a guess :) > 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... The ASL is available here: http://www.dumbbell.fr/freebsd/v6v/asus_v6v.asl.bz2 -- Jean-Sébastien Pédron http://www.dumbbell.fr/ PGP Key: http://www.dumbbell.fr/pgp/pubkey.asc --------------enig694CFDD31B48D8792F94353A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCf0dSa+xGJsFYOlMRAuHUAKDXl/2rpuSgdqk6AutGIFxdTT60RACfWi7Z ipeNA+VN7eDDBeMHHfVHJks= =VYhJ -----END PGP SIGNATURE----- --------------enig694CFDD31B48D8792F94353A--