[PATCH] Resume a K8T800 Mainboard from S3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 
Resume an AMD64@K8T800 Mainboard from S3

Make an AMD64@K8T800 Mainboard (MS-6702) resume succesfully
reseting "Abnormal Power-OFF" Bit.
BIOS here doesn't vector back to OS if not done.

Signed-off-by: <annabellesgarden@xxxxxxxx>


diff -upr rc6-mm2/drivers/acpi/sleep/main.c rc6-mm2-kw/drivers/acpi/sleep/main.c
--- rc6-mm2/drivers/acpi/sleep/main.c	2006-06-10 13:12:46.000000000 +0200
+++ rc6-mm2-kw/drivers/acpi/sleep/main.c	2006-06-15 16:21:55.000000000 +0200
@@ -91,6 +91,15 @@ static int acpi_pm_enter(suspend_state_t
 		break;
 
 	case PM_SUSPEND_MEM:
+		if (acpi_state == ACPI_STATE_S3)
+			/* Make an AMD64@K8T800 Mainboard (MS-6702) resume succesfully
+			   reseting "Abnormal Power-OFF" Bit.
+			   BIOS doesn't vector back to OS if not done.
+			   FIXME: Better move this to PCI-Quirks ?
+			*/
+			acpi_hw_register_write(ACPI_MTX_DO_NOT_LOCK,
+						ACPI_REGISTER_PM1_STATUS,
+					       (u16)0x800);
 		do_suspend_lowlevel();
 		break;
 

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux