robi62 Posted August 1, 2011 Author Share Posted August 1, 2011 Hi I came across this at insanely Hi all. There are 2 drivers for brightness: 1. For those who have apple brightness slider working (max backlight>0 in ioreg) can use GenericBrightness.kext.zip. There is also VoodooPS2Controller with mapped keys for brightness for hp, acer, dell, samsung and lg. To make native slider work, you need to add PNLF device: CODE Device (PNLF) { Name (_HID, EisaId ("APP0002")) Name (_CID, "backlight") Name (_UID, 0x0A) Name (_STA, 0x0B) } After that you need to find where _BCM, _BCQ and _BCL methods are and what graphics you use, since a lot of dsdt had multiple methods, because there is support for multiple cards in bios. If your graphics is (for example) GFX0 (search it from ioreg), then you should find that device in dsdt. Under that device, there are other devices (usually LCD, CRT, TV...). Look for the device that has those methods (_BCM, _BCQ and _BCL) and then put Name (_HID, EisaId ("LCD1234")). Example: CODE Device (LCD) { Name (_ADR, 0x0400) Name (_HID, EisaId ("LCD1234")) //this must be added Method (_DCS, 0, NotSerialized) { } Method (_DGS, 0, NotSerialized) { } Method (_BCL, 0, NotSerialized) { } Method (_BCM, 1, NotSerialized) { } Method (_BQC, 0, NotSerialized) { } 2. The second one (NoSlider.zip) can control brightness without PNLF. But you still have to add some code to dsdt. Only Name (_HID, EisaId ("LCD1234")) is needed, like in first method. In NoSlider there are also 2 apps: console utility brightness with parameters: brightness get => returns current brightness brightness set yourbrightness => sets your brightness (from 0 to 100) brightness up => one step up (usefull for keyboard mapping) brightness down => one step down Second app is Brightness Menulet. It is menubar plugin with slider for setting brightness CODE I tried second solution but still no joy Definitely I am useless with editing dsdt Link to comment Share on other sites More sharing options...
robi62 Posted August 2, 2011 Author Share Posted August 2, 2011 A little improvement I stumbled across this 1. Download iASLMe http://www.mediafire.com/?jchmtymqlmd and use it to decompile your DSDT.aml to a DSDT.dsl (See instructions after opening the proggie but its as simple as drag and drop) 2. Edit your DSDT.dsl by adding this code: CODE: SELECT ALL Device (PNLF) { Name (_HID, EisaId ("APP0002")) Name (_CID, "backlight") Name (_UID, 0x0A) Name (_STA, 0x0B) } above the Device (PWRB) block of code. And now I have a working brightness slider is display preferences the ig error still shows at boot but Iam happy with what I have achived Link to comment Share on other sites More sharing options...
simeonoff Posted August 2, 2011 Share Posted August 2, 2011 A little improvement I stumbled across this 1. Download iASLMe http://www.mediafire.com/?jchmtymqlmd and use it to decompile your DSDT.aml to a DSDT.dsl (See instructions after opening the proggie but its as simple as drag and drop) 2. Edit your DSDT.dsl by adding this code: CODE: SELECT ALL Device (PNLF) { Name (_HID, EisaId ("APP0002")) Name (_CID, "backlight") Name (_UID, 0x0A) Name (_STA, 0x0B) } above the Device (PWRB) block of code. And now I have a working brightness slider is display preferences the ig error still shows at boot but Iam happy with what I have achived Nice! And about the error message, don't worry! It's normal! Link to comment Share on other sites More sharing options...
robi62 Posted August 2, 2011 Author Share Posted August 2, 2011 The only thing if I boot from lion usb install with my dsdt I only get half of screen 1024x768 instead of 1280x800 Brightness will start on max value when I unplug ac lcd dims down If you still want to patch my dsdt when you have the time I can test it Link to comment Share on other sites More sharing options...
robi62 Posted August 3, 2011 Author Share Posted August 3, 2011 (edited) .Anyway Ill keep playing with editing dsdt and test it Im giving up tried so many things but still that ig invalid firmware is there at least i managed to get brightness slider working.... Edited August 7, 2011 by robi62 Link to comment Share on other sites More sharing options...
robi62 Posted August 8, 2011 Author Share Posted August 8, 2011 Hi the solution seems to be here but when i compile it always getting error so frustrating QUOTE (LeXa2 @ May 12 2011, 07:01 AM) Slice, had you been able to fix "unable to control backlight brightness intensity" problem? I'm having just the same "firmware had invalid value" in the dmesg and can't control display brightness as a result . This is Ivik's achievement. DSDT addition CODE Device (PNLF) { Name (_HID, EisaId ("APP0002")) Name (_CID, "backlight") Name (_UID, 0x0A) Name (_STA, 0x0B) Name (_PRW, Package (0x02) { 0x1C, 0x03 }) 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) } }Does any one know how Link to comment Share on other sites More sharing options...
simeonoff Posted August 8, 2011 Share Posted August 8, 2011 Hi the solution seems to be here but when i compile it always getting error so frustrating QUOTE (LeXa2 @ May 12 2011, 07:01 AM) Slice, had you been able to fix "unable to control backlight brightness intensity" problem? I'm having just the same "firmware had invalid value" in the dmesg and can't control display brightness as a result . This is Ivik's achievement. DSDT addition CODE Device (PNLF) { Name (_HID, EisaId ("APP0002")) Name (_CID, "backlight") Name (_UID, 0x0A) Name (_STA, 0x0B) Name (_PRW, Package (0x02) { 0x1C, 0x03 }) 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) } }Does any one know how I thought you got brightness controls? Link to comment Share on other sites More sharing options...
Administrators Bronxteck Posted August 8, 2011 Administrators Share Posted August 8, 2011 have you checked your energy saver prefpane? it has dim option for both battery and power. does that screen have a light sensor? if it does, shut it off from bios. sometimes the simple things get overlooked. ps. calibrating the screen display helps a bunch too. Link to comment Share on other sites More sharing options...
robi62 Posted August 8, 2011 Author Share Posted August 8, 2011 I thought you got brightness controls? Yes I do it is just that frustrating invalid firmware mesg at boot but I managed with a program called keyboard maestro which has enabled brightness up with f7 and down with f6 anyway if any of you gurus in your own time can have a look at my latest dsdt and see what improvements I can make by the way I get error only single bank of ram from rtc at boot This is my latest dsdt dsdt.aml.zip Link to comment Share on other sites More sharing options...
Administrators Bronxteck Posted August 8, 2011 Administrators Share Posted August 8, 2011 yeah i get that at every boot from my d620-intel " single bank memory rtc 128" or something to that respect. but i haven't noticed an issue having the error. i think Simeonoff got rid of that error on the d630 dsdt. Link to comment Share on other sites More sharing options...
Recommended Posts