Skip to content

Latest commit

 

History

History
226 lines (172 loc) · 10.2 KB

File metadata and controls

226 lines (172 loc) · 10.2 KB

Gigabyte GA-Z77-DS3H rev1.1 Hackintosh

Hackintosh for Gigabyte GA-Z77-DS3H rev1.1 motherboard using macOS Monterey (version 12).

macOS Monterey is the last version that works for non-AVX2 CPUs.

Intel Z77 chipset, LGA 1155 socket. Supports 3rd gen. (22 nm - Ivy Bridge) and 2nd gen. (32 nm - Sandy Bridge) Intel Core CPUs.

Onboard devices:

  • Qualcomm Atheros AR8161 Gigabit Ethernet controller (DS3H rev1.0 has AR8151)
  • Realtek ALC887-VD audio chipset

This is a minimal guide that fits my hardware configuration:

OpenCore documentation

https://dortania.github.io/OpenCore-Install-Guide/

https://dortania.github.io/docs/release/Configuration.html

https://github.com/acidanthera/VirtualSMC/blob/1.3.0/Docs/FAQ.md

Check comments in EFI/OC/config.plist

⚠️ Use GenSMBIOS to change SystemSerialNumber, MLB, SystemUUID, ROM in Root > PlatformInfo > Generic

Configuration validation: ./ocvalidate EFI/OC/config.plist

Similar systems:

BIOS Settings

BIOS: F9 (2012/09/27 latest stable), F11a (2013/11/13 latest beta - recommended)

  • Save & Exit > Load Optimized Defaults
  • BIOS Features
    • Fast Boot > Disabled
    • Execute Disable Bit > Enabled
    • Intel Virtualization Technology (i.e. VT-x) > Enabled (default is Disabled)
    • VT-d > Disabled (default is Enabled) (Enabled if DisableIoMapper is true in config.plist)
    • OS Type > Windows 8 WHQL (default is Other OS)
    • CSM Support > Never (default is Always)
    • Network stack > Disabled (can interfere with AtherosE2200Ethernet.kext)
    • Secure Boot > Disabled
  • Peripherals
    • SATA Mode Selection > AHCI (default is IDE)
    • XHCI Pre-Boot Driver > Enabled
    • xHCI Mode > Enabled (default is Smart Auto)
    • Internal Graphics > Disabled (default is Auto)
    • Intel Rapid Start Technology > Disabled
    • Legacy USB Support > Disabled (default is Enabled)
    • XHCI Hand-off > Enabled
    • EHCI Hand-off > Enabled (default is Disabled)
    • Port 60/64 Emulation > Disabled
    • Trusted Computing > TPM Support > Disable
    • Super IO Configuration > Serial Port A > Disabled

USB Mapping

https://github.com/corpnewt/USBMap

EFI/OC/Kexts/USBMap.kext

  #######################################################
 #                  Edit USB Ports                     #
#######################################################

    ----- XHC@14 Controller -----
