[olug] ACPI Under Linux

Fruhwirth, John JFruhwirth at huskers.unl.edu
Mon Sep 30 16:26:48 UTC 2002


IMHO:

Steer clear of RH 7.3!  I have heard of way too many people suffering from
multiple system problems with it.  Mandrake is a very competent solution.  



John (Russ) Fruhwirth
UNL Athletic Dept./Computing Services
402-472-2368
101 East Stadium
Lincoln, NE  68588


-----Original Message-----
From: Joe Noble [mailto:noble at flashman.com] 
Sent: Sunday, September 29, 2002 7:31 AM
To: olug at olug.org
Subject: Re: [olug] ACPI Under Linux

Brian,

Thanks for the response.  Here is the additional info I have, including 
how my power management is set up in the BIOS along with what the 
documentation says the /proc directories should be.  As I said in the 
original message I only have the /proc/acpi directory which the 
documentation doesn't mention.  Hopefully, someone locally has played 
with ACPI.  I'm thinking of going to Mandrake 9.0 and abandoning RH7.3, 
but this Gigabyte GA-7VKML motherboard isn't listed under the compatible 
motherboards.  I forgot to mention in the original message that I had 
already updated to the latest BIOS available from Gigabyte.

THANKS
-joe-

		AMIBIOS SETUP - POWER MANAGEMENT SETUP
	( C ) 2001 American Megatrends, Inc. All Rights Reserved
	
| ACPI Standby State : S1/POS          | RTC Alarm Date : 15
| USB Dev Wakeup From S3-S5 : Disabled | RTC Alarm Hour : 12
| Suspend Time Out(Minute) : Disabled  | RTC Alarm Minute : 30
| IRQ3 : Monitor                       | RTC Alarm Second : 30
| IRQ 4 : Monitor                      |
| IRQ 5 : Monitor                      |
| IRQ 7 : Monitor                      |
| IRQ 9 : Monitor                      |
| IRQ 10 : Monitor                     |
| IRQ 11 : Monitor                     |
| IRQ 13 : Monitor                     |
| IRQ 14 : Monitor                     |
| IRQ 15 : Monitor                     |
| Power Button Function : Instant off  |
| System After AC Back : Last State    |
| Modem Ring On : Enabled              | ESC: Quit         ^ v < >: 
Select Item
| PME Event Wake Up : Enabled          | F1 : Help      PU/PD/+/- : Modify
| Keyboard Wakeup From : S1/S3/S4/S5   | F5 : Old Values (Shift)F2: Color
| PS/2 Mouse Wakeup From : S1/S3/S4/S5 | F6 : Fail-Safe        F7 : 
Optimized
| Resume On RTC Alarm : Disabled       | F8 : Q-Flash Utility



+ACPI Standby State
   -S1/POS Set ACPI standby state to S1. (Default Value)
   -S3/STR Set ACPI standby state to S3.

+USB Dev Wakeup From S3~S5
   -Enabled Enable USB Dev Wakeup From S3~S5.
   -Disabled Disable USB Dev Wakeup From S3~S5. (Default Value)

+Suspend Time Out (Minute.)
   -Disabled Disable Suspend Time Out Function. (Default Value)
   -1 Enable Suspend Time Out after 1min.
   -2 Enable Suspend Time Out after 2min.
   -4 Enable Suspend Time Out after 4min.
   -8 Enable Suspend Time Out after 8min.
   -10 Enable Suspend Time Out after 10min.
   -20 Enable Suspend Time Out after 20min.
   -30 Enable Suspend Time Out after 30min.
   -40 Enable Suspend Time Out after 40min.
   -50 Enable Suspend Time Out after 50min.
   -60 Enable Suspend Time Out after 60min.

+IRQ 3~IRQ15
   -Ignore Ignore IRQ3 ~IRQ15.
   -Monitor Monitor IRQ3~IRQ15.

+Power Button Function
   -Instant off The user press the power button once, he can turn off 
the system.
(Default Value)
   -Suspend The user press the power button once, then he can enter 
suspend mode.

+System After AC Back
   -Last State When AC-power back to the system, the system will return 
to the Last state before AC-power off. (Default Value)
   -Power Off When AC-power back to the system, the system will be in 
"Off" state.
   -Power On When AC-power back to the system, the system will be in 
"On" state.

+ Modem Ring On
   -Disabled Disable Modem Ring on function.
   -Enabled Enable Modem Ring on function. (Default Value)

+ PME Event Wake Up
   -Disabled Disable PME Event Wake Up.
   -Enabled Enabled PME Event Wake Up. (Default Value)

+ Keyboard Wakeup From
   -S1(Suspend) Keyboard is able to Wakeup the system from S1(Suspend) 
state.  (Default value)
   -S1/S3 Keyboard is able to Wakeup the system from S1/S3 state.
   -S1/S3/S4/S5 Keyboard is able to Wakeup the system from S1/S3/S4/S5 
state.

+ PS/2 Mouse Wakeup From
   -S1(Suspend) PS/2 Mouse is able to Wakeup the system from S1(Suspend) 
state.  (Default value)
   -S1/S3 PS/2 Mouse is able to Wakeup the system from S1/S3 state.
   -S1/S3/S4/S5 PS/2 Mouse is able to Wakeup the system from S1/S3/S4/S5 
state.

+ Resume On RTC Alarm
You can set "Resume On RTC Alarm" item to enabled and key in Data/time 
to power on system.
   -Disabled Disable this function. (Default Value)
   -Enabled Enable alarm function to POWER ON system.

