Contribute
Register

[Guide] Yosemite (10.10.X) on Lenovo Y580 with Clover

Status
Not open for further replies.
Yosemite (10.10.X) on Lenovo Y580

RehabMan,
Now there is no GFX0 in SSDT4.aml, but still doesn't work.

It is plain to see why...

The first couple of lines in _OFF access the EC. At the time _INI is called, the EC is not available and these accesses will cause an abort.

Instead of calling _OFF from _INI, try calling from DSDT _REG when Arg0==3 and Arg1==1.

_REG currently:
Code:
            Method (_REG, 2, NotSerialized)
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, OKEC)
                    REGH ()
                }
            }

_REG patched:
Code:
            Method (_REG, 2, NotSerialized)
            {
                If (LEqual (Arg0, 0x03))
                {
                    Store (Arg1, OKEC)
                    REGH ()
                    External(\_SB.PCI0.PEG0.PEGP._OFF,MethodObj)
                    if (LEqual(Arg1, 1)) { \_SB.PCI0.PEG0.PEGP._OFF() }
                }
            }
 
Yosemite (10.10.X) on Lenovo Y580

After this patch I have 107 errors.

3294, 4064, Object does not exist (PLVL)
2843, 4064, Object does not exist (\_SB.PCI0.LPCB.EC0.SODD)

and so on.o_O
 
Yosemite (10.10.X) on Lenovo Y580

After this patch I have 107 errors.

3294, 4064, Object does not exist (PLVL)
2843, 4064, Object does not exist (\_SB.PCI0.LPCB.EC0.SODD)

and so on.o_O

typo. fixed.
 
Yosemite (10.10.X) on Lenovo Y580

Battery status: http://www.tonymacx86.com/yosemite-...de-how-patch-dsdt-working-battery-status.html

4. I made a DSDT patch using MaciASL (found [bat] Lenovo Y580) but nothing changed.
Battery has status "Change battery" and 100% no meter whats going on.

What to do next?

Did you install ACPIBatteryManager.kext?

Download patchmatic: https://github.com/RehabMan/OS-X-MaciASL-patchmatic.
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -Rf ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

And output from:
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
 
Yosemite (10.10.X) on Lenovo Y580

Still doesn't work, but in this case i don't see GeForce in Device List. It is name is "Display" now. And info that kexts wasn't loaded
 

Attachments

  • Y580-MAC.ioreg
    1.6 MB · Views: 113
Yosemite (10.10.X) on Lenovo Y580

Yes kext was intalled.

Attached files below

Thanks in advance.

You have some rather impossible values coming from your DSDT.

MaxCapacity=0x22b
DesignCapacity=0x22b
CurrentCapacity=0x61172

Either the DSDT you're using is not your own, or you applied patches inappropriate for your DSDT.
 
Yosemite (10.10.X) on Lenovo Y580

Still doesn't work, but in this case i don't see GeForce in Device List. It is name is "Display" now. And info that kexts wasn't loaded

Download patchmatic: https://github.com/RehabMan/OS-X-MaciASL-patchmatic.
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
rm -Rf ~/Downloads/RehabMan
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract

Post contents of Downloads/RehabMan directory (as ZIP).

Also, post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.
 
Yosemite (10.10.X) on Lenovo Y580

RehabMan,
I saw your last post for me and made totally new DSDT with rules as you told (all patches applied to .dsl and only then compiled to .aml)
I used patches in order that is below:
- Audio LayOut
- bat for Lenovo Y580
- HD3000/4000 Low Res
- Rename GFX0 to IGPU
- Brightness fix (HD3000/4000)
- Remove LID0._PRW
- Fix _WAK Arg) v2
- HPET Fix
- IRQ Fix
- OS Check Fix
- RTC Fix
- Shutdown fix v2
- SMBUS Fix
- 7-series/8-series USB

Didn't use this time:
- AC Adapter Fix (everything works without it)
- Fix TNOT Error (because compile .dsl)

And I solved problem with SleepMode with plugged AC-Adapter. Very excited, but...
Nvidia still works and annoy me.

New IOReg is below

P.S. It will be good if my experience helps somebody to solve their problem with DSDT-patching for Y580
 

Attachments

  • Y580-MAC.ioreg
    1.6 MB · Views: 91
Status
Not open for further replies.
Back
Top