xbacklight on intel
David Sharp
whereami at gmail.com
Wed Nov 28 22:54:19 PST 2007
On Nov 28, 2007 6:43 AM, Colin Guthrie <gmane at colin.guthr.ie> wrote:
> Khashayar Naderehvandi wrote:
> >
> >
> >
> > So your machine is defaulting to the native register interface. I
> > wonder if
> > it should be using the legacy interface instead? Can you try
> > $ xrandr --output LVDS --set BACKLIGHT_CONTROL legacy
> > and see if xbacklight works for you then?
> >
> > After changing it to legacy it still does not work. However, runing
> > xbacklight -get I know get a figure (around 0.5), whereas before
> > switching over to legacy xbacklight returned the mysterious string "nan".
>
> nan probably == "Not a Number" ala Javascript etc. Quite why this is,
> however, I haven't the foggiest!
probably the result of 0.0 / 0.0
Why this calculation is done, I have no idea.
This prints "nan" on my machine:
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("%f\n", 0.0/0.0);
return 0;
}
>
> Col
>
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
More information about the xorg
mailing list