LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-01-2005, 11:40 PM   #1
CoonerTheRed
LQ Newbie
 
Registered: Mar 2004
Location: da Big Apple
Distribution: FC3
Posts: 20

Rep: Reputation: 0
DON'T wakeup on "lid" event


Ok, so after much fiddling, I managed to get my Dell Latitude D600 to suspend to disk (S3) just fine. It even recovers The problem is it recovers too easily... in my bag, while carrying it from work to home, etc. So after much testing, my only guess is that a loose "lid" button has me triggering the "wakeup" with a good jostling. I'd like to be able to NOT wakeup unless I push the power button.

It seems this is controlled in /proc/acpi/wakeup, which looks like:

Device Sleep state Status
LID 3 *enabled
PBTN 4 *enabled
PCI0 3 disabled
USB0 1 disabled
USB1 1 disabled
USB2 1 disabled
USB3 1 disabled
MODM 3 disabled
PCIE 4 disabled

As I sleep/wakeup just fine using acpi events/actions and my "Suspend" key, and don't want the lid button to have anything to do with suspending/waking, it seems I would just want this to read:

LID 3 disabled

But I can't change that manually, despite having RW permissions.

Any suggestions as to how I should go about this? Much thanks!
 
Old 05-02-2005, 12:20 AM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
echo 'LID disabled' > /proc/acpi wakeup

Put that in your boot scripts to make it permanent. That *should* work

--Shade
 
Old 05-02-2005, 12:47 PM   #3
CoonerTheRed
LQ Newbie
 
Registered: Mar 2004
Location: da Big Apple
Distribution: FC3
Posts: 20

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Shade
echo 'LID disabled' > /proc/acpi wakeup

Put that in your boot scripts to make it permanent. That *should* work

--Shade
does indeed, thanks a lot!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
lid close generates no acpi event mannyzen76 Linux - Laptop and Netbook 0 02-21-2004 11:37 PM
Getting "event not found" when making scripts darin3200 Linux - Software 5 09-01-2003 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:04 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