From owner-freebsd-current@FreeBSD.ORG Tue Aug 31 05:02:40 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 C90EA16A4CE for ; Tue, 31 Aug 2004 05:02:40 +0000 (GMT) Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E086B43D55 for ; Tue, 31 Aug 2004 05:02:39 +0000 (GMT) (envelope-from takawata@axe-inc.co.jp) Received: from localhost (localhost [127.0.0.1]) by axe-inc.co.jp (8.9.3+3.2W/3.7W) with SMTP id OAA20287; Tue, 31 Aug 2004 14:02:36 +0900 (JST) Message-Id: <200408310502.OAA20287@axe-inc.co.jp> X-Authentication-Warning: axegw.axe-inc.co.jp: localhost [127.0.0.1] didn't use HELO protocol To: Vladimir Grebenschikov From: takawata@jp.freebsd.org In-reply-to: Your message of "Mon, 30 Aug 2004 22:52:50 +0400." <1093891970.1195.25.camel@localhost> Date: Tue, 31 Aug 2004 14:02:35 +0900 Sender: takawata@axe-inc.co.jp cc: current@freebsd.org Subject: Re: acpi_video on SONY VAIO PCG-Z1 [was: acpi_video users needed] 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: Tue, 31 Aug 2004 05:02:40 -0000 In message <1093891970.1195.25.camel@localhost>, Vladimir Grebenschikov wrote: >On Tue, 2004-08-31 at 03:31 +0900, takawata@jp.freebsd.org wrote: > >> >> >Is any chance to make acpi_video work on SONY VAIO PCG-Z1 ? >> >> >acpi_video.ko loads well, but does not report anything, and does not add >> >> >hw.acpi.video subtree. >> >> > >> >> >Please advise. >> >> >> >> Because the ACPI device object has not enough interfaces to get the >> >> acpi_video driver work. >> >> Acpi_video driver does not check PCI device class: it checks the >> >> interfaces instead. >> >> You don't need to bother attaching acpi_video driver. >> > >> >Ok, And what conclusion "no-way" ? >> >> You may hack the driver to do so.:-) > >Oh ... first i need to hack WinXP driver to find how to control LCD >brightniness. > >> But, in your machine, the driver does not work anything but >> recognize that the video adaptor has 3 way output. And >> you can't use acpi_video, if you want to use DRM or nvidia kernel module. > >I have ATI RADEON MOBILITY, so no need nvidia module. > >Can you provide me a bit of theory ? > >Who usual responsible for LCD bacllight control ? > video-chip(ATI) / chipset(Intel) / special device on bus ? It seems to be controlled by Special device on bus called embedded controller. You can use it with setbrightness in ports/sysutils/sjog or ports/graphics/picturebook. But these tools are a bit dangerous because it will conflict with ACPI(These tools are based on disassembled AML before ACPI support is not populler in free unicies.) . I just wrote a driver for it. I hope it will help you. http://www.init-main.com/acpi_snc.tar.gz >Is this problem related to inability to "wakeup" after suspend: >"notebook alive, response on keys, but screen is not initialized >changing syscons/X doesn't help" >? > >Is "learning" acpidumps of other SONY notebooks, compatible with >acpi_video, can help ? > >I suspect there is no public spec for such kind of things, isn't it ? You may want to look into Device(SNC).