LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-30-2005, 02:48 AM   #1
o2_sparx
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
Cool slack 10.1 acpi lid blanking issue...


Hello, i have been trying to figure out how to make my backlight go off when i close the lid of a dell 600m. I have tried adding different scripts to /etc/acpi/ and event, actions directory's. It doesn't seem to do anything when i close the lid or push the lid switch myself. the backlight will go out automatically after about 15 minutes which i think is the setterm working. I have 2.6.9 installed, wirless working, sound working, radeon working, and a usb mouse If i could just figure out how to get the backlight to turn off when the lid is closed and turn back on when the lid is open then that would kick ass. The only other thing i can think of that i may have changed is i did click on the button in the Klaptop that says "Setup helper Application". Thanks for the help everyone.
 
Old 06-30-2005, 03:40 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Do you have (ACPI_BUTTON) built-in your kernel?
 
Old 06-30-2005, 12:18 PM   #3
o2_sparx
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
yes, i have everything built in for acpi...

# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION="/dev/hda3"

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION="/dev/hda3"

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set

# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set


the /proc/acpi/button/lid/LID/state also works, i can check it and it says open then push the lid button myself and check it again and it says closed.
 
Old 06-30-2005, 05:06 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Have you Googled to see if this is a bug in your specific laptop?
Or perhaps check the LKML archives to see if it's a bug in 2.6.9?
I'm running 2.6.12.2 on my Toshiba lappy. Though it won't reboot
with ACPI built in the kernel (halt only), the backlight shuts off
when I close the lid. And I just checked via ssh and found that
Code:
mingdao@titus:~$ cat /proc/acpi/button/lid/LID/state
state:      closed
it does display right closed as well as it did open. I also have on
that box right now 2.4.31, 2.6.11.12, 2.6.12, and 2.6.12.1 and
they all work, also.

I don't know why you have 2 ACPI and 2 APM sections in your
kernel, either. I don't configure APM, also. Here's my 2.6.12.2
Code:
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set
# CONFIG_ACPI_CONTAINER is not set

#
# APM (Advanced Power Management) BIOS Support
#
# CONFIG_APM is not set
 
Old 06-30-2005, 09:36 PM   #5
o2_sparx
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
sorry, i think i accidently pasted it twice... and also i noticed that if i build the kernel with apm instead of acpi then the lid works fine but it doesn't monitor the battery. When i googled it brought me here and it has been more useful than the acpi page or anything else. Thanks a ton for the help. I think it runs its scripts from /proc/acpi and it had some defaut scripts in there i tried to rename them to default.old and whatever the other one was i renamed to old. the default was in events subdir I created the actions sub directory and checked file permissions and everything. even tried killing acpi and restarting it...

Thank you for the help
 
Old 06-30-2005, 10:20 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Sorry I can't really help you with this issue. You need to use Google like you
own it, and also search LKML. I have an issue with my Toshiba, and I've done
everything I've read on Google, plus received a lot of help from other Slackers,
but it just won't reboot with ACPI in the kernel. It will halt only, unless I remove
ACPI ... which I'm not going to do, because I want to see the CPU temp.

Here's some of what I found about your issue:

This guy says he can't get it to work, either.

This guy says you need the radeontool to black out your screen on lid close,
from info he read on this guys site.

I found those 2 from Linux-on-Laptops. There's more posts on that page, and you
should also search TuxMobil.
 
Old 06-30-2005, 10:30 PM   #7
o2_sparx
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks for the info, i have noticed that when running winblowz xb if you disable the atixx tsr then the screen wont blank. so maybe it is just something with the radeon card. acpi seems to work with everything else i even use powernowd for freq scaling and that works perfect. the only odd thing is i installed 10.1 and alone and the screen would never blank even with setterm. what i did this time is install 8.1 and upgrade all the way to 10.1. i have a large collection of slack discs and i worship them daily, just havent been able to sacrafice a mountain dew to it yet... LOL Thanks a lot for the help i'll try that radeon tool.
 
Old 06-30-2005, 10:54 PM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I see from other posts in LQ that you are Googling, and had already
found some of what I posted for you; and are helping others. I
wish there was something I could tell you, but I don't know. Also
checked the LQ HCL and found this which might at least
give you a couple guys to email who say everything works.
 
Old 06-30-2005, 11:55 PM   #9
o2_sparx
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
Thanks a ton for the help, i'll get it figured out and post the answer. Have a great day and a very happy forth of july
 
Old 07-01-2005, 12:57 AM   #10
o2_sparx
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware
Posts: 16

Original Poster
Rep: Reputation: 0
That did it, had to add the radeon tool and now the screen blanks like it should thanks a ton to Chinaman for the excelent help and to pocketace for getting my wirless figured out a long time ago
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Inspiron 8500 LID switch with ACPI RBJohns Linux - Laptop and Netbook 8 05-21-2005 10:17 AM
ACPI: edit lid.sh to blank screen, turn backlight off, no-suspend ????? Outabux Debian 5 11-15-2004 08:11 AM
lid close generates no acpi event mannyzen76 Linux - Laptop and Netbook 0 02-21-2004 11:37 PM
ACPi issue kyoshiro Linux - Laptop and Netbook 5 12-06-2003 07:00 AM
laptop ACPI Issue kvzrock Linux - Laptop and Netbook 5 09-19-2003 07:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration