Jump to content

ACPI Backlight Display driver


  • Please log in to reply
30 replies to this topic

#21
InNewtonITrust

InNewtonITrust

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

Hello I have got another issue, if I install this kext my monitor doesn't start! I mean that after loading OSX will not starts and the monitor stays black! Someone have any idea? For fix this and reboot my osx, I boot with -x and remove the kext.

You've not made changes to your DSDT, I'm guessing.
Use HotKoffy's (brilliant) DSDT from his first post, if you don't know how to modify your current DSDT. Replace the one in your /Extra folder, and change com.apple.boot.plist accordingly. Or, ignore the plist, and just rename the new DSDT to the same as the original one in your Extra folder.

I don't know what is happening but I think only one is executed and I guess the wrong : without @0,AAPL,boot-display.

Cool. Trying it right now.

#22
InNewtonITrust

InNewtonITrust

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Ookay, Hotkoffy. This has gone mostly beyond my stack of knowledge, and I'm relying on you pretty blindly. ;)

I've corrected my DSDT, but that doesn't change anything. Now I'm using YOUR DSDT, and the problem still persists.

This is my 'ioreg | grep display' output:
| |   |	 +-o NVDA,Display-A@0  <class IONDRVDevice, id 0x1000002d9, regi$
	| |   |	 |   +-o display0  <class IODisplayConnect, id 0x10000039c, regi$
	| |   |	 |   | +-o AppleBacklightDisplay  <class AppleBacklightDisplay, $
	| |   |	 +-o NVDA,Display-B@1  <class IONDRVDevice, id 0x1000002da, regi$
	| +-o IODisplayWrangler  <class IODisplayWrangler, id 0x100000121, register$
Is the kext loaded? Is "Apple Backlight Display" what we're looking for? Uhh....

Also, I have an AppleBacklight.kext in /S/L/E. If I remove that, the Function keys (for brightness) stop showing anything at all.

Just to recap, my issue is this: The kext WORKS, but partially. It displays the little sun symbol when I press Fn+Brightness, but there are no white bars that increase or decrease. And the brightness slider in SysPrefs is always at max.

#23
hotKoffy

hotKoffy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

Ookay, Hotkoffy. This has gone mostly beyond my stack of knowledge, and I'm relying on you pretty blindly. :)

I've corrected my DSDT, but that doesn't change anything. Now I'm using YOUR DSDT, and the problem still persists.

This is my 'ioreg | grep display' output:

| |   |	 +-o NVDA,Display-A@0  <class IONDRVDevice, id 0x1000002d9, regi$
	 | |   |	 |   +-o display0  <class IODisplayConnect, id 0x10000039c, regi$
	 | |   |	 |   | +-o AppleBacklightDisplay  <class AppleBacklightDisplay, $
	 | |   |	 +-o NVDA,Display-B@1  <class IONDRVDevice, id 0x1000002da, regi$
	 | +-o IODisplayWrangler  <class IODisplayWrangler, id 0x100000121, register$
Is the kext loaded? Is "Apple Backlight Display" what we're looking for? Uhh....

Also, I have an AppleBacklight.kext in /S/L/E. If I remove that, the Function keys (for brightness) stop showing anything at all.

Just to recap, my issue is this: The kext WORKS, but partially. It displays the little sun symbol when I press Fn+Brightness, but there are no white bars that increase or decrease. And the brightness slider in SysPrefs is always at max.


To help, I will need to know what is your laptop model, which version of BIOS, OSX etc, which kext you have added in E/E and S/L/E and put your original dsdt if it not an 1201N and your curent DSDT.

In any cases, you didn't need to remove AppleBacklight nor IOGraphicsFamily which are mandatory.

#24
InNewtonITrust

InNewtonITrust

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

To help, I will need to know what is your laptop model, which version of BIOS, OSX etc, which kext you have added in E/E and S/L/E and put your original dsdt if it not an 1201N and your curent DSDT.

Sorry about that. I have an ASUS 1201N, BIOS version 0326, OSX 10.6.6.

I think I may be using more Extensions than I need... These are from /E/E:
Attached File  Extensions.zip   421.64KB   38 downloads In S/L/E, I have your Backlight and Hotkeys kexts.

Attached File  dsdtNewt.aml.zip   19.08KB   14 downloads

#25
hotKoffy

hotKoffy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

Sorry about that. I have an ASUS 1201N, BIOS version 0326, OSX 10.6.6.

I think I may be using more Extensions than I need... These are from /E/E:
Attached File  Extensions.zip   421.64KB   38 downloads In S/L/E, I have your Backlight and Hotkeys kexts.

