LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-14-2004, 03:04 AM   #1
arvind_s
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
ACPI hibernate mode (linux 2.4.22, Mandrake 9.2, Dell Inspiron 1100)


I have ACPI running on Mandrake 9.2 with 2.4.22 linux kernel on Dell Inspiron 1100. The Klaptop battery manager shows my battery status right; however, ACPI is not setup on it with commands to standby, suspend, or hibernate. Writing to /proc/acpi/sleep does work for a couple of sleep states (1 and 4, the latter only sometimes) from command prompt with me as root.

I have related questions:

- Adding these commands to the Klaptop manager ACPI interface for sleep and hibernate ("echo 1 >/proc/acpi/sleep", and "echo 4 >/proc/acpi/sleep") has no effect when I attempt to sleep/hibernate from its menu. I assume this has to do with with with user process not being permitted to open a file pipe /proc/acpi/sleep in write mode (I get that error message when attempting it from a command prompt as a user process).

I tried making up a single line script with suid enabled as root having just these single line commands, and then running them as an ordinary user -- the file permissions didn't work then either (is suid disabled by default?)

Can anyone advice on how to instruct ACPI to do how to standby/suspend/hibernate?


- Hibernate with "echo 4 >/proc/acpi/sleep" sometimes doesn't work -- the attempt to store process state stalls and I get back to my linux mandrake. Anyway to fix this?

Besides, hibernating on my system takes very very long (like 5mins or so), though resume works fine. Any ideas on how to make it faster? I currently have about 2GB of swap space -- to me, it looks like it should suffice. Or is it too small?


- Do people advice any other method of suspending/hibernating my system? I looked at software-suspend, but it seems like no longer available on my relatively old kernel -- besides, the Mandrake kernel version I have seems so patched (2.4.22-10mdk), patches meant for 2.4.22 won't work on my system.


Thanks a lot!
Arvind

Last edited by arvind_s; 12-14-2004 at 03:06 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
dell inspiron 1100/mandrake 10 and power/batteries webazoid Linux - Laptop and Netbook 0 06-28-2004 08:14 PM
ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0 cddesjar Linux - Laptop and Netbook 4 02-19-2004 07:18 PM
Mandrake 9.2, Dell Inspiron 1100, Display problems orcspit Mandriva 10 02-05-2004 09:04 PM
ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0 cddesjar Linux - Laptop and Netbook 0 01-22-2004 09:36 PM
Help with Dell TrueMobile 1100 wlan adapter on Dell inspiron 8200 with suse8.1 simpson75us Linux - Laptop and Netbook 0 08-11-2003 10:34 AM

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

All times are GMT -5. The time now is 02:52 AM.

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