Contribute
Register

Lenovo Legion Y720 questions...

Status
Not open for further replies.
Joined
May 2, 2014
Messages
284
Motherboard
Lenovo Legion Y720
CPU
i7-7700HQ
Graphics
HD 630 + GTX 1060, 1920x1080
Mobile Phone
  1. iOS
Currently I have installed MacOS 10.13.4 on this laptop (Laptop info in Bio)

I used Rehabman's guide and used (recommended kext, config)

  • I am using HFS+J installation on a NVMe SSD "Samsung".
  • Added some entries to config.plist (eg. TRIM support).
  • I used DSDT common patches in this guide: Guide then added to ACPI/patched.
  • I used the code below and then added to ACPI/patched.
    Code:
    ssdtPRGen.sh -target 4
  • I am currently connecting to the internet through my iPhone USB hotspot.
My first issue is that MacOS needs around 5-7 minutes to boot here is a picture where it takes that long:

nqjZxgL.jpg


Here is what works and what doesn't work:
  • Intel Graphics acceleration works.
  • Nvidia GTX 1060 doesn't work.
  • Keyboard backlight doesn't work.
  • Screen brightness can't be changed or controlled.
  • Bluetooth work / wifi doesn't.
  • Audio doesn't work.


I have gone through guides like:

[Guide] Patching LAPTOP DSDT/SSDTs
--- I did the common patches.
[Guide] Creating a Custom SSDT for USBInjectAll.kext
--- My laptop only has USB 3.0 ports is this guide required ?
[Guide] How to patch DSDT for working battery status
--- My laptop have a very minimal embeddedcontrol method which contains 3 lines of code and has only 8-bits and looks like this:
Code:
OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
            Field (ERAM, ByteAcc, Lock, Preserve)
            {
                VCMD,   8,
                Offset (0x60),
                SMPR,   8
            }
--- How can I see my battery status in this situation ?
--- Which guides should I use for AppleHDA and backlight patching ? and is it possible to use my discrete GTX 1060 ?
--- My laptop keyboard backlight doesn't work any solution for it ?

Reporting files are attached.
 

Attachments

  • kextcache output.txt.zip
    1.3 KB · Views: 64
  • Raffi’s MacBook Pro.ioreg.zip
    564 KB · Views: 49
  • RehabMan.zip
    54.9 KB · Views: 75
  • terminal output.txt.zip
    1.5 KB · Views: 75
  • EFI-Clover.zip
    2.1 MB · Views: 94
Last edited:
Currently I have installed MacOS 10.13.4 on this laptop (Laptop info in Bio)

I used Rehabman's guide and used (recommended kext, config)

  • I am using HFS+J installation on a NVMe SSD "Samsung".
  • Added some entries to config.plist (eg. TRIM support).
  • I used DSDT common patches in this guide: Guide then added to ACPI/patched.
  • I used the code below and then added to ACPI/patched.
    Code:
    ssdtPRGen.sh -target 4
  • I am currently connecting to the internet through my iPhone USB hotspot.
My first issue is that MacOS needs around 5-7 minutes to boot here is a picture where it takes that long:

nqjZxgL.jpg


Here is what works and what doesn't work:
  • Intel Graphics acceleration works.
  • Nvidia GTX 1060 doesn't work.
  • Keyboard backlight doesn't work.
  • Screen brightness can't be changed or controlled.
  • Bluetooth work / wifi doesn't.
  • Audio doesn't work.


I have gone through guides like:

[Guide] Patching LAPTOP DSDT/SSDTs
--- I did the common patches.
[Guide] Creating a Custom SSDT for USBInjectAll.kext
--- My laptop only has USB 3.0 ports is this guide required ?
[Guide] How to patch DSDT for working battery status
--- My laptop have a very minimal embeddedcontrol method which contains 3 lines of code and has only 8-bits and looks like this:
Code:
OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
            Field (ERAM, ByteAcc, Lock, Preserve)
            {
                VCMD,   8,
                Offset (0x60),
                SMPR,   8
            }
--- How can I see my battery status in this situation ?
--- Which guides should I use for AppleHDA and backlight patching ? and is it possible to use my discrete GTX 1060 ?
--- My laptop keyboard backlight doesn't work any solution for it ?

Reporting files are attached.

No need for ssdtPRgen.sh with the hardware in your profile.
You only need config.plist/ACPI/SSDT/Generate/PluginType=true.

You forgot about SATA-100-series-unsupported.kext. See guide:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
No need for ssdtPRgen.sh with the hardware in your profile.
You only need config.plist/ACPI/SSDT/Generate/PluginType=true.

You forgot about SATA-100-series-unsupported.kext. See guide:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Okay the delay has gone it boots in 5 seconds now!
I have deleted the ssdtPRgen.sh's SSDT.aml and PluginType=true is already there.

