Here's a hibernate script to run 915resolution. It adds a RestoreResolution config option, and SwitchToTextMode needs to be set too or it won't work.
On my Fujitsu p7120, it only works if I suspend to disk, resuming from suspend to ram the screen doesn't come back. Here's my working config for suspend to disk with this laptop: UseSysfsPowerState disk PowerdownMethod shutdown Verbosity 0 LogFile /var/log/hibernate.log LogVerbosity 1 Distribution debian SaveClock restore-only UnloadBlacklistedModules yes LoadModules auto DownInterfaces eth2 UpInterfaces auto EjectCards yes SwitchToTextMode yes RestoreResolution yes -- see shy jo
# -*- sh -*- # vim:ft=sh:ts=8:sw=4:noet AddConfigHandler resolutionOptions AddConfigHelp "RestoreResolution <boolean>" "Set to run 915resolution before switching back to X. You should enable SwitchToTextMode if using this option." resolutionResume() { if [ x"$RESTORERESOLUTION" = "x1" ]; then /etc/init.d/915resolution start fi } resolutionOptions() { case $1 in restoreresolution) BoolIsOn "$1" "$2" && RESTORERESOLUTION=1 || return 0 # only break from case statement if we need something done ;; *) return 1 esac if [ -z "$RESOLUTION_HOOKED" ] ; then # Needs to come before xhacks switches back to X. AddResumeHook 96 resolutionResume RESOLUTION_HOOKED=1 fi return 0 }
signature.asc
Description: Digital signature