I tried setting up the brightness from the console but I cannot find the command which would work...
My devices:
a)lshal | grep laptop_panel
Code:
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
laptop_panel.access_method = 'general' (string)
laptop_panel.num_levels = 6 (0x6) (int)
b)lshal | grep backlight
Code:
udi = '/org/freedesktop/Hal/devices/computer_backlight'
info.addons = {'hald-addon-generic-backlight'} (string list)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedesktop/Hal/devices/computer_backlight' (string)
linux.subsystem = 'backlight' (string)
linux.sysfs_path = '/sys/devices/virtual/backlight/acpi_video0' (string)
I am not sure if there should be in either of these the value "laptop_panel.brightness_in_hardware (bool)" (set as true or false).
Doing as root:
a)echo 7 > /sys/devices/virtual/backlight/acpi_video0/brightness
-bash: echo: write error: Invalid argument
(I tried also echo 1,2,3,100 etc.)
b)echo 3 > /proc/acpi/video/GFX0/DD02/brightness
-bash: echo: write error: Invalid argument
(I tried also at DD01, DD02, DD03, DD04, DD05)
However, drivers are fine, because I can change brightness using Nvidia Display Settings -> X Screen 0 -> X Server Color Correction -> Brightness. I don't know, however, what the low level command is that this gui application uses.
I would be grateful for help. Once I find the command to set up the brightness I will be (hopefully) able to match the command with keycodes.