What about the brightness control, audio, battery status (I don't know if did read that I can't see anything to patch because the only two numbers I saw were 8bits) and keyboard backlight ?
 

Hey rehabman, after reading stuff in the FAQ thread I got AppleBacklightInjector.kext to work and I didn't have to fix brightness keys which is very satisfying! after that ACPIBatteryManager.kext was able to load and battery status appeared with no problems only it's draing a little fast (I assume because my iPhone is attached to the laptop).

I still got Audio (I was not able to find a guide that was understandable enough) and keyboard backlight....

So I wanted to start with the keyboard so I attached ACPIDebug.kext, ACPIKeyboard.kext to /L/E then added the required patches to DSDT.
After reboot I have checked ioreg if the kexts are being loaded and they were, but when I press keys on my ELAN touchpad nothing appears in system.log in console.app what do you think I can do now ?
 
Hey rehabman, after reading stuff in the FAQ thread I got AppleBacklightInjector.kext to work and I didn't have to fix brightness keys which is very satisfying! after that ACPIBatteryManager.kext was able to load and battery status appeared with no problems only it's draing a little fast (I assume because my iPhone is attached to the laptop).

I still got Audio (I was not able to find a guide that was understandable enough) and keyboard backlight....

So I wanted to start with the keyboard so I attached ACPIDebug.kext, ACPIKeyboard.kext to /L/E then added the required patches to DSDT.
After reboot I have checked ioreg if the kexts are being loaded and they were, but when I press keys on my ELAN touchpad nothing appears in system.log in console.app what do you think I can do now ?

Work on one problem at a time.
Any question regarding your configuration requires PR files as per FAQ.

No "Problem Reporting" files attached.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 

Attachments

  • debug.zip
    2.7 MB · Views: 73
Which problem are you working on?
I saw that starting the more difficult task is better so I started with AppleHDA.

I have got codec_dump.txt and generated verbs.txt from both mac/windows but I think the ones that I got from windows are better because PinConfigurator was able to recognize more devices from them.

now I don't know what to do next I saw that I should compare these extracted verbs from windows:

Code:
01271C40 01271D01 01271EA6 01271FB7
01471C10 01471D01 01471E17 01471F90
01771C00 01771D00 01771E00 01771F40
01871CF0 01871D11 01871E11 01871F41
01971C30 01971D10 01971EA1 01971F03
01A71CF0 01A71D11 01A71E11 01A71F41
01B71CF0 01B71D11 01B71E11 01B71F41
01D71C2D 01D71D9A 01D71EF7 01D71F40
01E71CF0 01E71D11 01E71E11 01E71F41
02171C20 02171D10 02171E21 02171F03

or extracted verbs from Linux:

Code:
Verbs from Linux Codec Dump File: codec_dump.txt

Codec: Realtek ALC233   Address: 0   DevID: 283902517 (0x10ec0235)

   Jack   Color  Description                  Node     PinDefault             Original Verbs
--------------------------------------------------------------------------------------------------------
Digital Unknown  Mic at Oth Mobile-In        18 0x12   0xb7a60140   01271c40 01271d01 01271ea6 01271fb7
Analog Unknown  Speaker at Int N/A          20 0x14   0x90170110   01471c10 01471d01 01471e17 01471f90
Unknown Unknown  Line Out at Ext N/A         23 0x17   0x40000000   01771c00 01771d00 01771e00 01771f40
    1/8   Black  Speaker at Ext Rear         24 0x18   0x411111f0   01871cf0 01871d11 01871e11 01871f41
    1/8   Black  Mic at Ext Left             25 0x19   0x03a11030   01971c30 01971d10 01971ea1 01971f03
    1/8   Black  Speaker at Ext Rear         26 0x1a   0x411111f0   01a71cf0 01a71d11 01a71e11 01a71f41
Speaker at Ext Rear    0x1b 0x1b                        1091637744 01b71cf0 01b71d11     01b71e11 01b71f41
Analog    Pink  Other at Ext N/A            29 0x1d   0x40f79a2d   01d71c2d 01d71d9a 01d71ef7 01d71f40
    1/8   Black  Speaker at Ext Rear         30 0x1e   0x411111f0   01e71cf0 01e71d11 01e71e11 01e71f41
    1/8   Black  HP Out at Ext Left          33 0x21   0x03211020   02171c20 02171d10 02171e21 02171f03
--------------------------------------------------------------------------------------------------------


   Jack   Color  Description                  Node     PinDefault             Modified Verbs
--------------------------------------------------------------------------------------------------------
Digital Unknown  Mic at Oth Mobile-In        18 0x12   0xb7a60140   01271c40 01271d00 01271ea6 01271fb0
Analog Unknown  Speaker at Int N/A          20 0x14   0x90170110   01471c10 01471d00 01471e17 01471f90
Unknown Unknown  Line Out at Ext N/A         23 0x17   0x40000000   01771c50 01771d00 01771e00 01771f40
    1/8   Black  Mic at Ext Left             25 0x19   0x03a11030   01971c30 01971d10 01971ea1 01971f00
Analog    Pink  Other at Ext N/A            29 0x1d   0x40f79a2d   01d71c20 01d71d90 01d71ef7 01d71f40
    1/8   Black  HP Out at Ext Left          33 0x21   0x03211020   02171c60 02171d10 02171e21 02171f00
--------------------------------------------------------------------------------------------------------

with http://osxarena.com/2015/09/codec-verbs-info-for-applehda-patching/

but the last part I was not able to understand the ones with "071FXY"
 
Last edited:
I saw that starting the more difficult task is better so I started with AppleHDA.

I have got codec_dump.txt and generated verbs.txt from both mac/windows but I think the ones that I got from windows are better because PinConfigurator was able to recognize more devices from them.

now I don't know what to do next I saw that I should compare these extracted verbs from windows:

Code:
01271C40 01271D01 01271EA6 01271FB7
01471C10 01471D01 01471E17 01471F90
01771C00 01771D00 01771E00 01771F40
01871CF0 01871D11 01871E11 01871F41
01971C30 01971D10 01971EA1 01971F03
01A71CF0 01A71D11 01A71E11 01A71F41
01B71CF0 01B71D11 01B71E11 01B71F41
01D71C2D 01D71D9A 01D71EF7 01D71F40
01E71CF0 01E71D11 01E71E11 01E71F41
02171C20 02171D10 02171E21 02171F03

or extracted verbs from Linux:

Code:
Verbs from Linux Codec Dump File: codec_dump.txt

Codec: Realtek ALC233   Address: 0   DevID: 283902517 (0x10ec0235)

   Jack   Color  Description                  Node     PinDefault             Original Verbs
--------------------------------------------------------------------------------------------------------
Digital Unknown  Mic at Oth Mobile-In        18 0x12   0xb7a60140   01271c40 01271d01 01271ea6 01271fb7
Analog Unknown  Speaker at Int N/A          20 0x14   0x90170110   01471c10 01471d01 01471e17 01471f90
Unknown Unknown  Line Out at Ext N/A         23 0x17   0x40000000   01771c00 01771d00 01771e00 01771f40
    1/8   Black  Speaker at Ext Rear         24 0x18   0x411111f0   01871cf0 01871d11 01871e11 01871f41
    1/8   Black  Mic at Ext Left             25 0x19   0x03a11030   01971c30 01971d10 01971ea1 01971f03
    1/8   Black  Speaker at Ext Rear         26 0x1a   0x411111f0   01a71cf0 01a71d11 01a71e11 01a71f41
Speaker at Ext Rear    0x1b 0x1b                        1091637744 01b71cf0 01b71d11     01b71e11 01b71f41
Analog    Pink  Other at Ext N/A            29 0x1d   0x40f79a2d   01d71c2d 01d71d9a 01d71ef7 01d71f40
    1/8   Black  Speaker at Ext Rear         30 0x1e   0x411111f0   01e71cf0 01e71d11 01e71e11 01e71f41
    1/8   Black  HP Out at Ext Left          33 0x21   0x03211020   02171c20 02171d10 02171e21 02171f03
--------------------------------------------------------------------------------------------------------


   Jack   Color  Description                  Node     PinDefault             Modified Verbs
--------------------------------------------------------------------------------------------------------
Digital Unknown  Mic at Oth Mobile-In        18 0x12   0xb7a60140   01271c40 01271d00 01271ea6 01271fb0
Analog Unknown  Speaker at Int N/A          20 0x14   0x90170110   01471c10 01471d00 01471e17 01471f90
Unknown Unknown  Line Out at Ext N/A         23 0x17   0x40000000   01771c50 01771d00 01771e00 01771f40
    1/8   Black  Mic at Ext Left             25 0x19   0x03a11030   01971c30 01971d10 01971ea1 01971f00
Analog    Pink  Other at Ext N/A            29 0x1d   0x40f79a2d   01d71c20 01d71d90 01d71ef7 01d71f40
    1/8   Black  HP Out at Ext Left          33 0x21   0x03211020   02171c60 02171d10 02171e21 02171f00
--------------------------------------------------------------------------------------------------------

with http://osxarena.com/2015/09/codec-verbs-info-for-applehda-patching/

but the last part I was not able to understand the ones with "071FXY"

You will likely find an already patched AppleHDA for ALC233.
See FAQ regarding Mirone's HDA patcher.
 
Status
Not open for further replies.
Back
Top