xev and keycodes greater than 255

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to get my remote control working. It uses the Linux input 
system rather than lirc. So, the button presses generate keyboard 
events. All the buttons that generate keycodes less than 256 work 
fine, but a few (such as Ch+ and Ch-) generate keycodes greater than 
255. None of these keys work.

If I test it with evtest and xev, evtest sees the ChannelDown event, 
but xev does not.

$ evtest /dev/input/event
Event: time 1085087962.698609, type 1 (Key), code 114 (VolumeDown), 
value 0
Event: time 1085087962.698611, type 0 (Reset), code 0 (Reset), value 0
Event: time 1085087963.459369, type 1 (Key), code 403 (ChannelDown), 
value 1
Event: time 1085087963.459371, type 0 (Reset), code 0 (Reset), value 0

$ xev
KeyRelease event, serial 28, synthetic NO, window 0x3000001,
    root 0x36, subw 0x0, time 21962819, (426,-275), root:(430,392),
    state 0x10, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), 
same_screen YES,
    XLookupString gives 0 characters:  ""

I'm using...
xfree86 4.2.1
linux 2.6.3

What's the cause of this problem? Is it fixed in any later version of 
XFree86?

Please cc me in your reply. Thanks!
Shaun

_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux