Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,123 posts in this topic

Recommended Posts

Advertisement

Wow, I've have installed successfully Yosemite dual boot with Windows 10 on my T420, :D. But the sound doesn't work, I've installed AppleHDA_20672.kext both in S/L/E and L/E but no luck. And I also don't know how to run _install-hda.bash files in Utilities/HDA to patch HDA (I've tried to open Terminal then drag that file to terminal's window but nothing happend, can any one show me?

Thanks!

Share this post


Link to post
Share on other sites

@polishapple - i renamed the devices EHC1 and EHC2 to EHCD and EHCA ( D denotes the 0x1d address and A for 0x1a address) this allows the DSDT to provide the device definitions for the USB ports in support of El Capitan. this is instead of wrestling with yet another custom kext to define the ports.

 

@winning0308 - the AppleHDA_20672.kext can be in /S/L/E or /L/E but either way it expects to find the original AppleHDA.kext in /S/L/E as it links to the binary AppleHDA. Clover patches the original binary on the fly for the Conexant codec.  in the guide under the section of Known issues and Random Tips, there are some commands (and copied below) to fix the links to remake the links for the custom kexts (that you put /L/E) and rebuild the caches. (and make sure root:wheel is the user/group for the kexts in /L/E)

cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS
sudo rm AppleHDA
sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

cd /Library/Extensions/BroadcomBluetooth_T420.kext/Contents/MacOS
sudo rm BroadcomBluetoothHostControllerUSBTransport
sudo ln -s /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/MacOS/BroadcomBluetoothHostControllerUSBTransport

cd /Library/Extensions
sudo chown -R root:wheel *.kext

sudo touch /System/Library/Extensions

Share this post


Link to post
Share on other sites

 

@polishapple - i renamed the devices EHC1 and EHC2 to EHCD and EHCA ( D denotes the 0x1d address and A for 0x1a address) this allows the DSDT to provide the device definitions for the USB ports in support of El Capitan. this is instead of wrestling with yet another custom kext to define the ports.

 

@winning0308 - the AppleHDA_20672.kext can be in /S/L/E or /L/E but either way it expects to find the original AppleHDA.kext in /S/L/E as it links to the binary AppleHDA. Clover patches the original binary on the fly for the Conexant codec.  in the guide under the section of Known issues and Random Tips, there are some commands (and copied below) to fix the links to remake the links for the custom kexts (that you put /L/E) and rebuild the caches. (and make sure root:wheel is the user/group for the kexts in /L/E)

cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS
sudo rm AppleHDA
sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

cd /Library/Extensions/BroadcomBluetooth_T420.kext/Contents/MacOS
sudo rm BroadcomBluetoothHostControllerUSBTransport
sudo ln -s /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/MacOS/BroadcomBluetoothHostControllerUSBTransport

cd /Library/Extensions
sudo chown -R root:wheel *.kext

sudo touch /System/Library/Extensions

 

Thanks for your reply, I tried all command in Terminal, reboot (without kext caches) but the sound still doesn't work

Share this post


Link to post
Share on other sites

@winning0308 - well is there any info in /var/log/system.log that may help you debug this? what happens if you manually try to load the kext?

 

sudo kextload /Library/Extensions/AppleHDA_20672.kext

 

what is the output of:

 

kextstat|grep HDA

Share this post


Link to post
Share on other sites

@winning0308 - well is there any info in /var/log/system.log that may help you debug this? what happens if you manually try to load the kext?

 

sudo kextload /Library/Extensions/AppleHDA_20672.kext

 

what is the output of:

 

kextstat|grep HDA

nothing happened when I manually try to load kext by command.

 

here is information with 

minhnts-MacBook-Pro:~ minhnt$ kextstat|grep HDA
   80    2 0xffffff7f81e32000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (266.5) <5 4 3 1>
   81    1 0xffffff7f81e41000 0x1a000    0x1a000    com.apple.driver.AppleHDAController (266.5) <80 68 12 7 6 5 4 3 1>
  106    0 0xffffff7f820a4000 0xa7000    0xa7000    com.apple.driver.AppleHDA (999.99) <105 103 82 81 80 68 42 6 5 4 3 1>

system.log.zip

Share this post


Link to post
Share on other sites

your log shows sound assertions from AppleHDA which usually means that the binary is not patched correctly.  

the log showed different problems with the kext before you fixed the links. 

the kext out put above is right. 

 

do you have the clover config.plist from my zip in place which will patch the AppleHDA kext? 

reboot again. you might have sound if clover patches the binary now.

Share this post


Link to post
Share on other sites

your log shows sound assertions from AppleHDA which usually means that the binary is not patched correctly.  

the log showed different problems with the kext before you fixed the links. 

the kext out put above is right. 

 

do you have the clover config.plist from my zip in place which will patch the AppleHDA kext? 

reboot again. you might have sound if clover patches the binary now.

I have already coppied the config.plist from your attached's zip and pasted in EFI's Clover partition, but in Utilities folder there is a folder named HDA and I donno how to run _install-hda.bash file to patched HDA

Share this post


Link to post
Share on other sites

you should need to run  _install-hda.bash - which modifies the original AppleHDA.kext to be a custom kext. 

Clover should be patching the standard original AppleHDA.kext for you. 

 

also if you install the full clover package. then you can install the logging tools etc on your system.

 

 

so try this:

 

sudo rm /var/log/system.log

sudo kextload /Library/Extensions/AppleHDA_20672.kext

sudo touch /System/Library/Extensions

sudo reboot

 

and then attach your system.log if you don't have sound.

Share this post


Link to post
Share on other sites

you should need to run  _install-hda.bash - which modifies the original AppleHDA.kext to be a custom kext. 

Clover should be patching the standard original AppleHDA.kext for you. 

 

also if you install the full clover package. then you can install the logging tools etc on your system.

 

 

so try this:

 

sudo rm /var/log/system.log

sudo kextload /Library/Extensions/AppleHDA_20672.kext

sudo touch /System/Library/Extensions

sudo reboot

 

and then attach your system.log if you don't have sound.

Here is system.log file, still don't have sound. Thank you very much for helping me!

system.log.zip

Share this post


Link to post
Share on other sites

well it looks like clover is not patching the binary of AppleHDA.kext. you could turn on the kext patch debug and watch what the screen shows. if you have the clover scripts on hard drive, the clover logs may show if its patching AppleHDA etc.

Share this post


Link to post
Share on other sites

 

@polishapple - i renamed the devices EHC1 and EHC2 to EHCD and EHCA ( D denotes the 0x1d address and A for 0x1a address) this allows the DSDT to provide the device definitions for the USB ports in support of El Capitan. this is instead of wrestling with yet another custom kext to define the ports.

 

@winning0308 - the AppleHDA_20672.kext can be in /S/L/E or /L/E but either way it expects to find the original AppleHDA.kext in /S/L/E as it links to the binary AppleHDA. Clover patches the original binary on the fly for the Conexant codec.  in the guide under the section of Known issues and Random Tips, there are some commands (and copied below) to fix the links to remake the links for the custom kexts (that you put /L/E) and rebuild the caches. (and make sure root:wheel is the user/group for the kexts in /L/E)

cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS
sudo rm AppleHDA
sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

cd /Library/Extensions/BroadcomBluetooth_T420.kext/Contents/MacOS
sudo rm BroadcomBluetoothHostControllerUSBTransport
sudo ln -s /System/Library/Extensions/IOBluetoothFamily.kext/Contents/PlugIns/BroadcomBluetoothHostControllerUSBTransport.kext/Contents/MacOS/BroadcomBluetoothHostControllerUSBTransport

cd /Library/Extensions
sudo chown -R root:wheel *.kext

sudo touch /System/Library/Extensions

I renamed back to EHC1 and in 10.11 works fine. Also i created the fan controll for DSDT so i can share:>

Share this post


Link to post
Share on other sites

well it looks like clover is not patching the binary of AppleHDA.kext. you could turn on the kext patch debug and watch what the screen shows. if you have the clover scripts on hard drive, the clover logs may show if its patching AppleHDA etc.

I've installed Clover Configurator and in Kernel and Kexts Patches it show only Apple RTC patched.

Share this post


Link to post
Share on other sites

@polishapple - glad to have your input and interest.

 

3 things

 

Trackpad:

well i tested this kext out 3 or 4 years ago. this one seems to be derived from an old kext from fang. it is missing a bunch of new features that RehabMan implemented - like momentum scrolling  etc - not to mention stability etc.

 

anyway, i am not sure what you mean by dragging not working? which of these modes is not? all 3 work for me. (the last 2 require settings in sys prefs to turn on)

 

 

Click and Drag

Press the physical button, then drag. While the button is depressed, you can reposition your "dragging" finger without letting go of what you're dragging.

One-Finger Tap & Drag

With Dragging enabled, tap the trackpad twice and start dragging on the second tap (instead of lifting your finger from the trackpad). There is a short delay from when you lift your finger from the trackpad and when the drag actually ends, during which, you can reposition your finger on the trackpad to continue dragging. To end a drag immediately (without the delay) you can tap the trackpad again.

Drag Lock

Drag Lock works with both the "one-finger tap & drag" and the "three-finger drag". When enabled, the drag does not end after lifting your finger(s) from the trackpad. Rather you have to tap/click the trackpad to end the drag.

 

so i wonder, perhaps there is something in old settings for the Pad Info.plist that you prefer? for me i saw nothing smoother with this old kext, but then again the current is already smooth since it is implemented with settings to override  some of defaults that did make it jumpy. anyway, you can look at the Trackpad plugin and copy the same default settings into VoodooPS plugin to implement a similar feel.

tluck@Toms-Mac ~
$ cd Downloads/ThinkpadUltraNaviBundle.kext/Contents/Plugins/ThinkpadUltraNav.kext/Contents/

tluck@Toms-Mac ~/Downloads/ThinkpadUltraNaviBundle.kext/Contents/Plugins/ThinkpadUltraNav.kext/Contents
$ cat Info.plist 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
...
<string>ThinkpadUltraNav</string>
<key>CFBundleGetInfoString</key>
<string>1.1.0, Copyright Apple Computer, Inc. 2002-2003, Copyright mackerintel 2008, Wencheng FANG 2010</string>
<key>CFBundleIdentifier</key>
<string>cn.sh.fang.ThinkpadUltraNav</string>
...
<key>Configuration</key>
<dict>
<key>BottomEdge</key>
<integer>1700</integer>
<key>CenterX</key>
<integer>3000</integer>
<key>CenterY</key>
<integer>3000</integer>
<key>CircularScrollDivisor</key>
<integer>0</integer>
<key>CircularScrollTrigger</key>
<integer>0</integer>
<key>Divisor</key>
<integer>23</integer>
<key>FingerZ</key>
<integer>30</integer>
<key>HorizontalScrollDivisor</key>
<integer>30</integer>
<key>LeftEdge</key>
<integer>1700</integer>
<key>MaxTapTime</key>
<integer>100000000</integer>
<key>MultiFingerHorizontalDivisor</key>
<integer>30</integer>
<key>MultiFingerVerticalDivisor</key>
<integer>25</integer>
<key>MultiFingerWLimit</key>
<integer>9</integer>
<key>RightEdge</key>
<integer>5200</integer>
<key>StabilizeTapping</key>
<true/>
<key>StickyHorizontalScrolling</key>
<false/>
<key>StickyMultiFingerScrolling</key>
<true/>
<key>StickyVerticalScrolling</key>
<false/>
<key>TopEdge</key>
<integer>4200</integer>
<key>UseHighRate</key>
<true/>
<key>VerticalScrollDivisor</key>
<integer>30</integer>
</dict>
...

</plist>

tluck@Toms-Mac ~/Downloads/ThinkpadUltraNaviBundle.kext/Contents/Plugins/ThinkpadUltraNav.kext/Contents
 

 

El Capitan:

and not sure why it is important to you  to have your devices named EHC1/EHC2 - the new (re) name scheme will allow sleep/wake to work on El Capitan.

 

Fan Speed:

The blue ThinkVantage button when pressed turns on the Fan to the max (and push again for system controlled). (i take no credit for this, but it is implemented in the DSDT i posted)

 

-------------------

@winning0308 

sorry not talking about Clover Configurator. mean for your to install the full clover pkg (attached) to turn on the preferences to get the boot logs in /Library/Logs/Clover. well the config.plist (renamed from config.1600x900.list) has 3 kext patches. do you have that file in /EFI/CLOVER?

Clover_v2.3k_r3261.pkg.zip

Share this post


Link to post
Share on other sites

EHCI1 is like in real mac's and modding DSDT is to make it similar to those in MAC's 

 

By fan controll i mean when it's like 60 degree the an starts workin at 1 when it's 65 fan works at.... It's automatic rether than two speeds before editing (i'm not counting 0 state)

 

