Jump to content

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


mnorthern
 Share

182 posts in this topic

Recommended Posts

Oops, I thought I attached it  :D 

I tried to do it and failed, I could never boot with the DSDT after my attempt at patching

EDIT: Lol it didn't attach again with the forum attacher. Here's uploaded on a website: http://www.speedyshare.com/CPhNj/dsdt.dsl

 

Thank You! :)

PS: My magic number is 0xD

hello. you have intel hd 1st gen right? your sig saying you have hd3000 though. :D

if you have intel hd 1st gen, here: http://www76.zippyshare.com/v/14683114/file.html

make sure:

you've backed up everything. or at least you can delete the dsdt in case something's wrong (dont blame me if u cant and destroy you osx :D )

you have the acpibacklight.kext (from the op) installed.

rename the dsdtorangp.aml to dsdt.aml and put it on your osx (it depends on your bootloader)

notes:

i've got no error in compiling, but you send me dsl file, it might be different than aml file, try send the aml file if you got error.

in any case (success or not). please report back :)

 

good luck.

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Hi There, I have successfully got this working on an IBM x201, Brightness working with scrl lock and Pause buttons above the F keys. The problem I have run into is that now my machine will not go to sleep.

 

Would anyone be so kind as to look at both dsdts and give me a clue as what needs to be fixed (original and modded ones are attached.

 

Thanks :) DSDT.zip

Link to comment
Share on other sites

  • 1 month later...

Thanks to HUSABER, the DSDT for my laptop is now errorless. But issues remain there. 

 

I have attached both the original DSDT (which has errors and is purely the the DSDT I extracted) and the fixed DSDT (no errors, applied fixes for SpeedStep, IDE kernel panic, EHCI, UHCI, CMOS reset, and IRQ reallocation with DSDTFixer). Still, after weeks of reading (RTFM first rule! :D) and applying, when I wake up my laptop from sleep, the screen is black. I confirm the keyboard is working. Also, the CPU gets hot (although I applied SpeedStep fix!). I would really really really appreciate if someone can help me resolve these issues.

 

Please delete .txt extension. The zip file has both dsl and aml files. 

 

Thanks! :)

fixed.zip.txt

original.zip.txt

Link to comment
Share on other sites

  • 1 month later...

http://cl.ly/2R0H2D2e0s2D  can somebody help me ... i have made everything but i dont have brightness :/ .. I have the brightness in system preferences/display and brightness buttons works but it don`t change anything ... thanks :)

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

p.s. Sorry for my english..

Link to comment
Share on other sites

  • 2 weeks later...

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)
}
}
In the code snippet above, you may have to change whenever it says "PCI0.GFX0..." to your equivalent, eg. say "_SB.PCI0.VGA0" or something.

 

 

how to see our "equivalent"??

Link to comment
Share on other sites

  • 2 weeks later...

Thanks to this thread I'm now able to have backlight control working.

Haven't been able to get the actual Fn key working but for me Ctrl+Home/Ctrl+End works just fine for me with Spark and display notification enabled. 

This gives the sun display when used with Spark and slider works perfectly in the display prefs.

 

This is a Lenovo T410 w/ Core i5 2.66Ghz no nVidia card w/ 8GB RAM and replaced WLAN w/ Dell half-height Broadcom card (dw1510) and BIOS 1.45 w/ whitelist modification to allow unapproved wifi cards.

 

Here is my current DSDT.

 

Edit:

Using a more current version of VoodooPS2Controller.kext I've noticed that ScrLk and Pause function as Brightness Down and Up respectively w/o using the Fn key.

T410-DSDT.zip

Link to comment
Share on other sites

  • 4 weeks later...
Hello I'm trying to build my DSDT to work with the brightness control, but without success. Compiled my DSDT without errors more without success. 

Could someone help me I'm lost on this issue. 

 

my setup is: 

 

lenovo G460 

 

Intel core i3 330m 

Intel HD Graphics 

 

My magic number and 0xD

 


Link to comment
Share on other sites

  • 3 weeks later...

Is this fine ??? :cry: , My BAR1 is starting with 0x9

 

Device/Vendor ID    0x00468086
Revision ID    0x18
Class Code    0x030000
Cacheline Size    0x00
Latency Timer    0x00
Interrupt Pin    INTA
Interrupt Line    None
BAR1        0x90000004
BAR2        0x00000000
BAR3        0x8000000C
BAR4        0x00000000
BAR5        0x00003051
BAR6        0x00000000
Expansion ROM    0x00000000
Subsystem ID    0x06031025

 

 

 

 

 

EDIT : Yay :D , its working now, thanks mnorthern, yayayay, happy to not using shades again :thumbsup_anim: ,thanks a ton mnorthern
 

Edited by RiskyRis
Link to comment
Share on other sites

(acer travelmate 5742z laptop)

 

thanks to ghost raider and mnothern, I was able to solve the problem  :) (all dsdt errors must be fixed and _SB part in the guide is important to notice.)

Link to comment
Share on other sites

  • 1 month later...

Brightness is working on my Acer Aspire 4740 (Intel Core i5 430M) but I have two little problems :

 

1st. When I use the Functions Keys (Fn + Left Arrow and Fn + Right Arrow) to change to Brightness intensity, is only working the Fn + Right Arrow to increase brightness but I can't decrease the brightness, I need to go to System Preferences to decrease brightness with the bar.
 
2nd. When I reboot/shutdown the laptop, the brightness values are reseted to the maximum value so I must adjust the brightness values again.
 
Please, is there a solution for this ? 
Link to comment
Share on other sites

  • 1 month later...

