Bug 129633 - Multimedia keys do not work in KDE
Summary: Multimedia keys do not work in KDE
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: KDE (show other bugs)
Version: Alpha 1
Hardware: x86 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-20 06:12 UTC by Alexander Lavrinenko
Modified: 2006-05-03 17:19 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Lavrinenko 2005-10-20 06:12:15 UTC
I have Logitech Cordless Internet Pro keyboard. I've added it to X11 
configuration, but after I assign keyboard shortcuts for applications, they do 
not work. Volume+/- and Mute do not show widgets with volume progress bar or 
"sound muted" as expected. I use kxkb, but even disabling it does nothing.
Comment 1 Dirk Mueller 2005-10-20 07:02:02 UTC
attach the keyboard section of your xorg.conf please
Comment 2 Stephan Kulow 2005-10-20 12:39:34 UTC
and the xev output when you type the mute key
Comment 3 Alexander Lavrinenko 2005-10-21 11:33:45 UTC
Please find xev output below:
KeyPress event, serial 31, synthetic NO, window 0x3a00001,
    root 0x48, subw 0x0, time 182121, (-645,609), root:(409,636),
    state 0x10, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3a00001,
    root 0x48, subw 0x0, time 182161, (-645,609), root:(409,636),
    state 0x10, keycode 174 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
    XLookupString gives 0 bytes:

KeyPress event, serial 31, synthetic NO, window 0x3a00001,
    root 0x48, subw 0x0, time 184511, (-645,609), root:(409,636),
    state 0x10, keycode 230 (keysym 0x1008ff30, XF86Favorites), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3a00001,
    root 0x48, subw 0x0, time 184671, (-645,609), root:(409,636),
    state 0x10, keycode 230 (keysym 0x1008ff30, XF86Favorites), same_screen YES,
    XLookupString gives 0 bytes:

KeyPress event, serial 31, synthetic NO, window 0x3a00001,
    root 0x48, subw 0x0, time 185279, (-645,609), root:(409,636),
    state 0x10, keycode 236 (keysym 0x1008ff19, XF86Mail), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 31, synthetic NO, window 0x3a00001,
    root 0x48, subw 0x0, time 185471, (-645,609), root:(409,636),
    state 0x10, keycode 236 (keysym 0x1008ff19, XF86Mail), same_screen YES,
    XLookupString gives 0 bytes:

....
Each button is detected.
Here's excempt from xorg.conf:
Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us,ru"
  Option       "XkbModel" "logiclinetpro"
  Option       "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" ",winkeys"
EndSection

I've added "logiclinetpro" keyboard model by myself, patching following files:
/etc/X11/xkb/symbols.dir
Added:
--p----- a------- inet(logiclinetpro)

/etc/X11/xkb/symbols/inet
// Logitech Cordless Internet Pro Keyboard
partial alphanumeric_keys
xkb_symbols "logiclinetpro" {
    key <XFER>  {       [ XF86AudioMedia        ]       };
    key <I22>   {       [ XF86AudioPlay, XF86AudioPause         ]       };
    key <I20>   {       [ XF86AudioMute         ]       };
    key <I30>   {       [ XF86AudioRaiseVolume  ]       };
    key <I2E>   {       [ XF86AudioLowerVolume  ]       };
    key <I66>   {       [ XF86Favorites         ]       };
    key <I6C>   {       [ XF86Mail              ]       };
    key <I02>   {       [ XF86WWW               ]       };

};

/etc/X11/xkb/rules/base
ltcd logiaccess logicdp logicdpa logicdit logicink logiciink logiclinetpro \

/etc/X11/xkb/rules/base.lst
logiclinetpro   Logitech Cordless Internet Pro Keyboard

/etc/X11/xkb/rules/base.xml
    <model>
      <configItem>
        <name>logiclinetpro</name>
        <description>Logitech Cordless Internet Pro Keyboard</description>
      </configItem>
    </model>

Then I coosed this keyboard from drop-down list in kxkb.

Hope this helps

Comment 4 Felix Rommel 2006-02-01 16:24:51 UTC
My multimedia keys in my Acer Aspire 1353LC aren't recognized, too.

Neither in KDE nor in GNOME. In Ubuntu Breezy they work without editing anything manually.

My keyboard section of my xorg.conf:

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "pc105"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection

The xev output for

Louder:

KeyPress event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 769060, (124,109), root:(790,168),
    state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 769192, (124,109), root:(790,168),
    state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Softer:

KeyPress event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 771902, (124,109), root:(790,168),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 772021, (124,109), root:(790,168),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Mute:

KeyPress event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 858612, (43,73), root:(709,132),
    state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 858711, (43,73), root:(709,132),
    state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Plus the keys for e-mail, web browser etc. aren't recognized...
Comment 5 Felix Rommel 2006-02-01 16:25:36 UTC
My multimedia keys in my Acer Aspire 1353LC aren't recognized, too.

Neither in KDE nor in GNOME. In Ubuntu Breezy they work without editing anything manually.

My keyboard section of my xorg.conf:

Section "InputDevice"
  Driver       "kbd"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "de"
  Option       "XkbModel" "pc105"
  Option       "XkbRules" "xfree86"
  Option       "XkbVariant" "nodeadkeys"
EndSection

The xev output for

Louder:

KeyPress event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 769060, (124,109), root:(790,168),
    state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 769192, (124,109), root:(790,168),
    state 0x0, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Softer:

KeyPress event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 771902, (124,109), root:(790,168),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 772021, (124,109), root:(790,168),
    state 0x0, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Mute:

KeyPress event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 858612, (43,73), root:(709,132),
    state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 33, synthetic NO, window 0x3000001,
    root 0x3f, subw 0x0, time 858711, (43,73), root:(709,132),
    state 0x0, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes:

Plus the keys for e-mail, web browser etc. aren't recognized...
Comment 6 Felix Rommel 2006-02-01 16:27:19 UTC
Sorry for my double post.

Additional info: I have SUSE 10.1 Beta2 installed.
Comment 7 Dirk Mueller 2006-02-01 16:31:30 UTC
is this the xorg.conf of ubuntu or of suse? with that broken xorg.conf its quite normal that your multimedia keys don't work. 

Comment 8 Matthias Fruehauf 2006-05-03 15:58:44 UTC
OK, what is the status with this bug? Is there still some info missing or is it clarified and fixed meanwhile?
Comment 9 Alexander Lavrinenko 2006-05-03 17:19:07 UTC
Seems it's been fixed somewhere in beta8-9 - closing this bug.