Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
mnorthern

[Guide] Backlight + Brightness for Intel 8086:0046 (1st gen HD) (GMA 5700MHD)

181 posts in this topic

Recommended Posts

Super_LoP could you tell me what program you use to make dsdt's? I feel bad having to ask you to compile mine every time :P every time i do it with dsdt editor ill get stubborn errors that wont go away.

And what bootloader are you using? Ive heard Clover will fix your iMessage problem.

http://www.youtube.com/watch?v=s4MunSmBdM8

 

^ He's a good resource

Share this post


Link to post
Share on other sites
Guest Super_LoP

Super_LoP could you tell me what program you use to make dsdt's? I feel bad having to ask you to compile mine every time :P every time i do it with dsdt editor ill get stubborn errors that wont go away.

I use DSDT Editor. No problem to ask me, we try together to solve this problem ^_^

New DSDT didn't work ?

And what bootloader are you using? Ive heard Clover will fix your iMessage problem.

http://www.youtube.com/watch?v=s4MunSmBdM8

 

^ He's a good resource

I use the latest Chameleon.

In fact, iMessage work, but not with my iCloud account. It's a problem that original Mac users can have.

It's write to call Apple Care for check acount, not the problem in video.

It's strange because I can use in my iPod...

Thanks but we shouldn't talk about it there, not a thread about iMessage. :)

Share this post


Link to post
Share on other sites

I use DSDT Editor. No problem to ask me, we try together to solve this problem ^_^

New DSDT didn't work ?

I use the latest Chameleon.

In fact, iMessage work, but not with my iCloud account. It's a problem that original Mac users can have.

It's write to call Apple Care for check acount, not the problem in video.

It's strange because I can use in my iPod...

Thanks but we shouldn't talk about it there, not a thread about iMessage. :)

Right you are and nope, no prevail with it. Rehabman's helping me on another form and wanted me to try this but Im talentless with dsdt's i tried myself and got strings of text telling me incorrect values. Heres a link http://www.tonymacx86.com/mountain-lion-laptop-support/105629-help-arrandale-processor-i3-370m-power-management.html#post645487

Your values make different text appear but i believe its an improvement

Share this post


Link to post
Share on other sites
Guest Super_LoP

Right you are and nope, no prevail with it. Rehabman's helping me on another form and wanted me to try this but Im talentless with dsdt's i tried myself and got strings of text telling me incorrect values. Heres a link http://www.tonymacx86.com/mountain-lion-laptop-support/105629-help-arrandale-processor-i3-370m-power-management.html#post645487

Your values make different text appear but i believe its an improvement

 

Sorry, I don't understand what you meaning? (English is not my native language)

Share this post


Link to post
Share on other sites

Sorry, I don't understand what you meaning? (English is not my native language)

Can you look at that link and make the necessary adjustments?

 

the PNLF :

Method (_BCL, 0, NotSerialized) { Return (\_SB.PCI0.GFX0.DD03._BCL()) }

Method (_BCM, 1, NotSerialized) { \_SB.PCI0.GFX0.DD03._BCM(Arg0) }

Method (_BQC, 0, NotSerialized) { Return (\_SB.PCI0.GFX0.DD03._BQC()) }

Method (_DOS, 1, NotSerialized) { \_SB.PCI0.GFX0._DOS (Arg0) }

 

and WAK 

Method (_WAK, 1, Serialized)

{

\_SB.PCI0.GFX0.DD03._BCM(50) // set to 50% brightness

 

 

Store (Zero, P80D)

If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))

{

If (LEqual (PMEE, One))

...

}

Share this post


Link to post
Share on other sites
Guest Super_LoP

Can you look at that link and make the necessary adjustments?

 

the PNLF :

Method (_BCL, 0, NotSerialized) { Return (\_SB.PCI0.GFX0.DD03._BCL()) }

Method (_BCM, 1, NotSerialized) { \_SB.PCI0.GFX0.DD03._BCM(Arg0) }

Method (_BQC, 0, NotSerialized) { Return (\_SB.PCI0.GFX0.DD03._BQC()) }

Method (_DOS, 1, NotSerialized) { \_SB.PCI0.GFX0._DOS (Arg0) }

 

and WAK 

Method (_WAK, 1, Serialized)

{

\_SB.PCI0.GFX0.DD03._BCM(50) // set to 50% brightness

 

 

Store (Zero, P80D)

If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))

{

If (LEqual (PMEE, One))

...

}

I'm not enough skill :(

Please open your DSDT.aml on /Extra directory with DSDT Editor and test. Mine you downloaded has no error to compile.

