Jump to content

LCD does not turn off/blank when closed


Guest Grymyrk
 Share

Recommended Posts

Guest Grymyrk

I have installed Mandriva 2007 on my Dell Inspiron 6400 laptop recently. And I set the power setting to turn off/Blank (Im not sure what it really does) when the lid is closed.

 

But when I close it lid it does not turn off. Any ideas?

Link to comment
Share on other sites

Guest Grymyrk

here is the result:

 

[root@cust Desktop]# chkconfig --list | grep -i acpi
acpi			0:off   1:off   2:on	3:on	4:on	5:on	6:off
acpid		   0:off   1:off   2:off   3:on	4:on	5:on	6:off
[root@cust Desktop]# lsmod | grep -i acpi
[root@cust Desktop]#

Link to comment
Share on other sites

Sorry I won't be able to help you further.

It seems strange to me that there's no module related to ACPI because on my "salon" PC, there's one for the power button, one for the battery (generic module; I don't have a battery), and so on.

Yet acpi(d) is definitely reported to be running, so...

 

Just in case, try and run this (as root):

find /lib/modules/$(uname -r)/ -iname "*acpi*" -print

 

Yves.

Link to comment
Share on other sites

Guest Grymyrk

Here is what I get:

 

[root@cust Desktop]# find /lib/modules/$(uname -r)/ -iname "*acpi*" -print
/lib/modules/2.6.17-5mdv/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/acpi
/lib/modules/2.6.17-5mdv/kernel/drivers/acpi/asus_acpi.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/acpi/toshiba_acpi.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/acpi/ibm_acpi.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/pci/hotplug/acpiphp_ibm.ko.gz
/lib/modules/2.6.17-5mdv/kernel/drivers/pci/hotplug/acpiphp.ko.gz
[root@cust Desktop]#

Link to comment
Share on other sites

  • 3 months later...
Guest fabien.henon
I have installed Mandriva 2007 on my Dell Inspiron 6400 laptop recently. And I set the power setting to turn off/Blank (Im not sure what it really does) when the lid is closed.

 

But when I close it lid it does not turn off. Any ideas?

 

Hi !

 

First install vbetool

 

Just backup your /etc/acpi/actions/lm_lid.sh file in case something goes wrong

and replace everything you have in it with

 

8<---------------------snip----------------->8

#!/bin/sh

if grep -q open /proc/acpi/button/lid/*/state

then vbetool dpms on

else vbetool dpms off

fi

 

8<---------------------snap----------------->8

 

There you go

Edited by fabien.henon
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...