提交 2b0a2bda 编写于 作者: G Goldfish64

Patches: Add PS/2 mouse patch for SioBusDxe

https://github.com/acidanthera/bugtracker/issues/1236
上级 366e20ca
......@@ -21,6 +21,7 @@ OpenCore Changelog
- Fixed I/O issues on platforms incapable of reading over 1MB at once
- Fixed plist-only kext injection in Big Sur
- Add `ForceResolution` option for enabling non-default resolutions
- Fixed Ps2MouseDxe not properly loading under OpenDuetPkg
#### v0.6.2
- Updated builtin firmware versions for SMBIOS and the rest
......
From: Goldfish64 <goldfishnet@aol.com>
Subject: OvmfPkg/SioBusDxe: Add PS/2 mouse support
SioBusDxe by default does not create a device for PS/2 mice, this patch adds that device.
diff --git a/OvmfPkg/SioBusDxe/SioService.c b/OvmfPkg/SioBusDxe/SioService.c
index 407132ddcd6667498362e122fff6df6677fe6877..d5a87219d7cdd83a30e642cd1e6cad56d6312cff 100644
--- a/OvmfPkg/SioBusDxe/SioService.c
+++ b/OvmfPkg/SioBusDxe/SioService.c
@@ -67,7 +67,12 @@ SIO_DEVICE_INFO mDevicesInfo[] = {
EISA_PNP_ID(0x303),
0,
{ (ACPI_SMALL_RESOURCE_HEADER *) &mPs2KeyboardDeviceResources }
- } // PS/2 Keyboard Controller
+ }, // PS/2 Keyboard Controller
+ {
+ EISA_PNP_ID(0xF13),
+ 0,
+ { (ACPI_SMALL_RESOURCE_HEADER *) &mPs2KeyboardDeviceResources }
+ } // PS/2 Mouse Controller
};
//
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册