LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-09-2004, 09:05 AM   #1
Alf829
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2 & 5
Posts: 110

Rep: Reputation: 15
Unhappy ACPI functions for users not available...


Hi,

I've managed to turn on ACPI features such as suspend, hibernate, etc for root user, but I cannot do so for any normal user.

I've tried to make /proc/acpi/sleep read and writable for user and group, but it still doesn't allow it. Do I also need to allow others to read and write the file? I used chmod 664 on it.

Also, when I tried out suspend in root, it went into suspension, but I could not wake the laptop without pressing the power key and that would wake it up AND turn off the system.

TIA for any help.
 
Old 03-09-2004, 10:45 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
This is why the acpi features have warnings when you enable them. They may or may not work. If your laptop doesnt suspend properly, stop using suspend. Basically, its, wait for the future when things will get a little better support.
 
Old 03-09-2004, 04:17 PM   #3
DavidIanWarren
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
How did you get ACPI even to function for root?
I've got an HP notebook and have AC/Battery notifications but can't put the system into standby (and would love to, this is the hold-out to dumping Windows).
 
Old 03-10-2004, 06:17 AM   #4
Alf829
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2 & 5
Posts: 110

Original Poster
Rep: Reputation: 15
If you're using grub, edit /boot/grub/grub.conf and include acpi=on at the end of the kernel /vmlinuz... line

The same applies for lilo, but you must run lilo again after you've modified the conf file (not sure which dir it's in)

Also, what distro are you using? some don't have acpi compiled into the kernel.

Cheers,
Alf829
 
Old 03-10-2004, 08:40 AM   #5
DavidIanWarren
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
I'm running SuSE 9, kernel 2.4.21-192-default.
ACPI reports battery level and charging status so I think at least elements of it are there and have to be running. I looked for the /boot/grub/grub.conf file but found no .conf files in that directory structure. Installed SuSE with YaST etc... I found in a plain text file in /boot called "config-2.4.21-192-default". It contained the following data on ACPI:

# ACPI Support
#
CONFIG_ACPI=y
# CONFIG_ACPI_HT_ONLY is not set
CONFIG_ACPI_INITRD=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_ASUS=m
CONFIG_ACPI_TOSHIBA=m
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_RELAXED_AML=y
CONFIG_PROC_MM=y

#

Thoughts????
 
Old 03-14-2004, 07:33 AM   #6
Alf829
Member
 
Registered: Jul 2003
Distribution: Fedora Core 2 & 5
Posts: 110

Original Poster
Rep: Reputation: 15
I've only run RH9 and FC2 now and have no experience with SuSE9. However, on both FC2 and RH9, the grub.conf file is in the /boot/grub/ dir. Hopefully someone with experience in SuSE will be able to help you.
 
  


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
Converting php5 socket functions to php3 socket functions mrobertson Programming 0 06-23-2005 09:11 AM
Limitting functions for certain users - Need help! xmdms Programming 1 07-16-2004 09:18 PM
RedHat 9: How to use ACPI functions on a Toshiba Laptop? digsy Linux - Newbie 35 05-16-2003 11:46 PM
pointers to functions/member functions champ Programming 2 03-28-2003 06:22 PM
kernel 2.4.20 & acpi-20021212-2.4.20.diff => no /proc/acpi Tinkster Linux - Software 5 03-24-2003 01:56 PM


All times are GMT -5. The time now is 11:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration