* [gentoo-user] How to dim the display brightness
@ 2009-02-23 9:19 Damian
2009-02-23 11:41 ` Antonio Quartulli
2009-02-23 12:03 ` Sebastian Günther
0 siblings, 2 replies; 10+ messages in thread
From: Damian @ 2009-02-23 9:19 UTC (permalink / raw
To: gentoo-user
Hi,
I cannot find the way to dim the brightness of the display on my
laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
can find anything in google.
I would like the brightness of the screen to be dimmed when the
computer is idle for a certain amount of time. Do you have any clues
where I can start digging?
Thanks in advance,
Damian.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-23 9:19 [gentoo-user] How to dim the display brightness Damian
@ 2009-02-23 11:41 ` Antonio Quartulli
2009-02-23 18:14 ` Damian
2009-02-23 12:03 ` Sebastian Günther
1 sibling, 1 reply; 10+ messages in thread
From: Antonio Quartulli @ 2009-02-23 11:41 UTC (permalink / raw
To: gentoo-user
Damian ha scritto:
> Hi,
>
> I cannot find the way to dim the brightness of the display on my
> laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
> can find anything in google.
>
> I would like the brightness of the screen to be dimmed when the
> computer is idle for a certain amount of time. Do you have any clues
> where I can start digging?
>
> Thanks in advance,
> Damian.
>
>
It depends on your video driver. First of all, which video card have you
got?
--
Antonio Quartulli <http://www.ritirata.org/ordex>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-23 11:41 ` Antonio Quartulli
@ 2009-02-23 18:14 ` Damian
0 siblings, 0 replies; 10+ messages in thread
From: Damian @ 2009-02-23 18:14 UTC (permalink / raw
To: gentoo-user
On Mon, Feb 23, 2009 at 12:41 PM, Antonio Quartulli <ordex@ritirata.org> wrote:
> Damian ha scritto:
>> Hi,
>>
>> I cannot find the way to dim the brightness of the display on my
>> laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
>> can find anything in google.
>>
>> I would like the brightness of the screen to be dimmed when the
>> computer is idle for a certain amount of time. Do you have any clues
>> where I can start digging?
>>
>> Thanks in advance,
>> Damian.
>>
>>
> It depends on your video driver. First of all, which video card have you
> got?
Indeed. I have an Nvidia Quadro. Sorry for not specifying that.
My laptop is a Compaq 8510w.
> --
> Antonio Quartulli <http://www.ritirata.org/ordex>
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-23 9:19 [gentoo-user] How to dim the display brightness Damian
2009-02-23 11:41 ` Antonio Quartulli
@ 2009-02-23 12:03 ` Sebastian Günther
2009-02-23 18:20 ` Damian
1 sibling, 1 reply; 10+ messages in thread
From: Sebastian Günther @ 2009-02-23 12:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 753 bytes --]
* Damian (damian.only@gmail.com) [23.02.09 10:19]:
> Hi,
>
> I cannot find the way to dim the brightness of the display on my
> laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
> can find anything in google.
>
Did you enable the apropiate acpi drivers in the kernel? They depend on
your laptop model...
> I would like the brightness of the screen to be dimmed when the
> computer is idle for a certain amount of time. Do you have any clues
> where I can start digging?
http://www.gentoo.org/doc/en/power-management-guide.xml
>
> Thanks in advance,
> Damian.
>
HTH
Sebastian
--
" Religion ist das Opium des Volkes. " Karl Marx
SEB@STI@N GÜNTHER mailto:samson@guenther-roetgen.de
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-23 12:03 ` Sebastian Günther
@ 2009-02-23 18:20 ` Damian
2009-02-23 19:30 ` Sebastian Günther
0 siblings, 1 reply; 10+ messages in thread
From: Damian @ 2009-02-23 18:20 UTC (permalink / raw
To: gentoo-user
On Mon, Feb 23, 2009 at 1:03 PM, Sebastian Günther
<samson@guenther-roetgen.de> wrote:
> * Damian (damian.only@gmail.com) [23.02.09 10:19]:
>> Hi,
>>
>> I cannot find the way to dim the brightness of the display on my
>> laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
>> can find anything in google.
>>
> Did you enable the apropiate acpi drivers in the kernel? They depend on
> your laptop model...
Yes. But nothing seems to work.
I can do it by using nvidia settings, but the dimming is different
from the one you get when pressing Fn + the dimming keys on a text
console (btw, this is a weird behavior: I cannot do key-based dimming
when X is running).
> http://www.gentoo.org/doc/en/power-management-guide.xml
Yep, I looked there, but the example don't apply to my laptop model :(
Thanks.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-23 18:20 ` Damian
@ 2009-02-23 19:30 ` Sebastian Günther
2009-02-23 20:57 ` Damian
0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Günther @ 2009-02-23 19:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
* Damian (damian.only@gmail.com) [23.02.09 19:21]:
> On Mon, Feb 23, 2009 at 1:03 PM, Sebastian Günther
> <samson@guenther-roetgen.de> wrote:
> > * Damian (damian.only@gmail.com) [23.02.09 10:19]:
> >> Hi,
> >>
> >> I cannot find the way to dim the brightness of the display on my
> >> laptop. It doesn't seem to be nothing useful in /proc/acpi neither I
> >> can find anything in google.
> >>
> > Did you enable the apropiate acpi drivers in the kernel? They depend on
> > your laptop model...
> Yes. But nothing seems to work.
>
acpi_os-name = "Linux" as kernel parameter might help.
and take a look if /sys/class/backlight/acpi_video0/ is present:
this is the kernel interface to set the brightness.
CONFIG_BACKLIGHT_LCD_SUPPORT
is the appropriate kernel config category to look at in recent kernels.
BTW which kernel are you using?
> I can do it by using nvidia settings, but the dimming is different
> from the one you get when pressing Fn + the dimming keys on a text
> console
No doubt: the first dimms the videocard output, the latter the LCD.
>(btw, this is a weird behavior: I cannot do key-based dimming
> when X is running).
I think that the Xserver catches this before reaching the hardware.
You can use xev to see which keycode is emmitted and then look in your
desktop environment if this is match with some action.
>
> > http://www.gentoo.org/doc/en/power-management-guide.xml
> Yep, I looked there, but the example don't apply to my laptop model :(
>
Well. it should be somehow applicable, because it is rather generic.
> Thanks.
>
HTH
Sebastian
--
" Religion ist das Opium des Volkes. " Karl Marx
SEB@STI@N GÜNTHER mailto:samson@guenther-roetgen.de
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-23 19:30 ` Sebastian Günther
@ 2009-02-23 20:57 ` Damian
2009-02-24 9:14 ` Damian
0 siblings, 1 reply; 10+ messages in thread
From: Damian @ 2009-02-23 20:57 UTC (permalink / raw
To: gentoo-user
Hi Sebastian,
> acpi_os-name = "Linux" as kernel parameter might help.
Ok, I've changed the grub menu.lst file. After the reboot I will write
if something changes.
>
> and take a look if /sys/class/backlight/acpi_video0/ is present:
> this is the kernel interface to set the brightness.
I have it, but running
cho 2 > /sys/class/backlight/acpi_video0/brightness
has no effect in the display brightness.
> CONFIG_BACKLIGHT_LCD_SUPPORT
>
> is the appropriate kernel config category to look at in recent kernels.
Yes, that variable is set.
> BTW which kernel are you using?
2.6.27-r2
> No doubt: the first dimms the videocard output, the latter the LCD.
I didn't know the reasons for this "missmatch", thanks a lot for this
brief but useful explanation.
> You can use xev to see which keycode is emmitted and then look in your
> desktop environment if this is match with some action.
In fact, Fn + dimming keys produces output. Now, to do something
useful, I need to know how to dim the light of the LCD.
> Well. it should be somehow applicable, because it is rather generic.
I don't know how to replace this line
echo "level ${LEVEL}" > /proc/acpi/ibm/brightness
I have a file
/proc/acpi/video/C14B/C160/brightness
whose contents look like
levels: 100 51 30 37 44 51 58 65 72 79 86 93 100
current: 72
I did some echoes to that file, but no luck so far :(
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-23 20:57 ` Damian
@ 2009-02-24 9:14 ` Damian
2009-02-24 23:15 ` Steffen Loos
0 siblings, 1 reply; 10+ messages in thread
From: Damian @ 2009-02-24 9:14 UTC (permalink / raw
To: gentoo-user
On Mon, Feb 23, 2009 at 9:57 PM, Damian <damian.only@gmail.com> wrote:
> Hi Sebastian,
>
>> acpi_os-name = "Linux" as kernel parameter might help.
> Ok, I've changed the grub menu.lst file. After the reboot I will write
> if something changes.
Nope :(
>>
>> and take a look if /sys/class/backlight/acpi_video0/ is present:
>> this is the kernel interface to set the brightness.
> I have it, but running
> cho 2 > /sys/class/backlight/acpi_video0/brightness
> has no effect in the display brightness.
>
>> CONFIG_BACKLIGHT_LCD_SUPPORT
>>
>> is the appropriate kernel config category to look at in recent kernels.
> Yes, that variable is set.
>
>> BTW which kernel are you using?
> 2.6.27-r2
>
>> No doubt: the first dimms the videocard output, the latter the LCD.
> I didn't know the reasons for this "missmatch", thanks a lot for this
> brief but useful explanation.
>
>> You can use xev to see which keycode is emmitted and then look in your
>> desktop environment if this is match with some action.
> In fact, Fn + dimming keys produces output. Now, to do something
> useful, I need to know how to dim the light of the LCD.
>
>> Well. it should be somehow applicable, because it is rather generic.
> I don't know how to replace this line
> echo "level ${LEVEL}" > /proc/acpi/ibm/brightness
>
> I have a file
> /proc/acpi/video/C14B/C160/brightness
> whose contents look like
> levels: 100 51 30 37 44 51 58 65 72 79 86 93 100
> current: 72
>
> I did some echoes to that file, but no luck so far :(
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-24 9:14 ` Damian
@ 2009-02-24 23:15 ` Steffen Loos
2009-02-24 23:30 ` Damian
0 siblings, 1 reply; 10+ messages in thread
From: Steffen Loos @ 2009-02-24 23:15 UTC (permalink / raw
To: gentoo-user
Hello Damian,
>>> and take a look if /sys/class/backlight/acpi_video0/ is present:
On an IBM T61 i have acpi_video1 too. Video0 represents the vga/dvi output where video1 represents the LCD.
Also have a look on max_brightness on this dirs for the maximum value.
>>
>>> You can use xev to see which keycode is emmitted and then look in your
>>> desktop environment if this is match with some action.
>> In fact, Fn + dimming keys produces output. Now, to do something
>> useful, I need to know how to dim the light of the LCD.
As workarround you could switch to a console (Ctrl+Alt+F1) and try to dim with your fn+ keys.
>>
>>> Well. it should be somehow applicable, because it is rather generic.
>> I don't know how to replace this line
>> echo "level ${LEVEL}" > /proc/acpi/ibm/brightness
>>
>> I have a file
>> /proc/acpi/video/C14B/C160/brightness
>> whose contents look like
>> levels: 100 51 30 37 44 51 58 65 72 79 86 93 100
>> current: 72
Be careful to touch the right (video-)output. In /proc/acpi/video i have two devices: VID and VID1. VID1 references to my LCD.
Steffen
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] How to dim the display brightness
2009-02-24 23:15 ` Steffen Loos
@ 2009-02-24 23:30 ` Damian
0 siblings, 0 replies; 10+ messages in thread
From: Damian @ 2009-02-24 23:30 UTC (permalink / raw
To: gentoo-user
Hi Steffen,
>>>> and take a look if /sys/class/backlight/acpi_video0/ is present:
> On an IBM T61 i have acpi_video1 too. Video0 represents the vga/dvi output where video1 represents the LCD.
> Also have a look on max_brightness on this dirs for the maximum value.
No, I only have video0.
> As workarround you could switch to a console (Ctrl+Alt+F1) and try to dim with your fn+ keys.
Yes, that's is what I'm currently doing.
> Be careful to touch the right (video-)output. In /proc/acpi/video i have two devices: VID and VID1. VID1 references to my LCD.
Yes, I looked into that folder, but I had no results so far :(
I'm still trying ...
Thanks for your mail.
Best regards,
Damian.
> Steffen
>
>
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2009-02-24 23:30 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23 9:19 [gentoo-user] How to dim the display brightness Damian
2009-02-23 11:41 ` Antonio Quartulli
2009-02-23 18:14 ` Damian
2009-02-23 12:03 ` Sebastian Günther
2009-02-23 18:20 ` Damian
2009-02-23 19:30 ` Sebastian Günther
2009-02-23 20:57 ` Damian
2009-02-24 9:14 ` Damian
2009-02-24 23:15 ` Steffen Loos
2009-02-24 23:30 ` Damian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox