From owner-freebsd-current@FreeBSD.ORG Sat May 8 10:04:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F79C16A4CE for ; Sat, 8 May 2004 10:04:39 -0700 (PDT) Received: from avgw.bjut.edu.cn (avgw.bjut.edu.cn [202.112.78.85]) by mx1.FreeBSD.org (Postfix) with SMTP id CD1EE43D4C for ; Sat, 8 May 2004 10:04:33 -0700 (PDT) (envelope-from junsu@delphij.net) Received: from beastie.frontfree.net ([218.107.145.7]) by avgw.bjut.edu.cn (SAVSMTP 3.1.5.43) with SMTP id M2004050901042602841 for ; Sun, 09 May 2004 01:04:26 +0800 Received: from localhost (localhost [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 81082114F1; Sun, 9 May 2004 01:04:27 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00951-02; Sun, 9 May 2004 01:04:26 +0800 (CST) Received: from shasujunmv (unknown [211.161.222.185]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by beastie.frontfree.net (Postfix) with ESMTP id AFD7D1146A; Sun, 9 May 2004 01:04:19 +0800 (CST) Message-ID: <001f01c4351e$7d301290$6902a8c0@shasujunmv> From: "Jun Su" To: "Toxa" , References: <3110388150.20040508150456@sendmail.ru> Date: Sun, 9 May 2004 01:04:03 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="gb2312"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2096 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2096 X-Virus-Scanned: by amavisd-new at frontfree.net Subject: Re: acpi_video doesn't works? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 17:04:39 -0000 ----- Original Message ----- From: "Toxa" To: Sent: Saturday, May 08, 2004 7:04 PM Subject: acpi_video doesn't works? > According to 'man acpi_video', acpi_video.ko provides those variables: > > hw.acpi.video..active > hw.acpi.video..levels > hw.acpi.video..brightness > hw.acpi.video..fullpower > hw.acpi.video..economy > > This is on my laptop: > > [(14:58)(91.42%):/home/toxa ] kldunload acpi_video.ko > [(14:58)(91.42%):/home/toxa ] sysctl -a|grep video > hw.acpi.reset_video: 0 > [(14:58)(91.42%):/home/toxa ] kldload acpi_video.ko > [(14:59)(91.42%):/home/toxa ] sysctl -a|grep video > hw.acpi.reset_video: 0 > > There is absolutely no any kernel messages on console when > loading/unloading acoi_video.ko. > Does my vaio laptop lacks any acpi video features? > > Thanks for advance > I also owned a vaio laptop. There are several issues to make acpi_video to work in vaio. 1. The LFP's adr is 0x400 instead of 0x110. 2. Lack of _BCL and _BCM method for the LFP output. I think we can write the methods based on the driver sonypi. Hope some guru can help. I paste the related asl code here for the reference. Device (LFP) { Name (_ADR, 0x0400) Method (_DCS, 0, NotSerialized) { Return (GDCS (0x08)) } Method (_DGS, 0, NotSerialized) { Store (GDGS (0x08), Local0) Store (" LFP _DGS return value ", Debug) Store (Local0, Debug) Return (Local0) } Method (_DSS, 1, NotSerialized) { GDSS (Arg0, 0x08) } } -jun