You are not logged in.
Pages: 1
Sup'
I got some trouble with my fn keys on my (not so) freshly installed Arch.
I'm running on a x86_64 Linux 4.0.1-1-ARCH kernel. The touchpad worked great, the sounds keys too (up, down and mute), and to turn off the screen. Unfortunately, the sleep, keyboard backlight and screen
backlight are not working at all.
Here's the part of my sxhkdrc who's in charge of the fn keys
#
# Fn keys
#
# Audio
XF86AudioRaiseVolume
amixer -q sset Master 1%+
XF86AudioLowerVolume
amixer -q sset Master 1%-
XF86AudioMute
amixer -q set Master playback toggle
# Brightness
XF86MonBrightnessDown
xbacklight -dec 10
XF86MonBrightnessUp
xbacklight -inc 10
XF86KbdBrightnessUp
asus-kbd-backlight up
XF86KbdBrightnessDown
asus-kbd-backlight downI got some informations about the kbd backlight. The permission in /sys/class/leds/asus::kbd_backlight/brightness is not set for the user.
-rw-rw-r-- 1 root users 4.0K May 7 14:41 /sys/class/leds/asus::kbd_backlight/brightnessI can change it but whenever I reboot, I got to change the permissions. Is there a way to auto chmod 666 the file permanently?
Is there a way to get the name of the brightness keys, or connect via the keycode?
Thanks.
Offline
I can change it but whenever I reboot, I got to change the permissions. Is there a way to auto chmod 666 the file permanently?
You don't need to do that and you shouldn't try.
Is there a way to get the name of the brightness keys, or connect via the keycode?
xevXF86MonBrightnessDown is "0x1008ff03"
XF86MonBrightnessUp is "0x1008ff02"
Jin, Jîyan, Azadî
Offline
xev do nothing when I try XF86MonBrightnessDown and XF86MonBrightnessUp.
And how can I modify the keyboard brightness with this?
simon@fuckyeahpizza ~ asus-kbd-backlight up
/usr/bin/asus-kbd-backlight: line 26: /sys/class/leds/asus::kbd_backlight/brightness: Permission deniedOffline
xev do nothing when I try XF86MonBrightnessDown and XF86MonBrightnessUp.
I have supplied the codes in my post above -- AFAIK these are universal.
And how can I modify the keyboard brightness with this?
simon@fuckyeahpizza ~ asus-kbd-backlight up /usr/bin/asus-kbd-backlight: line 26: /sys/class/leds/asus::kbd_backlight/brightness: Permission denied
I don't know -- I have never used a keyboard with backlit keys, sorry.
Examine the script and see what command is used at line 26: perhaps you could add the command to /etc/sudoers with "NOPASSWD" and then prepend the script command with `sudo`
Jin, Jîyan, Azadî
Offline
Yay, I got some news!
The ASUS_N550JV page helped me for the screen brightness.
I enabled and start the asus-kbd-backlight service, but the command wont change the file. Permission again.
How can I solve that?
Offline
Pages: 1