You are not logged in.

#1 2011-02-13 10:30:37

nybegynner
Member
From: Norway
Registered: 2010-02-07
Posts: 36

/proc/acpi/video/* is gone [SOLVED]

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

#2 2011-02-13 10:39:51

nybegynner
Member
From: Norway
Registered: 2010-02-07
Posts: 36

Re: /proc/acpi/video/* is gone [SOLVED]

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

#3 2011-02-13 10:45:26

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: /proc/acpi/video/* is gone [SOLVED]

/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

#4 2011-02-13 21:03:08

nybegynner
Member
From: Norway
Registered: 2010-02-07
Posts: 36

Re: /proc/acpi/video/* is gone [SOLVED]

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

Board footer

Powered by FluxBB