On Wed, 17 Dec 2008 14:09:11 +0200 "ext Jarkko Nikula" <jarkko.nikula@xxxxxxxxx> wrote: > On Tue, 16 Dec 2008 09:22:38 -0800 > "ext Tony Lindgren" <tony@xxxxxxxxxxx> wrote: > > > > > Oh, I just tested that sleep-while-idle worked when fb was blanked. I > > > > had a script that forced the LCD off via /sys, sorry don't remember > > > > the path now. Will be also heading to catch a plane in few hours, may > > > > not be able to check it right now. > > > > > > 'echo 3 > /sys/class/graphics/fb0/blank' turns off the LCD, if that is what you > > > mean. > > > > Thanks, that's what I did. > > > And it worked with N800. Battery current dropped below 10 mA after > unplugging the USB cable so OMAP was going into retention. > FYI: xorg.conf's Option "SuspendTime" seems to equal to blanking command 3 (VESA_POWERDOWN). Look drivers/video/omap/omapfb_main.c: omapfb_blank. Section "ServerFlags" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "1" Option "OffTime" "0" EndSection I just tried this with xserver-xorg-video-fbdev from Debian/testing on N800 and it went perfectly into retention. N810 didn't went and think reason is that bootloader enables UART3 for the GPS chip. Oh my, I always tought there is some magic between Xomap and omapfb how the fb clocks are shutdown but lazy me newer bothered to check it from kernel sources :-) Jarkko -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html