And for kext to PS2 i'm only looking at trackpoint (the best "mouse" ever), and on t420(not as big compare to x220, it's almost no problem) and x220 there is a problem with dragging using trackpoint, also the bundle i uploaded makes trackpoint works much smoother on x220)

 

moving settings from old thinkpadultranavi to Voodoops2trackpad not work

 

At the end if you think i'm rude or somethink... i'm not, i'm just trying to solve a problem :> Also great work on t420 tutorial

Share this post


Link to post
Share on other sites

@polishapple - as i already mentioned - glad to have your input on this thread. i just have a T420 so can only test and validate what works on T420. i was suggesting that there maybe a way to tune the setting in VoodooPS2Trackpad to make the trackpoint behave better for you. For example,  changing resolution and divisor settings will change the behavior quite a bit - perhaps not cut/paste from the old version but selectively changing key items. i am not totally certain what some of the values mean or even if the ones in there are the best for the T420. 

 

please post your fan control stuff. sounds interesting.

 

in El Capitan, having the same devices names for USB as a Mac i.e. EHC1/EHC2 may not be all that desirable based on what i have been reading in thread by Pokenguyen with plenty of good work and thought leadership from RehabMan on this topic.  

Share this post


Link to post
Share on other sites

...

in El Capitan, having the same devices names for USB as a Mac i.e. EHC1/EHC2 may not be all that desirable based on what i have been reading in thread by Pokenguyen with plenty of good work and thought leadership from RehabMan on this topic.

