<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Interfacing nvidia graphics cards and acpi brightness</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=460060300-20032008>(Answering my own question)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=460060300-20032008><FONT face=Arial
color=#0000ff size=2>Clues are found here:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><A
href="http://http.download.nvidia.com/XFree86/Linux-x86/169.12/README/index.html">http://http.download.nvidia.com/XFree86/Linux-x86/169.12/README/<SPAN
class=460060300-20032008>index.html</A></SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=460060300-20032008></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=460060300-20032008>Nvidia say that ACPI and hotkeys hasn't
been implemented for all cards yet but might be in the future for more
recent ones.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=460060300-20032008></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=460060300-20032008>A couple of XConfig options to play around with
were: </SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=460060300-20032008></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=460060300-20032008> </SPAN>Option "ConnectToAcpid"
"boolean"</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=460060300-20032008> </SPAN>Option "EnableACPIHotkeys"
"boolean"</FONT></FONT></FONT></DIV>
<DIV> </DIV>
<DIV><SPAN class=460060300-20032008><FONT face=Arial color=#0000ff size=2>No
luck for the Quadro FX 570M as far as I could tell</FONT></SPAN></DIV>
<DIV><SPAN class=460060300-20032008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460060300-20032008><FONT face=Arial color=#0000ff size=2>I
still think that it should be possible to implement ACPI compatibility through
an some sort of abstraction layer by linking ACPI events to nvidia-settings so
that there would be no need to wait for nvidia.</FONT></SPAN></DIV>
<DIV><SPAN class=460060300-20032008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460060300-20032008><FONT face=Arial color=#0000ff
size=2>Alternatively one could play with the open source Nouveau drivers <A
href="http://nouveau.freedesktop.org/wiki/">http://nouveau.freedesktop.org/wiki/</A></FONT></SPAN></DIV>
<DIV><SPAN class=460060300-20032008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=460060300-20032008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
ubuntu-devel-discuss-bounces@lists.ubuntu.com
[mailto:ubuntu-devel-discuss-bounces@lists.ubuntu.com] <B>On Behalf Of </B>Peter
Newman<BR><B>Sent:</B> Tuesday, 18 March 2008 11:52 PM<BR><B>To:</B>
ubuntu-devel-discuss@lists.ubuntu.com<BR><B>Subject:</B> Interfacing nvidia
graphics cards and acpi brightness<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/plain format -->
<P><TT><FONT size=2>Hi<BR><BR>I started out tonight with the aim of adding a bug
because my compaq 8510w brightness function keys have never worked under Ubuntu
Gutsy and now not under Hardy Heron alpha 6 either.<BR><BR>However what I have
found is that there is no bug to report :)<BR><BR>The gnome-power-manager works
okay but doesn't change screen brightness. I.e. hitting the function key
does change the current value here:<BR><BR> $ cat
/proc/acpi/video/C14B/C15F/brightness<BR><BR> levels: 100 51 30 37 44
51 58 65 72 79 86 93 100<BR> current: 65<BR><BR>Also adjusting the
nvidia-settings brightness values actually changes the screen brightness (and
the nvidia card registers) but nothing for the acpi video brightness
value.<BR><BR>I've also found that I can adjust the screen brightness by using
the nvidia commandline interface:<BR><BR> $ nvidia-settings --assign
RedBrightness=x --assign GreenBrightness=x --assign
BlueBrightness=x<BR><BR>where x is a value between -1 and 1.<BR><BR>So where now
- there is no bug?<BR><BR>I've looked at smartdimmer and nvclock. These
packages don't work for all nvidia cards and seem to be risky to use.
Especially when there is a nvidia-settings package available which can already
do this.<BR><BR>So I think that acpi should be linked to nvidia-settings somehow
(I suppose this should be the responsibility of nvidia). Would a
acpi-nvidia package work (where acpi and nvidia-settings are prerequistes and
also an active nvidia kernel/xserver) that matches acpi video and xserver
screens and sychronises registry
settings?<BR><BR>Cheers<BR>Pete<BR></FONT></TT></P></BODY></HTML>