If RTC Alarm Lead To Power On is Enabled.
RTC Alarm Date: Everyday, 1~31
RTC Alarm Hour: 0~23
RTC Alarm Minute : 0~59
RTC Alarm Second: 0~59


    Expected Directories According to Documentation
    -------------------------------------------------------

   /proc/sys/acpi/c2_exit_latency
   /proc/sys/acpi/c2_enter_latency
   /proc/sys/acpi/c3_exit_latency
   /proc/sys/acpi/c3_enter_latency
   /proc/sys/acpi/event

     -or-

   /proc/sys/acpi/facp
   /proc/sys/acpi/dsdt
   /proc/sys/acpi/pm1_enable
   /proc/sys/acpi/gpe_enable
   /proc/sys/acpi/gpe_level
   /proc/sys/acpi/event
   /proc/sys/acpi/p_blk
   /proc/sys/acpi/p_lvl2_lat
   /proc/sys/acpi/p_lvl3_lat
   /proc/sys/acpi/enter_lvl2_lat
   /proc/sys/acpi/enter_lvl3_lat
   /proc/sys/acpi/s0_slp_typ
   /proc/sys/acpi/s1_slp_typ
   /proc/sys/acpi/s5_slp_typ.

     -always-

   /proc/sys/acpi/sleep

Brian Wiese wrote:

> Has anyone else had any experiences successes/failures with ACPI in Linux?
>  I guess its like the new kind of advanced power management for
> motherboards.
> 
> ACPI Project on Sourceforge
> http://sourceforge.net/projects/acpi
> 
> Do you have any more pertinent info to post Joe?
> 
> thanks
> Brian
> 
> On Sun, 22 Sep 2002 12:07:18 -0500
> Joe Noble <noble at flashman.com> wrote:
> 
> |Hi,
> |
> |(Sorry for the long post, actually have more details if anyone would 
> |care to see them.)
> |
> |I bought a new 1.2GHz computer locally from DIT.  I'm dual booting to 
> |Win98SE and RH7.3.  Everything works fine, except under Linux the system 
> |appears to hang after being unattended for about an hour and a half.  I 
> |suspect ACPI is causing the apparent hang and it has actually gone into 
> |some sort of a suspend state from which Linux can not recover and of 
> |course the disk gets trashed.  I'd prefer to turn off ACPI all together, 
> |but the AMI bios isn't capable of disabling it.  Win98 works fine and 
> |doesn't have any problems.  I use my linux box for web development 
> |primarily, but I'm considering using Windows instead 
> |(Apache/Tomcat/PHP/MySQL) and dropping Linux.  I've been using RH Linux 
> |since version 5.0 and would like to keep it, but growing tired of the 
> |wrestling match trying to get it working.  This has been an ordeal since 
> |late May when I decided to upgrade my old RH6.2 system and the reason I 
> |bought the new computer.
> |
> |Has anyone bought one of these computers and got it to run as a server 
> |(able to run unattended for days)?  Any suggestions on how to proceed?
> |
> |Here's what I've done/found so far:
> |
> |System Description:
> |-------------------
> |
> |    CPU: 1.2 MHz Duron
> |    MEM: 128 MB
> |   DISK: 40 GB (20GB Win98SE/20GB Linux)
> |     MB: Gigabyte GA-7VKML
> |   BIOS: AMI
> |
> |
> |What I've done:
> |---------------
> |
> |1. Installed RH7.3 (kernel-2.4.18-3)
> |2. Upgraded to kernel 2.4.18-5
> |3. Upgraded to kernel 2.4.18-10
> |4. Rebuilt kernel turning off APM and turning on ACPI
> |    Here is excerpt from .config file:
> |       CONFIG_PM=y
> |       CONFIG_ACPI=y
> |       # CONFIG_ACPI_DEBUG is not set
> |       CONFIG_ACPI_BUSMGR=y
> |       # CONFIG_ACPI_SYS is not set
> |       # CONFIG_ACPI_CPU is not set
> |       CONFIG_ACPI_BUTTON=m
> |       # CONFIG_ACPI_AC is not set
> |       # CONFIG_ACPI_EC is not set
> |       # CONFIG_APM is not set
> |5. Downloaded and installed acpid-1.0.1-1.i386.rpm
> |    Verified it's running and in a sleep state.
> |6. Enabled every possible BIOS ACPI restore option.
> |7. Looked at /proc directory, found there was a /proc/acpi
> |    directory, but nothing related to acpi under /proc/sys
> |    as the documentation (acpi_howto.txt) suggests.  As experience
> |    has shown, documentation doesn't bare any resemblance to what
> |    I'm seeing.
> |8. Found /proc/acpi directory contains only "file" called events.
> |9. Found there is no option in the kernel config file to turn on
> |    or off Sleep mode.
> |
> |HELP!
> |-joe-
> 
> 
>   Brian Wiese | bwiese at cotse.com | aim: unolinuxguru
> ------------------------------------------------------
>   GnuPG/PGP key 0x1E820A73 | "FREEDOM!" - Braveheart 
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
> 
> 
> 


-- 
         noble<AT>flashman<DOT>com -- http://www.flashman.com
B-24 Crew Registry http://www.flashman.com/cgi-bin/crew-reg.cgi


_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olug.org/pipermail/olug/attachments/20020930/05e4c974/attachment.html>


More information about the OLUG mailing list