https://bugzilla.kernel.org/show_bug.cgi?id=98931

--- Comment #5 from Tasev Nikola <[email protected]> ---
(In reply to Aaron Lu from comment #4)
> Please use evtest to find out which input device output the brightness
> event. Hopefully it is the keyboard, then we should be able to remap those
> keys I think.

I just tried evtest.

sudo evtest gives :

Available devices:
/dev/input/event0:      Lid Switch
/dev/input/event1:      Sleep Button
/dev/input/event2:      Power Button
/dev/input/event3:      AT Translated Set 2 keyboard
/dev/input/event4:      Video Bus
/dev/input/event5:      ETPS/2 Elantech Touchpad
/dev/input/event6:      HDA Digital PCBeep
/dev/input/event7:      HDA Intel PCH Mic
/dev/input/event8:      HDA Intel PCH Headphone
/dev/input/event9:      HDA Intel HDMI HDMI/DP,pcm=3
/dev/input/event10:     HDA Intel HDMI HDMI/DP,pcm=7
/dev/input/event11:     HDA Intel HDMI HDMI/DP,pcm=8
/dev/input/event12:     USB2.0 UVC HD Webcam
/dev/input/event13:     Asus WMI hotkeys

I tried event3 keyboard and event13 WMI 

The brightness, rfkill and wlan keys are in the event13 WMI 

Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "Asus WMI hotkeys"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 113 (KEY_MUTE)
    Event code 114 (KEY_VOLUMEDOWN)
    Event code 115 (KEY_VOLUMEUP)
    Event code 140 (KEY_CALC)
    Event code 148 (KEY_PROG1)
    Event code 150 (KEY_WWW)
    Event code 163 (KEY_NEXTSONG)
    Event code 164 (KEY_PLAYPAUSE)
    Event code 165 (KEY_PREVIOUSSONG)
    Event code 166 (KEY_STOPCD)
    Event code 169 (KEY_PHONE)
    Event code 185 (KEY_F15)
    Event code 191 (KEY_F21)
    Event code 212 (KEY_CAMERA)
    Event code 215 (KEY_EMAIL)
    Event code 224 (KEY_BRIGHTNESSDOWN)
    Event code 225 (KEY_BRIGHTNESSUP)
    Event code 226 (KEY_MEDIA)
    Event code 227 (KEY_SWITCHVIDEOMODE)
    Event code 229 (KEY_KBDILLUMDOWN)
    Event code 230 (KEY_KBDILLUMUP)
    Event code 237 (KEY_BLUETOOTH)
    Event code 238 (KEY_WLAN)
    Event code 240 (KEY_UNKNOWN)
    Event code 245 (KEY_DISPLAY_OFF)
    Event code 247 (KEY_RFKILL)
    Event code 431 (KEY_DISPLAYTOGGLE)
    Event code 531 (KEY_TOUCHPAD_ON)

But pressing fn+f2 fn+f5 fn+f6 does nothing, no events are 
reported by evtest.

Pressing fn+f3 fn+f4 (wrongly reported brightness keys) gives :

Testing ... (interrupt to exit)
Event: time 1433237881.875708, type 4 (EV_MSC), code 4 (MSC_SCAN), value c4
Event: time 1433237881.875708, type 1 (EV_KEY), code 230 (KEY_KBDILLUMUP),
value 1
Event: time 1433237881.875708, -------------- SYN_REPORT ------------
Event: time 1433237881.875732, type 1 (EV_KEY), code 230 (KEY_KBDILLUMUP),
value 0
Event: time 1433237881.875732, -------------- SYN_REPORT ------------
Event: time 1433237883.086938, type 4 (EV_MSC), code 4 (MSC_SCAN), value c5
Event: time 1433237883.086938, type 1 (EV_KEY), code 229 (KEY_KBDILLUMDOWN),
value 1
Event: time 1433237883.086938, -------------- SYN_REPORT ------------
Event: time 1433237883.086961, type 1 (EV_KEY), code 229 (KEY_KBDILLUMDOWN),
value 0
Event: time 1433237883.086961, -------------- SYN_REPORT ------------

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

------------------------------------------------------------------------------
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to