DavidRocha Posted February 20, 2014 Share Posted February 20, 2014 I tested all the ids that have inside the kext and yet none worked, what am I doing wrong? io.tiff Link to comment Share on other sites More sharing options...
Zprood Posted February 20, 2014 Share Posted February 20, 2014 @TW, thank to mention about brightness info. i use the rehadman's default patch http://www.tonymacx86.com/hp-probook-mavericks/121031-native-brightness-working-without-blinkscreen-using-patched-applebacklight-kext.html. After remove the config.plist patch, install the patched kext from rehadman's script and dsdt. works well. But i still have 0 step as black, so i guess you mod the script, right ? One more thing, i found IOR's about backlight panel value isn't right, real mac has 0x400 max & 0x0 min, but i have 0x28 mac & 0xff min. Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 20, 2014 Author Share Posted February 20, 2014 You have two options here in regards to brightness. 1. To use native AppleBacklight kext with an injection of your panel (no need to use the kext his script produces, we have CustomPeripheral kext and we can use that). We have the info of all 3 displays found on Inspiron and Vostro.. so I've added them to CustomPeripheral injector (not sure about 02e9 display panel). 2. Use ACPIBacklight kext that allows you to have fluent and subtle transition between brightness levels like on real Mac .. but with our stupid WMI keyboard it's not really that subtle, still rough and jumpy, because driver takes time to process WMI packets before sending NX_BRIGHTNESS notifications to system. You can try both if you like .. I'm still debating on which approach to use.. The intel folder includes CustomPeripheral kext with injections for bluetooth and wireless for the AzureWave Broadcom card, the kext included in amd folder doesn't. If you need these injections on your amd machine just take them from intel kext. CustomPeripheral kexts in ACPIBacklight folder are just a roll back (to the one before you tried AppleBacklight) in case you forgot to back up the kext you had before. I've also included latest HWsensors (you need to replace everything)... Download: https://www.dropbox.com/s/p0dio2mck58t028/Fan%2BBrightness-Control-10.9.2.zip P.S. Forgot an important bit. In your config edit the 'HDMI+VGA+Brightness' patch (the start of the replace part from it) to 01020300 10070000 10070000 Link to comment Share on other sites More sharing options...
RehabMan Posted February 20, 2014 Share Posted February 20, 2014 @TW, thank to mention about brightness info. i use the rehadman's default patch http://www.tonymacx86.com/hp-probook-mavericks/121031-native-brightness-working-without-blinkscreen-using-patched-applebacklight-kext.html. After remove the config.plist patch, install the patched kext from rehadman's script and dsdt. works well. But i still have 0 step as black, so i guess you mod the script, right ? One more thing, i found IOR's about backlight panel value isn't right, real mac has 0x400 max & 0x0 min, but i have 0x28 mac & 0xff min. 0 step as black is 'by design'. It is the way Macs work. My Apple MacBookAir is the same. 1 Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 20, 2014 Author Share Posted February 20, 2014 I tested all the ids that have inside the kext and yet none worked, what am I doing wrong? are you changing the device ID ? from Unicode ("*"), to proper buffer ? Link to comment Share on other sites More sharing options...
DavidRocha Posted February 20, 2014 Share Posted February 20, 2014 Yes, I changed using the hex sequence, eg, id = 2B, I put Unicode = "+" or Buffer (0x04) {0x02B, 0x00, 0x00, 0x00} Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 20, 2014 Author Share Posted February 20, 2014 You are supposed to put a supported ID (like 30) to mimic that you have different ID, and not your ID.. this gives you nothing, unfortunately. http://pastie.org/pastes/8752785/text Link to comment Share on other sites More sharing options...
DavidRocha Posted February 20, 2014 Share Posted February 20, 2014 That's what I did, I tested with all these ids that have the kext (30, 2b, 2a, 1c, 23,24) Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 20, 2014 Author Share Posted February 20, 2014 Well, then clearly something is wrong with either your ACPI tables (not being injected properly) or your IO80211Family kext. Are you actually seeing the edits you make in IORegistry (like ID changing) ? Link to comment Share on other sites More sharing options...
DavidRocha Posted February 20, 2014 Share Posted February 20, 2014 I am so picking any changes, if necessary I can do everything and take the prints to look u! Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 20, 2014 Author Share Posted February 20, 2014 Just use the snippet with '30' from my previous post and post a copy of IOReg (version 2.x please, since 3.x produces bad files) Link to comment Share on other sites More sharing options...
DavidRocha Posted February 20, 2014 Share Posted February 20, 2014 Attached files with the wifi signal and ioreg. ioreg.zip wifi.tiff Link to comment Share on other sites More sharing options...
onastvar Posted February 21, 2014 Share Posted February 21, 2014 You need to boot without caches and with injected kexts. Your hard drive on the controller is not being detected. I've booted "without caches and with injected kexts" I still cannot boot into installer, I get the message: P-State Stepper Error 18 at step 35 in context 2 on CPU 0 Please see the screenshots from boot Anything else I should try? Link to comment Share on other sites More sharing options...
Zprood Posted February 21, 2014 Share Posted February 21, 2014 0 step as black is 'by design'. It is the way Macs work. My Apple MacBookAir is the same. thx, confirm 0 step is black. may get further test from TW's package. Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 21, 2014 Author Share Posted February 21, 2014 Attached files with the wifi signal and ioreg. I fail to see any issues, make sure your kexts are ok. P-State Stepper Error 18 at step 35 in context 2 on CPU 0 Anything else I should try? Remove my SSDT table for i3-2350M and enable P and C state generation in clovers config file: <key>ACPI</key> <dict> ….. <key>SSDT</key> <dict> <key>Generate</key> <dict> <key>PStates</key> <true/> <key>CStates</key> <true/> </dict> <key>C3Latency</key> <integer>250</integer> <key>EnableC2</key> <false/> <key>EnableC4</key> <false/> <key>EnableC6</key> <true/> <key>EnableC7</key> <true/> </dict> </dict> In regards to brightness - I've fixed the bug when it would reboot with display set at full brightness after you adjust backlight in OSX. For this we need RehabMan's ACPIBacklight with subtle level changes. I've noticed that after reset CBLV VGA register is being set with value 0x80000064 and when EC queries perform AND 0xFF on it the result is 0x64 - 100% brightness. I've added a table to check against and set CBLV to a value between stock 6% to 100% with 6% increments. This way laptop reboots with about the same brightness (in BIOS, Clover or Boot Manager) as you had in OSX. I left the '0' level as backlight off, since it's a feature 'by design' .. Files: https://www.dropbox.com/s/iwjhqh8tckl0n26/proper-backlight.zip Link to comment Share on other sites More sharing options...
DavidRocha Posted February 21, 2014 Share Posted February 21, 2014 Yes, they are ok! What I realized is that if I also remove the kext AppleRTL8169 the wired network does not work, it also was not meant to work only with placed injections in SSDT-2? Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 21, 2014 Author Share Posted February 21, 2014 So you are completely removing kexts and expect things to work? No comment there .. ACPI tables are not magical .. if there's not kernel extension for your hardware in the system it will not work. Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted February 21, 2014 Share Posted February 21, 2014 @timewalker75a which patch you used to get control and read speed of FAN my dsdt doesnt have EC device will this effect ? Link to comment Share on other sites More sharing options...
Zprood Posted February 21, 2014 Share Posted February 21, 2014 @TW, works well from latest acpibacklight as fan control. Edit: i find something in the kernel log: 2/21/14 9:35:19.000 PM kernel[0]: Unable to parse max RPM for fan 1 It seems that acpisensor has detect fan control as real FAN. Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 21, 2014 Author Share Posted February 21, 2014 @TW, works well from latest acpibacklight as fan control. Edit: i find something in the kernel log: 2/21/14 9:35:19.000 PM kernel[0]: Unable to parse max RPM for fan 1 It seems that acpisensor has detect fan control as real FAN. glad it works for amd models as well. kudos to RehabMan for finishing what hotKoffy started .. I've tried the kext ages ago (in early 2012) and it didn't work at all. fan 1 is actually the system fan, it doesn't know (and has no way to tell) what is the maxim rpm for it. fan0 is fake fan.. and i have no way to make it something else except a fake fan, so pay no attention to it. @timewalker75a which patch you used to get control and read speed of FAN my dsdt doesnt have EC device will this effect ? none. I deciphered what the embedded controller registers are and how to control the fan, then made my own acpi tables and control logic (except average temp part, that was borrowed from Rehab's). this won't affect because you can always add what's missing.. your laptop has to have an embedded controller and you can read all the data from it from RW Everything. 1 Link to comment Share on other sites More sharing options...
Zprood Posted February 21, 2014 Share Posted February 21, 2014 actually i learn os x from 2009, when hotKoffy create post, but i owned a laptop just has ten steps brightness, it is controlled by bios, also doesn't use WMI to control it. so there is no way know how to do it, a friend from chinese forum has a temporary idea, make 6 fake value to BCL, then it has 16 steps to adjust brightness. But the laptop is too old then i bought 14R instead. Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted February 21, 2014 Share Posted February 21, 2014 glad it works for amd models as well. kudos to RehabMan for finishing what hotKoffy started .. I've tried the kext ages ago (in early 2012) and it didn't work at all. fan 1 is actually the system fan, it doesn't know (and has no way to tell) what is the maxim rpm for it. fan0 is fake fan.. and i have no way to make it something else except a fake fan, so pay no attention to it. none. I deciphered what the embedded controller registers are and how to control the fan, then made my own acpi tables and control logic (except average temp part, that was borrowed from Rehab's). this won't affect because you can always add what's missing.. your laptop has to have an embedded controller and you can read all the data from it from RW Everything. i added yours SSDT-1 but it can't read values :/ Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 21, 2014 Author Share Posted February 21, 2014 i added yours SSDT-1 but it can't read values :/ Untitled.png Your firmware is not Tiano, but Aptio and chances are your EC is not an ITE IT8518E either .. so no wonder it doesn't read anything. 1 Link to comment Share on other sites More sharing options...
Mohamed Khairy Posted February 21, 2014 Share Posted February 21, 2014 so there is an easy solution to get fan reads ? Link to comment Share on other sites More sharing options...
TimeWalker75a Posted February 21, 2014 Author Share Posted February 21, 2014 Install Windows, install RW Everything, stare at your screen forever trying to understand what register shows fan speed... 1 Link to comment Share on other sites More sharing options...
Recommended Posts