Correct 100%. The chances of your USB topology matching an existing Mac model are not high.

Share this post


Link to post
Share on other sites

@winning0308

sorry not talking about Clover Configurator. mean for your to install the full clover pkg (attached) to turn on the preferences to get the boot logs in /Library/Logs/Clover. well the config.plist (renamed from config.1600x900.list) has 3 kext patches. do you have that file in /EFI/CLOVER?

My current Clover is v2.3k_r3259, I installed Clover on my OS X partition and then copy EFI folder to EFI partition (mounted by Clover Configurator), I also renamed config.1366x768.list (my LCD is 1366x768) and coppied it to 2 above EFI/CLOVER folders. Do I need to reinstall Clover_v2.3k_r3261.pkg.zip?

Share this post


Link to post
Share on other sites

Yes :>

Nothing change after I installed new Clover bootloader, the sound still no working. I tried to replace all files in AppleHDA.kext content with appropriate files in Utilities/HDA folder (attached by @tluck), then install new AppleHDA kext files with Kext Utility app but no result. :(

Share this post


Link to post
Share on other sites

Could anyone pls guide me how to get sound working on T420 withe Yosemite,  everything on my Hackintosh works well except sound, I followed the @tluck tutorial but the sound still doesn't work. Thanks!

Share this post


Link to post
Share on other sites

@winning0308 -- HDA keys

 

install the clover pkg tools to get bdmesg installed.

 

1) have untouched original AppleHDA.kext in /S/L/E

