https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b1c460d34e2f04257d69d…
commit b1c460d34e2f04257d69d62ea32458b11ce6ba11
Author: Victor Perevertkin <victor.perevertkin(a)reactos.org>
AuthorDate: Tue Dec 22 20:55:26 2020 +0300
Commit: Victor Perevertkin <victor.perevertkin(a)reactos.org>
CommitDate: Mon Jan 4 16:50:31 2021 +0300
[I8042PRT] Add service registry entry for the driver
---
drivers/input/i8042prt/CMakeLists.txt | 1 +
drivers/input/i8042prt/i8042prt_reg.inf | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/drivers/input/i8042prt/CMakeLists.txt
b/drivers/input/i8042prt/CMakeLists.txt
index b16547b72a6..fc22dc6513c 100644
--- a/drivers/input/i8042prt/CMakeLists.txt
+++ b/drivers/input/i8042prt/CMakeLists.txt
@@ -25,3 +25,4 @@ target_link_libraries(i8042prt dmilib)
add_importlibs(i8042prt ntoskrnl hal)
add_pch(i8042prt i8042prt.h SOURCE)
add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
+add_registry_inf(i8042prt_reg.inf)
diff --git a/drivers/input/i8042prt/i8042prt_reg.inf
b/drivers/input/i8042prt/i8042prt_reg.inf
new file mode 100644
index 00000000000..584595c2297
--- /dev/null
+++ b/drivers/input/i8042prt/i8042prt_reg.inf
@@ -0,0 +1,8 @@
+; Intel i8042 controller driver
+[AddReg]
+HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","ErrorControl",0x00010001,0x00000001
+HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","Group",0x00000000,"Keyboard
Port"
+HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","ImagePath",0x00020000,"system32\drivers\i8042prt.sys"
+HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","Start",0x00010001,0x00000001
+HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","Tag",0x00010001,0x00000004
+HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt","Type",0x00010001,0x00000001