On Tuesday 13 August 2002 04:02, Thierry Vignaud wrote:
>> I am running Mandrake on my FOSA 430S8 (SIS630 chipset).
>> Seem that the BIOS is reporting the wrong version which causes my
>> laptop to freezes ramdomly whenever rebooted from W2K. I have to
>> apply a kernel patches to the apm.c file everytime upgrading the
>> kernel, so it can be included into the mandrake default kernel? if
>> yes where shall I send the patches.
>
>juan, can we apply this patch ?
How about this one? It fixes mis-interpretation of ACPI tables on
some hardware (such as HP Pavilion laptops of the zt1000 series).
I have had to put in each Mandrake kernel in order for sound to
work properly with Mandrake kernels. This patch is for 2.4.19-1mdk
kernel, but I have not tried it yet with this kernel due to general
problems getting the tree to compile :^( It is applied to
/usr/src/linux-2.4.19-1mdk/drivers/acpi/tables/tbconvrt.c
-Chuck
--
+-% He's a real UNIX Man $-+-------------------------------------+
\ Sitting in his UNIX LAN \ Charles A. Shirley \
\ Making all his UNIX plans \ cashirley (at) comcast (dot) net \
+------# For nobody @------+-------------------------------------+
Patch for /usr/src/linux-2.4.19-1mdk/drivers/acpi/tables/tbconvrt.c
Crated with: LC_ALL=C TZ=UTC0 diff -Naur tbconvrt.c.old tbconvrt.c
--- tbconvrt.c.old 2002-08-11 22:18:27.000000000 +0000
+++ tbconvrt.c 2002-08-11 22:17:34.000000000 +0000
@@ -210,8 +210,11 @@
/* The ACPI FADT revision number is FADT2_REVISION_ID=3 */
/* So, if the current table revision is less than 3 it is type 1.0 or 0.71 */
+ /* However, type 2.0 tables that don't contain Xfirmware_ctrl anda */
+ /* other 64 bit pointers are also treated as type 1.0 */
- if (acpi_gbl_FADT->header.revision >= FADT2_REVISION_ID) {
+ if (acpi_gbl_FADT->header.revision >= FADT2_REVISION_ID
+ && ((fadt_descriptor_rev2*) acpi_gbl_FADT)->Xfirmware_ctrl) {
/* We have an ACPI 2.0 FADT but we must copy it to our local buffer */
*FADT2 = *((fadt_descriptor_rev2*) acpi_gbl_FADT);