View Single Post
Old 01-08-11, 01:30 AM   #103
rohandhruva
Registered User
 
Join Date: Nov 2010
Posts: 7
Default Re: Linux backlight driver

Quote:
Originally Posted by guillaumezin View Post
Code:
sudo modprobe -r nvidiabl
sudo modprobe nvidiabl min=50 max=500
and test min and max backlight, repeat the procedure until you have correct behavior and post the values.

Other debug parameters :

Code:
module_param_named(off, off, long, 0644);
MODULE_PARM_DESC(off, "value to put in the register to disable the backlight");

module_param_named(min, min, long, 0644);
MODULE_PARM_DESC(min, "minimum register value for the backlight");

module_param_named(max, max, long, 0644);
MODULE_PARM_DESC(max, "maximum register value for the backlight");

module_param_named(pci_id, pci_id, ulong, 0644);
MODULE_PARM_DESC(pci_id, "PCI ID of the Nvidia card - usefull only when not using autodetection and more than one Nvidia PCI device");

module_param_named(model, model, charp, 0644);
MODULE_PARM_DESC(model, "backlight model, must be empty for autodetection, nv4x or nv5x");
Guillaume
I'm sorry, I missed your message earlier! Anyway, I just tried the latest version of nvidiabl, and brightness control works out of the box, using your acpi scripts. So now I everything working fine. Thank you very much for all the great work
rohandhruva is offline   Reply With Quote