HI everyone! i'm new in this. and i wonder if someone can patch my dsdst.aml for backlight after sleep mode, because the lcd powers on but backlight still off and i have to reboot the system to work again.
i'm not really interested in brightness adjust, but i really need the backlight patch
thanks!
 
P/s: i don't know anything about patching dsdt or programming, so if someone can help me with this.. it will be very appreciated, by the way, this forum is amazing.

 

here are my screen capture of BAR1 and my original dsdt without patches.

 

post-1396013-0-04918100-1411412511_thumb.jpg

hpg42---DSDT.aml.zip

Link to comment
Share on other sites

  • 1 month later...

HI everyone! i'm new in this. and i wonder if someone can patch my dsdst.aml for backlight after sleep mode, because the lcd powers on but backlight still off and i have to reboot the system to work again.

i'm not really interested in brightness adjust, but i really need the backlight patch

thanks!

 

P/s: i don't know anything about patching dsdt or programming, so if someone can help me with this.. it will be very appreciated, by the way, this forum is amazing.

 

here are my screen capture of BAR1 and my original dsdt without patches.

0xD0048254

0xD0048250

0xD00C8250

0xD00C8254

my fb: fb.com/dinhnguyen99 

if you don't understand, just give me a messenger. 

Sorry for my English. I'm Vietnamese and i just 15 years old :)

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

Much Thanks.

 

I just want fix backlight problem with my Intel HD Graphics. I have fixed display card native resolution with the help of thread of GhostRaider. So Great!

 

Now I want to fix backlight problem which is exactly same as yours and GhostRaider's problem....

 

I have installed your acpibacklight.kext first , and then  edit the dsdt.aml file with the help of #6 step by step. But it does not work..My Bar0/Bar1 is C000000004

oh My God! Pls help me! Attached file:

My Laptop is HP DV6 3028tx

 

 

dsdt.aml.zip

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

Hp pavilion dv6-3032ea 

intel i5-460m

sleep: Works when lid is closed/when put to sleep manually and on its own.

           Wakes from all with no problems.

Screen dims when AC power is unplugged and brightens when plugged back in.

Only thing not working are keyboard keys, but never used them anyway.

post-1132704-0-99873200-1420899237_thumb.png
post-1132704-0-19486300-1420900051_thumb.png
post-1132704-0-98372300-1420899978_thumb.jpg

 

 

 

Thank you mnorthern 

post-1132704-0-99873200-1420899237_thumb.png

post-1132704-0-98372300-1420899978_thumb.jpg

post-1132704-0-19486300-1420900051_thumb.png

Link to comment
Share on other sites

  • 1 month later...
Guest calabash

@mnorthern, good news here! I'm now able to wake up with backlight, finally! Attached is my working dsdt.

 

The changes are that I removed the original _WAK contents and added what you gave me:

 

Method (_WAK, 1, NotSerialized)
{
	 Store (0x80000000, LEVW)
	 Store (0x061A061A, LEVX) // This value should vary based on the RW Everything inspect results
	 Store (0x80000000, LEV2)
	 Store (0x12FF, LEVL)
	 Return (Package (0x02)
	 {
		 Zero,
		 Zero
	 })
}
To enable sleep, I also removed my EHC2 device, which maybe the SD card slot; however I have to keep the EHC1 device so that my external USB wireless card (with a RTL8192CU7 chip) will resume working after waking up.

 

This is, however, only a special case for this strange graphic card. I'm not sure why it works without all the wake up logic; also, I don't understand why my Fn+Brightness keys work without showing the sun icon on screen.

 

BTW, the annoying coil sound remains.

 

Again thank you very much @mnorthern!

 

Hi,

 

thank you for this great guide, awesome work!

 

I followed your discussion with mnorthern, applied necessary code to my DSDT and everything works out fine. I have to do some keyboard mapping, because brightness keys works with the two buttons over F11 and F12.

 

There is some cosmetic thing i can not go to work.

The x201 has a status indicator for sleep, a half-moon on the LCD panel. It works fine when the laptop falls to sleep, and the indicator is lightning. But when it comes awake, the indicator does not change its behavior, it remains lightning.

 

Do you have the same issue?

 

 

Please take a look at my DSDT

DSDT.aml.zip

Link to comment
Share on other sites

Hi,

 

thank you for this great guide, awesome work!

 

I followed your discussion with mnorthern, applied necessary code to my DSDT and everything works out fine. I have to do some keyboard mapping, because brightness keys works with the two buttons over F11 and F12.

 

There is some cosmetic thing i can not go to work.

The x201 has a status indicator for sleep, a half-moon on the LCD panel. It works fine when the laptop falls to sleep, and the indicator is lightning. But when it comes awake, the indicator does not change its behavior, it remains lightning.

 

Do you have the same issue?

 

 

Please take a look at my DSDT

Yes I do have the same issue, and I have no idea how to fix it.

However, I guess the issue is not a critical one; I can still sleep-wake the laptop normally many times.

Link to comment
Share on other sites

Guest calabash

Yes I do have the same issue, and I have no idea how to fix it.

However, I guess the issue is not a critical one; I can still sleep-wake the laptop normally many times.

 

Okay, so this is a generell problem.

 

Btw, is your WLAN indicator lightning?

As i remember you have USB working after sleep, how did you fix it?

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 2 months later...

Hi MNorthern

 

I have an Acer Aspire 5741-3404

 

I installed the Kext and patched the DSDT and got the brightness slider on Display preferences but the LCD does not change the brightness.

 

Not even the Fn + < > works

 

I tried the add those lines of Method ( _DSM 4, not serialized...

 

and create error, so I discarded

 

Here is my DSDT

 

 

Thanks

 

 

DSDT.aml.zip

Link to comment
Share on other sites

  • 6 months later...
 Share

×
×
  • Create New...