You are not logged in.
Pages: 1
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
run xmodmap ~/.Xmodmap
Offline
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
your sure that you have shorcuts asigned?
other thing that you can try is reinstalling xmodmap
Offline
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
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
Offline
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
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
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
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
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
Yep. "inspiron" it is. I just found that out a few days ago
arch(3) adj amused because you think you understand something better than other people ;P
Offline
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
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
thanks for the confirmation, and your right. So i will try it out and reply when I get home. Thanks again.
Offline
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
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
Pages: 1