Re: X garbled after lid shut/open on Dell Inspiron 4150

"Charl P. Botha" <[email protected]>
Newsgroups gmane.comp.xfree86.expert
Message-ID <1039005696.4773.16.camel@dutidad>
On Wed, 2002-12-04 at 13:05, Owen Savill wrote:
>  >> Sigh! This really needs to be a FAQ. IF only there was a fix
> Absolutely !!! I have three laptops. Two of them (Acers) freeze solid on 
> closing the lid whether X is running or not. The third (Dell) is a 
> lottery. Very ocassionally it will run quite happily. Usually it will 
> run for a short time and then processes start to hang until eventually 
> the whole machine hangs. The kernel people say "nothing we can do it 
> must be a non standard BIOS". Some laptops suspend to RAM okay, but I 
> have yet to see a single laptop (at work we use Compaqs and Sonys), 
> suspend to disk and recover fully !!

You could take a look at http://cpbotha.net/dri_resume.html for laptops
with Radeon GPUs.

Note that my patch depends on the laptop switching away to a text VT at
suspend time and switching back at resume time.  Most of the current
users use it with acpi and swsusp: with acpi one can easily connect an
event handler to the close lid event that will do the right thing. 
Funnily enough, the Dell BIOS usually seems to do the right thing with
suspend to disc... I made this patch for people with newer laptops that
don't support APM anymore instead opting for the more modern ACPI.

HTH,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.