From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: S3 wakeup code Date: Sat, 26 Jul 2003 00:14:30 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030725221430.GA486@elf.ucw.cz> References: <20030723162423.GD9013@atrey.karlin.mff.cuni.cz> <20030725175625.GC1526@hell.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20030725175625.GC1526-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: David G Hamblen , Florian Lohoff , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi! > BTW: Pavel: will there be a place in the new PM interface for functions > that drivers could bind onto, i.e. something like a generic > disable_backlight(), assigned to > {asus,dell,toshiba,nvidia,radeon,etc.}_disable_backlight()? I think this > could solve some important problems. I guess you should create sysfs node for your video card, and hook your methods there. If you can't place it in the sysfs hierarchy place it into system devices... BTW ACPI lid refresh code should be also moved to sysfs like that... Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01