ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

> DSDT

Differentiated System Description Table (DSDT) - DSDT is a part of the ACPI specification and it supplies configuration information about a base system. ACPI capable computers come with a preinstalled DSDT from the manufacturer. A common Linux/OS X problem is missing ACPI functionality (fans not running, laptop screens not shutting off, etc.)

This subforum is dedicated to patches/fixes able to be inserted/modified from an extracted dsdt.dsl, which is then compiled into a DSDT.aml for OS X to pick up and use (with a proper bootloader).

These fixes are not permanent, and do not damage your BIOS.

2 Pages V  < 1 2  
Start a new topic Add Reply
> Pnlf
Slice
post Dec 6 2010, 07:01 PM
Post #21
Now I got brightness working with PNLF device and special kext by ivik. Thanks him!
CODE

Device (PNLF)
{
Name (_HID, EisaId ("APP0002"))
Name (_CID, "backlight")
Name (_UID, 0x0A)
Name (_STA, 0x0B)

Name (PTVL, 0x64)
Name (PBCL, Package (0x0A) {})
Method (_BCL, 0, NotSerialized)
{
SX10 ()
SX30 (0x19)
SX30 (Zero)
SX11 ()
Store (SX40 (), Index (PBCL, Zero))
Store (SX40 (), Index (PBCL, One))
Store (SX40 (), Index (PBCL, 0x02))
Store (SX40 (), Index (PBCL, 0x03))
Store (SX40 (), Index (PBCL, 0x04))
Store (SX40 (), Index (PBCL, 0x05))
Store (SX40 (), Index (PBCL, 0x06))
Store (SX40 (), Index (PBCL, 0x07))
Store (SX40 (), Index (PBCL, 0x08))
Store (SX40 (), Index (PBCL, 0x09))
SX12 ()
Return (PBCL)
}

Method (_BCM, 1, NotSerialized)
{
SX10 ()
SX30 (0x19)
SX30 (One)
SX30 (Arg0)
Store (Arg0, PTVL)
SX11 ()
SX12 ()
}

Method (_BQC, 0, NotSerialized)
{
SX10 ()
SX30 (0x19)
SX30 (0x02)
SX11 ()
Store (SX40 (), Local0)
Store (Local0, PTVL)
SX12 ()
Return (Local0)
}

}
}
i3-2120 GA-H61M-S1 UEFI, Radeon HD6670-UEFI, ALC887(VoodooHDA 2.8.6), OS⌘10.9.5, OS⌘ 10.7.5 Clover FakeSMC_plugins_3.3.1 Realtek LAN v3.1.2

2 Pages V  < 1 2
Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: