Jump to content

Search the Community: Showing results for tags '8086:0046'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • InsanelyMac Lounge
    • Front Page News and Rumors
    • Reader News and Reviews
    • Forum Information and Feedback
  • OSx86 Project
    • New Releases and Updates
    • New Users Lounge
    • Developers Corner
    • Tutorials (The Genius Bar)
    • Technical FAQ
    • Installation
    • Post-Installation
    • DSDT and SSDT
    • Hardware Components and Drivers
    • Desktops
    • Notebooks
    • Netbooks
    • Tablets
    • MacMod of the Month
    • Multi-booting and Virtualisation
  • International
    • Your Language
    • Deutsch
    • Español
    • Français
    • Italiano
    • Português
    • Русский
  • Apple World
    • Mac OS X
    • Apple Computers and Hardware
    • iOS Devices
    • Mac Applications
    • Mac Programming and Development
    • iOS Programming and Development
    • Mac Gaming
    • Mac Accessories
  • Discuss and Learn
    • Windows Discussion
    • *nix
    • Apple Opinions and Discussion
    • The Great Debates
    • Internet(s), Servers, and Networks
    • Buying Thoughts, Reviews, and Recommendations
    • Mods and Overclocking
    • The Big Issues [Real Life]
  • Everything Else
    • Creativity
    • Thunderdome (Random Stuff)
    • Laughs
    • The Marketplace


  • Kexts
    • Graphics Cards
    • Audio
    • LAN and Wireless
    • Other
  • Kernels
  • Bootloaders
  • DSDTs
    • Patches
  • Pandora
  • Apps
  • Miscellaneous
  • Customization

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL







Found 1 result

  1. FOREWORD: Be warned this is a messy guide for advanced users. This guide will apply if you have first generation Intel graphics also known as GMA 5700MHD (PCI id 8086:0046) It is guaranteed to work on a HP G62 laptop (this laptop doesn't seem to use EC to manage brightness) It may also work on other laptops, with some experimenting! If it doesn't work, see the replies in this thread before asking for help. Update: make sure you read other posts in this thread, if your laptop is not a HP G62 laptop, especially post 68 from jerrywilborn which may help you http://www.insanelymac.com/forum/topic/287133-guide-backlight-brightness-for-intel-80860046-1st-gen-hd-gma-5700mhd/page__st__60?do=findComment&comment=1903273 OBJECTIVES: This guide should help you enable: Brightness keys Brightness slider in preference panel Backlight will work on waking up from ACPI sleep (note: if you ONLY want to enable this fix, and no other fixes, then see post number #6 ) Screen dimming will work after a short period of inactivity Screen sleeping will work off after a longer period of inactivity Automatic screen dim when switching to battery power If you have applied my fixes from another thread, you will need to review them, as a lot has changed. PREREQUISITES: First you will need to install hotKoffy's ACPI BACKLIGHT kext (attached). (Note: Do not install the Generic Brightness kext -- if you have it , try and delete it) ---- GUIDE ---- Step1: Find out our graphics BAR0 register (sometimes known as BAR1 register because some people count from 1...) Mine is at 0xB0000004 so you will notice all my "magic numbers" starting with 0xB.... To find your BAR0/BAR1 address, you will have to look at your integrated graphics PCI configuration space. It will usually be the second device on PCI bus 0 (device 00:02:00) You have two options, Expert option: You can use the 64bit lspci driver from these forums and do it on your Mac. Easier option: you can find this info even easier using RW-Everything on windows, but you will have to boot from windows. Download the RW-everything app from Download | RWEverything , start it, go to PCI window, and select your Intel Graphics from the drop down, take note of the BAR1 number (screenshot below:) The screenshot above is from giofrida's system. Because his BAR0 starts with 0xC.. we will need to modify the OperationRegions below so that 0xB00048254 becomes 0xC00048254, and 0xB00048250 becomes 0xC0048250 etc. You will need to do this for your system. Step 2: --- ACTUAL PATCHES--- Open your DSDT.aml in a DSDT Editor (see other threads for how to use this. MODIFYING DSDT MAY SCREW UP YOUR COMPUTER SO BE SURE YOU KNOW WHAT YOU'RE DOING.) The following needs to be placed just before the beginning of " Scope (_SB)" ( before the first occurence of this string in your DSDT). Make sure you change the magic numbers to comply with your BAR0. 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 } 2. Now, the following assumes your graphics module is called GFX0 and that the LCD is listed as the second sub-device of GFX0. To find your graphics module, you can try and look for the line "Name (_ADR, 0x00020000)". The LCD should be the second sub device, mine is called DD02. You can use IOREG to confirm the name of your graphics (eg. GFX0). You can use the following method to identify the LCD sub-device: simply, go to your GFX0 (or equivalent), and then under that device, identify the sub-device that has those methods (_BCM, _BCQ, _BCL). YOU NEED TO REMEMBER TO NAME THIS SUB- DEVICE by adding the following line: Name (_HID, EisaId ("LCD1234")) in my case it looks like this Device (DD02) { Name (_HID, EisaId ("LCD1234")) ... 3. Then, you will need to add a new device PNLF. Usually you will have to add this before the beginning of Scope _PR, or after all other devices. IF YOU ALREADY HAVE ANOTHER PNLF DEVICE, you will need to replace any other PNLF you may already have (delete it and then use my code instead). 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. Provided, the KEXTs were installed, this will enable your brightness slider, and it should work without problems incrementing/decrementing brightness in 17 discrete brightness steps (16 + zero state), and this is the number of steps needed to enable the brightness keys, so they will work now! The final step is to enable Backlight after wake-up. The 1st gen HD graphics uses two special registers to achieve this, and the following will fix it for you: Search your DSDT for the method _WAK Add two lines to the beginning, so that it looks like this: Method (_WAK, 1, Serialized) { Store (0x80000000, LEVW) Store (0x13121312, LEVX) ... Voila! Happy to help you with your DSDT's if you have any problems! Report if it's worked! ACPIBacklight.kext.zip