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-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html