You are not logged in.

#1 2012-09-17 03:37:22

Narga
Member
From: Hải Phòng, Việt Nam
Registered: 2011-10-06
Posts: 60
Website

How to swap brightness button

I'm using Acer 4736 Laptop with Intel GMA 4500 MHD card. I got problem with brightness control.
The default brightness keyboard control is
+Fn + LeftArrow: brightness down
+Fn + RightArrow: brightness up
after installed arch linux, it working opposite
+Fn + LeftArrow: brightness up
+Fn + RightArrow: brightness down
then after turn off the laptop, the brightness screen will be darkest, when I boot it, I got a black screen then I must re-press brightness keyboard control again and again.
How can I swap this?
I use showkey command then I got

keycode 224 #when I press Fn + LeftArrow
keycode 225 #when I press Fn + RightArrow

I've tried make it remap through .Xmodmap but it's not work.
I found /usr/include/X11/XF86keysym.h

/* Backlight controls. */
#define XF86XK_MonBrightnessUp   0x1008FF02  /* Monitor/panel brightness */
#define XF86XK_MonBrightnessDown 0x1008FF03  /* Monitor/panel brightness */
#define XF86XK_KbdLightOnOff     0x1008FF04  /* Keyboards may be lit     */
#define XF86XK_KbdBrightnessUp   0x1008FF05  /* Keyboards may be lit     */
#define XF86XK_KbdBrightnessDown 0x1008FF06  /* Keyboards may be lit     */

I've changed it step by step but it's still not working.

How can I swap these button to control the brightness?

Offline

#2 2012-09-20 11:21:34

kvanberendonck
Member
Registered: 2012-08-17
Posts: 45

Re: How to swap brightness button

Bump. I'd like to know the same.

Offline

Board footer

Powered by FluxBB