> From: frogger > > Miles Lane wrote: > >I'm running Redhat 6.0 with a 2.2.10 kernel compiled with APM support > >on a Quantex H-1331 laptop. I am using APM version 3.0beta4. > >Suspending (with "apm -s") works fine, as far as I can tell, but when I > >try to resume my session, my display is totally munged with light and > >dark streaks running vertically across my 1024x768 TFT laptop screen. Sounds like the BIOS APM crud isn't restoring the display stuff correctly. I suspect the cure is to get upgrade your BIOS to a version that has this APM bug fixed. Enclosed is an almost silly remedy I've written called "suspend-x". It depends on sudo. If you don't have it, get it. But, of course, you could also remove the "sudo prefixes" and use su -c suspend-x later steve - - - systems guy wiscnet.net
#!/bin/bash # # change to virtual terminal number one... sudo chvt 1 # suspend... sudo apm --suspend sleep 1 # change to virtual terminal number seven (Xwindows)... sudo chvt 7
