Contribute
Register

Lenovo T440 - Brightness and sleep not working

Status
Not open for further replies.
Joined
Feb 7, 2012
Messages
95
Motherboard
Gigabyte GA-Z77-DS3H
CPU
i5-3570k
Graphics
HD4000
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
Hello,

i've successfully installed 10.9.2 on my Lenovo T440 - Haswell i5-4300U CPU (HD4400) thanks to RehabMan info:

- Boot ok with Patched kernel for early reboot http://www.tonymacx86.com/mavericks...-locked-msrs-hp-envy-15-j063cl-i7-4700mq.html

- Full QE/CI with IGPlatformID=0a160009 and IntelAzulFB=12 (Chameleon bootloader)

- Power Management (MacBook Air 6,2 SMBios) seems ok: P-States 8-19-20-23-24-25-26 with MSRDumper.kext.

- Dual battery Status: working good with Patched DSDT for Battery Status http://www.tonymacx86.com/mavericks-laptop-support/116102-how-patch-dsdt-working-battery-status.html and ACPIBatteryManager.kext. Slow status bar update (sometimes i need to plug-in che charger to toggle the update) while Battery info on HWMonitor (Multibeast 6.2.1) works great on both internal and external battery

- Keyboard and Touchpad ok with https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller

- Ethernet ok with AppleIntelE1000e.kext from Multibeast 6.2.1

- Audio ok with VooDooHDA 2.8.4 from Multibeast 6.2.1

- WiFi: internal Intel 7260 cannot work so i'm using an USB dongle with RTL8192SUs.kext

- Bluetooth not reliable: sometimes is enabled and works ok with magic mouse, sometimes is not available (usually after first boot)


Issues:

- Sleep is not working: laptop goes to sleep but does not wake
- Brightness is not enabled: i'm not able to patch DSDT since applying "Rename GFX0 to IGPU" changes only VID (no GFX0 on my DSDT or SSDT) and then can't compile DSDT with "Brightness Fix (Haswell)" patch

I've also noticed that Power Management with SSDT (DropSSDT=Yes and GenerateC/PStates=No in org.chameleon.Boot.plist) or without it gives the same results in terms of P-States found by MSRDumper. Is power management native in mavericks with haswell?

Thanks in advance for any input/advice about sleep/brightness issues (attached my DSDT and SSDT).


View attachment DSDT.aml
View attachment ssdt.aml
 
Your GFX0 device may be in other ssdt tables. Use Windows or Linux to extract all tables and look for it.

This ssdt.aml is only for your CPU.
 
Your GFX0 device may be in other ssdt tables. Use Windows or Linux to extract all tables and look for it.

This ssdt.aml is only for your CPU.

Yes, this was also my understanding but unfortunately it seems there's no GFX0 in any SSDTs (DSDT and SSDT from linux /sys/firmware/acpi/tables/ attached)

View attachment DSDT e SSDT Linux.zip
 
Yes, this was also my understanding but unfortunately it seems there's no GFX0 in any SSDTs (DSDT and SSDT from linux /sys/firmware/acpi/tables/ attached)

View attachment 89881

Yours is called VID (the name is arbitrary, usually GFX0, but not always). It is defined in dsdt.aml.
 
Yours is called VID (the name is arbitrary, usually GFX0, but not always). It is defined in dsdt.aml.

Yes, but if i apply Rename GFX0 to IGPU with MaciASL,when i try to compile i get the following error:

Syntax error, unexpected PARSEOP_NAMESTRING, expecting ')'

on all Externals that has VID replaced by IGPU, i.e.:

External (_SB_.PCI0.IGPU_.AINT, MethodObj)
External (_SB_.PCI0.IGPU_.DRDY, MethodObj)
External (_SB_.PCI0.IGPU_.GLIS, MethodObj)
External (_SB_.PCI0.IGPU_.GSCI, MethodObj)
External (_SB_.PCI0.IGPU_.GSSE, MethodObj)
External (_SB_.PCI0.IGPU_.STAT)
External (_SB_.PCI0.IGPU_.TCHE)
 
Yes, but if i apply Rename GFX0 to IGPU with MaciASL,when i try to compile i get the following error:

Syntax error, unexpected PARSEOP_NAMESTRING, expecting ')'

on all Externals that has VID replaced by IGPU, i.e.:

External (_SB_.PCI0.IGPU_.AINT, MethodObj)
External (_SB_.PCI0.IGPU_.DRDY, MethodObj)
External (_SB_.PCI0.IGPU_.GLIS, MethodObj)
External (_SB_.PCI0.IGPU_.GSCI, MethodObj)
External (_SB_.PCI0.IGPU_.GSSE, MethodObj)
External (_SB_.PCI0.IGPU_.STAT)
External (_SB_.PCI0.IGPU_.TCHE)

You may have to do the rename manually. Or at least the patch will need tweaks. You have both a PCI0.VID (Intel) and PCI0.PEG.VID. Rename only PCI0.VID to IGPU, not PCI0.PEG.VID.
 
You may have to do the rename manually. Or at least the patch will need tweaks. You have both a PCI0.VID (Intel) and PCI0.PEG.VID. Rename only PCI0.VID to IGPU, not PCI0.PEG.VID.


Even if i rename only PCI0.VID i get the same error unexpected PARSEOP_NAMESTRING, expecting ')' on Externals at the beginning of the DSDT since these refer to PCI0.VID and not to PCI0.PEG.VID.

So it seems that you cannot compile if for example you replace

External (_SB_.PCI0.VID_.AINT, MethodObj)

with

External (_SB_.PCI0.IGPU_.AINT, MethodObj)
 
Even if i rename only PCI0.VID i get the same error unexpected PARSEOP_NAMESTRING, expecting ')' on Externals at the beginning of the DSDT since these refer to PCI0.VID and not to PCI0.PEG.VID.

So it seems that you cannot compile if for example you replace

External (_SB_.PCI0.VID_.AINT, MethodObj)

with

External (_SB_.PCI0.IGPU_.AINT, MethodObj)

Change External (_SB_.PCI0.IGPU_.AINT, MethodObj) to External (_SB_.PCI0.IGPU.AINT, MethodObj)
 
Even if i rename only PCI0.VID i get the same error unexpected PARSEOP_NAMESTRING, expecting ')' on Externals at the beginning of the DSDT since these refer to PCI0.VID and not to PCI0.PEG.VID.

So it seems that you cannot compile if for example you replace

External (_SB_.PCI0.VID_.AINT, MethodObj)

with

External (_SB_.PCI0.IGPU_.AINT, MethodObj)

You're not going to be able to use the automated patch. Your DSDT uses VID for both integrated (_SB.PCI0.VID) and discrete (_SB.PCI0.PEG.VID). You will need to do the edits manually.
 
You're not going to be able to use the automated patch. Your DSDT uses VID for both integrated (_SB.PCI0.VID) and discrete (_SB.PCI0.PEG.VID). You will need to do the edits manually.

I've manually patched all VID (not PEG.VID) and now i can compile the DSDT.

Then i've applied the Brightness FIX (Haswell) patch but i get this error :

Object does not exist (\_SB.PCI0.IGPU.BAR1)

on OperationRegion (BRIT, SystemMemory, And(\_SB.PCI0.IGPU.BAR1, Not(0xF)), 0xe1184)
 
Status
Not open for further replies.
Back
Top