Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde 'input action' trigger not reg'n multimedia keys[Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Wed Dec 20, 2006 6:45 am    Post subject: kde 'input action' trigger not reg'n multimedia keys[Solved] Reply with quote

I have a microsoft comfort curve keyboard 2000. It has a few 'extra' keys - back, forward, vol-, mute, etc.

I can not get kde control center>Regional & Accessibility>Input Actions to recognize those keys. It works fine in another install of gentoo on the same machine, running the same kernel as this fresh install.
When I select a trigger, it seems to detect me pressing the mute key - because the dotted outline (active widget indicator) around button disappears, and it repaints the button each time I press key, but it does not register the key value. It does register regular keys (like F12, shift+M, etc)
Any ideas on what the problem is, or how to go about figuring out why it works in one install and not the other?

kde-base/khotkeys-3.5.5
x11-drivers/xf86-input-evdev-1.1.2-r2

Disable KHotKeys daemon is not checked.

xev (mute, then f5)
Code:
KeyPress event, serial 31, synthetic NO, window 0x2400001,
    root 0x186, subw 0x0, time 2660856843, (456,602), root:(623,658),
    state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2400001,
    root 0x186, subw 0x0, time 2660857019, (456,602), root:(623,658),
    state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 31, synthetic NO, window 0x2400001,
    root 0x186, subw 0x0, time 2660857778, (456,602), root:(623,658),
    state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2400001,
    root 0x186, subw 0x0, time 2660857986, (456,602), root:(623,658),
    state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False



cat /proc/bus/input/devices
Code:

I: Bus=0003 Vendor=046d Product=c042 Version=4900
N: Name="Logitech USB Gaming Mouse"
P: Phys=usb-0000:00:02.0-5/input0
S: Sysfs=/class/input/input0
H: Handlers=mouse0 event0
B: EV=7
B: KEY=ffff0000 0 0 0 0 0 0 0 0
B: REL=143

I: Bus=0003 Vendor=045e Product=00dd Version=0173
N: Name="Microsoft Comfort Curve Keyboard 2000"
P: Phys=usb-0000:00:02.0-7/input0
S: Sysfs=/class/input/input1
H: Handlers=kbd event1
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=045e Product=00dd Version=0173
N: Name="Microsoft Comfort Curve Keyboard 2000"
P: Phys=usb-0000:00:02.0-7/input1
S: Sysfs=/class/input/input2
H: Handlers=kbd event2
B: EV=10000f
B: KEY=c0002 400 0 0 1 10f80 78407 ffe739fa d97157ff febeffdf ffefffff ffffffff fffffffe
B: REL=40
B: ABS=1 0


Last edited by dspgen on Wed Dec 20, 2006 7:19 am; edited 1 time in total
Back to top
View user's profile Send private message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Wed Dec 20, 2006 6:46 am    Post subject: Reply with quote

xev reporting " (keysym 0x0, NoSymbol)" looks interesting, so I'm going to boot into the working install and see what it reports.
it reports: (keysym 0x1008ff12, XF86AudioMute) - where is XF86AudioMute coming from?

xev (F6,mute,F5)
Code:
KeyPress event, serial 31, synthetic NO, window 0x2000001,
    root 0x1a5, subw 0x0, time 2661438739, (452,178), root:(610,237),
    state 0x0, keycode 72 (keysym 0xffc3, F6), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2000001,
    root 0x1a5, subw 0x0, time 2661438891, (452,178), root:(610,237),
    state 0x0, keycode 72 (keysym 0xffc3, F6), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

FocusOut event, serial 31, synthetic NO, window 0x2000001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 31, synthetic NO, window 0x2000001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 31, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   1   0   0   0   0   0   0   0   0   0   0   0

KeyRelease event, serial 31, synthetic NO, window 0x2000001,
    root 0x1a5, subw 0x0, time 2661440124, (452,178), root:(610,237),
    state 0x0, keycode 160 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyPress event, serial 31, synthetic NO, window 0x2000001,
    root 0x1a5, subw 0x0, time 2661441715, (452,178), root:(610,237),
    state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x2000001,
    root 0x1a5, subw 0x0, time 2661441851, (452,178), root:(610,237),
    state 0x0, keycode 71 (keysym 0xffc2, F5), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
Back to top
View user's profile Send private message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Wed Dec 20, 2006 7:09 am    Post subject: Reply with quote

from http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys:
Quote:
KDE

With KDE you can set almost all settings through the Control Center if you have a supported keyboard. Go to Control Center -> Regional & Accessibility -> Keyboard Layout and choose your Keyboard model (I have a Logitech iTouch).


I *do* remember setting that, problem is, in my fresh install, there is no 'Keyboard Layout' - just Accessibility, Country/Region & La.., Input Actions, Keyboard Shortcuts.

Where did 'Keyboard Layout' go?
Back to top
View user's profile Send private message
dspgen
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2005
Posts: 103

PostPosted: Wed Dec 20, 2006 7:18 am    Post subject: Reply with quote

emerge -avt kde-base/kxkb
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum