From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karol Kozimor Subject: Re: S3 wakeup code Date: Fri, 25 Jul 2003 19:56:25 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030725175625.GC1526@hell.org.pl> References: <20030723162423.GD9013@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Return-path: Content-Disposition: inline In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: David G Hamblen Cc: Pavel Machek , Florian Lohoff , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Thus wrote David G Hamblen: > standby properly; so I assume that the ACPI tables can be driven by the > OS. Perhaps something along the lines of the asus_acpi code? The asus_acpi module uses the ASUS-specific DSDT methods to handle the backlight switching. I have quite the same problem with S1 on my machine, but I get around it by doing echo 0 > /proc/acpi/asus/lcd; echo 1 > /proc/acpi/sleep; echo 1 > /proc/acpi/asus/lcd. You may want to look for the relevant methods in your DSDT and write a kernel interface to call them, so that you could then activate it prior to suspending. I suppose that's exactly what the Windows drivers do. You may also try something video-specific, i.e. radeontool. 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. Best regards, -- Karol 'sziwan' Kozimor sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org ------------------------------------------------------- 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