Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,271 posts in this topic

Recommended Posts

 

  • DSDT for "heat-step" (dsdt.heat-step.aml) has a modified method to control the fan speed vs automatically by BIOS.

     

    Follow the installation recipe to use this approach:

    1) copy/replace the default dsdt.aml file with the dsdt.heat-step.aml file in the ESP

    2) locate the ACPIPoller.kext in the Utilities folder and install the kext in /Library/Extensions

    3) reboot

    For Example:

  • mkdir /Volumes/ESP

    sudo mount

    -t msdos /dev/disk0s1 /Volumes/ESP

    cp

    -a /Volumes/ESP/EFI/CLOVER/ACPI/dsdt.heat-step.aml /Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.aml

     

    cd

    ~/Downloads/Lenovo-T420-Clover-YYYY.MM.DD/Utilities

    sudo cp -a ACPIPoller.kext /Library/Extensions

    sudo chown -R 0:0 /Library/Extensions/ACPIPoller.kext

    sudo chmod -R go-w /Library/Extensions/ACPIPoller.kext

    sudo kextcache -i /

 

 

Heat-step works perfectly. The fan revs down when CPU usage is low and revs up when the load is high.

Default dsdt.aml always works at 3600 rpm.

 

But I wonder if there is any posibility to change the fan curve in the dsdt.heat-step.aml

 

it´s more silent but hotter. revs between 1900-3600 

 

i´d like to achieve  a 4500 rpm peak for better cooler.

 

Hi Traskhy

 

 

The fan speed curve is depend on the cpu temperature not loading.

 You can find the code, and you can change it by yourself.

 