Share this post


Link to post
Share on other sites

I'm not enough skill :(

Please open your DSDT.aml on /Extra directory with DSDT Editor and test. Mine you downloaded has no error to compile.

Alright got my dsdt working myself, used Maciasl, so back to the drawing board, no backlight on wake

Share this post


Link to post
Share on other sites

Hey Super_Lop I dont know what I did, but i have backlight on wake up, the mouse works fine but unresponsive keyboard. Guess now were on the same page

Share this post


Link to post
Share on other sites
Guest Super_LoP

Hey Super_Lop I dont know what I did, but i have backlight on wake up, the mouse works fine but unresponsive keyboard. Guess now were on the same page

Now we have exactly the same problem. Could someone help us ?

Share this post


Link to post
Share on other sites

A quick question - just thinking about source of my issues:

Does OSX partition have to be marked as bootable for hibernate/sleep to work properly?

As you know, for instance in Windows on an MBR BIOS computer (which I am), if a partition other than Windows partition is active (i.e. bootable), hibernate/sleep won't work! Is it same with OSX?

Share this post


Link to post
Share on other sites

Thank you for the info. Finally I run with myPoint Shade because of eye-care and shade assistant. The assistant turns off the shade automatically when I switched to VLC and returns shade back when I return to DB tasks.

I'm very happy that my post help someone!!!  :)

Share this post


Link to post
Share on other sites

Will this also work for Nvidia discrete graphics? I was able to get the slider thingy on my display panel following this method but it's unresponsive. 
 

Share this post


Link to post
Share on other sites
Guest Super_LoP

Will this also work for Nvidia discrete graphics? I was able to get the slider thingy on my display panel following this method but it's unresponsive. 

 

 

It's only for 8086:0046 aka Intel HD Graphics 1st Generation.

 

EDIT : I found a thing about my brightness keys. Without SPARK (app), when I push "Pause,ATTN" (on French keyboard), it Brightness on up. Maybe I should check about the layout or Voodoo PS2?

Share this post


Link to post
Share on other sites

Connman997, Super_Lop i will join with you, don't you mind? :D  I got the same f**king problem after wake-up. Mod dsdt/some kexsts/chameleon "USB Wake" - No luck :(  

Share this post


Link to post
Share on other sites

So I followed all the instructions given, but, my issue isnt solved. ._. The brightness works, yes, but it isnt bright. I just need the PNLF device and it'll suddenly get me a slider and such - not even need a kext. But its not bright. When my screen sleeps and gets back on, its as bright as it should be. What do I need to fix? :/ it's frustrating...especially because my DSDT now feels 2x as long as its original dump was. o-o

Share this post


Link to post
Share on other sites

Super_LoP  Do you get these in your verbose boot too? Maybe on to something 

ACPIBacklightPanel: ACPI Methods _DOS _BCL _BCM _BQC found. Device path: (Ill fill in after, camera cut it off)

ACPIBacklightPanel: getIndexForLevel(50) not found in _BCL table ! 

ACPIBacklightPanel: Error in queryACPICurentBrightnessLevel _BQC

ACPIBacklightPanel: getIndexForLevel(16) not found in _BCL table !

ACPIBacklightPanel: Version 1.2

I have a feeling this is blocking the full potential of the patch (Brightness on wake)

About the "ACPIBacklightPanel: getIndexForLevel(50) not found in _BCL table ! " for that, you need proper value table under _BCL method in your DSDT. First two values in it are about your display brightness in AC and battery mode and after that, the 17 levels are for the brightness levels for your screen. Put these values correct, you will have proper brightness and no more such lines in your console.

Share this post


Link to post
Share on other sites

Your how-to seems very confusing to me.

 

So I add this code (With my edited BAR0, BAR1, BAR2, etc..):

OperationRegion (BRIT, SystemMemory, 0xB0048254, 0x04)
Field (BRIT, AnyAcc, Lock, Preserve)
{
LEVL, 32
}
OperationRegion (BRI2, SystemMemory, 0xB0048250, 0x04)
Field (BRI2, AnyAcc, Lock, Preserve)
{
LEV2, 32
}
OperationRegion (BRI3, SystemMemory, 0xB00C8250, 0x04)
Field (BRI3, AnyAcc, Lock, Preserve)
{
LEVW, 32
}
OperationRegion (BRI4, SystemMemory, 0xB00C8254, 0x04)
Field (BRI4, AnyAcc, Lock, Preserve)
{
LEVX, 32
}

 To here:

 

