lkml.org 
[lkml]   [2000]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: system doesn't shut down
Jeff Garzik <jgarzik@mandrakesoft.com> wrote:
> Paul Vojta wrote:
> > If the feature requires additional support, then that fact should be
> > documented in Documentation/Configure.help (as is the case with CONFIG_APM).
>
> E-mail me a patch for this?

Well, I found some documentation in Documentation/pm.txt. It refers to a
web site http://phobos.fs.tum.de/acpi/ which contains a Debian package
acpitools_0.0.20000216_i386.deb. That package contains acpid, as well
as a script in /etc/init.d, but the script does not start up acpid.
Instead, it checks for /usr/sbin/acpipold, which the package does not
contain.

I tried starting up acpid, but it didn't stay running. There is no
man page, so I tried ``acpid --help.'' It replied:

acpid: unrecognized option `--help'
Usage: acpid [-debug]

I typed ``acpid -debug'' and it replied:

acpid: unrecognized option -- e
Usage: acpid [-debug]

So I typed ``acpid -d'' and finally got:

acpid: started
acpid: FACP @ 0x01157980
acpid: DSDT @ 0x00000000
acpid: cannot map FACP

This was under 2.3.49. When linux starts up, it prints:

ACPI: found PIIX4 at 0x1000

I also tried acpid-030600.tar.gz. There were no build instructions.
I tried typing "make", but it wouldn't compile. When compiling
osdependent/linux/osd.c, it kept running into conflicts between
/usr/src/linux/include/asm/io.h and /usr/include/sys/io.h.

So I gave up on acpid and have now gone back to apm.

-------------------

In light of the above, I therefore offer the following patch:

Note that I am not an emacs user, so I did not use the required *.el
file for editing Documentation/Configure.help.

--Paul Vojta, vojta@math.berkeley.edu

--- Documentation/Configure.help Thu Mar 9 21:17:13 2000
+++ Documentation/Configure.help.new Thu Mar 9 22:38:11 2000
@@ -8775,8 +8775,14 @@
ACPI support
CONFIG_ACPI
Advanced Configuration and Power Interface (ACPI) is an interface
- specification to support power management of peripherals. If your
- system supports it, say Y here.
+ specification to support power management of peripherals. It is a more
+ advanced and more flexible specification than APM, but its support under
+ Linux is still under development; at present it is not as well supported
+ as APM.
+
+ If your system supports ACPI and you would like to try it instead of APM,
+ say Y here and read pm.txt for details on installing the required
+ daemon, acpid.

Minix fs support
CONFIG_MINIX_FS
--- linux/arch/i386/config.in Sun Mar 5 15:30:35 2000
+++ linux/arch/i386/config.in.new Sun Mar 5 20:04:58 2000
@@ -141,9 +141,9 @@

bool 'Power Management support' CONFIG_PM

-dep_bool ' ACPI support' CONFIG_ACPI $CONFIG_PM
-if [ "$CONFIG_ACPI" != "n" ]; then
- if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
+if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
+ dep_bool ' ACPI support (EXPERIMENTAL)' CONFIG_ACPI $CONFIG_PM
+ if [ "$CONFIG_ACPI" != "n" ]; then
bool ' Enter S1 for sleep (EXPERIMENTAL)' CONFIG_ACPI_S1_SLEEP
fi
fi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.387 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site