LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Sony Vaio E Series - Trying To Get F Keys Working For Backlight (https://www.linuxquestions.org/questions/linux-hardware-18/sony-vaio-e-series-trying-to-get-f-keys-working-for-backlight-943329/)

DasFox 05-04-2012 05:40 PM

Sony Vaio E Series - Trying To Get F Keys Working For Backlight
 
I have a Sony laptop E series I just bought and it has an Nvidia 410M chip on it and I've tried many things to get the F keys to work for backlight and nothing works, but the nvidia-settings changes them...

I tried the nvidia-settings as a user and when I log out and back the settings are changed, so I guess I have to do this as root to keep the changes?

This is everything I've tried and can't get to work; http://pastebin.com/SRiunjtG

So maybe the F keys can be linked to the nvidia-settings to get them to work?

THANKS

ceyx 05-04-2012 07:18 PM

Try Xmodmap

mine below maps unused f5 and f6 to brightnessdown and brightnessup on my laptop.

keycode 71 = XF86MonBrightnessDown NoSymbol XF86MonBrightnessDown
keycode 72 = XF86MonBrightnessUp NoSymbol XF86MonBrightnessUp

Drop it into a file called .Xmodmap in your home folder, reboot.

see https://wiki.archlinux.org/index.php/Xmodmap for a step by step.

DasFox 05-04-2012 07:36 PM

Option "RegistryDwords" "EnableBrightnessControl=1" In xorg.conf seemed to help it so now I can use the /etc/acpi I listed in pastebin and it works...

But when I use the F keys the contrast seems to be off, it's not as nice as when I use nvidia-settings which does 'All Channels' and makes it look better...

So this what I use right now;
http://pastebin.com/pc2fiQaX

Is there any way to convert this so it changes all the channels when it adjusts?

nvidia-settings --assign GreenBrightness=0.1
nvidia-settings --assign RedBrightness=0.1
nvidia-settings --assign BlueBrightness=0.1

THANKS


All times are GMT -5. The time now is 11:54 PM.