Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Raspberry pi Official 7" display brightness adjustment

    Recalbox General
    raspberry pi display brightness recalbox
    3
    3
    1089
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • VanOTSDR
      VanOTSDR last edited by

      Hey guys! Maybe it's kind of a long shot but I need some help here. I have a semi portable Recalbox setup with a Rpi 4 and I'm using the official Rpi 7" display and it works just fine, the only thing is that neither the screen nor the OS has brightness/backlight control, and the default value of it is super bright.

      I've been tinkering a lot and after a while I discovered that this brightness value is stored in a file into a system folder, you can modify the value using a nano or echo command, but it won't save the configuration, so every time the system is rebooted, it returns to it's original super bright value.

      What I've been thinking it might be cool to do is to put this simple command line that changes de brightness value into an executable file from boot, but the ideal would be to just save this modified value into the original system file. About this I've been doing a lot of stuff too, like messing with the Recalbox boot files and modifying them, making an .sh file with the command and try to run it from the boot file, etc, but nothing has worked, so any help would be appreciated. Thanks.

      ian57 1 Reply Last reply Reply Quote 0
      • ian57
        ian57 Staff @VanOTSDR last edited by

        @VanOTSDR hello, you can put this command in /recalbox/share/system/custom.sh (which is writable) it will be executed by /etc/init.d/S99Custom at the end of the boot

        "UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." Dennis Ritchie

        margocrain 1 Reply Last reply Reply Quote 0
        • margocrain
          margocrain @ian57 last edited by margocrain

          @ian57 said in Raspberry pi Official 7" display brightness adjustment :

          @VanOTSDR happy wheels hello, you can put this command in /recalbox/share/system/custom.sh (which is writable) it will be executed by /etc/init.d/S99Custom at the end of the boot

          Thank you so much! It's very helpful!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Want to support us ?

          98
          Online

          99.6k
          Users

          28.1k
          Topics

          187.1k
          Posts

          Copyright © 2021 recalbox.com