RE: ACPI power-off doesn't work on Asus CUV4X (VIA Apollo 133)

Grover, Andrew (andrew.grover@intel.com)
Mon, 26 Mar 2001 10:35:33 -0800


> From: Ingo Oeser [mailto:ingo.oeser@informatik.tu-chemnitz.de]
> > > As i recompiled 2.4.2-ac20 with ACPI support
> > > the system cannot switch itself off.
> > > I get a message "Couldn't switch to S5" if
> > > try to call reboot(2).
> > > At load it shows that the mode is supported.
> >
> > Same with AMR P6BAP-AP and P6VAP-AP () mainboards.

> > #define APCI_DEBUG 1 has NO effect on verbosity of messages :-(

The ACPI version in the kernel has debug messages stripped, for historical
reasons. There is a non-stripped version available at
http://developer.intel.com/technology/iapc/acpi/downloads.htm but this also
includes other new code, which may or may not be what you want.

> The BIG Problem is: This is an embedded machine, so I cannot
> attach all the funny debug tools. The most thing I can do is
> printk and evtl. ikdb. I have only 16MB flash disk on this
> machine and it is full already :-(

Either try the version on the website, or make this change and see if it
helps:

drivers/acpi/hardware/hwsleep.c (at the bottom) :

acpi_hw_register_write(ACPI_MTX_LOCK, PM1_a_CONTROL, PM1_acontrol);
acpi_hw_register_write(ACPI_MTX_LOCK, PM1_b_CONTROL, PM1_bcontrol);
acpi_hw_register_write(ACPI_MTX_LOCK, PM1_CONTROL, <-- remove
these
(1 << acpi_hw_get_bit_shift (SLP_EN_MASK))); <--

Regards -- Andy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/