You are not logged in.

#1 2008-10-11 15:39:02

houms
Member
Registered: 2008-08-18
Posts: 16

multimedia keys no longer work

Good day archeres,
I have a dell inspiron 8600. I had the multimedia keys working using xmodmap. All the keys were working.
here's my ~/.Xmodmap

keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 162 = XF86AudioPause
keycode 164 = XF86AudioStop
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume



I did a upgrade via pacman -Syu two days ago, and ever since then the volume up/down buttons, and the mute button still work, but for some reason the other multimedia keys do not work? Any help or suggestions would be greatly appreciated. Thanks in advance.

Offline

#2 2008-10-12 00:56:24

yo
Member
Registered: 2008-08-31
Posts: 25

Re: multimedia keys no longer work

run xmodmap ~/.Xmodmap

Offline

#3 2008-10-12 16:59:25

houms
Member
Registered: 2008-08-18
Posts: 16

Re: multimedia keys no longer work

thanks for the reply yo,
the problem is I already have a startup script for the keyboard that was how it was working for me during login . I use kde so its in the ~/.kde/Autostart dir. here it is

#!/bin/sh
xmodmap $HOME/.Xmodmap
#End

I did run the command again like you suggested just in case but it doesn't help. Again thanks for your help. Any other suggestions are greatly appreciated.

Offline

#4 2008-10-14 18:28:17

yo
Member
Registered: 2008-08-31
Posts: 25

Re: multimedia keys no longer work

your sure that you have shorcuts asigned?
other thing that you can try is reinstalling xmodmap

Offline

#5 2008-10-14 20:56:31

jwcxz
Member
Registered: 2008-09-23
Posts: 239
Website

Re: multimedia keys no longer work

Have you taken a look in dmesg to see if the scancodes are no longer set?

Look for something like this in dmesg after pressing a key.

atkbd.c: Unknown key pressed (translated set 2, code 0x91 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e011 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0x91 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e011 <keycode>' to make it known.

-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers

Offline

#6 2008-10-14 21:31:10

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: multimedia keys no longer work

By the way, you can probably get the multimedia keys working without xmodmap, just set the correct XkbModel in the keyboard section of your xorg.conf. The list of possible models can be found in /usr/share/X11/xkb/rules/xorg

(I just found out recently that setting that to 'thinkpad' does what a .xmodmaprc similar to yours did before on my thinkpad wink

Offline

#7 2008-10-15 02:34:11

houms
Member
Registered: 2008-08-18
Posts: 16

Re: multimedia keys no longer work

thanks everyone for the replies.

bender,
thanks for the suggestion, I looked and dell inspiron 8600 is not listed. though im not sure how to read 'dellsk8135'.
nonetheless, if you think its there please let mee know, but i didnt find it.

jwcxz,
dmesg does not output anything referencing the keycode. though dmesg also does not show output for the mute or voulme button, even though these three buttons work. though all buttons show the corresponding key codes when using xev.

yo,
I'm not cear on what you mean by shortcuts. I was under the impression that the xmodmap file was referencing the shorcuts. unless you mean global shorcuts?, though i do not recall setting shorcuts. for example I dont have any shorcuts for the volume and mute keys.

again any suggestion are greatly appreciated.

Offline

#8 2008-10-15 02:44:36

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: multimedia keys no longer work

Check the output of xev when pressing the buttons, make sure the keypresses are still recognized.  If for some reason they aren't, you may want to look into keytouch or similar.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#9 2008-10-15 02:46:44

jwcxz
Member
Registered: 2008-09-23
Posts: 239
Website

Re: multimedia keys no longer work

houms wrote:

jwcxz,
dmesg does not output anything referencing the keycode. though dmesg also does not show output for the mute or voulme button, even though these three buttons work. though all buttons show the corresponding key codes when using xev.

Ah, okay.  That is a good thing.  This means that your key codes are indeed set up properly.

If you have another user account (e.g. root), try shutting down your existing instance of X (e.g. /etc/rc.d/kdm stop for desktops with KDM installed) and starting X directly from a TTY.  Then, try mapping your keycodes as you normally would and see if they work.


-- jwc
http://jwcxz.com/ | blog
dotman - manage your dotfiles across multiple environments
icsy - an alarm for powernappers

Offline

#10 2008-10-15 02:48:16

houms
Member
Registered: 2008-08-18
Posts: 16

Re: multimedia keys no longer work

rson,
thanks for the prompt reply, but the keys are still recognized. Which gives me the itc to solve it rather then ditch it and use keytouch. I have used keytouch before, its good, but i'd prefer to get this figured out. Thanks again. Any suggestions are greatly appreciated.

Offline

#11 2008-10-15 07:32:26

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: multimedia keys no longer work

For the XkbModel, just try inspiron. I'm not sure at all it will help, but if you have a couple of minutes to spare...

Offline

#12 2008-10-15 15:36:30

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: multimedia keys no longer work

Yep. "inspiron" it is. I just found that out a few days ago wink


arch(3) adj amused because you think you understand something better than other people ;P

Offline

#13 2008-10-15 16:12:01

houms
Member
Registered: 2008-08-18
Posts: 16

Re: multimedia keys no longer work

Thanks Bender for the suggestion
okay so just so I got this correct

in my xorg change the XkbModel from what ever it is now to inspiron ? is that right?
I assume then I uninstall xmodmap and delete the xmodmap file i created.. is that sound about right?

Jermey,
Are you confirming that this does indeed work with the inspiron? if so what model ?




Thanks again archers, I will try this when I get home from work. Will post back later today.

Offline

#14 2008-10-15 16:27:16

JeremyTheWicked
Member
From: Poland
Registered: 2008-05-23
Posts: 193

Re: multimedia keys no longer work

I confirm. I have a Dell Inspiron e1505 which is newer (aka inspiron 6400) - I cannot guarantee 100% it will work for you but checking this is as easy as rewriting one line in your xorg.conf - so why don't give it a try?


arch(3) adj amused because you think you understand something better than other people ;P

Offline

#15 2008-10-15 17:20:25

houms
Member
Registered: 2008-08-18
Posts: 16

Re: multimedia keys no longer work

thanks for the confirmation, and your right. So i will try it out and reply when I get home. Thanks again.

Offline

#16 2008-10-15 21:52:04

houms
Member
Registered: 2008-08-18
Posts: 16

Re: multimedia keys no longer work

okay so i removed my .Xmodmap file from my home dir. and then I added the following line to my xorg config,

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "Xkbmodel" "inspiron"
EndSection

and still my volume keys and mute buttons work but the other four are a no go? did i do this correctly? if not, what did i miss. Thanks for your help.

and now that i think about it. I'm now confused and curious as to why the volume up/down and mute buttons still work? how could that be?

Last edited by houms (2008-10-15 22:41:42)

Offline

#17 2008-11-22 23:32:25

alleyoopster
Member
From: Cape Town
Registered: 2006-11-19
Posts: 95

Re: multimedia keys no longer work

To get my inspiron 8500 working I had to use the xkbmodel set to inspiron and remap a little like this

/etc/X11/xorg.conf

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"      
        Option          "CoreKeyboard"
        Option          "XkbRules"              "xorg"
        Option          "XkbOptions"            "altwin:super_win"
#       Option          "XkbModel"              "pc105"           
        Option          "XkbModel"              "inspiron"        
        Option          "XkbLayout"     "gb"

Manually configured other keys in ~/.Xmodmap. To see current mappings use "xmodmap -pk"

keycode 162 = XF86AudioPlay
keycode 153 = XF86AudioNext
keycode 144 = XF86AudioPrev
keycode 164 = XF86AudioStop
keycode 129 =
keycode 130 =
keycode 131 =
keycode 132 =

The 129-132 were wrongly mapped so I unmapped them

I then still had to configure Amarok global shortcuts to use the keys, but it worked, Maybe as I am using XFCE.

Last edited by alleyoopster (2008-11-22 23:35:17)

Offline

Board footer

Powered by FluxBB