Difference between revisions of "HowTo Adjust The Keyboard Backlight Brightness On A Laptop In Console Mode Using The Command Line"

From NST Wiki
Jump to navigationJump to search
(Adjust The Keyboard Backlight Brightness Using the Command Line)
(Adjust The Keyboard Backlight Brightness Using the Command Line)
Line 15: Line 15:
 
  lrwxrwxrwx  1 root root 0 Sep 21 20:24 platform::micmute -> ../../devices/platform/dell-laptop/leds/platform::micmute
 
  lrwxrwxrwx  1 root root 0 Sep 21 20:24 platform::micmute -> ../../devices/platform/dell-laptop/leds/platform::micmute
 
  [root@dell7480 ~]#  
 
  [root@dell7480 ~]#  
+
 
 
This backlight brightness display settings can be found and controlled in the '''[https://en.wikipedia.org/wiki/Sysfs sysfs]''' pseudo file system provided by the Linux kernel within the following directory:
 
This backlight brightness display settings can be found and controlled in the '''[https://en.wikipedia.org/wiki/Sysfs sysfs]''' pseudo file system provided by the Linux kernel within the following directory:

Revision as of 20:28, 21 September 2021

Overview

This page demonstrates how one can adjust the keyboard backlight brightness on a laptop computer running NST using the command line. It may be desirable to completely set the brightness value to the lowest possible setting to increase the time that an NST server is running on battery power.

Adjust The Keyboard Backlight Brightness Using the Command Line

First the keyboard backlight directory needs to be discovered for the laptop manufacturer. List the following directory to determine:

[root@dell7480 ~]# ls -al /sys/class/leds/
total 0
drwxr-xr-x  2 root root 0 Sep 21 05:22 .
drwxr-xr-x 77 root root 0 Sep 21 05:22 ..
lrwxrwxrwx  1 root root 0 Sep 21 09:22 dell::kbd_backlight -> ../../devices/platform/dell-laptop/leds/dell::kbd_backlight
lrwxrwxrwx  1 root root 0 Sep 21 05:22 input4::capslock -> ../../devices/platform/i8042/serio0/input/input4/input4::capslock lrwxrwxrwx  1 root root 0 Sep 21 05:22 input4::numlock -> ../../devices/platform/i8042/serio0/input/input4/input4::numlock
lrwxrwxrwx  1 root root 0 Sep 21 05:22 input4::scrolllock -> ../../devices/platform/i8042/serio0/input/input4/input4::scrolllock
lrwxrwxrwx  1 root root 0 Sep 21 20:24 phy0-led -> ../../devices/pci0000:00/0000:00:1c.2/0000:02:00.0/leds/phy0-led
lrwxrwxrwx  1 root root 0 Sep 21 20:24 platform::micmute -> ../../devices/platform/dell-laptop/leds/platform::micmute
[root@dell7480 ~]# 

This backlight brightness display settings can be found and controlled in the sysfs pseudo file system provided by the Linux kernel within the following directory: