From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: Applications & ACPI events Date: Mon, 13 Oct 2003 17:26:37 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20031013152637.GC15441@elf.ucw.cz> References: <20031003193814.GE205@openzaurus.ucw.cz> <20031006124935.GQ11391@poupinou.org> <20031006130533.GA311@elf.ucw.cz> <20031008102745.GF11391@poupinou.org> <20031008191610.GB1035@elf.ucw.cz> <20031008215342.GE1920@fairlite.demon.co.uk> <20031008215850.GF1238@elf.ucw.cz> <20031009140648.GH1922@fairlite.demon.co.uk> <20031009213504.GC365@elf.ucw.cz> <20031013131022.GN11391@poupinou.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20031013131022.GN11391-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Ducrot Bruno Cc: Pavel Machek , Alan Hourihane , acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi! > > X does _not_ do full save/restore, at least not for all > > drivers. vesafb does no saving, and generic vga driver is also > > incapable of full save/restore. Not sure about others. > > That exactly my point. And I think it should not do full save/restore > on only VT switch, but we may try to have a better fine grained stuff for, > something like 'hey, X we have to go S3, please consider'. Such interface would be pretty ugly.. There are at least these states kernel can enter: S1 S3 swsusp S4bios apm -s apm -S . And anyway not doing complete hw initialization on console switch is wrong. How can X know that the game on tty3 is not playing with hw acceleration? Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php