Jump to content
InsanelyMac Forum
Sign in to follow this  
jac-tict

lenovo b570 brightness control doesn't go to low brightness

Recommended Posts

Hi guys, on MacOSX with DSDT patched by macinsane B570 doesn't reach the minimum brightness.

 

I'm trying to look deeper, hope someone would help.

 

In Linux:

xrandr --prop | grep BACKLIGHT
BACKLIGHT: 16 (0x00000010) range:  (0,976)


sudo sh -c 'echo 16 > /sys/class/backlight/intel_backlight/brightness'

 

Gives the minimum brightness.

 

Hero DSDT:

Scope (_SB)
{
Device (PNLF)
{
Name (_HID, EisaId ("APP0002"))
Name (_CID, "backlight")
Name (_UID, 0x0A)
Name (_STA, 0x0B)
}  

 

 

Maybe the problem is that macosx use 10 steps and actual driver has different granularity/lowest values?

Share this post


Link to post
Share on other sites
Advertisement

I've found that my B570's minimum brightness is actually "off". If I press Fn + Insert enough times, the display can actually be turned off. The maximum is reached with Fn + Home about 3/4 of the way across the on-screen brightness indicator.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.



  • Similar Content

    • By M3G4DR01D
      Hello everyone, I have an Asus gl502vmk (i7 kabylake + GTX 1060 6 gb) laptop and I tried all the patches/kexts to get the brightness with fn keys/touchpad (I2C ELAN 1200 works with VooDoo I2C kext v1.0 but no gestures/preference pane)/Keyboard backlight to work but no success so far, any help would be appreciated, thanks in advance.
      [EDIT] (10/04/2018)
      Battery status now works, thanks to @RehabMan turned out to be incorrect SMBIOS (used iMac instead of Mbp) lol, but it drains crazy fast (~1.5 - 2 hours while on standby (all apps quited!), on windows 10 it lasts 4 - 5 hours, and on linux it lasts 6 ~ 7 hours!)
      And with VoodooI2C v2.0.1 + VoodooI2CHID kext and patched DSDT, the touchpad is now detected in the sys pref pane but still no input.
      Sound works with VoodooHDA v2.9.1, but the only issue is that the jack sense isn't working (the output device doesn't auto switch to headphone when connected)
       
      [EDIT 2] (11/04/2018)
      The system brightness now works thanks to @onejay09 but I have no brightness slider, and there are 4 extra brightness levels (brightness stops increasing after 12 levels)  and the brightness keys are not mapped correctly, plus the brightness decreases when I plug in the ac adapter, then increases if I unplug it???, the brightness level isn't also saved after reboot.
      battery still drains crazy fast (~1.5 - 2 hours, even with brightness at 50%, so apparently it is a power management issue).
      and I also have shutdowns while in sleep mode (I tried darkwake=10 and darkwake-0 and darkwake=no)
       
      P.S. I have uploaded my new report files, thanks!
       
      Latest report files (11/04/2018): https://www95.zippyshare.com/v/AMOpP0AY/file.html
    • By fiobig
      Hi everybody, I need help for patching my DSDT.
      I have a Asus f541uv-xx147t laptop and I have installed macOS Sierra successfully but I need to know the battery percentage and I want to control the brightness.
      What I have to post in attached file for help?
      files.zip
    • By soumaxetuirk
      Many People gets confuse due to their wrong keyboard hotkeys or completely disabled hotkeys while using VoodooPS2Controller.kext. today I am writing a little guide for newbies to Enable Possible Every disabled Hotkeys on laptop with their personalised shortcuts.
       
      Common Issues Can be Solved Using this guide:
      Media Hotkeys not working Brightness Hotkeys not working Wrong keyboard entries Completely dead keys Bringing Every Windows hotkeys to Mac  Basics:
      While our laptop keyboards use PS2 Methods for input in windows, Mac Uses ADB Codes for Its Keyboard.VoodooPS2Controller convert those PS2 codes to Mac compatible ADB Codes. All the PS2 Scan codes for universal keys like ( A-z, 1-0, !-+) are same for almost every laptops but OEM Hotkeys are different. All laptop has Different Functional keys.So hot keys usually don't work properly without proper edits.
       
      To Solve this issue First find the codes for your system then remap them to specific Mac ADB codes to do the same exact output in system.
       
      (Note : I learned about all these things from different people and different posts, I will try to link Original Posts.)
      !!Huge Thanks to RehabMan & All VoodooPS2Controller tester and developer!!
       
       
      1.Check your Functional keys
      First of all you need to check wether your functional keys transmits PS2 or EC scan codes. Install latest version VoodooPS2 kext debug version, and watch your console while pressing keys. A. PS2 Scan Codes
       
      If It is a PS2 Scancode then you will get some report as like this. (moniter Using ApplePS2 in search box and "NOW" option activated.)
      ApplePS2.. : Sending e022=69 down ApplePS2.. : Sending e022=69 up The first value is your PS2 Scan codes and the value after equal to is the ADB code injected to system. If nothing happens then it might be a EC Query. VooDooPS2 Github Link B. EC Queries
       
      Install ACPI Debug kext: https://github.com/R...OS-X-ACPI-Debug Open MaciASL and click on patch.(Add rehab man repo) Apply "Add DSDT Debug Methods" and "Instrument EC Queries" Patch Save the DSDT and restart Now go to console and search for "ACPIDebug" and press those keys ACPI Debug Github Link You will get some result like this ACPIDebug : EC _Q12 2.Get your new Keys
       
      A.Direct ADB
      Some hotkeys like play/pause, scan next track,Brightness,Lunchpad are exist in real Mac so you can find there ADB codes directly. You can remap your hotkeys directly to those ADB Codes. Some ADB Codes Play/Pause : 34 Next Track : 42 Prev.Track : 4d Others ADB codes can be found in this page. You can check those ADB Codes you can easily. Convert the ADB codes to Decimal from hexadecial. While VOODooPS2 Debug version is installed,Hold the right alt and press the decimal value then leave the alt key and you can see the Executed ADB code.( For e.g. ADB code for next track is 34 so in decimal it will be 66. So press alt then type 66 and release the alt.your track will be changed in your music player) B. Extra Function Key
      Some Hot keys like Lock windows,Print Screen,HP/Dell Support key, print, Multi monster setup are not present in Mac. In that Case you need to Assign those hotkeys to function keys like (f15, f16,f17...f20). After that in Mac Keyboard shortcut preference you can set them for various commands  (Note: take help of Automator to create more personalised shortcuts)
      ADB Codes for function Keys f16=6a f17=40 f18=4f f19=50 f20=5a  
      3.Remap Keys 
      A. PS2 Codes
      Go to your latest VoodooPS2 kext. Detailed specification on Github Page. Open " VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/info.plist" with Xcode or Plist Editor. Go to Custom PS2 to ADB Map Section Information Property List >> IOKitPersonalities >> ApplePS2Keyboard >> Platform Profile >> Default >> Custom ADB Map  enter your PS2 Scancodes = ADB Value you want to use( In Hex)
      <key>Custom ADB Map</key>        <array>             <string>e022=34</string>             <string>e024=4f</string>         </array> B. EC Contolled Keys
      With Proper DSDT Edit you can Notify to PS2M for any EC Controlled Queries. Example for Brightness Fix (Original Post)
      into method label _Q11 replace_content begin // Brightness Down\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0205)\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0285)\n end; into method label _Q12 replace_content begin // Brightness Up\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0206)\n Notify(\_SB.PCI0.LPCB.PS2M, 0x0286)\n end; Custom EC Queries Shortcuts  can be done by similar process.(Will Be updated Soon)
    • By dark_hacker
      I did in my dsdt application of the RehabMan patch for brightness correction in AppleBacklight.kext but what happens and the brightness works but my internal screen of the laptop stays with the image with a transparent white background barely can see the image, but I do the shine and it works and it's just a problem in the image, I do not know why this happens, thanks.
      CLOVER.zip
    • By cccvisconti
      I need some help from people who HAVE this hardware:
        Lenovo B570 (Intel Core i3 2350m)   I have Yosemite running and everything works perfectly, BUT... I keep booting from a Chameleon-CD.   My harddisk has the "GUID Partition Table" and I want to use Clover (in the EFI partition). I just did not manage to configure everything correctly. The Apple logo appears, then the progress bar, but then nothing happens.   On the Chameleon CD and in the Extra folder of my harddrive I have a working DSDT.aml and "ssdt_i3_2350m.aml", as well as extra kexts, but even using these files with clover I cannot boot. I guess I must have a bad config.plist but probably also other wrong files.   So, THE EASIEST SOLUTION would be that someone with a Lenovo B570 (+ clover) just uploades the complete content of the folders "BOOT" and "CLOVER" that are located within the EFI folder on the harddrive's EFI partition of his/her working Clover bootloader.    *** PLEASE *** ... It will be less than 10 MB, but would be THE solution for me.   Once again my hardware:   Lenovo B570 Intel Core i3-2350m hard disk: GUID Partition Table installed: Yosemite (10.10.2) graphics: Intel HD 3000   THANK YOU in advance !!
×