Author: spetreolle
Date: Sun Jan 1 17:35:22 2017
New Revision: 73499
URL:
http://svn.reactos.org/svn/reactos?rev=73499&view=rev
Log:
[INF]
Correctly install the ACPI AC Adapter driver.
Happy new year.
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] Sun Jan 1 17:35:22 2017
@@ -39,6 +39,15 @@
[AcAdapter_Addreg]
HKR,,PowerSourceType,%REG_BINARY%,01,00,00,00
+[AcAdapter.Services]
+AddService = cmbatt, 0x00000002, AcAdapter_Service_Install
+
+[AcAdapter_Service_Install]
+ServiceType = 1
+StartType = 3
+ErrorControl = 1
+ServiceBinary = %12%\cmbatt.sys
+
[CmBatt]
AddReg=CmBatt_Addreg
CopyFiles = CmBatt_CopyFiles
@@ -62,6 +71,7 @@
[Strings]
ReactOS = "ReactOS Team"
BatteryClassName = "Batteries"
+REG_BINARY = 1
GenericMfg = "(Generic batteries)"
ACPI\PNP0C0A.DeviceDesc = "ACPI-compliant control method battery"