Jump to content

redracer68

Members
  • Content count

    11
  • Joined

  • Last visited

About redracer68

  • Rank
    InsanelyMac Protégé
  1. SUCCESS! After using ALL of my free time for the past two weeks and going nearly insane, I discovered my _WAK method was full of useless stuff. Following Felix Chan and MNorthern's work HERE, I cleared out my _WAK method and entered the following. 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 }) } And also added the following operation regions just before Scope _SB OperationRegion (BRIT, SystemMemory, 0xF2048254, 0x04) Field (BRIT, AnyAcc, Lock, Preserve) { LEVL, 32 } OperationRegion (BRI2, SystemMemory, 0xF2048250, 0x04) Field (BRI2, AnyAcc, Lock, Preserve) { LEV2, 32 } OperationRegion (BRI3, SystemMemory, 0xF20C8250, 0x04) Field (BRI3, AnyAcc, Lock, Preserve) { LEVW, 32 } OperationRegion (BRI4, SystemMemory, 0xF20C8254, 0x04) Field (BRI4, AnyAcc, Lock, Preserve) { LEVX, 32 } After that it wakes from sleep with the previous brightness as it should!!!! And all of that without additional kexts. Now I just need the slider in system prefs and the sun bezel when changing the brightness with fn+Home (Brightness up) and fn+end (Brightness down) Thank you for all of the help!
  2. I spent a few hours last night trying to clear some things up to make the path a little easier for us to make some progress... First, I completely removed all devices under _SB.PCI0.VID so that there is ONLY LCD0. Then I added the following into _SB.PCI0.VID and it shows in about my mac as GMA4500 now. So I'm positive the used one is the SB.PCI0.VID.LCD0! Method (_DSM, 4, NotSerialized) { Store (Package (0x08) { "device_type", Buffer (0x08) { "display" }, "model", Buffer (0x0E) { "Intel GMA4500" }, "AAPL,HasPanel", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 }, "AAPL,backlight-control", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 } }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } And looking into things a little deeper. I don't think it was saying the second device in VID... When it says VID@2, looking in my DSDT the address for VID is saying this. Name (_ADR, 0x00020000)! I think I'm learning this pretty well thanks to your help! Attaching my latest version of DSDT if you want to have a look. Still no backlight after wake though And I just may have noticed something important to this! According to this. Some of the posts reference the BCL method of the LCD. It's supposed to have a lot more than I have. http://www.insanelymac.com/forum/topic/268219-acpi-backlight-driver/page-2 dsdt.aml.zip
  3. I tried something different this time. I completely removed the CRT device from the DSDT. No problems But still the same issue. Could we look at the part dealing with display sleep? That works just fine, I set it to put the display to sleep at 1 minute and it does. I click the mouse and it wakes the display instantly.
  4. Unfortunately still the same. I still have an ACPIbacklight.kext in the system from another thread.. Going to try without that guy in there real quick as well. Confirmed. Only thing that changed removing that kext was that I lost the slider in system preferences.
  5. Edited to add the file too. | +-o PCI0@0 <class IOACPIPlatformDevice, id 0x100000142, registered, matc$ | | +-o AppleACPIPCI <class AppleACPIPCI, id 0x1000001cd, registered, matc$ | | +-o pci8086,44@0 <class IOPCIDevice, id 0x1000001e6, registered, mat$ | | | +-o AppleSMCPDRC <class AppleSMCPDRC, id 0x10000026e, registered, $ | | +-o VID@2 <class IOPCIDevice, id 0x10000018a, registered, matched, a$ | | | +-o AppleIntelHDGraphicsFB <class AppleIntelHDGraphicsFB, id 0x100$ | | | +-o AppleIntelFramebuffer <class AppleIntelFramebuffer, id 0x10000$ | | | | +-o AppleMCCSControlModule <class AppleMCCSControlModule, id 0x1$ | | | | | +-o AppleMCCSParameterHandler <class AppleMCCSParameterHandler$ | | | | +-o AGPM <class AGPM, id 0x1000002a7, registered, matched, activ$ | | | | | +-o gpu-control <class IOService, id 0x1000002a8, registered, $ | | | | | +-o IOHWControl <class IOHWControl, id 0x1000002ce, register$ | | | | +-o IOFramebufferI2CInterface <class IOFramebufferI2CInterface, $ | | | | +-o display0 <class IODisplayConnect, id 0x1000002c5, registered$ | | | | | +-o AppleBacklightDisplay <class AppleBacklightDisplay, id 0x1$ dump.txt
  6. I tried using the following, sadly no different. Just noticed you wanted a different IOreg than what I gave. Working on it now. \_SB.PCI0.PEG.VID.LCD0._DSS (0xC0000001) Notify (\_SB.PCI0.PEG.VID.LCD0, 0x88) \_SB.PCI0.PEG.VID.LCD0._BCM (0x32)
  7. OK, I'm attaching the IOREG before and after sleep. (Was weird to do with a flashlight at the screen lol) I'll see if I can narrow down if it's the other device that needs to be used as well. Thank you so much for helping me. IOREG.zip
  8. I found what the compile error was. Part of windows management instrumentation and it's unneeded. I removed those and now it recompiles without error. I was able to enter the above into _WAK and it did not act as expected. But I did notice there is more than one WAK, there is SWAK, BWAK, GWAK and so on. Is that normal? I've attached a newer version of my DSDT without any compile errors or warnings if you want to take a look. Also if it helps I can get some more information for you from it. Anything at all. Thanks so much for your help so far! **Edited because I forgot the attachment. dsdt.aml.zip
  9. Would you be able to help me out with my DSDT? I have a Lenovo X201 with Everything working EXCEPT for this backlight problem. However, things in my DSDT are set up a little differently and I can't quite make sense of it as I don't have too much DSDT practice. Attaching my DSDT just in case. I have a standing offer of 20 dollars paypal donation for whomever can help me get it working in another thread. I've looked around and it seems like my backlight isn't getting the wake signal sent to is by the DSDT though. Here's one of my threads. http://forum.osxlatitude.com/index.php?/topic/5695-backlight-on-wake-should-be-easy-please-help/
  10. GMA 4500 Wake Function and Backlight - Very Close!

    Just in case someone actually looks at this. I've grabbed the IOReg values from before and after sleep. They are named, of course, Before sleep and after sleep. Someone please help. 20 dollars paypal donation to whoever finishes this off! IOReg.zip
  11. Hey guys, I have a problem with backlight on WAKE. Sleep works perfectly as it should. It goes to sleep, the sleep icon on the lid flashes and goes solid, then I get a bios beep. PERFECT. HERE'S the problem, when I wake the laptop. Whether by lifting the lid or Pressing the power button, the computer fully wakes! EXCEPT the display backlight. I can shine a flashlight on it and everything is working just fine and as it should. So I just shut it down and power it back up. I've given more than a few days on this. I'm sure it's something simple at this point that I am missing. I've done a few of my own edits to this DSDT. Here's my hardware. Lenovo x201 (i5-530m /2.53 Ghz) HERE. Intel 320 SSD Working OSX 10.9 Mavericks Atheros Ar5b95 wireless WORKING (Standard intel card is not compatible) All parts are fully functional thanks to Leon's posts and the OSXlatitude EDP. (Which is amazing btw) I just need some serious help and this laptop will qualify itself to be my daily use OSX machine! Hopefully someone can point me in the right direction on this please. I'm attaching my Extra folder with DSDT as well if someone wants to take a look. I know my Graphics BAR1 Register is 0xF000004 I've grabbed the system logs at the time of sleep and wake just in case they are requested. Clicked sleep from the apple menu at 14:32:00. Pressed the power button to wake at 14:34:00. The unknown locale errors are from the atheros wifi card and I'm sure that's not a problem. It literally wakes the instant you press the button. (SSD) But still no backlight. Nov 4 14:32:01 jonathans-mbp.company.local WindowServer[85]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff Nov 4 14:32:01 jonathans-mbp.company.local loginwindow[57]: find_shared_window: WID -1 Nov 4 14:32:01 jonathans-mbp.company.local loginwindow[57]: CGSGetWindowTags: Invalid window 0xffffffff Nov 4 14:32:01 jonathans-mbp.company.local loginwindow[57]: find_shared_window: WID -1 Nov 4 14:32:01 jonathans-mbp.company.local loginwindow[57]: CGSSetWindowTags: Invalid window 0xffffffff Nov 4 14:32:01 jonathans-mbp.company.local WindowServer[85]: device_generate_desktop_screenshot: authw 0x7fd8d4d5edf0(2000), shield 0x7fd8d4d23e80(2001) Nov 4 14:32:01 jonathans-mbp.company.local WindowServer[85]: device_generate_lock_screen_screenshot: authw 0x7fd8d4d5edf0(2000), shield 0x7fd8d4d23e80(2001) Nov 4 14:32:10 jonathans-mbp.company.local loginwindow[57]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. Nov 4 14:32:20 jonathans-mbp kernel[0]: 3392.025317: performCountryCodeOperation: Not connected, scan in progress[0] Nov 4 14:32:20 jonathans-mbp kernel[0]: hibernate image path: /var/vm/sleepimage Nov 4 14:32:20 jonathans-mbp kernel[0]: efi pagecount 304 Nov 4 14:32:20 jonathans-mbp kernel[0]: hibernate_page_list_setall(preflight 1) start 0xffffff8067897000, 0xffffff80678b6000 Nov 4 14:32:20 jonathans-mbp kernel[0]: hibernate_page_list_setall time: 206 ms Nov 4 14:32:20 jonathans-mbp kernel[0]: pages 644120, wire 146988, act 222614, inact 8054, cleaned 0 spec 203, zf 5429, throt 0, compr 0, xpmapped 0 Nov 4 14:32:20 jonathans-mbp kernel[0]: could discard act 53418 inact 54256 purgeable 10355 spec 142803 cleaned 0 Nov 4 14:32:20 jonathans-mbp kernel[0]: hibernate_page_list_setall preflight pageCount 383288 est comp 50 setfile 828442440 min 2147483648 Nov 4 14:32:20 jonathans-mbp kernel[0]: [0x36481a000, 0x40000000] Nov 4 14:32:20 jonathans-mbp kernel[0]: [0x3a481a000, 0x40000000] Nov 4 14:32:20 jonathans-mbp kernel[0]: [0x0, 0x0] Nov 4 14:32:20 jonathans-mbp kernel[0]: kern_open_file_for_direct_io(0) took 1 ms Nov 4 14:32:20 jonathans-mbp kernel[0]: Opened file /var/vm/sleepimage, size 2147483648, partition base 0x0, maxio 2000000 ssd 1 Nov 4 14:32:20 jonathans-mbp kernel[0]: hibernate image major 1, minor 0, blocksize 4096, pollers 5 Nov 4 14:32:20 jonathans-mbp kernel[0]: hibernate_alloc_pages act 286387, inact 67739, anon 7094, throt 0, spec 143009, wire 165432, wireinit 49534 Nov 4 14:32:20 jonathans-mbp kernel[0]: hibernate_setup(0) took 10 ms Nov 4 14:32:20 jonathans-mbp kernel[0]: 3392.301477: setDISASSOC from ATH_INTERFACE_CLASS disconnectVap Nov 4 14:34:02 jonathans-mbp kernel[0]: hibernate_page_list_setall(preflight 0) start 0xffffff8067897000, 0xffffff80678b6000 Nov 4 14:34:02 jonathans-mbp kernel[0]: hibernate_page_list_setall time: 216 ms Nov 4 14:34:02 jonathans-mbp kernel[0]: pages 643507, wire 146317, act 222669, inact 8054, cleaned 0 spec 207, zf 5437, throt 0, compr 0, xpmapped 34300 Nov 4 14:34:02 jonathans-mbp kernel[0]: could discard act 53418 inact 54248 purgeable 10355 spec 142802 cleaned 0 Nov 4 14:34:02 jonathans-mbp kernel[0]: hibernate_page_list_setall found pageCount 382684 Nov 4 14:34:02 jonathans-mbp kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0 Nov 4 14:34:02 jonathans-mbp kernel[0]: IOHibernatePollerOpen(0) Nov 4 14:34:02 jonathans-mbp kernel[0]: encryptStart 14010 Nov 4 14:34:02 jonathans-mbp kernel[0]: bitmap_size 0x1e748, previewSize 0x7afd68, writing 380570 pages @ 0x7e24c0 Nov 4 14:34:02 jonathans-mbp kernel[0]: encryptEnd 821dc00 Nov 4 14:34:02 jonathans-mbp kernel[0]: image1Size 0xb5fc000, encryptStart1 0x14010, End1 0x821dc00 Nov 4 14:34:02 jonathans-mbp kernel[0]: encryptStart b5fc000 Nov 4 14:34:02 jonathans-mbp kernel[0]: encryptEnd 28f76a00 Nov 4 14:34:02 jonathans-mbp kernel[0]: PMStats: Hibernate write took 7285 ms Nov 4 14:34:02 jonathans-mbp kernel[0]: all time: 7285 ms, comp bytes: 1558814720 time: 1727 ms 860 Mb/s, crypt bytes: 632833520 time: 1091 ms 552 Mb/s, Nov 4 14:34:02 jonathans-mbp kernel[0]: image 687304704 (32%), uncompressed 1558814720 (380570), compressed 676191856 (43%), sum1 43c82014, sum2 4ec78a85 Nov 4 14:34:02 jonathans-mbp kernel[0]: zeroPageCount 39391, wiredPagesEncrypted 106195, wiredPagesClear 38008, dirtyPagesEncrypted 236367 Nov 4 14:34:02 jonathans-mbp kernel[0]: hibernate_write_image done(0) Nov 4 14:34:02 jonathans-mbp kernel[0]: sleep Nov 4 14:34:02 jonathans-mbp kernel[0]: Wake reason = power-button Nov 4 14:34:02 jonathans-mbp kernel[0]: 3400.074762: performCountryCodeOperation: Not connected, scan in progress[0] Nov 4 14:34:02 jonathans-mbp kernel[0]: RTC: PowerByCalendarDate setting ignored Nov 4 14:34:02 jonathans-mbp kernel[0]: No interval found for . Using 8000000 Nov 4 14:34:02 jonathans-mbp kernel[0]: Previous Sleep Cause: 5 Nov 4 14:34:02 jonathans-mbp kernel[0]: USBF: 3400.106 AppleUSBEHCI: setPowerState - PCI device still has PME status bit set. PMCSR is 0x8000 Nov 4 14:34:02 jonathans-mbp kernel[0]: The USB device HubDevice (Port 1 of Hub at 0x1d000000) may have caused a wake by issuing a remote wakeup (2) Nov 4 14:34:02 jonathans-mbp kernel[0]: 3400.205242: ATHR: unknown locale: 69 Nov 4 14:34:02 jonathans-mbp.company.local WindowServer[85]: CGXDisplayDidWakeNotification [3400226562240]: posting kCGSDisplayDidWake Nov 4 14:34:02 jonathans-mbp.company.local WindowServer[85]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7fd8d4d5edf0(2004) (lock state: 3) Nov 4 14:34:02 jonathans-mbp.company.local WindowServer[85]: handle_will_sleep_auth_and_shield_windows: err 0x0 Nov 4 14:34:02 jonathans-mbp kernel[0]: en1: 802.11d country code set to 'US '. Nov 4 14:34:02 jonathans-mbp kernel[0]: 3400.251988: ATHR: unknown locale: 69 Nov 4 14:34:02 jonathans-mbp kernel[0]: en1: Supported channels 1 2 3 4 5 6 7 8 9 10 11 Nov 4 14:34:02 jonathans-mbp kernel[0]: 3400.270883: ATHR: unknown locale: 69 Nov 4 14:34:02 jonathans-mbp kernel[0]: No interval found for . Using 8000000 Nov 4 14:34:02 --- last message repeated 1 time --- Nov 4 14:34:02 jonathans-mbp kernel[0]: 3400.870240: ATHR: unknown locale: 69 Nov 4 14:34:03 jonathans-mbp kernel[0]: 3401.572801: ATHR: unknown locale: 69 Nov 4 14:34:04 jonathans-mbp kernel[0]: 3402.202371: ATHR: unknown locale: 69 Nov 4 14:34:05 jonathans-mbp kernel[0]: AppleIntelE1000e(Info): Link is Up 1000 Mbps Full Duplex, Flow Control: Rx Nov 4 14:34:05 jonathans-mbp.company.local configd[19]: LINKLOCAL en0: parent has no IP Nov 4 14:34:05 Jonathans-MacBook-Pro.local configd[19]: setting hostname to "Jonathans-MacBook-Pro.local" Nov 4 14:34:05 Jonathans-MacBook-Pro.local configd[19]: network changed: v4(en0-:10.1.0.124) DNS- Proxy- SMB- Nov 4 14:34:05 Jonathans-MacBook-Pro.local netbiosd[136]: network_reachability_changed : network is not reachable, netbiosd is shutting down Nov 4 14:34:06 Jonathans-MacBook-Pro.local configd[19]: network changed: v4(en0+:10.1.0.124) DNS+ Proxy+ SMB+ Nov 4 14:34:06 jonathans-mbp.company.local configd[19]: setting hostname to "jonathans-mbp.company.local" Nov 4 14:34:08 jonathans-mbp kernel[0]: 3406.350216: ATHR: unknown locale: 69 Nov 4 14:34:09 jonathans-mbp kernel[0]: 3407.842584: ATHR: unknown locale: 69 Nov 4 14:34:09 jonathans-mbp kernel[0]: 3407.861601: ATHR: unknown locale: 69 Nov 4 14:34:10 jonathans-mbp kernel[0]: 3408.505227: ATHR: unknown locale: 69 Nov 4 14:34:11 jonathans-mbp kernel[0]: 3409.138247: ATHR: unknown locale: 69 Nov 4 14:34:11 jonathans-mbp kernel[0]: 3409.152295: ATHR: unknown locale: 69 Nov 4 14:34:11 jonathans-mbp kernel[0]: 3409.793538: ATHR: unknown locale: 69 Nov 4 14:34:12 jonathans-mbp kernel[0]: 3410.427117: ATHR: unknown locale: 69 Nov 4 14:34:12 jonathans-mbp kernel[0]: 3411.059274: ATHR: unknown locale: 69 Nov 4 14:34:19 jonathans-mbp kernel[0]: 3417.487304: ATHR: unknown locale: 69 Nov 4 14:34:19 jonathans-mbp kernel[0]: 3417.502641: ATHR: unknown locale: 69 Nov 4 14:34:20 jonathans-mbp kernel[0]: 3418.133893: ATHR: unknown locale: 69 Nov 4 14:34:20 jonathans-mbp kernel[0]: 3418.766054: ATHR: unknown locale: 69 Nov 4 14:34:20 jonathans-mbp kernel[0]: 3418.779146: ATHR: unknown locale: 69 Nov 4 14:34:32 jonathans-mbp.company.local WindowServer[85]: device_generate_desktop_screenshot: authw 0x7fd8d4d5edf0(2000), shield 0x7fd8d4d23e80(2001) Nov 4 14:34:32 jonathans-mbp.company.local WindowServer[85]: device_generate_lock_screen_screenshot: authw 0x7fd8d4d5edf0(2000), shield 0x7fd8d4d23e80(2001) Nov 4 14:34:46 jonathans-mbp.company.local loginwindow[57]: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. Nov 4 14:34:53 jonathans-mbp.company.local loginwindow[57]: ERROR | -[LWBuiltInScreenLockAuthLion askForPasswordBuiltIn:] | Attempted to add an observer when already observing Nov 4 14:34:53 jonathans-mbp.company.local WindowServer[85]: CGXDisplayDidWakeNotification [3452061928414]: posting kCGSDisplayDidWake Nov 4 14:34:53 jonathans-mbp.company.local WindowServer[85]: handle_will_sleep_auth_and_shield_windows: Deferring. Nov 4 14:35:02 jonathans-mbp com.apple.launchd.peruser.501[145] (com.apple.PackageKit.InstallStatus): Throttling respawn: Will start in 9 seconds Extra.zip
×