From owner-freebsd-acpi@FreeBSD.ORG Tue Aug 24 05:41:14 2004 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 7709A16A4CE; Tue, 24 Aug 2004 05:41:14 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4924F43D46; Tue, 24 Aug 2004 05:41:14 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.51] (adsl-64-171-186-94.dsl.snfc21.pacbell.net [64.171.186.94]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i7O5fD8U009189; Mon, 23 Aug 2004 22:41:13 -0700 Message-ID: <412AD4F7.8040503@root.org> Date: Mon, 23 Aug 2004 22:41:11 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anish Mistry References: <200408221544.17683.mistry.7@osu.edu> In-Reply-To: <200408221544.17683.mistry.7@osu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-acpi@freebsd.org Subject: Re: acpi_video vs. mach64 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: Tue, 24 Aug 2004 05:41:14 -0000 Anish Mistry wrote: > On my laptop I use the VESA DPMS patch with acpi_video so I can suspend > correctly by shutting off the video adapter so there is less power drain, but > ever since the move to attach the acpi_video driver to the correct spot my > mach64.ko kernel module doesn't attach if the acpi_video is loaded since they > seem to want the same device. Is there any chance of getting both to attach, > I think I remember a comment a while back about someone working on something > like this? Or would it just be better if I want the drm module to load and > still have the adapter shutoff stuff to put that VESA code into the mach64 > driver? If both are attaching to the PCI video device, yes, that won't work. jhb@ has done a little preliminary work on a VGA framework. However, I don't think much progress will be made right now as most developers are bugfixing for 5.3. You can merge the code into mach64 if that works for you. The 'right' thing is an actual driver framework that allows multiple drivers to attach to a common parent. -- Nate