S1 on toshiba S3000-X11
Hi,
I just wanted to say that the acpi patch 20021002 seems to work fine on my laptop (toshiba S3000-X11) with a 2.4.20-pre10 kernel, except that I need to apply the following patch (originally by Bruno Ducrot) to have S1 working:
==================================================================================================
drivers/acpi/hardware/hwsleep.c renamed from drivers/acpi/hardware/hwsleep.c.orig +3 -0
@@ -309,6 +309,9 @@ }while (!in_value); +/* Restore BM arbitration */ +acpi_set_register (ACPI_BITREG_ARB_DISABLE ,0 ,ACPI_MTX_DO_NOT_LOCK ); +return_ACPI_STATUS (AE_OK ); }
===================================================================================================
Regards,
Éric Brunet
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 20 lines · Éric Brunet
Hi,
I just wanted to say that the acpi patch 20021002 seems to work fine on my laptop (toshiba S3000-X11) with a 2.4.20-pre10 kernel, except that I need to apply the following patch (originally by Bruno Ducrot) to have S1 working:
==================================================================================================
drivers/acpi/hardware/hwsleep.c renamed from drivers/acpi/hardware/hwsleep.c.orig +3
-0@@ -309,6 +309,9 @@ }while (!in_value); +/* Restore BM arbitration */ +acpi_set_register (ACPI_BITREG_ARB_DISABLE ,0 ,ACPI_MTX_DO_NOT_LOCK ); +return_ACPI_STATUS (AE_OK ); }
Quoted 1 line
===================================================================================================
I already submmited the attached patch.
Wait and see..
Signature · 3 lines
Ducrot Bruno http://www.poupinou.org Page profaissionelle http://toto.tu-me-saoules.com Haume page
drivers/acpi/hardware/hwsleep.c +2 -3
@@ -335,6 +335,8 @@ACPI_FUNCTION_TRACE ("Acpi_leave_sleep_state" ); +/* Enable BM arbitration */ + status =acpi_set_register (ACPI_BITREG_ARB_DISABLE ,0 ,ACPI_MTX_LOCK );/* Ensure Enter_sleep_state_prep -> Enter_sleep_state ordering */
@@ -366,9 +368,6 @@if (ACPI_FAILURE (status)) {return_ACPI_STATUS (status); } - -/* Disable BM arbitration */ - status =acpi_set_register (ACPI_BITREG_ARB_DISABLE ,0 ,ACPI_MTX_LOCK );return_ACPI_STATUS (status); }