You are not logged in.

#1 2008-06-29 18:25:04

lamarozzo
Member
Registered: 2008-06-29
Posts: 25

freeze after lid close

Hi to everyone,
I've installed Arch Linux on a Hp nx5000 and I'm really enjoying it!

Unfourtunately, I've run into a problem which I coudn't fix. Whenever I press the lid button under kde the system freezes with a black screen. This doesn't happen if I press the lid button in a console (crt+alt+F1 for example).
Initially I thought that it might be a problem with acpid. But if I go to the console, acpi seems to work fine (I manage to turn the monitor, suspend, etc.) The problem only happens when using X. It also happens if I unload the button module so that the system shouldn't be able to recognize the lid button being pressed.
It's the first time I experience this problem with this laptop, I hope someone can help me because it can be very annoying being forced not to close the lid!

Thanks a lot.

Offline

#2 2008-06-29 18:29:49

lamarozzo
Member
Registered: 2008-06-29
Posts: 25

Re: freeze after lid close

I can confirm that it's not an acpid problem. Even if I stop the daemon the systems keeps freezing with a black screen. Any hint?

Offline

#3 2008-06-29 19:45:03

lamarozzo
Member
Registered: 2008-06-29
Posts: 25

Re: freeze after lid close

(as was suggested by another arch user) the problem seems to be X related and not kde related. In fact exec term in .xinitrc gives me the same problem.

Offline

#4 2008-06-29 21:00:14

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: freeze after lid close

Try if this helps:

echo 1 > /proc/acpi/video/*/DOS

Since kernel 2.6.23 this freeze was reported for hp laptops... This is what solves the problem for me.

Offline

#5 2008-06-29 23:06:46

lamarozzo
Member
Registered: 2008-06-29
Posts: 25

Re: freeze after lid close

Thanks for the tip. I put that line in rc.local and it solved my problem.

It seems now that the lid button event is not working properly though, but I can cope with that.


Thanks again.

Offline

#6 2008-06-29 23:32:49

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: freeze after lid close

Good to hear your problem is solved! Hopefully this solution won't be needed in next kernel versions.

Last edited by ibendiben (2008-06-29 23:33:12)

Offline

Board footer

Powered by FluxBB