2) have untouched/unmodified config.1368x768.list renamed to config.plist in /EFI/CLOVER

3) validate Clover is patching HDA

 

Before installing AppleHDA_20672.kext, check that your output looks like this when you run these 3 commands. i highlighted key things to look for.

 

$ bdmesg |grep HDA

0:104  0:000  KextToPatch 0: AppleHDA (change AD198B for Conexant 20672) Kext bin patch, data len: 4

7:944  0:000    KextPatch[0]: 4 bytes, AppleHDA

7:998  0:000  Audio HDA (addr:0x1B0000) setting specified layout-id=12 (0xC)

8:001  0:000  Start HDA Fix

8:001  0:000  found HDA device NAME(_ADR,0x001B0000) And Name is HDEF

8:001  0:000  _DSM already exists, patch HDA will not be applied

8:005  0:000  HDA Controller [8086:1C20] :: PciRoot(0x0)\Pci(0x1B,0x0) => setting specified layout-id=12 (0xC)

8:023  0:001    Extra kext: EFI\CLOVER\kexts\Other\AppleHDA_20672.kext

8:023  0:000  Thinning failed: EFI\CLOVER\kexts\Other\AppleHDA_20672.kext

 

$ kextstat |grep HDA

   81    2 0xffffff7f8232b000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (272.18.1) <5 4 3 1>

   82    1 0xffffff7f8233e000 0x1c000    0x1c000    com.apple.driver.AppleHDAController (272.18.1) <81 80 75 12 7 6 5 4 3 1>

  115    0 0xffffff7f824b8000 0xab000    0xab000    com.apple.driver.AppleHDA (272.18.1) <114 97 82 81 80 75 6 5 4 3 1>

  119    0 0xffffff7f8233a000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (272.18.1) <4 3>

 

