Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

I tried using this guide but on executing the "make" command, I got the following error :

Code:
Siddharths-MacBook-Pro:guide.git siddharth$ make
iasl -vw 2095 -vw 2008 -vi -vs -p build/SSDT-ALS0.aml hotpatch/SSDT-ALS0.dsl
error    6092 - Could not open file "build/SSDT-ALS0.pre" (Preprocessor Output) - No such file or directory

make: *** [build/SSDT-ALS0.aml] Error 1

Here's the required Error Reporting logs and the files are attached.

Code:
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y acpiplat
   15    2 0xffffff7f82b0a000 0x9b000    0x9b000    com.apple.driver.AppleACPIPlatform (6.1) 13F84E88-67F0-3F37-8A76-E37DCA1595FB <14 12 11 7 6 5 4 3 1>
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y appleintelcpu
   31    0 0xffffff7f82645000 0x2a000    0x2a000    com.apple.driver.AppleIntelCPUPowerManagement (220.0.0) 706B8B51-EB45-38A3-8E9D-CD8A4C3F9E0A <7 6 5 4 3 1>
   43    0 0xffffff7f82640000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (220.0.0) 931165F8-BA12-3CBF-9987-2DD9B5FF9AFA <7 6 5 4 3 1>
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y applelpc
  100    0 0xffffff7f82467000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 6508B7E7-548A-3FCA-8596-423CADE0F611 <90 12 5 4 3>
Siddharths-MacBook-Pro:RehabMan siddharth$ kextstat|grep -y applehda
  106    1 0xffffff7f826fd000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (280.12) 2DBFE83E-EC40-3F23-A029-7FF8768159B6 <105 103 88 12 7 6 5 4 3 1>
  130    0 0xffffff7f8287b000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) FFFC6092-8B49-3F30-B756-A01EA4C78C54 <129 106 105 103 93 88 6 5 4 3 1>

Code:
Siddharths-MacBook-Pro:RehabMan siddharth$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd00a4e51c0 [0x7fffa6f00830]> { URL = "IOath3kfrmwr.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.IOath3kfrmwr" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fd00a3cdf80 [0x7fffa6f00830]> { URL = "AtherosWiFiInjector.kext/ -- file:///System/Library/Extensions/", ID = "com.nawcom.plist.AtherosWifFiInjector" }
Kext with invalid signatured (-67030) allowed: <OSKext 0x7fd00a032eb0 [0x7fffa6f00830]> { URL = "AppleIntelHDGraphicsFB.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.driver.AppleIntelHDGraphicsFB" }
KernelCache ID: 856DA08725B3055DFE0FE883AFE4D3A2

(Using High Sierra PB1 BTW)

Looks like you probably (mistakenly) removed the build directory (~/Projects/guide.git/build)
The build/readme.txt is there for a reason.
Start over with a fresh copy of the repo.
 
I didn't remove it.. Just to be sure, I deleted the previous copy of the repo and re-cloned it but I still get the same error. The contents of ~/Projects/guide.git/build are in the screenshot attached.
 

Attachments

  • Screen Shot 2017-07-13 at 8.36.16 PM.png
    Screen Shot 2017-07-13 at 8.36.16 PM.png
    445.3 KB · Views: 106
I didn't remove it.. Just to be sure, I deleted the previous copy of the repo and re-cloned it but I still get the same error. The contents of ~/Projects/guide.git/build are in the screenshot attached.

Attach complete ~/Projects/guide.git as ZIP.
 
I had no problem using 'make' here with that guide.git.
Perhaps you created a case sensitive file system? (note 'Build' vs. 'build').
That's right. I'm using a case sensitive FS. What to do now?
 
That's right. I'm using a case sensitive FS. What to do now?

Using case sensitive file system is asking for trouble...

Terminal:
Code:
cd ~/Projects/guide.git
git mv Build/readme.txt build/readme.txt
make
 
Using case sensitive file system is asking for trouble...

Terminal:
Code:
cd ~/Projects/guide.git
git mv Build/readme.txt build/readme.txt
make
Okay so that worked and I followed all your steps correctly but the AppleBacklightInjector doesn't seem to load up. Here's the required terminal output and the files are in a zip.

Code:
Siddharths-MacBook-Pro:~ siddharth$ kextstat|grep -y acpiplat
   15    2 0xffffff7f82b0a000 0x9b000    0x9b000    com.apple.driver.AppleACPIPlatform (6.1) 13F84E88-67F0-3F37-8A76-E37DCA1595FB <14 12 11 7 6 5 4 3 1>
Siddharths-MacBook-Pro:~ siddharth$ kextstat|grep -y appleintelcpu
   31    0 0xffffff7f82645000 0x2a000    0x2a000    com.apple.driver.AppleIntelCPUPowerManagement (220.0.0) 706B8B51-EB45-38A3-8E9D-CD8A4C3F9E0A <7 6 5 4 3 1>
   43    0 0xffffff7f82640000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (220.0.0) 931165F8-BA12-3CBF-9987-2DD9B5FF9AFA <7 6 5 4 3 1>
Siddharths-MacBook-Pro:~ siddharth$ kextstat|grep -y applelpc
  100    0 0xffffff7f82467000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 6508B7E7-548A-3FCA-8596-423CADE0F611 <97 12 5 4 3>
Siddharths-MacBook-Pro:~ siddharth$ kextstat|grep -y applehda
  106    1 0xffffff7f826fd000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (280.12) 2DBFE83E-EC40-3F23-A029-7FF8768159B6 <105 103 89 12 7 6 5 4 3 1>
  133    0 0xffffff7f8287b000 0xb7000    0xb7000    com.apple.driver.AppleHDA (280.12) FFFC6092-8B49-3F30-B756-A01EA4C78C54 <132 106 105 103 94 89 6 5 4 3 1>

Code:
Siddharths-MacBook-Pro:~ siddharth$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdd98002780 [0x7fffacf3e830]> { URL = "AppleBacklightInjector.kext/ -- file:///Library/Extensions/", ID = "org.rehabman.injector.AppleBacklightInjector" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdd97367350 [0x7fffacf3e830]> { URL = "IOath3kfrmwr.kext/ -- file:///System/Library/Extensions/", ID = "org.rehabman.driver.IOath3kfrmwr" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7fdd9742af30 [0x7fffacf3e830]> { URL = "AtherosWiFiInjector.kext/ -- file:///System/Library/Extensions/", ID = "com.nawcom.plist.AtherosWifFiInjector" }
Kext with invalid signatured (-67030) allowed: <OSKext 0x7fdd955cdcf0 [0x7fffacf3e830]> { URL = "AppleIntelHDGraphicsFB.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.driver.AppleIntelHDGraphicsFB" }
KernelCache ID: 2C85B0E745C6D8D02038EFBC9CDBF3BC
 

Attachments

  • Required Stuff.zip
    3.7 MB · Views: 70
Back
Top