diff --git a/CREDITS.md b/CREDITS.md index 877c44d..9ecc7be 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -132,4 +132,10 @@ - https://github.com/gjyoung1974 - OpenCore-Boot-macOS.sh script +- cppLawyer - Bump up the RAM size for `Apple iPhone Emulator` + +- SsNiPeR1 - Typo fix + +- sumad200 - XML fixes + Note: Individual files have more specific 'credits' in them. diff --git a/OpenCore-Boot.sh b/OpenCore-Boot.sh index 5133eeb..6f10bad 100755 --- a/OpenCore-Boot.sh +++ b/OpenCore-Boot.sh @@ -18,7 +18,7 @@ MY_OPTIONS="+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check" # This script works for Big Sur, Catalina, Mojave, and High Sierra. Tested with # macOS 10.15.6, macOS 10.14.6, and macOS 10.13.6. -ALLOCATED_RAM="3072" # MiB +ALLOCATED_RAM="4096" # MiB CPU_SOCKETS="1" CPU_CORES="2" CPU_THREADS="4" @@ -26,9 +26,6 @@ CPU_THREADS="4" REPO_PATH="." OVMF_DIR="." -# This causes high cpu usage on the *host* side -# qemu-system-x86_64 -enable-kvm -m 3072 -cpu Penryn,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,hypervisor=off,vmx=on,kvm=off,$MY_OPTIONS\ - # shellcheck disable=SC2054 args=( -enable-kvm -m "$ALLOCATED_RAM" -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$MY_OPTIONS" @@ -56,6 +53,7 @@ args=( -device ide-hd,bus=sata.4,drive=MacHDD # -netdev tap,id=net0,ifname=tap0,script=no,downscript=no -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 -netdev user,id=net0 -device virtio-net-pci,netdev=net0,id=net0,mac=52:54:00:c9:18:27 + # -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27 # Note: Use this line for High Sierra -monitor stdio -device VGA,vgamem_mb=128 ) diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/Info.plist b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/Info.plist new file mode 100644 index 0000000..c61212e --- /dev/null +++ b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/Info.plist @@ -0,0 +1,161 @@ + + + + + BuildMachineOSBuild + 20G417 + CFBundleExecutable + VoodooPS2Controller + CFBundleGetInfoString + 2.2.8, Copyright Apple Computer, Inc. 2000-2003, David Elliot 2007, RehabMan 2012-2013 + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Controller + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Voodoo PS/2 Controller + CFBundlePackageType + KEXT + CFBundleShortVersionString + 2.2.8 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 2.2.8 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12E507 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1251 + DTXcodeBuild + 12E507 + IOKitPersonalities + + ACPI PS/2 Nub + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Controller + FindMouseDelay + 100 + IOClass + AppleACPIPS2Nub + IONameMatch + + PNP0303 + PNP030B + PNP0320 + + IOProviderClass + IOACPIPlatformDevice + MouseNameMatch + + PNP0F03 + PNP0F0B + PNP0F0E + PNP0F13 + + + ApplePS2Controller + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Controller + IOClass + ApplePS2Controller + IONameMatch + ps2controller + IOProviderClass + IOPlatformDevice + Platform Profile + + Default + + MouseWakeFirst + + WakeDelay + 10 + + HPQOEM + + 1411 + ProBook + 1619 + ProBook + 161C + ProBook + 164F + ProBook + 167C + ProBook + 167E + ProBook + 1680 + ProBook + 179B + ProBook + 179C + ProBook + 17A9 + ProBook + 17F0 + ProBook + 17F3 + ProBook + 17F6 + ProBook + 1942 + ProBook + 1949 + ProBook + 198F + ProBook + ProBook + + WakeDelay + 0 + + ProBook-102 + ProBook + ProBook-87 + ProBook + + + RM,deliverNotifications + + + + LSMinimumSystemVersion + 10.11 + OSBundleCompatibleVersion + 2.2.8 + OSBundleLibraries + + com.apple.iokit.IOACPIFamily + 1.0.0d1 + com.apple.kpi.bsd + 8.0.0 + com.apple.kpi.iokit + 8.0.0 + com.apple.kpi.libkern + 8.0.0 + com.apple.kpi.mach + 8.0.0 + com.apple.kpi.unsupported + 8.0.0 + + OSBundleRequired + Console + + diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/MacOS/VoodooPS2Controller b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/MacOS/VoodooPS2Controller new file mode 100755 index 0000000..5930b64 Binary files /dev/null and b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/MacOS/VoodooPS2Controller differ diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/Info.plist b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/Info.plist new file mode 100644 index 0000000..53b8200 --- /dev/null +++ b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/Info.plist @@ -0,0 +1,80 @@ + + + + + BuildMachineOSBuild + 20G417 + CFBundleDevelopmentRegion + en + CFBundleExecutable + VoodooInput + CFBundleIdentifier + me.kishorprins.VoodooInput + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + VoodooInput + CFBundlePackageType + KEXT + CFBundleShortVersionString + 1.1.3 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1.1.3 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12E507 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1251 + DTXcodeBuild + 12E507 + IOKitPersonalities + + Voodoo Input + + CFBundleIdentifier + me.kishorprins.VoodooInput + IOClass + VoodooInput + IOProbeScore + 200 + IOPropertyMatch + + VoodooInputSupported + + + IOProviderClass + IOService + + + LSMinimumSystemVersion + 10.11 + NSHumanReadableCopyright + Copyright © 2019 Kishor Prins. All rights reserved. + OSBundleLibraries + + com.apple.iokit.IOHIDFamily + 2.0 + com.apple.kpi.iokit + 14 + com.apple.kpi.libkern + 14 + com.apple.kpi.mach + 13.0 + + OSBundleRequired + Root + + diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/MacOS/VoodooInput b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/MacOS/VoodooInput new file mode 100755 index 0000000..4562a6d Binary files /dev/null and b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/MacOS/VoodooInput differ diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/_CodeSignature/CodeResources b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/_CodeSignature/CodeResources new file mode 100644 index 0000000..d5d0fd7 --- /dev/null +++ b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooInput.kext/Contents/_CodeSignature/CodeResources @@ -0,0 +1,115 @@ + + + + + files + + files2 + + rules + + ^Resources/ + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^Resources/ + + weight + 20 + + ^Resources/.*\.lproj/ + + optional + + weight + 1000 + + ^Resources/.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Resources/Base\.lproj/ + + weight + 1010 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist new file mode 100644 index 0000000..3c3fd49 --- /dev/null +++ b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist @@ -0,0 +1,620 @@ + + + + + BuildMachineOSBuild + 20G417 + CFBundleExecutable + VoodooPS2Keyboard + CFBundleGetInfoString + 2.2.8, Copyright Apple Computer, Inc. 2000-2003, RehabMan 2012-2013 + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Keyboard + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Voodoo PS/2 Keyboard + CFBundlePackageType + KEXT + CFBundleShortVersionString + 2.2.8 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 2.2.8 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12E507 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1251 + DTXcodeBuild + 12E507 + IOKitPersonalities + + ApplePS2Keyboard + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Keyboard + IOClass + ApplePS2Keyboard + IOProviderClass + ApplePS2KeyboardDevice + Platform Profile + + DELL + + Dell-Keys + + Breakless PS2 + + e005 + e006 + + Function Keys Special + + ;The following 12 items map Fn+fkeys to fkeys + e020=3b + e02e=3c + e030=3d + e022=3e + ;Fn+f5 macro + ;Fn+f6 macro + ;Fn+f7 macro + ;Fn+f8 macro + ;Fn+f9 macro + ;Fn+f10 no code + e005=57 + e006=58 + ;The following 12 items map fkeys to Fn+fkeys + 3b=e020 + 3c=e02e + 3d=e030 + 3e=e022 + ;Fn+f5 macro + ;Fn+f6 macro + ;Fn+f7 macro + ;Fn+f8 macro + ;Fn+f9 macro + ;Fn+f10 no code + 57=e005 + 58=e006 + + Function Keys Standard + + ;The following 12 items map Fn+fkeys to Fn+fkeys + e020=e020 + e02e=e02e + e030=e030 + e022=e022 + ;Fn+f5 macro + ;Fn+f6 macro + ;Fn+f7 macro + ;Fn+f8 macro + ;Fn+f9 macro + ;Fn+f10 no code + e005=e005 + e006=e006 + ;The following 12 items map fkeys to fkeys + 3b=3b + 3c=3c + 3d=3d + 3e=3e + 3f=3f + 40=40 + 41=41 + 42=42 + 43=43 + 44=44 + 57=57 + 58=58 + + + HSW-LPT + Dell-Keys + SNB-CPT + + ActionSwipeDown + 63 d, 63 u + ActionSwipeUp + 61 d, 61 u + Breakless PS2 + + e01e;Touchpad Fn+f3 is breakless + e06e;REVIEW: temporary for case that macro inversion does not work... + + Custom ADB Map + + e009=83;Dell Support to Launchpad + e0f1=71;Call brightens up w RKA1 for special mode (was =90) + e0f2=6b;Call brightens down w RKA2 for special mode (was =91) + e06e=70;Map vidmirror key for special mode default is adb90 + + Custom PS2 Map + + e01e=e037;Map tp disable to Fn+f3 + e037=e01e;Prevent PrntScr from triggering tp disable + + Function Keys Special + + ;The following 12 items map Fn+fkeys to fkeys + e06e=3b + e008=3c + e01e=3d + e005=3e + e006=3f + e00c=40 + ;Fn+f7 no dedicated macro + e010=42 + e022=43 + e019=44 + e02e=57 + e030=58 + ;The following 12 items map fkeys to Fn+fkeys + 3b=e06e;Map vidmirror key to f1 + 3c=e0f0;Map radio toggle action from EC query to f2 + 3d=e037;Map touchpad toggle button to f3 + 3e=e0f2;Map acpi RKA2 to f4 brightness down + 3f=e0f1;Map acpi RKA1 to f5 brightness up + 40=e0f3;Map acpi RKA3 to f6 keyboard backlight + ;Fn+f7 no macro + 42=e010 + 43=e022 + 44=e019 + 57=e02e + 58=e030 + + Function Keys Standard + + ;The following 12 items map Fn+fkeys to Fn+fkeys + e06e=e06e;Fn+f1 macro translated + e008=e008;Fn+f2 regular scancode and EC query call q8c + e01e=e037;Fn+f3 regular scancode and EC controls LED + e005=e005;Fn+f4 no ps2scancode and EC query call q81 + e006=e006;Fn+f5 no ps2scancode and EC query call q80 + e00c=e00c;Fn+f6 no ps2scancode and EC query call q8a + ;Fn+f7 no macro just regular f key + e010=e010; Fn+f8 regular scancode + e022=e022; Fn+f9 regular scancode + e019=e019;Fn+f10 regular scancode + e02e=e02e;Fn+f11 regular scancode + e030=e030;Fn+f12 regular scancode + ;Fn+f13 is mute dedicated button that always produces e020 regardless of Fn + ;The following 12 items map fkeys to fkeys + 3b=3b + 3c=3c + 3d=3d + 3e=3e + 3f=3f + 40=40 + 41=41 + 42=42 + 43=43 + 44=44 + 57=57 + 58=58 + + Macro Inversion + + ;This section maps ps2 codes (packet format) received quickly (macros) into fake ps2 codes (packet format) + ;Fn+F1 + + //8CbgAAAAACWwEZ + + + //8C7gAAAAAC2wGZ + + + //8C7gAAAAABmQLb + + + MaximumMacroTime + 35000000 + Note-Author + TimeWalker aka TimeWalker75a + Note-Comment + Keyboard Profile for DELL SandyBridge SecureCore Tiano based laptops (Vostro 3450 & 3750, Inspiron N4110, XPS L502x & L702x & L511z) + + WN09 + + Breakless PS2 + + e01b + e008 + e01e + e005 + e06e + e006 + + Custom ADB Map + + e01b=70 + e06e=83 + + Custom PS2 Map + + 56=2b + 29=56 + 2b=29 + e01e=e037 + e037=e01e + + + WN09a + + Breakless PS2 + + e01b + e008 + e01e + e005 + e06e + e006 + + Custom ADB Map + + e01b=70 + e06e=83 + + Custom PS2 Map + + e01e=e037 + e037=e01e + + + + Default + + Breakless PS2 + + ;Items must be strings in the form of breaklessscan (in hex) + + Custom ADB Map + + ;Items must be strings in the form of scanfrom=adbto (in hex) + + Custom PS2 Map + + ;Items must be strings in the form of scanfrom=scanto (in hex) + e027=0;disable discrete fnkeys toggle + e028=0;disable discrete trackpad toggle + + HIDF12EjectDelay + 250 + LogScanCodes + 0 + Make Application key into Apple Fn key + + Make Application key into right windows + + Make right modifier keys into Hangul and Hanja + + SleepPressTime + 0 + Swap capslock and left control + + Swap command and option + + Use ISO layout keyboard + + alt_handler_id + 3 + + HPQOEM + + 1411 + ProBook-102;ProBook 4520s + 1619 + ProBook-87;ProBook 6560b + 161C + ProBook-87;ProBook 8460p + 164F + ProBook-87;ProBook 5330m + 167C + ProBook-102;ProBook 4530s + 167E + ProBook-102;ProBook 4330s + 1680 + ProBook-102;ProBook 4230s + 179B + ProBook-87;ProBook 6470b + 179C + ProBook-87;ProBook 6470b + 17A9 + ProBook-87;ProBook 8570b + 17F0 + ProBook-102;ProBook 4340s + 17F3 + ProBook-102;ProBook 4440s + 17F6 + ProBook-102;ProBook 4540s + 1942 + ProBook-87;ProBook 450s G1 + 1949 + ProBook-87;ProBook 450s G1 + 1962 + Haswell-Envy;HP Envy 15-j063cl + 1963 + Haswell-Envy;HP Envy 15-j063cl + 1965 + Haswell-Envy;HP Envy 17t-j100 + 1966 + Haswell-Envy;HP Envy 17t-j000 + 198F + ProBook-87;ProBook 450s G0 + Haswell-Envy + + Custom ADB Map + + e019=42;next + e010=4d;previous + + Custom PS2 Map + + e045=e037 + e0ab=0;bogus Fn+F2/F3 + + + ProBook-102 + + Custom PS2 Map + + e005=0 + + Function Keys Special + + ;The following 12 items map Fn+fkeys to fkeys + e05f=3b + e012=3c + e017=3d + e06e=3e + e00a=3f + e009=40 + e020=41 + e02e=42 + e030=43 + e010=44 + e022=57 + e019=58 + ;The following 12 items map fkeys to Fn+fkeys + 3b=e05f + 3c=e012 + 3d=e017 + 3e=e06e + 3f=e00a + 40=e009 + 41=e020 + 42=e02e + 43=e030 + 44=e010 + 57=e022 + 58=e019 + + Function Keys Standard + + ;The following 12 items map Fn+fkeys to Fn+fkeys + e05f=e05f + e012=e012 + e017=e017 + e06e=e06e + e00a=e00a + e009=e009 + e020=e020 + e02e=e02e + e030=e030 + e010=e010 + e022=e022 + e019=e019 + ;The following 12 items map fkeys to fkeys + 3b=3b + 3c=3c + 3d=3d + 3e=3e + 3f=3f + 40=40 + 41=41 + 42=42 + 43=43 + 44=44 + 57=57 + 58=58 + + SleepPressTime + 3000 + + ProBook-87 + + Custom ADB Map + + 46=4d;scroll => Previous-track + e045=34;pause => Play-Pause + e052=42;insert => Next-track + e046=92;break => Eject + + Custom PS2 Map + + e005=0 + + Function Keys Special + + ;The following 8 items map Fn+fkeys to fkeys + e05f=3d + e06e=3e + e02e=40 + e030=41 + e009=42 + e012=43 + e017=44 + e033=57 + ;The following 8 items map fkeys to Fn+fkeys + 3d=e05f + 3e=e06e + 40=e02e + 41=e030 + 42=e037 + 43=e012 + 44=e017 + + Function Keys Standard + + ;The following 8 items map Fn+fkeys to Fn+fkeys + e05f=e05f + e06e=e06e + e02e=e02e + e030=e030 + e009=e009 + e012=e012 + e017=e017 + e033=e033 + ;The following 8 items map fkeys to fkeys + 3d=3d + 3e=3e + 40=40 + 41=41 + 42=42 + 43=43 + 44=44 + + SleepPressTime + 3000 + + + Intel + + CALPELLA + SamsungKeys + SamsungKeys + + Breakless PS2 + + e003 + e002 + e004 + e020 + ;e031 + e033 + e006 + e077 + e079 + e008 + e009 + + Custom ADB Map + + e002=70 + e006=80 + e008=71 (was =90) + e009=6b (was =91) + + Function Keys Special + + ;The following 12 items map Fn+fkeys to fkeys + ;fn+f1 no code + e003=3c + ;fn+f3 weird code + e002=3e + e004=3f + e020=40 + e031=41 + e033=42 + e006=43 + ;fn+f10 weird code + ;fn+f11 no code + ;fn+f12 scrolllock + ;The following 12 items map fkeys to Fn+fkeys + ;fn+f1 no code + 3c=e003 + ;fn+f3 weird code + 3e=e002 + 3f=e004 + 40=e020 + 41=e031 + 42=e033 + 43=e006 + ;fn+f10 weird code + ;fn+f11 no code + ;fn+f12 scrolllock + + Function Keys Standard + + ;The following 12 items map Fn+fkeys to Fn+fkeys + ;fn+f1 no code + e003=e003 + ;fn+f3 weird code + e002=e002 + e004=e004 + e020=e020 + e031=e031 + e033=e033 + e006=e006 + ;fn+f10 weird code + ;fn+f11 no code + ;fn+f12 scrolllock + ;The following 12 items map fkeys to fkeys + 3b=3b + 3c=3c + 3d=3d + 3e=3e + 3f=3f + 40=40 + 41=41 + 42=42 + 43=43 + 44=44 + 57=57 + 58=58 + + + + SECCSD + + LH43STAR + SamsungKeys + SamsungKeys + + Breakless PS2 + + e020 + e02e + e030 + + + + + + + LSMinimumSystemVersion + 10.11 + OSBundleLibraries + + as.acidanthera.voodoo.driver.PS2Controller + 2.2.8 + com.apple.iokit.IOHIDFamily + 1.0.0b1 + com.apple.kpi.bsd + 8.0.0 + com.apple.kpi.iokit + 8.0.0 + com.apple.kpi.libkern + 8.0.0 + com.apple.kpi.mach + 8.0.0 + com.apple.kpi.unsupported + 8.0.0 + + OSBundleRequired + Console + + diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/MacOS/VoodooPS2Keyboard b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/MacOS/VoodooPS2Keyboard new file mode 100755 index 0000000..a0acf0a Binary files /dev/null and b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/MacOS/VoodooPS2Keyboard differ diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext/Contents/Info.plist b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext/Contents/Info.plist new file mode 100644 index 0000000..67bbbf9 --- /dev/null +++ b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext/Contents/Info.plist @@ -0,0 +1,198 @@ + + + + + BuildMachineOSBuild + 20G417 + CFBundleExecutable + VoodooPS2Mouse + CFBundleGetInfoString + 2.2.8, Copyright Apple Computer, Inc. 2000-2004, Slice 2010, RehabMan 2012-2013 + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Mouse + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Voodoo PS/2 Mouse + CFBundlePackageType + KEXT + CFBundleShortVersionString + 2.2.8 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 2.2.8 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12E507 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1251 + DTXcodeBuild + 12E507 + IOKitPersonalities + + ApplePS2Mouse + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Mouse + HIDPointerAccelerationType + HIDTrackpadAcceleration + HIDScrollAccelerationType + HIDTrackpadScrollAcceleration + IOClass + ApplePS2Mouse + IOProviderClass + ApplePS2MouseDevice + Platform Profile + + Default + + ActLikeTrackpad + + ButtonCount + 3 + Darwin 16+ + + ApplePreferenceCapability + + ApplePreferenceIdentifier + com.apple.AppleMultitouchTrackpad + MT Built-in + + MTHIDDevice + + SupportsGestureScrolling + + TrackpadEmbedded + + TrackpadFourFingerGestures + + TrackpadSecondaryClickCorners + + TrackpadThreeFingerDrag + + + DefaultResolution + 240 + DisableDevice + + DisableLEDUpdating + + FakeMiddleButton + + ForceDefaultResolution + + ForceSetResolution + + MiddleClickTime + 100000000 + MouseCount + 0 + MouseYInverter + 1 + ProcessBluetoothMouseStopsTrackpad + + ProcessUSBMouseStopsTrackpad + + QuietTimeAfterTyping + 500000000 + ResolutionMode + 3 + ScrollResolution + 5 + ScrollYInverter + 1 + TrackpadScroll + + WakeDelay + 1000 + + HPQOEM + + 1411 + ProBook + 1619 + ProBook + 161C + ProBook + 164F + ProBook + 167C + ProBook + 167E + ProBook + 1680 + ProBook + 179B + ProBook + 179C + ProBook + 17A9 + ProBook + 17F0 + ProBook + 17F3 + ProBook + 17F6 + ProBook + 1942 + ProBook + 1949 + ProBook + 198F + ProBook + ProBook + + ActLikeTrackpad + + DisableDevice + + + ProBook-102 + ProBook + ProBook-87 + ProBook + + + ProductID + 547 + RM,deliverNotifications + + USBMouseStopsTrackpad + 0 + VendorID + 1452 + + + LSMinimumSystemVersion + 10.11 + OSBundleLibraries + + as.acidanthera.voodoo.driver.PS2Controller + 2.2.8 + com.apple.iokit.IOHIDFamily + 1.0.0b1 + com.apple.kpi.iokit + 9.0.0 + com.apple.kpi.libkern + 9.0.0 + com.apple.kpi.mach + 9.0.0 + + OSBundleRequired + Console + + diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext/Contents/MacOS/VoodooPS2Mouse b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext/Contents/MacOS/VoodooPS2Mouse new file mode 100755 index 0000000..26d02b1 Binary files /dev/null and b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Mouse.kext/Contents/MacOS/VoodooPS2Mouse differ diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/Info.plist b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/Info.plist new file mode 100644 index 0000000..7abcaa6 --- /dev/null +++ b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/Info.plist @@ -0,0 +1,567 @@ + + + + + BuildMachineOSBuild + 20G417 + CFBundleExecutable + VoodooPS2Trackpad + CFBundleGetInfoString + 2.2.8, Copyright Apple Computer, Inc. 2002-2003, mackerintel 2008, RehabMan 2012-2013 + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Trackpad + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + Voodoo PS/2 Trackpad + CFBundlePackageType + KEXT + CFBundleShortVersionString + 2.2.8 + CFBundleSignature + ???? + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 2.2.8 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 12E507 + DTPlatformName + macosx + DTPlatformVersion + 11.3 + DTSDKBuild + 20E214 + DTSDKName + macosx11.3 + DTXcode + 1251 + DTXcodeBuild + 12E507 + IOKitPersonalities + + ALPS GlidePoint + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Trackpad + IOClass + ApplePS2ALPSGlidePoint + IOProbeScore + 6000 + IOProviderClass + ApplePS2MouseDevice + Platform Profile + + Default + + Darwin 16+ + + ApplePreferenceCapability + + ApplePreferenceIdentifier + com.apple.AppleMultitouchTrackpad + MT Built-in + + MTHIDDevice + + SupportsGestureScrolling + + TrackpadEmbedded + + TrackpadFourFingerGestures + + TrackpadSecondaryClickCorners + + TrackpadThreeFingerDrag + + + DisableDevice + + DragLockTempMask + 1048592 + FingerZ + 1 + ForceTouchCustomDownThreshold + 90 + ForceTouchCustomPower + 8 + ForceTouchCustomUpThreshold + 20 + ForceTouchMode + 0 + ForceTouchPressureThreshold + 100 + ProcessBluetoothMouseStopsTrackpad + + ProcessUSBMouseStopsTrackpad + + QuietTimeAfterTyping + 500000000 + Resolution + 400 + ScrollResolution + 400 + USBMouseStopsTrackpad + 0 + UnitsPerMMX + 50 + UnitsPerMMY + 50 + WakeDelay + 1000 + + HPQOEM + + 1411 + ProBook + 1619 + ProBook + 161C + ProBook + 164F + ProBook + 167C + ProBook + 167E + ProBook + 1680 + ProBook + 179B + ProBook + 179C + ProBook + 17A9 + ProBook + 17F0 + ProBook + 17F3 + ProBook + 17F6 + ProBook + 1942 + ProBook + 1949 + ProBook + 198F + ProBook + ProBook + + DisableDevice + + + ProBook-102 + ProBook + ProBook-87 + ProBook + + + ProductID + 547 + RM,deliverNotifications + + VendorID + 1452 + + Elantech TouchPad + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Trackpad + IOClass + ApplePS2Elan + IOProbeScore + 7000 + IOProviderClass + ApplePS2MouseDevice + Platform Profile + + Default + + ButtonCount + 3 + Darwin 16+ + + ApplePreferenceCapability + + ApplePreferenceIdentifier + com.apple.AppleMultitouchTrackpad + MT Built-in + + MTHIDDevice + + SupportsGestureScrolling + + TrackpadEmbedded + + TrackpadFourFingerGestures + + TrackpadSecondaryClickCorners + + TrackpadThreeFingerDrag + + + DisableDevice + + ForceTouchMode + 1 + MouseResolution + 3 + MouseSampleRate + 200 + ProcessBluetoothMouseStopsTrackpad + + ProcessUSBMouseStopsTrackpad + + QuietTimeAfterTyping + 500000000 + ScrollResolution + 400 + SetHwResolution + + TrackpointDividerX + 120 + TrackpointDividerY + 120 + TrackpointMultiplierX + 120 + TrackpointMultiplierY + 120 + USBMouseStopsTrackpad + 0 + UseHighRate + + WakeDelay + 1000 + + + RM,deliverNotifications + + + Native Multitouch Engine + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Trackpad + IOClass + VoodooPS2NativeEngine + IOMatchCategory + VoodooPS2NativeEngine + IOProviderClass + VoodooPS2MultitouchInterface + + Sentelic FSP + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Trackpad + IOClass + ApplePS2SentelicFSP + IOProbeScore + 5500 + IOProviderClass + ApplePS2MouseDevice + Platform Profile + + Default + + DisableDevice + + + HPQOEM + + 1411 + ProBook + 1619 + ProBook + 161C + ProBook + 164F + ProBook + 167C + ProBook + 167E + ProBook + 1680 + ProBook + 179B + ProBook + 179C + ProBook + 17A9 + ProBook + 17F0 + ProBook + 17F3 + ProBook + 17F6 + ProBook + 1942 + ProBook + 1949 + ProBook + 198F + ProBook + ProBook + + DisableDevice + + + ProBook-102 + ProBook + ProBook-87 + ProBook + + + + Synaptics TouchPad + + CFBundleIdentifier + as.acidanthera.voodoo.driver.PS2Trackpad + HIDPointerAccelerationTable + + AACAAFVTQioABwAAAAAAAgAEAAAABAAAABAAAAAQAAAAACAAAA0A + AIAAAACAAAABQAAAAYAAAAIAAAAC4AAAAwAAAATgAAAEAAAAB0AA + AAUAAAAKAAAABgAAAA1AAAAIAAAAFgAAAArAAAAjAAAADQAAAC8A + AAAOwAAAOMAAABBAAABBAAAAEcAAAEjAAAAAUAAADwAAgAAAAIAA + AAEAAAABQAAAAYAAAAJAAAACAAAAA4AAAAKAAAAE4AAAAwAAAAZg + AAAEAAAACgAAAAUAAAAOQAAABgAAABNAAAAIAAAAHsAAAArAAAAu + wAAADQAAADyAAAAOwAAARwAAABBAAABPwAAAEcAAAFiAAAAAgAAA + DwAAgAAAAIAAAAEAAAABYAAAAYAAAAKgAAACAAAABEAAAAKAAAAG + AAAAAwAAAAgAAAAEAAAADQAAAAUAAAASwAAABgAAABkAAAAIAAAA + KAAAAArAAAA7wAAADQAAAEuAAAAOwAAAV0AAABBAAABgQAAAEcAA + AGkAAAAAsAAADwAAgAAAAIAAAAEAAAABoAAAAYAAAAMAAAACAAAA + BQAAAAKAAAAHQAAAAwAAAAnAAAAEAAAAEEAAAAUAAAAXgAAABgAA + AB/AAAAIAAAAMgAAAArAAABKAAAADQAAAFyAAAAOwAAAaQAAABBA + AABywAAAEcAAAHrAAAAA4AAADwAAgAAAAKAAAAEAAAABwAAAAYAA + AANgAAACAAAABeAAAAKAAAAIoAAAAwAAAAvAAAAEAAAAE8AAAAUA + AAAdQAAABgAAACfAAAAIAAAAPcAAAArAAABZAAAADQAAAG3AAAAO + wAAAe0AAABBAAACFQAAAEcAAAIxAAAABAAAADwAAgAAAAMAAAAEA + AAACAAAAAYAAAAPgAAACAAAABsAAAAKAAAAKQAAAAwAAAA5gAAAE + AAAAGMAAAAUAAAAkwAAABgAAADLAAAAIAAAATUAAAArAAABugAAA + DQAAAIMAAAAOwAAAj0AAABBAAACXAAAAEcAAAJxAAA== + + HIDPointerAccelerationType + HIDTrackpadAcceleration + HIDScrollAccelerationTable + + AACAAFVTQioABwAAAAAAAQABAAAAAQAAAAAgAAAQAABxOwAATOMA + AwAAAAdgAAAEwAAADoAAAAbxSgAX6V4ACVeCACMQWgALZ6EALBF7 + AA2N1AA03ToAD36aADvQuAASWKAARl01ABUAAABO2dgAF8AAAFXK + 7QAas+UAW2FQAB2QAABe0qoAIL75AGEgywAkLXsAYnXvACewAABj + Rl8AAIAAABMAAHE7AABWfwABAAAAAuAAAAIAAAAJYAAAAwAAABIA + AAAEwAAAIMAAAAaAAAAwgAAACGp5AEH9tgAK7bUAV4ZuAA0B2ABr + PTkADv1/AIEEcAAQy5gAkdRWABJouQCe3VAAE+c/AKikCgAXAucA + tn2SABot3ADARE4AHVjQAMX4OgAg35IAytuYACQ4bgDO7mUAJ6CX + ANIwowAAsAAAFAAAcTsAAGFOAADAAAABwAAAAQAAAANgAAACAAAA + DCAAAAMAAAAW4AAABMAAACnAAAAGQAAAOsAAAAfOggBP7OcACgWA + AGo8rgAL658AhMCkAA2RCwCfR+EADzjIALWDbwAQ/k8AxqbEABLN + UQDUeCMAFepmAOTKxwAZoVYA8qFmAB1CvwD7fXwAIQuCAQFpdAAk + S20BBVKIACegAAEIK4wAAOAAABQAAHE7AABtdwAAwAAAAeAAAAEA + AAAD4AAAAgAAAA6AAAADAAAAHEAAAATAAAA0AAAABgAAAEdAAAAH + N4wAXL7hAAkAAACAwAAACoAAAKGAAAALz7IAvU7UAA01yQDadikA + DvtPAPKF4gARLu4BCSWiABUlDwEfV8QAGT9oASzRKgAdChkBNQrG + ACDz5QE6cR4AJEARAT3XdgAnn1YBQMHWAABQAAATAABxOwAAS7AA + AQAAAAJgAAACAAAABuAAAAMAAAAMYAAABMAAABcAAAAGwAAAJAAA + AAkAAAAyAAAACz1uAEFngAANcE8AUMGhAA+sTQBgSTMAEagdAG5N + TAATT9YAd9WQABTQfgB+26MAF3odAIbYXQAagocAjp+lAB2J6QCT + vnkAIN/yAJdcWwAkO0IAmYu9ACegOACacdcAAQAAABUAAHE7AABW + fwAAwAAAAiAAAAEAAAAEgAAAAYAAAAqAAAACAAAAEaAAAAMAAAAh + gAAABMAAAD6AAAAFwAAAVEAAAAbAAABrAAAACAAAAIxAAAAJAAAA + qYAAAApAAADKwAAAC8AAAPTAAAANwAABJAAAABAAAAFEn9IAFEAA + AV49zAAZAAABbrsYABzQAAFz78AAIOAAAXhvwAAkIAABem/AACeg + AAF8JGg= + + HIDScrollAccelerationType + HIDTrackpadScrollAcceleration + IOClass + ApplePS2SynapticsTouchPad + IOProbeScore + 6000 + IOProviderClass + ApplePS2MouseDevice + Platform Profile + + Default + + ButtonCount + 3 + Darwin 16+ + + ApplePreferenceCapability + + ApplePreferenceIdentifier + com.apple.AppleMultitouchTrackpad + MT Built-in + + MTHIDDevice + + SupportsGestureScrolling + + TrackpadEmbedded + + TrackpadFourFingerGestures + + TrackpadSecondaryClickCorners + + TrackpadThreeFingerDrag + + + DisableDevice + + DisableLEDUpdating + + FakeMiddleButton + + ForceTouchCustomDownThreshold + 90 + ForceTouchCustomPower + 8 + ForceTouchCustomUpThreshold + 20 + ForceTouchMode + 1 + ForceTouchPressureThreshold + 100 + MiddleClickTime + 100000000 + MouseMiddleScroll + + ProcessBluetoothMouseStopsTrackpad + + ProcessUSBMouseStopsTrackpad + + QuietTimeAfterTyping + 500000000 + Resolution + 400 + ScrollResolution + 400 + SkipPassThrough + + USBMouseStopsTrackpad + 0 + UseHighRate + + WakeDelay + 1000 + + HPQOEM + + 1411 + ProBook + 1619 + ProBook + 161C + ProBook + 164F + ProBook + 167C + ProBook + 167E + ProBook + 1680 + ProBook + 179B + ProBook + 179C + ProBook + 17A9 + ProBook + 17F0 + ProBook + 17F3 + ProBook + 17F6 + ProBook + 1942 + ProBook + 1949 + ProBook + 198F + ProBook + ProBook + + FingerZ + 40 + + ProBook-102 + ProBook + ProBook-87 + ProBook + + LENOVO + + T420 + Thinkpad_TrackPad + T460 + Thinkpad_ClickPad + T560 + Thinkpad_ClickPad + Thinkpad_ClickPad + + FakeMiddleButton + + FingerZ + 30 + HWResetOnStart + + MouseMultiplierX + 2 + MouseMultiplierY + 2 + MouseScrollMultiplierX + 2 + MouseScrollMultiplierY + 2 + ScrollResolution + 800 + Thinkpad + + + Thinkpad_TrackPad + + FakeMiddleButton + + FingerZ + 47 + HWResetOnStart + + Resolution + 3200 + ScrollResolution + 800 + Thinkpad + + + X1CG3 + Thinkpad_ClickPad + + + ProductID + 547 + RM,deliverNotifications + + VendorID + 1452 + + + LSMinimumSystemVersion + 10.11 + OSBundleLibraries + + as.acidanthera.voodoo.driver.PS2Controller + 2.2.8 + com.apple.iokit.IOHIDFamily + 1.0.0b1 + com.apple.kpi.iokit + 9.0.0 + com.apple.kpi.libkern + 9.0.0 + com.apple.kpi.mach + 9.0.0 + + OSBundleRequired + Console + + diff --git a/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/MacOS/VoodooPS2Trackpad b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/MacOS/VoodooPS2Trackpad new file mode 100755 index 0000000..8297a88 Binary files /dev/null and b/OpenCore/EFI/OC/Kexts/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Trackpad.kext/Contents/MacOS/VoodooPS2Trackpad differ diff --git a/OpenCore/OpenCore.qcow2 b/OpenCore/OpenCore.qcow2 index ac349b1..f2e3651 100644 Binary files a/OpenCore/OpenCore.qcow2 and b/OpenCore/OpenCore.qcow2 differ diff --git a/README.md b/README.md index c2ea2cf..22c504e 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Phenom II X3 720 does not. Ryzen processors work just fine. ``` sudo apt-get install qemu uml-utilities virt-manager git \ - wget libguestfs-tools p7zip-full make -y + wget libguestfs-tools p7zip-full make dmg2img -y ``` This step may need to be adapted for your Linux distribution. @@ -83,6 +83,7 @@ Phenom II X3 720 does not. Ryzen processors work just fine. ``` sudo usermod -aG kvm $(whoami) sudo usermod -aG libvirt $(whoami) + sudo usermod -aG input $(whoami) ``` Note: Re-login after executing this command. @@ -138,7 +139,13 @@ Phenom II X3 720 does not. Ryzen processors work just fine. * Convert the downloaded `BaseSystem.dmg` file into the `BaseSystem.img` file. ``` - qemu-img convert BaseSystem.dmg -O raw BaseSystem.img + dmg2img -i BaseSystem.dmg BaseSystem.img + ``` + + OR + + ``` + qemu-img convert BaseSystem.dmg -O raw BaseSystem.img # can be problematic on newer systems ``` * Create a virtual HDD image where macOS will be installed. If you change the diff --git a/boot-passthrough.sh b/boot-passthrough.sh index e77e5e3..277d8da 100755 --- a/boot-passthrough.sh +++ b/boot-passthrough.sh @@ -37,7 +37,7 @@ OVMF_DIR="." args=( -enable-kvm -m "$ALLOCATED_RAM" -cpu Penryn,kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,"$MY_OPTIONS" -machine q35 - -usb -device usb-kbd -device usb-tablet + -usb -device usb-kbd -device usb-tablet -device usb-mouse -smp "$CPU_THREADS",cores="$CPU_CORES",sockets="$CPU_SOCKETS" -device usb-ehci,id=ehci -vga none @@ -45,12 +45,12 @@ args=( # Subsystem: Sapphire Technology Limited Nitro+ Radeon RX 570/580/590 [1da2:e366] # 01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1002:aaf0] # Subsystem: Sapphire Technology Limited Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] [1da2:aaf0] - -device vfio-pci,host=01:00.0,multifunction=on + -device vfio-pci,host=01:00.0,multifunction=on,x-no-kvm-intx=on # -device vfio-pci,host=01:00.0,multifunction=on,romfile=gpu_original_bios.bin -device vfio-pci,host=01:00.1 # ASMedia ASM1142 USB 3.1 Host Controller (comment out as needed) # 03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller [1b21:1242] - -device vfio-pci,host=03:00.0,bus=pcie.0 + # -device vfio-pci,host=03:00.0,bus=pcie.0 -device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -drive if=pflash,format=raw,readonly=on,file="$REPO_PATH/$OVMF_DIR/OVMF_CODE.fd" -drive if=pflash,format=raw,file="$REPO_PATH/$OVMF_DIR/OVMF_VARS-1024x768.fd" @@ -67,6 +67,9 @@ args=( -netdev user,id=net0 -device vmxnet3,netdev=net0,id=net0,mac=52:54:00:c9:18:27 -monitor stdio -display none + # -object input-linux,id=kbd1,evdev=/dev/input/by-id/usb-SEMITEK_USB-HID_Gaming_Keyboard_SN0000000001-event-kbd,grab_all=on,repeat=on + # -object input-linux,id=mouse1,evdev=/dev/input/by-id/usb-PixArt_Dell_MS116_USB_Optical_Mouse-event-mouse + -vnc 0.0.0.0:1,password -k en-us ) qemu-system-x86_64 "${args[@]}" diff --git a/macOS-libvirt-Catalina.xml b/macOS-libvirt-Catalina.xml index fcaefa4..8621746 100644 --- a/macOS-libvirt-Catalina.xml +++ b/macOS-libvirt-Catalina.xml @@ -196,6 +196,7 @@ + diff --git a/notes.md b/notes.md index d429c72..6908be4 100644 --- a/notes.md +++ b/notes.md @@ -679,7 +679,7 @@ git checkout OVMF_VARS-1024x768.fd ``` -### Enable rc.local functionality on moden Ubuntu versions +### Enable rc.local functionality on modern Ubuntu versions Create `/etc/rc.local` file with the following content, if it doesn't exist: