This is the first time I post something here. I have installed a dual Linux Mint 16 Petra KDE / Windows 8.1 on my Toshiba Satellite S75D laptop and I am happy to say that almost everything worked of the box on mint but the multimedia keys. After some research and palying with xev and xmodmap commands, I found that there is a mix up with the key codes and decided to try to fix it.
Here is the keyboard multimedia keys layout and expected key behavior
Code: Select all
┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────────────┐
│ ESC │ ? │ ↓ ☀ │ ↑ ☼ │ □/□ │ ■/⌧ │ |◄◄ │ ►/||│ ►►| │ - ♬ │ + ♬ │ ♬/✖ │ «⊥» │ Scroll Lock │
│ │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Insert │
└─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────────────┘ (Here goes some other keys that doesn't matter right now)
┌────────────────┬────────────────────────────────────────────────┐
│ │ Expected Behavior │
│ Multimedia Key ├─────────────────┬───────────────────────┬──────┤
│ │ Description │ Key │ Code │
├────────────────┼─────────────────┼───────────────────────┼──────┤
│ FN+F1 │ Help │ - │ - │
│ FN+F2 │ Less Brightness │ XF86MonBrightnessDown │ 232 │
│ FN+F3 │ More Brightness │ XF86MonBrightnessUp │ 233 │
│ FN+F4 │ Display │ XF86Display │ 235 │
│ FN+F5 │ Touchpad On/Off │ XF86TouchpadToggle │ 199 │
│ FN+F6 │ Previous Audio │ XF86AudioPrev │ 173 │
│ FN+F7 │ Play/Pause │ XF86AudioPlay │ 172 │
│ FN+F8 │ Next Audio │ XF86AudioNext │ 171 │
│ FN+F9 │ Less Volume │ XF86AudioLowerVolume │ 122 │
│ FN+F10 │ More Volume │ XF86AudioRaiseVolume │ 123 │
│ FN+F11 │ Unmute/Mute │ XF86AudioMute │ 121 │
│ FN+F12 │ Wifi On/Off │ XF86WLAN │ 246 │ (EDIT: I found the wifi code :D)
└────────────────┴─────────────────┴───────────────────────┴──────┘
Code: Select all
┌────────────────┬────────────────────────────────────────────────┐
│ │ Current Behavior │
│ Multimedia Key ├─────────────────┬───────────────────────┬──────┤
│ │ Description │ Key │ Code │
├────────────────┼─────────────────┼───────────────────────┼──────┤
│ FN+F1 │ Help │ - │ - │
│ FN+F2 │ Battery │ XF86Battery │ 244 │
│ FN+F3 │ Sleep │ XF86Sleep │ 150 │
│ FN+F4 │ Suspend │ XF86Suspend │ 213 │
│ FN+F5 │ Display │ XF86Display │ 235 │
│ FN+F6 │ Previous Audio │ XF86AudioPrev │ 173 │
│ FN+F7 │ Play/Pause │ XF86AudioPlay │ 172 │
│ FN+F8 │ Next Audio │ XF86AudioNext │ 171 │
│ FN+F9 │ Less Volume │ XF86AudioLowerVolume │ 122 │
│ FN+F10 │ More Volume │ XF86AudioRaiseVolume │ 123 │
│ FN+F11 │ No Simbol │ - │ 248 │
│ FN+F12 │ No Simbol │ - │ 248 │
└────────────────┴─────────────────┴───────────────────────┴──────┘
I think it is a keyboard layout or kernel issue more than a X configuration issue right now, so after that fail, I changed my approach and I have been researching and trying to create a xkb file (on "/usr/share/X11/xkb/symbols/") to define a custom keyboard layout and then use it with xkb as a fix but no success far now... here is my code:
Code: Select all
default
xkb_symbols "toshiba_s65d" {
//name[Group1]= "Toshiba S75D (English US, international with dead keys)";
include "us(intl)";
//key.type = "ONE_LEVEL";
key 122 { [ XF86AudioLowerVolume ] };
key 123 { [ XF86AudioRaiseVolume ] };
key 248 { [ XF86AudioMute ] };
key 213 { [ XF86Display ] };
key 235 { [ XF86TouchpadToggle ] };
key 244 { [ XF86MonBrightnessDown ] };
key 150 { [ XF86MonBrightnessUp ] };
include "keypad";
};