- Joined
- Feb 21, 2011
- Messages
- 176
- Motherboard
- Aspire aspire switch alpha 12 (Clover)
- CPU
- i5-6200U/Intel 100 series
- Graphics
- Intel HD 520, 2160 x 1440
- Mac
-
1) Hardware specification:
Laptop model: Acer aspire switch alpha 12 (SA5-271-594J)
CPU: Intel Core i5-6200U
Display: 12" QHD IPS 10-point multi-touch (2160 x 1440) -- ELAN5515 (@I2C1), Hi-DPI working, touch not working
RAM: 4x2 GB LPDDR3
HDD: 256 GB SSD
Video card: Intel HD Graphics 520
Audio: Realtek (Ven: 0x10ec, div id: 0x0255)
Wifi : Atheros QCA61x4A (0x168c, 0x003e rev 32) --- Not working
Card reader: Realtek USB 2.0 (0x0BDA, 0x0129) --- Not working
Camera: 0x0BDA, 0x56C1 REV_0016
Bluetooth: 0x0489, 0xE09F Rev_0001
Intel Serial IO I2C Host Controller 9D60, 9D61, 9D62
USB 3.0 and USB 3.1 Type-C (8086:9D2F)
2) To install El Capitan 10.11.6, follow RehabMan's guide @
http://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
During the step to prepare installation USB, make sure "drivers64UEFI" and "kexts\Other" folders have files as attached.
Use "config.plist" as attached
In BIOS setting, disable secure boot, and enable F12 to choose boot devices.
Restart computer and click F12 to choose boot from Mac OS X installation USB
Follow RehabMan's instruction, in Clover menu, select "verbose" to start install. Should be no problem to complete.
3) In case you re-formated your SSD and have EFI partition smaller than 200MB, you will get an error : MediaKit reports no enough space on device for requested operation.
Reason: EFI partition is smaller than 200MB.
Solution: Create a new EFI partition with at least 200MB. Details in: http://www.tonymacx86.com/threads/g...-device-for-requested-operation-error.168286/
4) Post installation: if you have exact laptop, use "Kext wizard" to install all kexts in EFI/CLOVER/kexts/Other/ to /S/L/E. After that delete all the kexts under EFI/CLOVER/kexts/Other/ and restart computer
=================== Patches applied ===========================
1) Power management
a) Open Terminal and run
cd ~
curl -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
chmod +x ./ssdtPRGen.sh
b) Edit config.plist in clover and change SMBIOS setting for skylake CPU as below
<key>SMBIOS</key>
<dict>
<key>ProductName-Comment</key>
<string>Using Skylake identifiers</string>
<key>ProductName</key>
<string>iMac17,1</string>
<key>Trust</key>
<true/>
</dict>
c) Back to the terminal window and run
~/ssdtPRGen.sh
(Select 'n' and 'n' if asked. Make sure no errors)
d) Copy ~/Library/ssdtPRGen/ssdt.aml to EFI/CLOVER/ACPI/patched/ssdt.aml
e) Restart computer
f) Edit config.plist again, and change SMBIOS back to MacBookAir6,2
Details: http://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/
2) Display backlight control
a) copy EFI/CLOVER/ACPI/patched/ssdt.aml to a ~/temp/ssdt.aml
b) Download https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2016-0312.zip, unzip and copy iasl and patchmatic to /usr/bin
c) In ~/temp folder, run "iasl -da -dl ssdt.aml" to generate ssdt.dsl file
d) Use MaciASL to open ssdt.dsl
e) in MaciASL --> preference, add new source "http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master", then click patch to search for "Brightness Fix" patch
into_all device label PNLF remove_entry;
into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (PNLF)\n
{\n
Name (_ADR, Zero)\n
Name (_HID, EisaId ("APP0002"))\n
Name (_CID, "backlight")\n
Name (_UID, 10)\n
Name (_STA, 0x0B)\n
}\n
}\n
end;
f) Apply patch, compile and save to ssdt.aml
g) copy the patched ssdt.aml back to EFI/CLOVER/ACPI/patched/
h) Download IntelBacklight.kext from https://bitbucket.org/RehabMan/os-x-intel-backlight/downloads
Install with Kext wizard (kext attached, check latest copy)
i) Restart system. Screen brightness should work in system preference as well as keyboard shortcut (native keyboard shortcut works)
3) Battery (kext attached, check latest version)
Download ACPIBatteryManager.kext from
https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads
Install with Kext wizard
4) Fix audio
a) Rename HDA ACPI device to HDEF (for Skylake system) (config.plist)
<key>DSDT</key>
<dict>
<key>Patches</key>
<array>
<dict>
<key>Comment</key>
<string>change HDAS to HDEF</string>
<key>Find</key>
<data>SERBUw==</data>
<key>Replace</key>
<data>SERFRg==</data>
</dict>
</array>
</dict>
b) Layout ID Injection (config.plist)
<key>Devices</key>
<dict>
<key>Audio</key>
<dict>
<key>Inject</key>
<integer>3</integer>
</dict>
</dict>
// find layout id at https://github.com/vit9696/AppleALC/wiki/Supported-codecs
c) Download and install AppleALC.kext (kext attached)
Download at https://github.com/vit9696/AppleALC/releases
Install AppleALC.kext to /S/L/E
// Note: Original AppleHDA.kext is required. AppleALC.kext is just injector
5) Fix appStore
a) Download NullEthernetInjector at https://bitbucket.org/RehabMan/os-x-null-ethernet/downloads
b) Apply patch to EFI/Clover/ACPI/patched/ssdt.aml
into device label RMNE remove_entry;
into definitionblock code_regex . insert
begin
Device (RMNE)\n
{\n
Name (_ADR, Zero)\n
// The NullEthernet kext matches on this HID\n
Name (_HID, "NULE0000")\n
// This is the MAC address returned by the kext. Modify if necessary.\n
Name (MAC, Buffer() { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 })\n
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"built-in", Buffer() { 0x00 },\n
"IOName", "ethernet",\n
"name", Buffer() { "ethernet" },\n
"model", Buffer() { "RM-NullEthernet-1001" },\n
"device_type", Buffer() { "ethernet" },\n
})\n
}\n
}\n
end;
c) Install NullEthernet.kext into /S/L/E
d) Go into SysPrefs->Network and remove all interfaces, Apply, then remove /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist. Reboot
==================== Problem =========================
1) Wireless doesn't work, need to use usb wifi
2) All I2C devices not working, including touchscreen, stylus
3) Touchpad only works as mouse (left key and right key)
4) Computer sleep/wake works. Buts screen flickering after wake from sleep. Problem could be DVMT Pre-alloc at offset 0x180 is set to 64MB (value 0x2). Need to change to 128MB (value 0x4). But EFI shell failed to make the change.
=======================Update============================
1) Use the attached sleep.zip to replace Clover/ACPI/patched and config.plist. This enable sleep and wake
2) Enable Hi-DPI scale for 2K screen. The original resolution is 2160 x 1440 which is too small for 12 ince screen. 1920 x 1280 or 1600 x 1066 are better choice with Hi-DPI setting.
a. Open terminal and run
sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
b. Download RDM (Retina resolution menu) app. google search
c. Enable Hi-DPI by running this script in terminal
curl -0 ./enable-HiDPI.sh https://raw.githubusercontent.com/syscl/Enable-HiDPI-OSX/master/enable-HiDPI.sh
chmod +x ./enable-HiDPI.sh
./enable-HiDPI.sh
(add 1920 x 1280 )
(add 1600 x 1066 )
(0 to exit)
d. Restart computer and run RDM to select desired Hi-DPI resolution. I personally found 1600 x1066 is idea for 12" screen.
Laptop model: Acer aspire switch alpha 12 (SA5-271-594J)
CPU: Intel Core i5-6200U
Display: 12" QHD IPS 10-point multi-touch (2160 x 1440) -- ELAN5515 (@I2C1), Hi-DPI working, touch not working
RAM: 4x2 GB LPDDR3
HDD: 256 GB SSD
Video card: Intel HD Graphics 520
Audio: Realtek (Ven: 0x10ec, div id: 0x0255)
Wifi : Atheros QCA61x4A (0x168c, 0x003e rev 32) --- Not working
Card reader: Realtek USB 2.0 (0x0BDA, 0x0129) --- Not working
Camera: 0x0BDA, 0x56C1 REV_0016
Bluetooth: 0x0489, 0xE09F Rev_0001
Intel Serial IO I2C Host Controller 9D60, 9D61, 9D62
USB 3.0 and USB 3.1 Type-C (8086:9D2F)
2) To install El Capitan 10.11.6, follow RehabMan's guide @
http://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
During the step to prepare installation USB, make sure "drivers64UEFI" and "kexts\Other" folders have files as attached.
Use "config.plist" as attached
In BIOS setting, disable secure boot, and enable F12 to choose boot devices.
Restart computer and click F12 to choose boot from Mac OS X installation USB
Follow RehabMan's instruction, in Clover menu, select "verbose" to start install. Should be no problem to complete.
3) In case you re-formated your SSD and have EFI partition smaller than 200MB, you will get an error : MediaKit reports no enough space on device for requested operation.
Reason: EFI partition is smaller than 200MB.
Solution: Create a new EFI partition with at least 200MB. Details in: http://www.tonymacx86.com/threads/g...-device-for-requested-operation-error.168286/
4) Post installation: if you have exact laptop, use "Kext wizard" to install all kexts in EFI/CLOVER/kexts/Other/ to /S/L/E. After that delete all the kexts under EFI/CLOVER/kexts/Other/ and restart computer
=================== Patches applied ===========================
1) Power management
a) Open Terminal and run
cd ~
curl -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
chmod +x ./ssdtPRGen.sh
b) Edit config.plist in clover and change SMBIOS setting for skylake CPU as below
<key>SMBIOS</key>
<dict>
<key>ProductName-Comment</key>
<string>Using Skylake identifiers</string>
<key>ProductName</key>
<string>iMac17,1</string>
<key>Trust</key>
<true/>
</dict>
c) Back to the terminal window and run
~/ssdtPRGen.sh
(Select 'n' and 'n' if asked. Make sure no errors)
d) Copy ~/Library/ssdtPRGen/ssdt.aml to EFI/CLOVER/ACPI/patched/ssdt.aml
e) Restart computer
f) Edit config.plist again, and change SMBIOS back to MacBookAir6,2
Details: http://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/
2) Display backlight control
a) copy EFI/CLOVER/ACPI/patched/ssdt.aml to a ~/temp/ssdt.aml
b) Download https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2016-0312.zip, unzip and copy iasl and patchmatic to /usr/bin
c) In ~/temp folder, run "iasl -da -dl ssdt.aml" to generate ssdt.dsl file
d) Use MaciASL to open ssdt.dsl
e) in MaciASL --> preference, add new source "http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master", then click patch to search for "Brightness Fix" patch
into_all device label PNLF remove_entry;
into definitionblock code_regex . insert
begin
Scope (_SB)\n
{\n
Device (PNLF)\n
{\n
Name (_ADR, Zero)\n
Name (_HID, EisaId ("APP0002"))\n
Name (_CID, "backlight")\n
Name (_UID, 10)\n
Name (_STA, 0x0B)\n
}\n
}\n
end;
f) Apply patch, compile and save to ssdt.aml
g) copy the patched ssdt.aml back to EFI/CLOVER/ACPI/patched/
h) Download IntelBacklight.kext from https://bitbucket.org/RehabMan/os-x-intel-backlight/downloads
Install with Kext wizard (kext attached, check latest copy)
i) Restart system. Screen brightness should work in system preference as well as keyboard shortcut (native keyboard shortcut works)
3) Battery (kext attached, check latest version)
Download ACPIBatteryManager.kext from
https://bitbucket.org/RehabMan/os-x-acpi-battery-driver/downloads
Install with Kext wizard
4) Fix audio
a) Rename HDA ACPI device to HDEF (for Skylake system) (config.plist)
<key>DSDT</key>
<dict>
<key>Patches</key>
<array>
<dict>
<key>Comment</key>
<string>change HDAS to HDEF</string>
<key>Find</key>
<data>SERBUw==</data>
<key>Replace</key>
<data>SERFRg==</data>
</dict>
</array>
</dict>
b) Layout ID Injection (config.plist)
<key>Devices</key>
<dict>
<key>Audio</key>
<dict>
<key>Inject</key>
<integer>3</integer>
</dict>
</dict>
// find layout id at https://github.com/vit9696/AppleALC/wiki/Supported-codecs
c) Download and install AppleALC.kext (kext attached)
Download at https://github.com/vit9696/AppleALC/releases
Install AppleALC.kext to /S/L/E
// Note: Original AppleHDA.kext is required. AppleALC.kext is just injector
5) Fix appStore
a) Download NullEthernetInjector at https://bitbucket.org/RehabMan/os-x-null-ethernet/downloads
b) Apply patch to EFI/Clover/ACPI/patched/ssdt.aml
into device label RMNE remove_entry;
into definitionblock code_regex . insert
begin
Device (RMNE)\n
{\n
Name (_ADR, Zero)\n
// The NullEthernet kext matches on this HID\n
Name (_HID, "NULE0000")\n
// This is the MAC address returned by the kext. Modify if necessary.\n
Name (MAC, Buffer() { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 })\n
Method (_DSM, 4, NotSerialized)\n
{\n
If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }\n
Return (Package()\n
{\n
"built-in", Buffer() { 0x00 },\n
"IOName", "ethernet",\n
"name", Buffer() { "ethernet" },\n
"model", Buffer() { "RM-NullEthernet-1001" },\n
"device_type", Buffer() { "ethernet" },\n
})\n
}\n
}\n
end;
c) Install NullEthernet.kext into /S/L/E
d) Go into SysPrefs->Network and remove all interfaces, Apply, then remove /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist. Reboot
==================== Problem =========================
1) Wireless doesn't work, need to use usb wifi
2) All I2C devices not working, including touchscreen, stylus
3) Touchpad only works as mouse (left key and right key)
4) Computer sleep/wake works. Buts screen flickering after wake from sleep. Problem could be DVMT Pre-alloc at offset 0x180 is set to 64MB (value 0x2). Need to change to 128MB (value 0x4). But EFI shell failed to make the change.
=======================Update============================
1) Use the attached sleep.zip to replace Clover/ACPI/patched and config.plist. This enable sleep and wake
2) Enable Hi-DPI scale for 2K screen. The original resolution is 2160 x 1440 which is too small for 12 ince screen. 1920 x 1280 or 1600 x 1066 are better choice with Hi-DPI setting.
a. Open terminal and run
sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true
b. Download RDM (Retina resolution menu) app. google search
c. Enable Hi-DPI by running this script in terminal
curl -0 ./enable-HiDPI.sh https://raw.githubusercontent.com/syscl/Enable-HiDPI-OSX/master/enable-HiDPI.sh
chmod +x ./enable-HiDPI.sh
./enable-HiDPI.sh
(add 1920 x 1280 )
(add 1600 x 1066 )
(0 to exit)
d. Restart computer and run RDM to select desired Hi-DPI resolution. I personally found 1600 x1066 is idea for 12" screen.
Attachments
Last edited: