Jump to content
Sign in to follow this  
pernacabeluda

Injeção do device-id por DSDT

Recommended Posts

Para quem usa injeção do device-id por DSDT, em vários casos é necessário injetar outras propriedades para funcionar no 10.9 (name, IOName e compatible).

 

Por exemplo, no patch do ESB SATA AHCI Controller (ícone laranja e DVD player)

                Method (_DSM, 4, NotSerialized)
               {
                   Store (Package ()
                       {
                           "device-id", 
                           Buffer ()
                           {
                                0x81, 0x26, 0x00, 0x00
                           }, 
                           "compatible", 
                           Buffer ()
                           {
                               "pci8086,2681"
                           }, 
                           "IOName", 
                           Buffer ()
                           {
                               "pci8086,2681"
                           }, 
                           "name", 
                           Buffer ()
                           {
                               "pci8086,2681"
                           }
                       }, Local0)
                   DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
                   Return (Local0)
               }
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...