You are not logged in.
Pages: 1
Hello!
I noticed my precious directory was missing, when i tried manually set the LCD brightness with echo value > /proc/acpi/video/my/videoadapter. I have installed laptop-mode tools for managing the brightness when plugged in AC and when on battery.
Thanks.
Last edited by nybegynner (2011-02-13 20:56:50)
Offline
I'm using this directory in my /etc/laptop-mode/conf.d/lcd-brightness.conf:
BATT_BRIGHTNESS_COMMAND="echo 22"
LM_AC_BRIGHTNESS_COMMAND="echo 75"
NOLM_AC_BRIGHTNESS_COMMAND="echo 100"
BRIGHTNESS_OUTPUT="/proc/acpi/video/GFX0/DD02/brightness"
Offline
/proc/acpi is being deprecated. Find the equivalents of what you want to do in /sys. Backlight stuff is in /sys/class/backlight. Or you compile your own kernel, it's still possible to activate the deprecated /proc/acpi stuff.
Offline
Thanks, buddy!
I'm now controlling the brightness with these settings:
BATT_BRIGHTNESS_COMMAND="echo 3"
LM_AC_BRIGHTNESS_COMMAND="echo 24"
NOLM_AC_BRIGHTNESS_COMMAND="echo 24"
BRIGHTNESS_OUTPUT="/sys/class/backlight/acpi_video0/brightness"
(Note: The levels of brightness goes from 0 (least bright) through 24 (most bright)
Offline
Pages: 1