Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
08-25-2005, 12:01 PM
|
#1
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Rep:
|
laptop lcd won't shut off when closed
I have a dell Inspiron 600m laptop that I just got.
I just upgraded from the default 2.4.* kernel to the latest 2.6.12.5 kernel.
What I noticed is that when I press the small "switch" by the lid of the lcd, the lcd screen won't shut off. The 2.4.* kernel doesn't have this problem. I
know it has to be a kernel option, but I just can't seem to find it.
Any suggestions?
*EDIT*
This fix can be found here, follow these instruction, only if you have a radeon card:
http://www.linuxquestions.org/questi...t=acpi+scripts
it's about 6-7 posts down by: TFMegatron.
Last edited by houler; 08-27-2005 at 04:18 PM.
|
|
|
|
08-25-2005, 12:06 PM
|
#2
|
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,006
Rep: 
|
look under Power Mangement and esp. ACPI. I think it is something like "Panel Button Support", not sure what the name is, not on my Linux box.
|
|
|
|
08-25-2005, 12:22 PM
|
#3
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Original Poster
Rep:
|
Thanks for the quick reply, unfortunately, I couldn't find anything related to "panel button support", nothing came close to those words under the ACPI or Power Management section.
|
|
|
|
08-25-2005, 12:58 PM
|
#4
|
|
Member
Registered: Jul 2004
Distribution: Slackware
Posts: 388
Rep:
|
look for button(CONFIG_ACPI_BUTTON) option
|
|
|
|
08-25-2005, 02:04 PM
|
#5
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Original Poster
Rep:
|
Quote:
Originally posted by dunric
look for button(CONFIG_ACPI_BUTTON) option
|
I found that option in the .config file, and it's already set to "y".
|
|
|
|
08-25-2005, 02:28 PM
|
#6
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Original Poster
Rep:
|
Just re-compiled it, and the lcd still won't shut off when I press the switch down. Any other remedies?
I just re-configured the ACPI section as modules, incl. "button". I'll let you guys know how it goes after I'm done compiling.
Last edited by houler; 08-25-2005 at 02:44 PM.
|
|
|
|
08-25-2005, 02:53 PM
|
#7
|
|
Member
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662
Rep:
|
While my laptop is not the same brand as yours, the lid switch on mine is actually BIOS controlled. It sends the lid_closed/open signal to the OS, but whether or not the backlight on the LCD turns off is handled by the BIOS.
Incidentally, that's all that happens. The LCD does not turn off, and if you shine a flashlight at the screen you can still see your characters.
|
|
|
|
08-25-2005, 03:33 PM
|
#8
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Original Poster
Rep:
|
Well I just i just changed all the acpi options to modules, and it still didn't work. 
|
|
|
|
08-25-2005, 04:15 PM
|
#9
|
|
Member
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 610
Rep: 
|
Are you just trying to blank the screen or are you trying to suspend to ram? I don't know if the default acpi scripts will do the trick. I have acpi/suspend to ram working fine on my dell 700m but I had to write a custom acpi event script. Also, if you changed the acpi options to modules, are those modules loaded -- i.e. button, lid, etc.?
I think -- but not sure -- that you need to do a little configuring of your acpi scripts to get it working.
|
|
|
|
08-25-2005, 05:36 PM
|
#10
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Original Poster
Rep:
|
Quote:
Originally posted by Jackson1995
Are you just trying to blank the screen or are you trying to suspend to ram? I don't know if the default acpi scripts will do the trick. I have acpi/suspend to ram working fine on my dell 700m but I had to write a custom acpi event script. Also, if you changed the acpi options to modules, are those modules loaded -- i.e. button, lid, etc.?
I think -- but not sure -- that you need to do a little configuring of your acpi scripts to get it working.
|
I just want the screen to be "blanked or off" when I press the little "switch"...Like when you close the lcd lid of the laptop and it seems that the lcd has turned off...
I haven't figured it out yet...I'm still picking some kernel options and searching on google 
|
|
|
|
08-25-2005, 06:34 PM
|
#11
|
|
Member
Registered: Jul 2004
Distribution: Slackware
Posts: 388
Rep:
|
To check what event is invoked, press your "little switch" and then check bottom of /var/log/messages. If it sent some event, it should be easy to handle it in /etc/acpi/acpi_handler.sh script.
|
|
|
|
08-25-2005, 06:37 PM
|
#12
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Original Poster
Rep:
|
Quote:
Originally posted by dunric
To check what event is invoked, press your "little switch" and then check bottom of /var/log/messages. If it sent some event, it should be easy to handle it in /etc/acpi/acpi_handler.sh script.
|
No event popped up, as if I didn't press it at all 
|
|
|
|
08-25-2005, 07:06 PM
|
#13
|
|
Member
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 610
Rep: 
|
Are the lid, button, etc modules loaded? Also, did you restart acpid?
|
|
|
|
08-25-2005, 07:32 PM
|
#14
|
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1, Kernel 2.6.14.4 (custom)
Posts: 166
Original Poster
Rep:
|
Quote:
Originally posted by Jackson1995
Are the lid, button, etc modules loaded? Also, did you restart acpid?
|
I'm not really sure, I thought that the modules would load automatically? I don't know the names of the modules of the lid, button.... I checked rc.modules, and I couldn't find anything about acpi 
|
|
|
|
08-25-2005, 07:44 PM
|
#15
|
|
Member
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 610
Rep: 
|
"lsmod" will list the modules that have been loaded. Since you compiled them as modules, you should see lid, button etc. listed. If not, you need to modprobe them.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:19 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|