Thử nhé, dùng cái này thì ko cần add device trong kext
Method (_DSM, 4, NotSerialized)
{
Store (Package (0x16)
{
"built-in",
Buffer (One)
{
0x00
},
"device_type",
Buffer (0x08)
{
"AirPort"
},
"device-id",
Unicode ("*"),
"compatible",
Buffer (0x2A)
{
"pci1a3b,2c37, pci168c,2a, pciclass,028000"
},
"model",
Buffer (0x2A)
{
"Wireless Network Adapter (802.11 a/b/g/n)"
},
"IOName",
Buffer (0x0B)
{
"pci168c,2a"
},
"name",
Buffer (0x0B)
{
"pci168c,2a"
},
"revision-id",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"subsystem-id",
Buffer (0x04)
{
0x07, 0x00, 0x00, 0x00
},
"subsystem-vendor-id",
Buffer (0x04)
{
0x3B, 0x1A, 0x00, 0x00
},
"vendor-id",
Buffer (0x04)
{
0x8C, 0x16, 0x00, 0x00
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}