1.png

 

Then add this code:

Name (_HID, EisaId ("LCD1234"))

To Here:

 

2.png

 

and this code:

Device (PNLF)
{
Name (_HID, EisaId ("APP0002"))
Name (_CID, "backlight")
Name (_UID, 0x0A)
Name (_STA, 0x0B)
Method (_BCL, 0, NotSerialized)
{
Return (Package (0x13)
{
0x64,
0x32,
Zero,
0x06,
0x0C,
0x12,
0x18,
0x1E,
0x24,
0x2A,
0x30,
0x36,
0x3C,
0x42,
0x48,
0x4E,
0x54,
0x5A,
0x64
})
}
Method (_BCM, 1, NotSerialized)
{
Store (0x80000000, LEV2)
If (LGreaterEqual (Arg0, 0x64))
{
Store (0x12FF, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x5A))
{
Store (0x11FF, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x54))
{
Store (0x103A, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x4E))
{
Store (0x0EBB, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x48))
{
Store (0x0B24, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x42))
{
Store (0x0873, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x3C))
{
Store (0x065B, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x36))
{
Store (0x04C8, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x30))
{
Store (0x0396, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x2A))
{
Store (0x02B0, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x24))
{
Store (0x0266, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x1E))
{
Store (0x0218, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x18))
{
Store (0x01D1, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x12))
{
Store (0x0191, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x0C))
{
Store (0x0161, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x06))
{
Store (0x0132, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, Zero))
{
Store (0x82, LEVL)
}
Else
{
Store (0x11FF, LEVL)
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Method (_BQC, 0, NotSerialized)
{
Return (^^PCI0.GFX0.DD02._BQC ())
}
Method (_DOS, 1, NotSerialized)
{
^^PCI0.GFX0._DOS (Arg0)
}
}

To here:

 

3.png

 

 

If this is how it is I'm getting errors when trying to compile.... Telling me certain devices don't exist....

 

Here is my BAR0 Info:

Device/Vendor ID	0x00468086
Revision ID	0x18
Class Code	0x030000
Cacheline Size	0x00
Latency Timer	0x00
Interrupt Pin	INTA
Interrupt Line	None
BAR1		0xD0000004
BAR2		0x00000000
BAR3		0xC000000C
BAR4		0x00000000
BAR5		0x0000E081
BAR6		0x00000000
Expansion ROM	0x00000000
Subsystem ID	0x1BE21043

Share this post


Link to post
Share on other sites

Hi all,

 

I'd like to ask you something, brightness works OOB on my laptop (Asus U30JC) but I don't have brightness slider. I tried to modify my DSDT but seems there is no name associated with my laptop display. Can anybody take a look at my DSDT and help?

 

--edit--

 

attached new dsdt with modified "magic numbers" but still no slider :-(

 

 

Thanks in advance and best regards,

fingerr.

 

 

Asus U30JC, Core i5-560M, 6GB RAM, 1st Gen HD Graphics, 500GB HDD

DSDT.dsl.zip

Share this post


Link to post
Share on other sites

Hi,

 

is there any debug version of this kext?

 

Second day I'm tryning to get it working, but no luck.

 

In log files I see:

 

02.10.2013 17:03:10,000 kernel[0]: ACPIBacklightPanel: ACPI Methods _DOS _BCL _BCM _BQC found. Device path: _SB.PNLF
02.10.2013 17:03:10,000 kernel[0]: ACPIBacklightPanel: getIndexForLevel(100) not found in _BCL table !
02.10.2013 17:03:10,000 kernel[0]: ACPIBacklightPanel: Version 1.2
 
and can't adjust my DSDT to get it working. 
 
Please find attached my DSDT (I have optimus laptop so last GFX0 in PCI0 is the correct one.) and check if there is any home to get it working.
BTW: I can adjust brihgtness but slider is not working and sun bezel is not shown.
 
Thanks in advance and best regards,
 
fingerr.

DSDT.dsl.zip

Share this post


Link to post
Share on other sites

I got minimum brightess whenever screen turns off and back again (sleep, reboot, or simply turns off screen for a second). Any one has similar problem? Is it related to nvram.plist? Thx in advance.

Share this post


Link to post
Share on other sites

 

Your how-to seems very confusing to me.

 

So I add this code (With my edited BAR0, BAR1, BAR2, etc..):

OperationRegion (BRIT, SystemMemory, 0xB0048254, 0x04)
Field (BRIT, AnyAcc, Lock, Preserve)
{
LEVL, 32
}
OperationRegion (BRI2, SystemMemory, 0xB0048250, 0x04)
Field (BRI2, AnyAcc, Lock, Preserve)
{
LEV2, 32
}
OperationRegion (BRI3, SystemMemory, 0xB00C8250, 0x04)
Field (BRI3, AnyAcc, Lock, Preserve)
{
LEVW, 32
}
OperationRegion (BRI4, SystemMemory, 0xB00C8254, 0x04)
Field (BRI4, AnyAcc, Lock, Preserve)
{
LEVX, 32
}

 To here:

 

1.png

 

Then add this code:

Name (_HID, EisaId ("LCD1234"))

To Here:

 

2.png

 

and this code:

Device (PNLF)
{
Name (_HID, EisaId ("APP0002"))
Name (_CID, "backlight")
Name (_UID, 0x0A)
Name (_STA, 0x0B)
Method (_BCL, 0, NotSerialized)
{
Return (Package (0x13)
{
0x64,
0x32,
Zero,
0x06,
0x0C,
0x12,
0x18,
0x1E,
0x24,
0x2A,
0x30,
0x36,
0x3C,
0x42,
0x48,
0x4E,
0x54,
0x5A,
0x64
})
}
Method (_BCM, 1, NotSerialized)
{
Store (0x80000000, LEV2)
If (LGreaterEqual (Arg0, 0x64))
{
Store (0x12FF, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x5A))
{
Store (0x11FF, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x54))
{
Store (0x103A, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x4E))
{
Store (0x0EBB, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x48))
{
Store (0x0B24, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x42))
{
Store (0x0873, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x3C))
{
Store (0x065B, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x36))
{
Store (0x04C8, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x30))
{
Store (0x0396, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x2A))
{
Store (0x02B0, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x24))
{
Store (0x0266, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x1E))
{
Store (0x0218, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x18))
{
Store (0x01D1, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x12))
{
Store (0x0191, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x0C))
{
Store (0x0161, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, 0x06))
{
Store (0x0132, LEVL)
}
Else
{
If (LGreaterEqual (Arg0, Zero))
{
Store (0x82, LEVL)
}
Else
{
Store (0x11FF, LEVL)
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Method (_BQC, 0, NotSerialized)
{
Return (^^PCI0.GFX0.DD02._BQC ())
}
Method (_DOS, 1, NotSerialized)
{
^^PCI0.GFX0._DOS (Arg0)
}
}

To here:

 

3.png

 

 

If this is how it is I'm getting errors when trying to compile.... Telling me certain devices don't exist....

 

Here is my BAR0 Info:

Device/Vendor ID	0x00468086
Revision ID	0x18
Class Code	0x030000
Cacheline Size	0x00
Latency Timer	0x00
Interrupt Pin	INTA
Interrupt Line	None
BAR1		0xD0000004
BAR2		0x00000000
BAR3		0xC000000C
BAR4		0x00000000
BAR5		0x0000E081
BAR6		0x00000000
Expansion ROM	0x00000000
Subsystem ID	0x1BE21043

Yes, me too, no one else front this?

Share this post


Link to post
Share on other sites

great tutorial. all works well.

 

btw, it's my first post here. i've just got into Hackintosh-ing.

 

Acer 4740. Maverick. bootloader=clover.

 

for those who still confuse, just follow the tutorial. remember to change the DD0X, the magic number (0xX) and your graphic card (GFX0, IGP, and so on)

 

then in DSDT Editor compile it, make sure there are not too many errors (i have 2 errors, but press the fix errors button then it compiled well).

 

enjoy

 

now i dont have to live with max brightness anymore.

 

thanks

Share this post


Link to post
Share on other sites

wow..I followed this guide and everything is working well, thank you guys.

My laptop is Dell Vostro 3400: i3-380M,4G,HD Graphics. My magic number is "0xFE"

i followed the monorthern's steps and succeed ,hoping this information can help someone. :P

Share this post


Link to post
Share on other sites

Hey Guys, I tried to patch my DSDT with the brightness guide but I failed each time...  I would be very grateful if someone could patch it for me. Thank you very much  :D

Share this post


Link to post
Share on other sites
Hey Guys, I tried to patch my DSDT with the brightness guide but I failed each time... I would be very grateful if someone could patch it for me. Thank you very much :D

y u no share ur dsdt?

 

Lol. I can try patch it for you. But it's pretty easy though. I suggest you try for yourself. And what's the error anyway? Is it in dsdt editor or what?

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


  • Recently Browsing   0 members

    No registered users viewing this page.

×