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

Alex Riesen (vmagic@users.sourceforge.net)
Tue, 27 Mar 2001 22:09:51 +0200


Hi,
BTW, ACPI in ac20 doesn't work for me either :(
Alex

On Mon, Mar 26, 2001 at 10:35:33AM -0800, Grover, Andrew wrote:
> > 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))); <--

-
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/