here is my changed source.

change the code at: *(nv_card->PDIMMER) = 0x80000100;

printf("br: %i\n", brightness);
printf("wmask: %08x\n", 0x80000000 | brightness);
if(brightness >= 0 && brightness < 1024) {
  (nv_card->PDIMMER) = 0x80000000 | brightness; //0x0 to 0x401
} else {
  printf("value must be between 0 and 1024\n");
}      
printf("DIMMER: %08x\n", *nv_card->PDIMMER);ยท

-- 
No Screen Backlight Control; Sony Vaio with nvidia 8 series graphics
https://bugs.launchpad.net/bugs/95444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to