View Single Post
Old 12-31-10, 09:24 AM   #93
guillaumezin
Registered User
 
Join Date: Dec 2009
Posts: 26
Default Re: Linux backlight driver

Quote:
Originally Posted by rohandhruva View Post
Can you please tell me how to do that? Thanks!
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
guillaumezin is offline   Reply With Quote