ACPI kernel patch suggestion

Here's a posting that Jincao found which talks about getting acpi (and video!) working on a zt1130. I havnt tried this, so would be interested to hear of others who succeed with it.

Hi Adrian:
Attached is that post from newsgroup comp.os.linux.portable. I just followed
the steps mentioned. 
I also tried to upgrade the acpi with the patch released on 4/4/02. However,
it seems that acpid does not match that patch in that case.
Good luck.

Re: via82cxxx sound on new laptops (fwd)
Jingcao Hu 
Fri, 5 Apr 2002 17:54:10 -0500 (EST)

---------- Forwarded message ----------
Date: Fri, 05 Apr 2002 22:10:17 GMT
From: Barthel aus Pennswald 
Newsgroups: comp.os.linux.portable
Subject: Re: via82cxxx sound on new laptops

On Thu, 04 Apr 2002 13:47:08 -0600, Bryan Mawhinney wrote:

>> I still don't have sound working correctly on my HP Pavilion zt1130,
>> but thanks to you, I've got native video working for X!

> I got sound and ACPI working on my zt1130 by forcing the ACPI code to
> treat the FADT table as pre ACPI 2.0.  In
> src/linux/drivers/acpi/tables/tbconvrt.c, around line 211, force the
> comparison to always be false:
> if (0 && acpi_gbl_FADT->header.revision >= FADT2_REVISION_ID) {
> /* We have an ACPI 2.0 FADT but we must copy it to our local buffer
> */
> The FADT doesn't contain the 64 bit ACPI 2.0 pointers that the code
> expects. Not sure if this is against the spec, but the code doesn't
> allow for it. Also not sure how the ACPI affects the sound, but it does.

Worked like a charm! Thank you!

Now, I guess I have to downgrade ALSA so that esd will work with it . ..


-- | Organization: The Pennswald Group -- Linux powered!! I thought I wanted a career--turns out I just wanted regular paychecks.