Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965159AbWILJU6 (ORCPT ); Tue, 12 Sep 2006 05:20:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965158AbWILJU5 (ORCPT ); Tue, 12 Sep 2006 05:20:57 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:40359 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S965152AbWILJU4 (ORCPT ); Tue, 12 Sep 2006 05:20:56 -0400 Date: Tue, 12 Sep 2006 11:21:00 +0200 From: Pavel Machek To: Jordan Crouse Cc: Jim Gettys , "Brown, Len" , Linux Kernel ML , Dominik Brodowski , ACPI ML , Adam Belay , "Pallipadi, Venkatesh" , Arjan van de Ven , devel@laptop.org, Bjorn Helgaas Subject: Re: ACPI: Idle Processor PM Improvements Message-ID: <20060912092100.GC19482@elf.ucw.cz> References: <20060830194317.GA9116@srcf.ucam.org> <200608311713.21618.bjorn.helgaas@hp.com> <1157070616.7974.232.camel@localhost.localdomain> <20060904130933.GC6279@ucw.cz> <1157466710.6011.262.camel@localhost.localdomain> <20060906103725.GA4987@atrey.karlin.mff.cuni.cz> <20060906145849.GE2623@cosmic.amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060906145849.GE2623@cosmic.amd.com> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.11+cvs20060126 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1425 Lines: 36 On Wed 2006-09-06 08:58:49, Jordan Crouse wrote: > On 06/09/06 12:37 +0200, Pavel Machek wrote: > > Hi! > > > > > > 2.4 and 2.6 are *very* different here. You'll probably need to optimize freezer > > > > in 2.6 a bit... > > > > > > > > > > Among other problems: e.g. 2.4 did not automatically do a VT switch; 2.6 > > > does; we'll have to have a way to signal "we're a sane display driver; > > > don't switch away from me on suspend". > > > > Not like that, please. > > > > You are using X running over framebuffer, right? So that kernel is > > controlling the graphics hardware. In such case it is safe to avoid VT > > switch. > > Actually not - the Geode GX has full 2D hardware acceleration with a complete > X driver to match. No Xfbdev here. Ok, so what is needed is message to X "we are suspending", and X needs to respond "okay, I'm ready, no need for console switch". Alternatively, hack kernel to take control from X without actually switching consoles. That should be possible even with current interface. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/