[#]  1. HS01 | AppleUSB20XHCIPort |  1 (01000000) | 14100000 | Type 3
    Front4 USB3
    - Microsoft® LifeCam HD-5000
[#]  2. HS02 | AppleUSB20XHCIPort |  2 (02000000) | 14200000 | Type 3
    Front3 USB3
    - Microsoft® LifeCam HD-5000
[#]  3. HS03 | AppleUSB20XHCIPort |  3 (03000000) | 14300000 | Type 3
    Back3 USB3
    - Microsoft® LifeCam HD-5000
[#]  4. HS04 | AppleUSB20XHCIPort |  4 (04000000) | 14400000 | Type 3
    Back4 USB3
    - Microsoft® LifeCam HD-5000
    ----- EH02@1A Controller -----
[#]  5. PRT1 | AppleUSBEHCIPort |  1 (01000000) | 1a100000 | Type 0
    - AppleUSB20Hub (HUB-1a100000)
    ----- HUB-1a100000 Controller -----
[#]  6. AppleUSB20HubPort | AppleUSB20HubPort |  1 (01000000) | 1a110000 | Type 0
    - BRCM20702 Hub
        - AppleUSB20Hub
            - AppleUSB20HubPort
                - Bluetooth USB Host Controller
[ ]  7. AppleUSB20HubPort | AppleUSB20HubPort |  2 (02000000) | 1a120000 | Type 0
[#]  8. AppleUSB20HubPort | AppleUSB20HubPort |  3 (03000000) | 1a130000 | Type 0
    Back2 USB2
    - Microsoft® LifeCam HD-5000
[#]  9. AppleUSB20HubPort | AppleUSB20HubPort |  4 (04000000) | 1a140000 | Type 0
    Back1 USB2
    - AppleUSB20Hub (HUB-1a140000)
[#] 10. AppleUSB20HubPort | AppleUSB20HubPort |  5 (05000000) | 1a150000 | Type 0
    Back5 USB2
    - Microsoft® LifeCam HD-5000
[#] 11. AppleUSB20HubPort | AppleUSB20HubPort |  6 (06000000) | 1a160000 | Type 0
    Back6 USB2
    - Microsoft® LifeCam HD-5000
    ----- EH01@1D Controller -----
[#] 12. PRT1 | AppleUSBEHCIPort |  1 (01000000) | 1d100000 | Type 0
    - AppleUSB20Hub (HUB-1d100000)
    ----- HUB-1d100000 Controller -----
[ ] 13. AppleUSB20HubPort | AppleUSB20HubPort |  1 (01000000) | 1d110000 | Type 0
[ ] 14. AppleUSB20HubPort | AppleUSB20HubPort |  2 (02000000) | 1d120000 | Type 0
[ ] 15. AppleUSB20HubPort | AppleUSB20HubPort |  3 (03000000) | 1d130000 | Type 0
[ ] 16. AppleUSB20HubPort | AppleUSB20HubPort |  4 (04000000) | 1d140000 | Type 0
[#] 17. AppleUSB20HubPort | AppleUSB20HubPort |  5 (05000000) | 1d150000 | Type 0
    Front2 USB2
    - Microsoft® LifeCam HD-5000
[#] 18. AppleUSB20HubPort | AppleUSB20HubPort |  6 (06000000) | 1d160000 | Type 0
    Front1 USB2
    - Microsoft® LifeCam HD-5000
[ ] 19. AppleUSB20HubPort | AppleUSB20HubPort |  7 (07000000) | 1d170000 | Type 0
[ ] 20. AppleUSB20HubPort | AppleUSB20HubPort |  8 (08000000) | 1d180000 | Type 0

Populated:
XHC: 4, EH02: 1, HUB-1a100000: 5, EH01: 1, HUB-1d100000: 2

SSDT

curl -O https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
chmod +x ssdtPRGen.sh
./ssdtPRGen.sh -target 1 # 1 = Ivy Bridge
[...]
cp ~/Library/ssdtPRGen/ssdt.aml EFI/OC/ACPI/SSDT-PM.aml

Audio

Realtek ALC887-VD (my version identification is C5D69G1 GC26D2 and matches ALC887-VD)

"The ALC887-VD is an upgraded version of the ALC887 [...]"

Motherboard manual:

  • Line In Jack (Blue)

    The default line in jack. Use this audio jack for line in devices such as an optical drive, walkman, etc.

  • Line Out Jack (Green)

    The default line out jack. Use this audio jack for a headphone or 2-channel speaker. This jack can be used to connect front speakers in a 4/5.1/7.1-channel audio configuration.

  • Mic In Jack (Pink)

    The default Mic in jack. Microphones must be connected to this jack.

Possible layouts:

  • 1 "Toleda ALC887, 5/6 audio ports, native: 2 inputs, 3/4 outputs+front panel+SPDIF/Optical"
  • 2 "Toleda ALC887, 3 audio ports, repurposed to 5.1: 0 inputs, 3 outputs+front panel+SPDIF/Optical"
  • 3 "Toleda ALC887, 3 audio ports, native: 2 inputs, 1 output+front panel+SPDIF/Optical"
  • 5 "Mirone 3 ports (Pink, Green, Blue)" => not bad, Sound Preferences: Internal Speakers + Digital Out
  • 7 "Mirone 5/6 ports (Gray, Black, Orange, Pink, Green, Blue)"
  • 11 "InsanelyDeepak - Realtek ALC887VD", "3 ports supported (Pink, Green, Blue) (Note : without auto-switch, you have to manually select between output/input device's)" => headphones selected by default
  • 12 "Realtek ALC887-VD for ASUS H81M-D by VictorXu" => perfect: motherboard has 3 ports, Sound Preferences: Internal Speakers (+ Internal Microphone and Line In)
  • 13 "InsanelyDeepak - Realtek ALC887VD", "5/6 ports supported (Grey, Black, Laranja, Pink, Green, Blue)"
  • 17 "InsanelyDeepak - Realtek ALC887VD", "5/6 ports supported (Grey, Black, Laranja, Pink, Green, Blue)"
  • 18 "InsanelyDeepak - Realtek ALC887VD", "5/6 ports supported (Grey, Black, Laranja, Pink, Green, Blue)"
  • 20 "Realtek 887-VD AD0 for Asus Z97M-PLUS/BR by maiconjs" => motherboard has 6 ports instead of 3
  • 33 "Custom by klblk for GA-Q87TN" => motherboard has 2 ports instead of 3
  • 40 "Realtek 887-VD for Asus B85-ME by maiconjs" => headphones selected by default
  • 50 "0th3r ALC887 for PRIME B250-PLUS" => headphones selected by default
  • 52 "ALC887 for Asus PRIME Z270-P (full Rear and Front, non auto-switch) by ctich" => headphones selected by default
  • 53 "ALC887 for Asus PRIME Z270-P (Rear LineOut1, Mic - LineOut2, LineIn - LineOut3 - 5.1 and Front, non auto-switch) by ctich" => headphones selected by default
  • 87 "Realtek ALC887-VD GA-Z97 HD3 ver2.1 by varrtix" => motherboard has 6 ports instead of 3
  • 99 "Custom by Constanta" => not bad, Sound Preferences: Internal Speakers + Digital Out

Graphics

Network

git clone https://github.com/Mieze/AtherosE2200Ethernet.git
xcodebuild -project AtherosE2200Ethernet/AtherosE2200Ethernet.xcodeproj
cp -R AtherosE2200Ethernet/build/Release/AtherosE2200Ethernet.kext EFI/OC/Kexts

TRIM

dortania/bugtracker#298

sudo trimforce enable

Mount EFI

diskutil list
sudo diskutil mount disk0s1

Windows keyboard

System Preferences > Keyboard > Modifier Keys

  Option (⌥) Key: ⌘ Command
Command (⌘) Key: ⌥ Option

License

Do whatever you like, this is public domain.