Skip to content

Commit

Permalink
Docs: Only Darwin for PNLF (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorys89 authored Dec 3, 2020
1 parent 7933ece commit fb2b72e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion Manual/SSDT-PNLF.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,17 @@ DefinitionBlock("", "SSDT", 2, "ACDT", "PNLF", 0)
// 19: CoffeeLake 0xffff
// 99: Other (requires custom AppleBacklightInjector.kext/WhateverGreen.kext)
Name(_UID, 0)
Name(_STA, 0x0B)
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0x0B)
}
Else
{
Return (Zero)
}
}

Field(^RMP3, AnyAcc, NoLock, Preserve)
{
Expand Down
12 changes: 11 additions & 1 deletion Manual/SSDT-PNLFCFL.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "PNLFCFL", 0x00000000)
Name (_HID, EisaId ("APP0002")) // _HID: Hardware ID
Name (_CID, "backlight") // _CID: Compatible ID
Name (_UID, 0x13) // _UID: Unique ID
Name (_STA, 0x0B) // _STA: Status
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin"))
{
Return (0x0B)
}
Else
{
Return (Zero)
}
}
}
}

0 comments on commit fb2b72e

Please sign in to comment.