sot_22 Posted April 5, 2017 Share Posted April 5, 2017 i have it that way already but no change to brightness before sleep Link to comment Share on other sites More sharing options...
sot_22 Posted April 5, 2017 Share Posted April 5, 2017 x220 type 4291 with normal lcd display not ips Created AppleBacklightInjector.kext for DisplayID: F10T106c Link to comment Share on other sites More sharing options...
sot_22 Posted April 5, 2017 Share Posted April 5, 2017 yes all is perfect but brightness before sleep , maybe it has to do with PNLF or something in the dsdt , but i change it like yours now and still the same. the only thing i see different in dsdt is that you have the "fix - set OS to WIN7" i dont have that , i have an old method Windows 2001 Link to comment Share on other sites More sharing options...
sot_22 Posted April 5, 2017 Share Posted April 5, 2017 i don't know why but i removed the vga kext patch from clover and made again AppleBacklightInjector.kext with the Rehabman script, and now the brightness works as it should before and after sleep (in clover i have display fix and PNLF fix enable). Link to comment Share on other sites More sharing options...
sot_22 Posted April 7, 2017 Share Posted April 7, 2017 hello @tluck, can you provide Clover r4052 installer? to install the clover scripts on hdd because they are missing from the zip, thank you! Link to comment Share on other sites More sharing options...
tluck Posted April 7, 2017 Share Posted April 7, 2017 @sot_22 you can get the full clover installer here: https://sourceforge.net/projects/cloverefiboot/ you can install what you need on the OS side from this package. just backup and restore anything that gets clobbered in the ESP. i do build a custom Clover installer and keep up to date on a daily basis if really needed 1 Link to comment Share on other sites More sharing options...
POWerSUrgeSW3 Posted April 7, 2017 Share Posted April 7, 2017 @sot_22 you can get the full clover installer here: https://sourceforge.net/projects/cloverefiboot/ you can install what you need on the OS side from this package. just backup and restore anything that gets clobbered in the ESP. i do build a custom Clover installer and keep up to date on a daily basis if really needed For whatever reason I couldn't get your link to work... Just posting the link I found for Clover https://sourceforge.net/projects/cloverefiboot/?source=directory Sent from my SM-G930P using Tapatalk Link to comment Share on other sites More sharing options...
sot_22 Posted April 8, 2017 Share Posted April 8, 2017 thx guys with all this information the upgrade from yosemite to sierra was very easy Link to comment Share on other sites More sharing options...
jenyunhuang Posted April 14, 2017 Share Posted April 14, 2017 on Brightness: IntelBacklight.kext as is, doesn't work with 10.12.4 - it is not a DSDT issue. So I included a customized version of RehabMan's AppleBacklightInjector script in the Utilities Folder. This script will allow you match the Brightness Profile (levels) for your panel and to max levels set in the Framebuffer - which is 0x1312 = 4882. Th x220 is HD 3000 Gfx same as T420, so use T420 as the input argument. this should provide full brightness range. @tluck I am using the new kext pack (T420_UEFI-Clover-b4052_10.11_10.12-2017-04-03.zip) on 10.12.3. Remove the intelBacklight.kext. then reboot. But the screen brightness on level 1 is too high. Level 0 is dark (this is normal). I think maybe need upgrade system to 10.12.4 So when upgrade to 10.12.4. The screen brightness is still too high. Have any suggestion. Thank Link to comment Share on other sites More sharing options...
tluck Posted April 14, 2017 Share Posted April 14, 2017 did you create and install the AppleBacklightInjector after removing IntelBacklight? Link to comment Share on other sites More sharing options...
jenyunhuang Posted April 14, 2017 Share Posted April 14, 2017 did you create and install the AppleBacklightInjector after removing IntelBacklight? Yes, I have try to used the kext pack inside or recreate the AppleBacklightInjector.kext. And remove the intelbacklight.kext before copy AppleBacklightInjector.kext to EFI I mean, used AppleBacklightInjector.kext, the screen brightness can adjust. But the same level, screen brightness is much high then for used intelbacklight.kext. Level 7 for intelbacklight.kext and level 1 for AppleBacklightInjector.kext. The issue is same. Screen brightness too high. Link to comment Share on other sites More sharing options...
tluck Posted April 14, 2017 Share Posted April 14, 2017 @jenyunhuang hmm. can you run some commands like below ioreg -l | grep ApplePanel ioreg -l | grep yEDID for the last three: 1) put max brightness (16 bars), then run "ioreg | grep -i linear-" 2) put middle brightness (8 bars), then run "ioreg | grep -i linear-" 3) put min brightness (1 bar) , then run "ioreg | grep -i linear-" tluck@Toms-Mac ~ $ ioreg -l|grep ApplePanel | | | "ApplePanelRawBrightness" = 4882 | | "ApplePanel" = {"F10T02e2"=<00110000008c00d80136018f01fe02a3034503e704c70535075a091c0b130d9b10591312>} tluck@Toms-Mac ~ $ ioreg -l|grep yEDID | | | | | "IODisplayEDID" = <00ffffffffffff0030e4e2020000000001140103801f1178ea33859956559127175054000000010101010101010101010101010101018025408060841a303020350036ae10000018000000000000000000000000000000000000000000fe004c656e6f766f0a202020202020000000fe0031363030783930300a2020202000a5> tluck@Toms-Mac ~ $ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=4882},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=65536},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=1024},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=4882},"linear-brightness"={"min"=0,"max"=4882,"value"=4882},"brightness"={"max"=1024,"min"=0,"value"=1024},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=140,"max"=4882,"value"=4882}} tluck@Toms-Mac ~ $ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=999},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=65536},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=512},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=4882},"linear-brightness"={"min"=0,"max"=4882,"value"=999},"brightness"={"max"=1024,"min"=0,"value"=512},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=140,"max"=4882,"value"=999}} tluck@Toms-Mac ~ $ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=140},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=65536},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=64},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=4882},"linear-brightness"={"min"=0,"max"=4882,"value"=140},"brightness"={"max"=1024,"min"=0,"value"=64},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=140,"max"=4882,"value"=140}} Link to comment Share on other sites More sharing options...
jenyunhuang Posted April 14, 2017 Share Posted April 14, 2017 @jenyunhuang hmm. can you run some commands like below ioreg -l | grep ApplePanel ioreg -l | grep yEDID for the last three: 1) put max brightness (16 bars), then run "ioreg | grep -i linear-" 2) put middle brightness (8 bars), then run "ioreg | grep -i linear-" 3) put min brightness (1 bar) , then run "ioreg | grep -i linear-" tluck@Toms-Mac ~ $ ioreg -l|grep ApplePanel | | | "ApplePanelRawBrightness" = 4882 | | "ApplePanel" = {"F10T02e2"=<00110000008c00d80136018f01fe02a3034503e704c70535075a091c0b130d9b10591312>} tluck@Toms-Mac ~ $ ioreg -l|grep yEDID | | | | | "IODisplayEDID" = <00ffffffffffff0030e4e2020000000001140103801f1178ea33859956559127175054000000010101010101010101010101010101018025408060841a303020350036ae10000018000000000000000000000000000000000000000000fe004c656e6f766f0a202020202020000000fe0031363030783930300a2020202000a5> tluck@Toms-Mac ~ $ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=4882},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=65536},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=1024},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=4882},"linear-brightness"={"min"=0,"max"=4882,"value"=4882},"brightness"={"max"=1024,"min"=0,"value"=1024},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=140,"max"=4882,"value"=4882}} tluck@Toms-Mac ~ $ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=999},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=65536},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=512},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=4882},"linear-brightness"={"min"=0,"max"=4882,"value"=999},"brightness"={"max"=1024,"min"=0,"value"=512},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=140,"max"=4882,"value"=999}} tluck@Toms-Mac ~ $ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=140},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=65536},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=64},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=4882},"linear-brightness"={"min"=0,"max"=4882,"value"=140},"brightness"={"max"=1024,"min"=0,"value"=64},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=140,"max"=4882,"value"=140}} Last login: Fri Apr 14 20:21:52 on ttys000 T420s2123:~ jyhuang$ ioreg -l | grep ApplePanel | | | "ApplePanelRawBrightness" = 4882 | | "ApplePanel" = {"Default"=<000007400af7fffe>} T420s2123:~ jyhuang$ ioreg -l | grep yEDID | | | | | "IODisplayEDID" = <00ffffffffffff0030e4e2020000000001140103801f1178e233859956559127175054000000010101010101010101010101010101018025408060841a303020350036ae10000018000000000000000000000000000000000000000000fe004c656e6f766f0a202020202020000000fe0031363030783930300a2020202000ad> T420s2123:~ jyhuang$ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=4882},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=0},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=1024},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=1220},"linear-brightness"={"min"=0,"max"=4882,"value"=4882},"brightness"={"max"=1024,"min"=0,"value"=1024},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=1220,"max"=4882,"value"=4882}} T420s2123:~ jyhuang$ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=2438},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=0},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=512},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=1220},"linear-brightness"={"min"=0,"max"=4882,"value"=2836},"brightness"={"max"=1024,"min"=0,"value"=658},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=1220,"max"=4882,"value"=2836}} T420s2123:~ jyhuang$ ioreg -l|grep linear- | | | | | "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4882,"value"=1220},"ggsc"={"min"=0,"max"=65536,"value"=65536},"gsc "={"min"=0,"max"=65536,"value"=0},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=64},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=1220},"linear-brightness"={"min"=0,"max"=4882,"value"=1419},"brightness"={"max"=1024,"min"=0,"value"=138},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=1220,"max"=4882,"value"=1419}} T420s2123:~ jyhuang$ Is my dsdt.aml or config.plist different with your? Link to comment Share on other sites More sharing options...
tluck Posted April 14, 2017 Share Posted April 14, 2017 i dont think the AppleBacklightLightInjector is working for you? is it in /Library/Extensions? because i see this: "ApplePanel" = {"Default"=<000007400af7fffe>} your EDID is the same make model 30e4 e202 Link to comment Share on other sites More sharing options...
jenyunhuang Posted April 14, 2017 Share Posted April 14, 2017 i dont think the AppleBacklightLightInjector is working for you? is it in /Library/Extensions? because i see this: "ApplePanel" = {"Default"=<000007400af7fffe>} your EDID is the same make model 30e4 e202 Sorry, is my mistake. Put the AppleBacklightLightInjector.kext to L/E. The screen brightness is ok. Thank Link to comment Share on other sites More sharing options...
Zandig Posted April 14, 2017 Share Posted April 14, 2017 I just tried the latest Clover r4061, but it results in a black screen. I guess because of these commits ? https://sourceforge.net/p/cloverefiboot/code/4058/ https://sourceforge.net/p/cloverefiboot/code/4059/ Link to comment Share on other sites More sharing options...
tluck Posted April 14, 2017 Share Posted April 14, 2017 (edited) yup. The last working version is 4058 ... and I am working with the devs on the problem(s) - fix should in the works. And going forward will require a slight change in the config.plist for the Graphics section: for 1600x900 will look like this: <key>Graphics</key> <dict> <key>EDID</key> <dict> <key>Comment</key> <string>LCD 1600x900</string> <key>Custom</key> <data> AP///////wAw5OICAAAAAAEUAQOAHxF44jOFmVZVkScXUFQAAAAB AQEBAQEBAQEBAQEBAQEBgCVAgGCEGjAwIDUANq4QAAAYAAAAAAAA AAAAAAAAAAAAAAAAAAAA/gBMZW5vdm8KICAgICAgAAAA/gAxNjAw eDkwMAogICAgAK0= </data> <key>Inject</key> <true/> </dict> <key>Inject</key> <dict> <key>Intel</key> <true/> </dict> </dict> Edited April 15, 2017 by tluck 1 Link to comment Share on other sites More sharing options...
Somez Posted April 19, 2017 Share Posted April 19, 2017 Hey guys! Let me have a quesiton here about external screens. I've been using my machine with no LCDs attached so far but I'm planning to buy one. i would guess the VGA connector does not work, right? So I'll have to buy a displayport cable. Is there anything I have to keep in mind when buying an LCD and a cable? I don't use a docking station. Thanks. Link to comment Share on other sites More sharing options...
tluck Posted April 19, 2017 Share Posted April 19, 2017 @Somez - VGA port does work but why use this inferior analog interface? when you have the digital Display Port available... which looks and works way better! Most external monitors (whether LCD, LED, oLED etc) now-a-days have a DP or HDMI interface or both... which for the purposes of this discussion pretty much the the same thing. For example to connect to a HDMI device, I have small DP to HDMI adapter that allows me to use a standard HDMI-to-HDMI cable to connect to TV or Home Theater. For my 24 inch Computer Display monitor, i use the DP to DP cable that came with monitor.which works perfectly. Link to comment Share on other sites More sharing options...
Somez Posted April 19, 2017 Share Posted April 19, 2017 @Somez - VGA port does work but why use this inferior analog interface? when you have the digital Display Port available... which looks and works way better! Most external monitors (whether LCD, LED, oLED etc) now-a-days have a DP or HDMI interface or both... which for the purposes of this discussion pretty much the the same thing. For example to connect to a HDMI device, I have small DP to HDMI adapter that allows me to use a standard HDMI-to-HDMI cable to connect to TV or Home Theater. For my 24 inch Computer Display monitor, i use the DP to DP cable that came with monitor.which works perfectly. Hey tluck! Well, I'm planning to buy a used LCD, something cheap. I don't care picture quality because I'm colorblind and I want to use it for learning iOS development anyway. But yes, you're right I would go with the digital way if possible. Is it possible to connect 2 LCDs at the same time? 1 would be on the VGA connector and the other one on the displayport. Thanks. Link to comment Share on other sites More sharing options...
tluck Posted April 19, 2017 Share Posted April 19, 2017 well colors aside, VGA can be a little blurry IMO. but if you shut the laptop and then use 2 external monitors should work. Link to comment Share on other sites More sharing options...
Somez Posted April 19, 2017 Share Posted April 19, 2017 well colors aside, VGA can be a little blurry IMO. but if you shut the laptop and then use 2 external monitors should work. Sounds good. Thanks. Link to comment Share on other sites More sharing options...
POWerSUrgeSW3 Posted April 19, 2017 Share Posted April 19, 2017 Sounds good. Thanks.I agree, plus the adapters are so cheap. I have a display port to DVI that I use at work, and it's great. I just took up my power and display port connector and I'm functional. Worked with the Max side with no problems first time, I was pretty impressed. It if needed they make display port to VGA and HDMI adapters as well. DVI and HDMI I think have a cleaner look, maybe because it's a sharper imagine. I would also suggest if you can get a monitor with a higher refresh than 60hz. Because that's what a lot of offices have as lighting, and the not visbale flickering can chase fatigue after while. I personally just change all the bulbs around me to something newer and white not yellow... I've noticed it's helped me a lot to stay focused easier. Sent from my SM-G930P using Tapatalk Link to comment Share on other sites More sharing options...
Tetonne Posted April 19, 2017 Share Posted April 19, 2017 Here are my result: macbook:~ Tetonne$ ioreg -l | grep ApplePanel | | | "ApplePanelRawBrightness" = 4882 | | "ApplePanel" = {"F10T313c"=<00110000008c00d80136018f01fe02a3034503e704c70535075a091c0b130d9b10591312>} macbook:~ Tetonne$ ioreg -l | grep yEDID | | | | | "IODisplayEDID" = <00ffffffffffff0006af3c310000000000140103801f11780a10b597585792261e505400000001010101010101010101010101010101121b5646500023302616360036ae10000018000000000000000000000000000000000000000000fe0031333636783736380a2020202000000000000000000000000000000000000000a6> macbook:~ fbaux$ ioreg | grep -i linear- gave me nothing in 3 cases? something wrong here? Link to comment Share on other sites More sharing options...
tluck Posted April 19, 2017 Share Posted April 19, 2017 @tetonne - on the last one: need -l ioreg -l | grep linear- 1 Link to comment Share on other sites More sharing options...
Recommended Posts