Attached File  dsdtNewt.aml.zip   19.08KB   14 downloads


Your DSDT is based on BIOS version 321, look at line 3997:

Method (BIOS, 0, Serialized)
{
ShiftLeft (0x03, 0x08, Local0)
Store (0x21, Local1)
Return (Add (Local0, Local1))
}

So it is not compliant with your current BIOS v326.

It is important to have a patched DSDT based on the bios installed as it is a software interface with the bios, it evolves with it.

#26
InNewtonITrust

InNewtonITrust

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

Your DSDT is based on BIOS version 321, look at line 3997

Now I'm using YOUR dsdt, and even then the display doesn't bind.

Suggestions?

#27
Loureiro

Loureiro

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

Now I'm using YOUR dsdt, and even then the display doesn't bind.

Suggestions?


I'm using hotKoffy dsdt and i can change backlight with the hotkeys. brightness bar doesn't work.

I'm getting cmos reset every time I dim up or down the backlight. It doesn't fix this issue right?

thanks

#28
hotKoffy

hotKoffy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

I'm using hotKoffy dsdt and i can change backlight with the hotkeys. brightness bar doesn't work.

I'm getting cmos reset every time I dim up or down the backlight. It doesn't fix this issue right?

thanks


If you don't have the sun bar, it means your have not installed the driver, so backlight is still controlled by bios. When the driver works, it can dim the display before slip and reduce brightness on battery.

To avoid the cmos reset, put the brightness to max before reboot. There is not problem if you shutdown.

Ookay, Hotkoffy. This has gone mostly beyond my stack of knowledge, and I'm relying on you pretty blindly. :unsure:

I've corrected my DSDT, but that doesn't change anything. Now I'm using YOUR DSDT, and the problem still persists.

This is my 'ioreg | grep display' output:

| |   |	 +-o NVDA,Display-A@0  <class IONDRVDevice, id 0x1000002d9, regi$
	 | |   |	 |   +-o display0  <class IODisplayConnect, id 0x10000039c, regi$
	 | |   |	 |   | +-o AppleBacklightDisplay  <class AppleBacklightDisplay, $
	 | |   |	 +-o NVDA,Display-B@1  <class IONDRVDevice, id 0x1000002da, regi$
	 | +-o IODisplayWrangler  <class IODisplayWrangler, id 0x100000121, register$
Is the kext loaded? Is "Apple Backlight Display" what we're looking for? Uhh....

Also, I have an AppleBacklight.kext in /S/L/E. If I remove that, the Function keys (for brightness) stop showing anything at all.

Just to recap, my issue is this: The kext WORKS, but partially. It displays the little sun symbol when I press Fn+Brightness, but there are no white bars that increase or decrease. And the brightness slider in SysPrefs is always at max.


I didn't pay attention to your ioreg before. The driver is not loaded. It can happen if it not installed properly. Did you use Kext Utility ? Simpy drop the kext on it.

#29
Loureiro

Loureiro

    InsanelyMac Protégé

  • Members
  • Pip
  • 30 posts

If you don't have the sun bar, it means your have not installed the driver, so backlight is still controlled by bios. When the driver works, it can dim the display before slip and reduce brightness on battery.

To avoid the cmos reset, put the brightness to max before reboot. There is not problem if you shutdown.


The sun appears and the bar goes up and down correctly, the bar that I'm talking about is on the display config panel, where the resolution can be changed. The bar appears but don't do anything.

btw, i forgot to say a huge thank you for this driver. the 1201n is the best hackintosh i've ever had.

cheers.

#30
hnvijay

hnvijay

    InsanelyMac Protégé

  • Members
  • PipPip
  • 92 posts
  • Gender:Male
  • Location:Bangalore, India

Last update: 16 july 2011

This driver provides native backlight management for laptops with backlight managed by ACPI : slider in the display pref pane and sun bezel when you press backlight up/down hotkey (with an other driver than can understand your keyboard Fn keys...)

Install it in S/L/E (with Kext Utility or similar !)
Tested in i386 and x86_64.
Minimum system version 10.6.5 - Max 10.6.7

IOGraphicsFamily changed in 10.6.8, the driver could not be loaded. The code has to be updated, certainly making inheritance from IODisplay which seems to be stable.


Now that Mac OS X Lion is out, could you please provide the driver ACPIBacklightDisplay.kext for Lion.

#31
hotKoffy

hotKoffy

    InsanelyMac Protégé

  • Members
  • PipPip
  • 79 posts

Now that Mac OS X Lion is out, could you please provide the driver ACPIBacklightDisplay.kext for Lion.


Here is it !





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy