Contribute
Register
Joined
Feb 20, 2017
Messages
51
Motherboard
T440P
CPU
i7-4700MQ
Graphics
HD4600
Mac
  1. iMac
It was never about disabling the integrated graphics. What we're trying to accomplish here is disabling the Nvidia card that cannot be made to work in macOS to save battery life. DO NOT risk trying to disable the integrated graphics because it will brick your laptop and the screen won't turn on.

So, by looking at your kernel log, I can see that the 'If (VMSH || \_SB.PCI0.PEG.VID.OMPR == 0x03)' check is not succeeding. VMSH is Zero and OMPR is 0x02. No wonder why the code in GPOF is not being executed.

OMPR is being set to OPCE in _SB.PCI0.PEG.VID.NVOP, which I suspect to be 0x02. It is also being set to 0x02 at the end of GPOF method (which is not being executed).

Another thing is that VMSH is being set to 0x00 (Zero) in _SB.PCI0.IGPU.VRSI (and VRSI is being called from _SB.PCI0.PEG.VID._INI) because you're simulating 'Windows 2012' which is Windows 8. In VRSI, it will be set to 0x01 (non-Zero) if OSYS is greater than or equal to '0x07DD', which is 'Windows 2013' or Windows 8.1.

To sum this up, you should try simulating 'Windows 2013' instead of 'Windows 2012' in SSDT-XOSI.aml and the GPOF code will be executed just fine.

Maybe @RehabMan can add further notes?

Here are the new SSDT-XOSI.aml and SSDT-DGPU.aml (I added code to check OSYS value just to make sure XOSI is simulating the right version). Test and report back with full problem reporting files and a new kernel.log.

Wrong typing hah... I mean turn off the Nvidia card not the integrated one. As I know, he integrated card control the display so it's impossible to turn it off. But I don't find the option - @Sniki I think the option is removed even in advanced menu.

And finally, it boot with SSDT-DGPU.aml!!!! I am testing if battery life is longer - for now, 89% -> 63% in 40 minutes which is not bad. I don't know if there is hidden problem so I upload full problem reporting files.
Thanks a lot for your help! @the-braveknight @Sniki & @RehabMan
 

Attachments

  • Problem Reporting.zip
    2.8 MB · Views: 64

the-braveknight

Moderator
Joined
Nov 24, 2015
Messages
1,222
Motherboard
Lenovo Legion Y520 (Clover)
CPU
i7-7700HQ
Graphics
HD 630 (1920x1080) + Nvidia GTX 1060
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Wrong typing hah... I mean turn off the Nvidia card not the integrated one. As I know, he integrated card control the display so it's impossible to turn it off. But I don't find the option - @Sniki I think the option is removed even in advanced menu.

And finally, it boot with SSDT-DGPU.aml!!!! I am testing if battery life is longer - for now, 89% -> 63% in 40 minutes which is not bad. I don't know if there is hidden problem so I upload full problem reporting files.
Thanks a lot for your help! @the-braveknight @Sniki & @RehabMan

Note the SSDT-DGPU.aml you're using contains debugging code for ACPIDebug. Since we identified and eliminated the problem preventing GPOF from executing (by simulating 'Windows 2013'), you can safely use a normal SSDT without these debugging codes and eventually delete ACPIDebug.kext.

Anyway, this is the SSDT-DGPU.aml without ACPIDebug codes.
 

Attachments

  • SSDT-DGPU.aml
    147 bytes · Views: 103
Last edited:

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,316
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Note the SSDT-DGPU.aml you're using contains debugging code for ACPIDebug. Since we identified and eliminated the problem preventing GPOF from executing (by simulating 'Windows 2013'), you can safely use a normal SSDT without these debugging codes and eventually delete ACPIDebug.kext.

Anyway, this is the SSDT-DGPU.aml without ACPIDebug codes.
Thank you for investigating the issue, I couldn’t have done it with your help.
Tonight i will update the guide & add the new files.
 
Joined
Nov 1, 2015
Messages
82
Motherboard
Lenovo T440s (UEFI Clover)
CPU
Intel i5 4200
Graphics
Intel HD4400 (FHD)
Mac
  1. iMac
Mobile Phone
  1. iOS
Thank you for investigating the issue, I couldn’t have done it with your help.
Tonight i will update the guide & add the new files.
hi,
hey sniki any update for t440 ?

thx
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,316
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
hi,
hey sniki any update for t440 ?

thx
Yes its almost ready.
Just need to write the guide,files should be ready i guess,not sure if i have usb port injector,if not,then i might need you to do some testing to capture active usb ports.
If all goes well should be up on weekend.
 
Joined
Nov 1, 2015
Messages
82
Motherboard
Lenovo T440s (UEFI Clover)
CPU
Intel i5 4200
Graphics
Intel HD4400 (FHD)
Mac
  1. iMac
Mobile Phone
  1. iOS
Yes its almost ready.
Just need to write the guide,files should be ready i guess,not sure if i have usb port injector,if not,then i might need you to do some testing to capture active usb ports.
If all goes well should be up on weekend.

yes i‘m ready for that :D
 
Joined
Feb 20, 2017
Messages
51
Motherboard
T440P
CPU
i7-4700MQ
Graphics
HD4600
Mac
  1. iMac
Hi @Sniki
Knowing that you will update the guide soon, I have some other problem reports
  1. KBD: F7 without Fn (projector key) seems not working. It isn't attached to any key when I test it in shortcut setting. And I don't understand the function of PrtSc which is attached to F13. Personally I think PrtSc can be the switch to turn off/on the touchpad since it will easily interrupt when typing. Home & End keys are also not working.
  2. Trackpoint is not working.
It's nice of you if you can fix it in the coming update. Thanks!
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,316
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi @Sniki
Knowing that you will update the guide soon, I have some other problem reports
  1. KBD: F7 without Fn (projector key) seems not working. It isn't attached to any key when I test it in shortcut setting. And I don't understand the function of PrtSc which is attached to F13. Personally I think PrtSc can be the switch to turn off/on the touchpad since it will easily interrupt when typing. Home & End keys are also not working.
  2. Trackpoint is not working.
It's nice of you if you can fix it in the coming update. Thanks!
1. F7 doesn’t generate a Fxx key but it directly works as Mirroring/Video On/Off key, you have to test it via AirPlay Mirroring to see if it works or not.

2.PrtSc is assigned to F13 which you can assign it to whatever shortcut you want,
About disabling TouchPad I didn’t check what is the code to do so,i can provide it if i find it and leave it for whoever wants to use it,simply by editing the SSDT-KBD. (F7 notify code).
But by default i will leave PrtSc to F13 and recommend to assign it as Print Screen Select Area. (As that’s what is meant for)

3.Home/End key is working for me on my L440, you will have to install debugging version of VoodooPS2Controller.kext to see what code it does generate and then map them to their correct functions.

4. Will check if the problem is the kext or SSDT as my trackpoint is working fine.
 
Joined
Feb 16, 2013
Messages
29
Motherboard
Lenovo U310/T440s
CPU
i3-3217U/i5-4300U
Graphics
HD 4000/4400
Mobile Phone
  1. iOS
Hi @Sniki,

I want to thanks this massive amount of work that you are putting here. I have just one question, can this guide be used in a T440s?

Thanks in advance!
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,316
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi @Sniki,

I want to thanks this massive amount of work that you are putting here. I have just one question, can this guide be used in a T440s?

Thanks in advance!
For T440S i have everything ready,just need to capture active usb ports so i can make the USB Port Injector.
Will send you the files for testing during these upcoming days and let you capture active usb ports for me since I don’t have the laptop and then write the guide for T440S too.
 
Top