Screen Brightness Conflict With Video Card Driver in DSDT
Hi, guys, I am new here, I think I should post my question here, could some one give me a hand, thank you~! : Laptop Screen Brightness Conflict With Video Card Driver.
Hi, guys, I am new here, I think I should post my question here, could some one give me a hand, thank you~! :
- Credited Voices (2)
- @kingoffright@uman
- Hardware Reference
- Workstation Coolers & Thermal Gear ↗ Laptop RAM & SSD Upgrades ↗ SATA III & NVMe SSDs ↗
Synthesized Community Field Notes
1 technical responses curated from 2 original dispatches
king,
You should just be able to merge the code in the two DSM methods. If your concern is that you don't know what to put after the Package(, then you should be able to just do the following:
// DSM = Device Specific Method
Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
// add the brightness stuff here
// and then follow it with the video card stuff
I'm pretty sure that works, because I had artifacts with my GMA950, and then I added the following:
// DSM = Device Specific Method
Method (_DSM, 4, NotSerialized)
{
Store (Package ()
{
"device-id",
Buffer (0x04)
{
0xA2, 0x27, 0x00, 0x00
},
"AAPL,HasPanel",
Buffer (0x04)
{
0x01, 0x00, 0x00, 0x00
},
"model",
Buffer (0x07)
{
"GMA950"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
and then deleted the hacked AppleIntelIntegratedFramebuffer.kext and boom, all artifacts are gone. So I'm *fairly* sure "Package " works. But I may be wrong. Give it a shot and report back.
Good luck.
Sources & Contributor Provenance (2 credited usernames · Thread #5483)
| Username | Dossier Contribution | Dispatches | Active Window |
|---|---|---|---|
| @kingoffright | Primary Author | 1 | 2010-02-09 |
| @uman | Contributor | 1 | 2010-02-27 |