Author: cwittich
Date: Sat Apr 4 12:33:51 2015
New Revision: 67039
URL:
http://svn.reactos.org/svn/reactos?rev=67039&view=rev
Log:
[INF]
correctly handle ACPI\ACPI0003 as AcAdapter
Modified:
trunk/reactos/media/inf/battery.inf
Modified: trunk/reactos/media/inf/battery.inf
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/inf/battery.inf?rev=…
==============================================================================
--- trunk/reactos/media/inf/battery.inf [iso-8859-1] (original)
+++ trunk/reactos/media/inf/battery.inf [iso-8859-1] Sat Apr 4 12:33:51 2015
@@ -1,4 +1,4 @@
-; BATTERY.INF
+; BATTERY.INF
[Version]
Signature = "$Windows NT$"
@@ -30,10 +30,21 @@
[GenericMfg]
%ACPI\PNP0C0A.DeviceDesc% = CmBatt,ACPI\PNP0C0A
-%ACPI\ACPI0003.DeviceDesc% = CmBatt,ACPI\ACPI0003
+%ACPI\ACPI0003.DeviceDesc% = AcAdapter,ACPI\ACPI0003
+
+[AcAdapter]
+AddReg=AcAdapter_Addreg
+CopyFiles = CmBatt_CopyFiles
+
+[AcAdapter_Addreg]
+HKR,,PowerSourceType,%REG_BINARY%,01,00,00,00
[CmBatt]
+AddReg=CmBatt_Addreg
CopyFiles = CmBatt_CopyFiles
+
+[CmBatt_Addreg]
+HKR,,PowerSourceType,%REG_BINARY%,00,00,00,00
[CmBatt_CopyFiles]
cmbatt.sys