Jump to content

Asus shutdown fix?


gusz
 Share

5 posts in this topic

Recommended Posts

I have Clover/Yosemite installed on an Asus Z87-A MB system. It boots/works well but does not shutdown completely, which causes slow subsequent boot. I'm trying to fix with RehabMan MaciASL, DSDT generated using F4 boot, patch source http://maciasl.sourceforge.net/pjalm/repos/asus, patch "generic series 8". On compile I get these errors:

 

Line 4498 4109 String Literal too long (Max length 4096)

Line 4498 4096 syntax error, unexpected $end, expecting ',' or '}'

 

A snippet of the code, starting at line 4498, is below. Can someone spot what's wrong, or tell me where/how to fix? Also, after I get an error-free compile, am I supposed to "Generate SSDT(s)" using MaciASL, compile them, and put the resulting newly compiled DSDT and SSDT's in /Volumes/EFI/EFI/CLOVER/ACPI/patched/

 

In case it's not obvious, I'm way over my head attempting this kind of stuff ......

 

Gus

-------------------------------------------------------------------------

 4498                               {
                                        Return (Zero)
                                    }
                                }
                                Else
                                {
                                    If (LEqual (T_1, 0x04))
                                    {
                                        If (LEqual (Arg1, 0x02))
                                        {
                                            If (OBFF)
                                            {
                                                Return (Buffer (0x10)
                                                {
                                                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                                    /* 0008 */    0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
                                                })
                                            }
                                            Else
                                            {
                                                Return (Buffer (0x10)
                                                {
                                                    /* 0000 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                                                    /* 0008 */    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
                                                })
                                            }
                                        }
                                    }
                                    Else
                                    {
                                        If (LEqual (T_1, 0x06))
                                        {
                                            If (LEqual (Arg1, 0x02))
                                            {
                                                If (LTRE)
                                                {
                                                    If (LOr (LEqual (LMSL, 0xFFFFFFFF), LEqual (LNSL, 0xFFFFFFFF)))
                                                    {
                                                        If (LEqual (PCHS, One))
                                                        {
                                                            Store (0x0846, LMSL)
                                                            Store (0x0846, LNSL)
                                                        }
                                                        Else
                                                        {
                                                            If (LEqual (PCHS, 0x02))
                                                            {
                                                                Store (0x1003, LMSL)
                                                                Store (0x1003, LNSL)
                                                            }
                                                        }
                                                    }
 
                                                    Store (And (ShiftRight (LMSL, 0x0A), 0x07), Index (LTRV, 
                                                        Zero))
                                                    Store (And (LMSL, 0x03FF), Index (LTRV, One))
                                                    Store (And (ShiftRight (LNSL, 0x0A), 0x07), Index (LTRV, 
                                                        0x02))
                                                    Store (And (LNSL, 0x03FF), Index (LTRV, 0x03))
                                                    Return (LTRV)
                                                }
                                                Else
                                                {
                                                    Return (Zero)
                                                }
                                            }
                                        }
                                    }
                                }
 
                                Break
                            }
                        }
 
                        Break
                    }

 

Link to comment
Share on other sites

I had tried to upload DSDT.dsl but got "you are not allowed to upload this kind of file", which is why I posted what I believed to be the relevant part of the code in my initial post

Link to comment
Share on other sites

I think I may have solved the problem by installing the latest NVidia Web drivers for Yosemite. Tested a few times, and shutdown/startup seems to be working correctly.

 

Apologies I'm a novice and didn't think of this, or even include in my original post that I'm using an EVGA GeForce GT 740 graphics card. But in plowing around in my logs I  saw things that made me guess the system was panicking on shutdown, and that the stock Apple/NVidia drivers could be involved. So I downloaded NVidia's latest web drivers for Yosemite and installed them, and the problem seems to be resolved.

 

It's better to be lucky than good :)        Gus

Link to comment
Share on other sites

 Share

×
×
  • Create New...