Contribute
Register

El Capitan on Acer Aspire Switch Alpha 12

Status
Not open for further replies.
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. MacBook Air
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.
 

Attachments

  • SA12.zip
    777.1 KB · Views: 273
  • Sleep.zip
    7.6 KB · Views: 195
Last edited:
Rehebman, could you please help me about the sleep/wake and screen flickering problem after sleep? I don't know what's going on here. I have attached all the information you might need to check. Please see "Problem.zip" file. Thank you
 
Rehebman, could you please help me about the sleep/wake and screen flickering problem after sleep? I don't know what's going on here. I have attached all the information you might need to check. Please see "Problem.zip" file. Thank you

Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
 
Yes. I did exactly as you mentioned. Everything is in the attachment of post #2 above. Thank you~



Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda

Attach EFI/Clover folder as ZIP (press F4 at main Clover screen before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Attach output of (in Terminal):
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /

Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.
 
Oops, sorry my bad. I didn't realize you want these files and purposely deleted them. Please see the attached file in this post. Thanks a lot.


No. You did not. There are no files in ACPI/origin. Read the request carefully.

Please note that ACPI is not patched correctly (eg. IGPU PM not implemented, _OSI("Darwin") not accounted for, etc). Hint: It is not valid to enable the _OSI->XOSI patch without SSDT-XOSI.aml.

See guide: http://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Oops, sorry my bad. I didn't realize you want these files and purposely deleted them. Please see the attached file in this post. Thanks a lot.

Did you fix the problem already identified in my last post? No reason for me to look when you have really bad problems such as the _OSI problem I already mentioned.
 
Yes. Just tried. But sleep/wake and screen flickering from wake problem same as before.
Please see attached file for detail. Many thanks.~

Did you fix the problem already identified in my last post? No reason for me to look when you have really bad problems such as the _OSI problem I already mentioned.
 
Yes. Just tried. But sleep/wake and screen flickering from wake problem same as before.
Please see attached file for detail. Many thanks.~

This data doesn't line up with your profile (ioreg shows Skylake, profile shows Ivy). Please fix your profile.

Try different ig-platform-id. Also try with FakePCIID.kext+FakePCIID_Intel_HD_Graphics.kext.

Note: You do not need SSDT-IMEI.aml.

Also, try different settings for SHUT in SSDT-Config.aml.
 
This data doesn't line up with your profile (ioreg shows Skylake, profile shows Ivy). Please fix your profile.

Try different ig-platform-id. Also try with FakePCIID.kext+FakePCIID_Intel_HD_Graphics.kext.

Note: You do not need SSDT-IMEI.aml.

Also, try different settings for SHUT in SSDT-Config.aml.

RehabMan, Thank you so much for your time.

As instructed, I have
1) installed FakePCIID.kext+FakePCIID_Intel_HD_Graphics.kext to /S/L/E with kext wizard
2) Delete hot patch in config.plist for SSDT-IMEI.aml, also delete the SSDT-IMEI.aml file
3) in SSDT-Config.aml, change SHUT to 3
But instant wake problem remain same as before.
this time I connected an external monitor via usb type-c to hdmi port, and I found the external monitor no flickering after wake from sleep, only internal lcd has problem.

I have i5-6200U skylake CPU with HD520 graphics. Any other ig-platform-id choice for me please?
 
Last edited:
Status
Not open for further replies.
Back
Top