Download and install nvidia_bl for your distro. For Arch this is available in AUR. I'm not using the DKMS version.
Load the nvidia_bl module
Code: Select all
$ sudo modprobe nvidia_bl
Here's the catch:
Code: Select all
$ ls /sys/class/backlight
Code: Select all
acpi_video0/ nvidia_backlight/
Code: Select all
$ cat /sys/class/backlight/acpi_video0/brightness
7
Code: Select all
$ cat /sys/class/backlight/acpi_video0/brightness
4
Code: Select all
$ rmmod video samsung_backlight
We need to blacklist those modules to keep them from loading. In arch you add a file to /etc/modprobe.d/ with the following lines in it
Code: Select all
blacklist video
blacklist samsung_backlight
I hope this helps anyone else with the crazy freakin' nvidia backlight modules. Should depricate the "make a shell script" insanity.
Cheers.