$ cat /var/log/system.log|grep HDA

...

Aug 27 13:03:26 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 1540

Aug 27 13:03:26 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 2200

Aug 27 13:03:26 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 199

Aug 27 13:03:36 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 3575

Aug 27 13:03:36 Toms-Mac kernel[0]: Sound assertion in AppleHDADriver at line 1084

 

 

Then when you install AppleHDA_20672.kext in /S/L/E or /L/E 

check that the file AppleHDA in MacOS folder is a proper link pointing to the original file

 

$ cd /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS/

 

$ ls -l

total 8

lrwxr-xr-x  1 root  wheel  64 Aug 23 10:11 AppleHDA -> /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

 

$ ls -lL

total 2192

-rwxr-xr-x  1 root  wheel  1119632 Jul 29 05:01 AppleHDA

 

 

run this:

sudo rm /var/log/system.log

sudo reboot

 

1) NOW if all is working, you will NOT see any more sound assertions when you grep  HDA /var/log/system.log

2) and kextstat shows version 999.99 for AppleHDA

3) bdmesg will show Clover patching AppleHDA like before

 

tluck@Toms-Mac ~

$ kextstat |grep HDA

   94    2 0xffffff7f8142e000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (272.18.1) <5 4 3 1>

   95    1 0xffffff7f81484000 0x1c000    0x1c000    com.apple.driver.AppleHDAController (272.18.1) <94 93 75 12 7 6 5 4 3 1>

  116    0 0xffffff7f8160e000 0xab000    0xab000    com.apple.driver.AppleHDA (999.99) <115 95 94 93 79 75 42 6 5 4 3 1>

  118    0 0xffffff7f825a6000 0x2000     0x2000     com.apple.driver.AppleHDAHardwareConfigDriver (272.18.1) <4 3>

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By zebity
      Hi Hypervisors,
       
      I have been working to move my Late 2009 Xserve MacOS Server onto Ubuntu 18.04 LTS QEMU/KVM based virtual machine using OVMF and Clover.
       
      After much effort and testing based on the following information from: Kraxel's, Kholia, Gordon Turner and Clover site:
      https://www.kraxel.org/blog/2017/09/running-macos-as-guest-in-kvm/
      https://github.com/kholia/OSX-KVM
      https://gist.github.com/gordonturner/2a2e5ecde5e7860b52e2
      https://clover-wiki.zetam.org/Home
       
      I have now managed to get OVMF/Clover boot and install of MacOS Sierra.
       
      I started with Ubuntu 16.04 initially but this required download and compile of QEMU to get update of machines to: pc-q35-2.9 or better, so I moved to Ubuntu 18.04, which has pc-q35.2.11 available as standard.
       
      So I am now working with standard Ubuntu 18.04 LTS based systems with following packages: kvm/qemu/libvirt/bridge-utils/ovmf/virt-manager
       
      As I want to use PCIe Passthrough for a number of PCIe card currently installed in the server (SmallTree 10GbE & Areca ARC-1883 SAS RAID) I set up my machine with linux kernel boot configuration (/etc/default/grub) of: 
      GRUB_CMDLINE_LINUX_DEFAULT="iommu=1 intel_iommu=on" (as my machine is intel VT-d based HW virtualisation)
       
      This resulted in creation of a number of iommu groups (see /sys/kernel/iommu_group directory for this and this posting for information: https://forum.level1techs.com/t/ubuntu-17-04-vfio-pcie-passthrough-kernel-update-4-14-rc1/119639 , noting that Ubuntu 18.04 LTS has kernel version: 4.15.0-22-generic so there is no need to do kernel update for iommu to work).
       
      Using bare minimal Clover config.plist:
       
       
      And following Clover UEFI drivers:
       
      I can boot MacOS, but it is very very slow... it sits on the apple boot logo for over a minutes before finally moving onto the progress bar.
      The other problem I have is that no PCI or Network devices appear in the "About This Mac" System Information Report and I cannot get any network connectivity from bridged E1000 network device.
       
      Here is my virtlib.xml dump for the virtual machine:
       

      Can any one advise of whether I need to update the CLOVER config.plist to add extra items in to allow network and PCI Passthrough to work.
       
      Thank you.
       
      Regards,
       
      Zebity
       
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Release v2018.05.17 on GitHub Updated to Clover r4458 Updated Lilu.kext - supports both Sierra and High Sierra Updated AppleALC.kext - supports both Sierra and High Sierra + added back DVMT patch for 10.13.2+ Updated VoodooPS2Controller.kext (RehabMan version) + SSDT updates for T460 Added Frank's T470p DSDT files
        Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 
      Note: I never got the GFX fully working on El Capitan. 
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By frankiee
      Hi there, time for my first guide after asking so many things
       
      Updated for newer Clover versions and with additional instructions for more apps: gdisk and RU.
       
      So what may be overlooked sometimes in the whole boot loader discussion is the ability of UEFI to do more than just loading an OS. This is why I see ".efi" files as "apps" because in fact they just are, built on a special kind of API: UEFI. So, you can actually do stuff like editing, diagnosing, testing certain stuff at the lowest possible system level without booting to any OS.
       
      DISCLAIMER: Use this guide at your own risk! For educational purposes only! Should do not any harm, but remember you are dealing with rather low level stuff. But at least for me everything went flawless.
       
      Prerequisites:
      Working clover installation Clover Configurator or some app to edit the config.plist  
      1) Memtest
       
      This is how to install the UEFI version of Memtest with Clover:
      Download memtest, I used this link: Image for creating boot-able USB Drive Open the archive by double clicking on it. Mount the file memtest86-usb.img within by double clicking again. Now, you should see a folder named EFI in this volume, containing a folder BOOT. Open it. The files containing it are the actual app, in 32 and 64 bit versions. Think in almost all cases we want to use the 64 bit version. Now, mount your EFI partition, using Clover configurator. Create a folder named MemTest86 in the EFI folder on your main drive. Copy all files in the EFI/BOOT folder from the mounted image to your newly created folder. That ends the basic setup! Now, we add the correct Menu entry to the clover boot menu, so that we can actually start this app.
       
      Get into clover configurator, open your standard config.plist from your boot drive and go to the GUI section. Under "Custom Entries", add an entry like this:
       

       
      Please note while the path you enter is not case sensitive, you must make sure you use the backslash "\" for entering paths, and not a slash. So basically what we do is tell clover where it can find the app, give it a name, and tell clover it is a "Windows" app. Note: with older Clover versions we had to set this to "Linux", but for now "Windows" is the setting that works.
       
      If you prefer to do a manual config, add this entry to your config.plist, under GUI/Custom/Entries:
      <dict> <key>CustomLogo</key> <true/> <key>Disabled</key> <false/> <key>FullTitle</key> <string>MemTest86</string> <key>Hidden</key> <false/> <key>Ignore</key> <false/> <key>Image</key> <string>\EFI\CLOVER\themes\Icons\os_mint.png</string> <key>Path</key> <string>\EFI\MemTest86\BOOTX64.efi</string> <key>Type</key> <string>Windows</string> <key>VolumeType</key> <string>Internal</string> </dict> Now, save and reboot and you should see the newly created entry. Note that I also used a custom Icon - this is optional - in case you don't you will just see a generic windows icon instead:
       

       
      And this is how it looks like:
       

       

       
      PS: also noticeably faster and you get also more features with this version than with the older version, for example it does now write a log file. For more Information, see: http://www.passmark.com/forum/showthread.php?4315-Memtest86-Version-5-Beta-%28Pure-UEFI%29
       
       
      2) gdisk
       
      Another app you can use is the UEFI version of gdisk (aka GPT fdisk), which you can use to edit and change your partitions.
       
      Warning! Install and use this app at your own risk! If you do something wrong here you might nuke your drive(s), so only use that if you know what you are doing.
       
      This is how to do it (even easier):
      Download here: https://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.1/gdisk-binaries/gdisk-efi-1.0.1.zip/download Mount your EFI partition Unzip the file and copy the resulting folder to your EFI Folder, so your path goes like this "/Volumes/EFI/EFI/gdisk-efi" Get into clover configurator, open your standard config.plist from your boot drive and go to the GUI section. Add an entry like this:  
      If you prefer to do a manual config, add this entry to your config.plist, under GUI/Custom/Entries:
      <dict> <key>CustomLogo</key> <false/> <key>Disabled</key> <false/> <key>FullTitle</key> <string>GDisk</string> <key>Hidden</key> <false/> <key>Ignore</key> <false/> <key>Image</key> <string></string> <key>Path</key> <string>\EFI\gdisk-efi\gdisk_x64.efi</string> <key>Type</key> <string>Windows</string> <key>VolumeType</key> <string>Internal</string> </dict> When everything went OK you should see this after selecting the respective entry in Clover:
       

       
       
      3) RU
       
      I recently found one more app that might be interesting to some, and thats "Read Universal" or in short "RU". This is a tool that enables you to debug your BIOS and read (and modify!) every imaginable data, including UEFI variables, ACPI Tables etc.
       
      Warning, again! I think blindly messing around with this app is even more dangerous, but on the other hand it gives you access to a lot of potentially interesting stuff.
      Download here: http://ruexe.blogspot.de/ The next steps are basically the same as above so make a folder in your EFI partition, copy the .EFI files and make another custom entry in your config.plist Here are some screens:
       

       

       

       
       
      So this is what you also can do with UEFI and clover. I am curious which other useful applications might exist!
       
      Anybody who knows, maybe post it here?
    • By TimNeumann
      MB: Asus X99 A-II
      RAM: G.Skill Ripjaws V F4-3200C16D-32GVK (3200MHz, 4x 16GB DIMMs, so Total 64GB) in quad-channel configuration.
      CPU: i7 6800k @4.0Ghz
      GPUs: GTX 1080 Ti and GTX 1060 3GB
      (each one a monitor, because I can't get DVI to run parallel with DP on the 1080Ti, and my second monitor only has DVI/VGA)
      OS: High Sierra 10.13.2 (17C88) / Clover revision: 4392
       
      Hello everybody,
      I occasionally have system crashes and suspect that it is related to RAM. However, this RAM is completely new, and a run with MemTest86+ from the USB stick showed no errors. However, if I use Memtest on MacOS, I get a bunch of error messages, but sometimes none (I restart the computer between tests).  
      As I just discovered, my RAM is not on the recommended vendor list of my motherboard, nor is it on the manufacturer side of the RAM. I have read several times that the RAM may not have been tested by the manufacturer on this platform. Not a single X99 motherboard is listed for this RAM.
      So I also suspect that my RAM is not compatible.
      But if that were the case, how could it sometimes work completely error-free?
       
      During RAM tests in summer 2017 (a slightly different setup, 4x8GB but still G.Skill Ripjaws V) I had no errors at Memtest under MacOS, if I remember correctly. At that time it ran under Sierra 10.12.6. AptioMemoryFix.efi could also cause problems.
      I am appreciative for any help!
       
      Here is an excerpt from a faulty test.
      It is noticeable that it is always the same address during the test, but a different one after each test.
      Memtest version 4.22 (64-bit) Copyright (C) 2004 Charles Cazabon Copyright (C) 2004-2008 Tony Scaminaci (Macintosh port) Licensed under the GNU General Public License version 2 only Mac OS X 10.13.2 (17C88) running in multiuser mode Memory Page Size: 4096 System has 12 Intel core(s) with SSE Requested memory: 57232MB (60012990464 bytes) Available memory: 57232MB (60012990464 bytes) Allocated memory: 57232MB (60012990464 bytes) at local address 0x00000001033e1000 Attempting memory lock... locked successfully Partitioning memory into 2 comparison buffers... Buffer A: 28616MB (30006495232 bytes) starts at local address 0x00000001033e1000 Buffer B: 28616MB (30006495232 bytes) starts at local address 0x00000007ffc4d800 Running 1 test sequence... (CTRL-C to quit) Test sequence 1 of 1: Running tests on full 57232MB region... Stuck Address : ok Linear PRN : testing 7 of 16 FAILURE! Data mismatch at local address 0x0000000e88133d30 Expected Data: 0xc4c340079ac9a645, Actual Data: 0xc4c3400788468846 Running comparison tests using 28616MB buffers... Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : testing 80 of 256 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x4f4f4f4f4f4f4f4f, BUFB Data: 0x4f4f4f4f88468846 Checkerboard : testing 3 of 64 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x5555555555555555, BUFB Data: 0x5555555588468846 Bit Spread : testing 1 of 128 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x0000000000000005, BUFB Data: 0x0000000088468846 Bit Flip : testing 74 of 512 FAILURE! Data mismatch at local BUFA address 0x000000078b8c7530, BUFB address 0x0000000e88133d30 BUFA Data: 0x0000000000000200, BUFB Data: 0x0000000088468846 Walking Ones : testing 40 of 128 Clover Files attached
      config.plist
      drivers64UEFI.zip
      kexts.zip
      ACPI.zip
    • By BurpSuite
      screenshot:
       

       
      description:
      github: https://github.com/burpsuite/clover_theme
×