/* FAN control START */

                        If (LGreaterEqual (Local0, 0x55)) // CPU Temp is >= 85C
                        { Store (0x07, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 7 - Maximum Speed 
                        Else {
                        If (LGreaterEqual (Local0, 0x50)) // CPU Temp is >= 80C
                        { Store (0x06, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 6 
                        Else {
                        If (LGreaterEqual (Local0, 0x4B)) // CPU Temp is >= 75C
                        { Store (0x05, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 5 
                        Else {
                        If (LGreaterEqual (Local0, 0x46)) // CPU Temp is >= 70C
                        { Store (0x04, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 4 
                        Else {
                        If (LGreaterEqual (Local0, 0x41)) // CPU Temp is >= 65C
                        { Store (0x03, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 3 
                        Else {
                        If (LGreaterEqual (Local0, 0x3C)) // CPU Temp is >= 60C
                        { Store (0x02, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 2 
                        Else {
                        If (LGreaterEqual (Local0, 0x01)) // CPU Temp is >= 01C
                        { Store (0x01, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 1 - Lowest Speed 
                        }
                        }
                        }
                        }
                        }
                        }
/* FAN control END */
  • Like 2
Link to comment
Share on other sites

Am I the only one still experiencing erratic Caps Lock behaviour on 10.12.6?

 

Same kext pack installed on W520, T420 & X220 and all exhibiting the exact same behaviour. All 3 keyboards are UK LITEON versions.

 

Press once -  caps on (LED on)

Press again - caps off

Press again - caps off ( LED on)

Press again - caps on

Slow double click - reverses operation 25% of the time

Fast double click - no effect

 

driving me nuts.........

  • Like 1
Link to comment
Share on other sites

capslock -

 

hmm  here is the code in the VoodooPS2Controller  - that should being doing what you are doing manually (press 2x) - i wonder why it isnt working for that keyboard?

if ( adbKeyCode == 0x39 && version_major >= 16) // Caps Lock Fix
    {
        clock_get_uptime(&now_abs);
        dispatchKeyboardEventX(adbKeyCode, goingDown, now_abs);
        clock_get_uptime(&now_abs);
        dispatchKeyboardEventX(adbKeyCode, goingDown, now_abs);
        if (!goingDown)
        {
            _capsLock = !_capsLock;
            setAlphaLock(_capsLock);
            setAlphaLockFeedback(_capsLock);
        }
#ifdef DEBUG_VERBOSE
DEBUG_LOG("%s: CapsFix %s\n", getName(), _capsLock?"On":"Off");
#endif
        return true;
    }
  • Like 2
Link to comment
Share on other sites

Thanks Tluck.

 

A new US keyboard arrived today, a fabled NMB version ( I prefer the Lite-on actually) and its still doing it but it's a little easier to get it to reverse but this keyboard needs a fast double click.

 

Weird......

Link to comment
Share on other sites

@Kokzreh

 

Do you have Vmware Fusion installed?

 

Installed any software prior to the kernel panic?

Link to comment
Share on other sites

hey! i have no macos installed, its the boot stick and i try to install the macos to the internal ssd, but the install screen doesnt  appear, because the install usb stick is unable to boot completly.

 

EDIT: The USB Stick was created in a virtual maschine 10.10.5

 

EDIT2: i dont no whats happened, but now, the installer runs like a charm.

Link to comment
Share on other sites

So your trying to install Sierra with the current zip file?

 

Is it a T420?

 

Edit: no worries, glad you got it working!

Link to comment
Share on other sites

It does appear to be an issue with the latest Clover. Exact same problems this afternoon with a clean install to a new SSD.

 

Rolling back the bundle to your previous one sorts it out

Link to comment
Share on other sites

Hello in the Group I have been struggling trying to use this guide for my T520. See here the error that i am getting. Sound assertion error. AppleHDAController. From what i picked up in this and other forums is that it my be related to to the graphic settings.

 

I have followed the Bios setting in the guide and am using the 1600x900 config.plist file.

 

I have tried older releases with no avail. I have tried El Capitan and Sierra both generate the same error.

 

 

Maybe somebody has a tip how to move forward. Many thanks. 

post-1921598-0-94081600-1503758744_thumb.jpg

Link to comment
Share on other sites

@long0311 - what did you change exactly?

 

I have tried all 3 settings. Integrated (there is never stays, it jumps back to Discrete after the reboot), Discrete, and the Optimus mode.

 

Optimus shouldn't work and it does not with this package.  So what exactly did you change ? thx for the info, law

Link to comment
Share on other sites

@Lawmanwilly,

 

I take it your attempting to run it with Nvidia discrete graphics?

 

If so a Mac Pro 8,1 system definition is not what you want for starters.

 

 

Have you patched your own DSDT or are you using the one in the zip file?

 

I can help you with a discrete graphics install but you'll need to do the following:

 

Post a zip file of acpi dump obtained by pressing F4 at clover menu. Files are saved to Clover/Acpi/Origin folder.

 

I need to know the model number of the T520 as well

Link to comment
Share on other sites

use Clover Configurator to edit the .plist. look at ACPI and uncheck all the fixes, they are causing the kernel panics when just trying to boot into the installer. also creating an smbios then trying to boot with the acpi fixes will not work either. I dont know what will stop working from unchecking the fixes, and I do not know why they cause the kernelpanic.


@Lawmanwilly,

I take it your attempting to run it with Nvidia discrete graphics?

If so a Mac Pro 8,1 system definition is not what you want for starters.


Have you patched your own DSDT or are you using the one in the zip file?

I can help you with a discrete graphics install but you'll need to do the following:

Post a zip file of acpi dump obtained by pressing F4 at clover menu. Files are saved to Clover/Acpi/Origin folder.

I need to know the model number of the T520 as well

Do you know how to get the discrete nvs 4200m working on the t420? 

Link to comment
Share on other sites

Do you know how to get the discrete nvs 4200m working on the t420?

 

Never tried with NVS4200m but performance-wise it's only like a 20% improvement over Hd3000 (IIRC) therefore not really worth the hassle.

I just replace Wifi card N6205 by AR9285 and install kext but it panic 3 times after sucessful reboot, and after restart it is still panic! Do u know how to fix it?

Clover / Options / Boot Args:

 

Press return

Type -f

Press return

 

Start the system

  • Like 1
Link to comment
Share on other sites

What does -f boot argument mean?

Ignore kernel cache.

 

Looking back at what you originally posted I'd missed that the WiFi you had replaced was the stock Intel card so I assume you haven't had working WiFi.

 

I'll also assume that you have flashed a custom BIOS to remove the whitelist?

 

No direct experience with the Atheros card but after a quick read up the simplest way seems to be to get clover to patch the DSDT on the fly unless your comfortable with editing your own DSDT with Maciasl.

 

You'll also need to inject your device and vendor id's into the appropriate kext(s) :

 

Device ID = 002b

Vendor ID = 168c

 

See here

http://www.insanelymac.com/forum/topic/316639-atheros-ar9285-in-el-capitan-10116/

 

PS

 

Maybe a bit late now but a Dell DW1510 card would have been a much better option for you as it's plug and play, dirt cheap secondhand and doesn't require any messing around with.

  • Like 1
Link to comment
Share on other sites

@avdo hi , do you install high sierra on w520? there are some problems with quadro 1000m.[/size]

Not yet. Artifacts on screen?

 

Even on Sierra I had some graphics glitches with 1000m. In the end I put it down purely to the Nvidia Web driver. System profiler was displaying dgpu properly as Nvidia Quadro 1000m 2gb.

Link to comment
Share on other sites

 Share

×
×
  • Create New...