User Tools

Site Tools


jpc:lcd_backlight:index

Controlling the jPC's LCD Backlight

Adjusting the LCD's Backlight Brightness

Adjust the brightness of the LCD using the brightnessctl utility.

  • Off: brightnessctl set 0%
  • 50% brightness: brightnessctl set 50%
  • 100% brightness: brightnessctl set 100%

Or use the sysfs interface:

  • Off: <html>
    sudo sh -c "echo 0 > /sys/class/backlight/backlight/brightness"

    </html>

  • 50% brightness: <html>
    sudo sh -c "echo 50 > /sys/class/backlight/backlight/brightness"

    </html>

  • 100% brightness: <html>
    sudo sh -c "echo 100 > /sys/class/backlight/backlight/brightness"

    </html>

Toggle the LCD's backlight

To toggle the backlight on and off without adjusting the brightness, use the wlopm command. If running from an SSH session, you may need to first run export WAYLAND_DISPLAY=wayland-0.

  • Off: wlopm –off HDMI-A-1
  • On: wlopm –on HDMI-A-1

Or, use the sysfs interface:

  • Off: <html>
    sudo sh -c "echo 4 > /sys/class/backlight/backlight/bl_power"

    </html>

  • On: <html>
    sudo sh -c "echo 0 > /sys/class/backlight/backlight/bl_power"

    </html>

jpc/lcd_backlight/index.txt · Last modified: by 127.0.0.1