I installed opensuse 11.2 on ASUS R2E nicely
It have a 7" touchscreen and works nice.
The screen is correctly settled to 800x480 on boot however after a S2RAM it is reinitialized as 800x600.
I made an xorg.conf with only one fixed mode on 800x480 but daesn’t seems to be considered on resume.
After cold boot sax2 get the right size (800x480) and after resume 800x600
The video chipset is intel 945 GM
May this be related to hardware reinitialization ?
How to re-initialize X on resume ?
Hmmmm,
Not much help on this topic - Most probably too exotic …
(Pls read it like a music )
Having dig forward I can give some more info s follow:
I tried without success to use vbetool to save and restore video adapter settings on suspend and resume.
I also tried the VBERestore option in xorg.conf without success.
Surprisingly, invoking ‘xrandr’ without any parameter fix the problem
To be continued…:sarcastic:
Fortunately I manage to solve the problem alone…
I made a script in /etc/pm/sleep.d that run xrandr every time the system wake up.
It looks like this:
#!/bin/bash
. /usr/lib/pm-utils/functions
case “$1” in
hibernate|suspend)
;;
thaw|resume)
export DISPLAY=:0
/usr/bin/xrandr --auto
;;
*)
;;
esac
exit $?
Hoping this may help others…