You are not logged in.

#1 2010-10-24 12:48:44

seemawn
Member
Registered: 2006-08-22
Posts: 2

Keyboard doesnt work properly

Hi
I have a HP Pavilion dv6 notebook with an i5, nvidia GeForce 230GM with CUDA, 4 gb ram, 500 gb hdd.

Nearly everything works well, also wlan and the powersave-features. Only the keyboard doesn't want to.

I use the us-layout, hence the rc.conf says us to the keyboard layout although I use a german keyboard.

Since I tried to get the multimedia-keys working, and they worked for a short time, the arrow-keys left and right don't want to work any more. When I press one of these buttons, one can see, that the cpu is used 100% for a short time, as the speed-o-meter shows. And sometimes the Computer misunderstands the left-arrow as mute/unmute.

My .Xmodmap consists of three lines:

keycode 113 = XF86AudioMute
keycode 114 = XF86AudioRaiseVolume
keycode 115 = XF86AudioLowerVolume

but my .xinitrc does not load this file actually. But it must be loaded because else the computer would not mute/unmute the sound.
Also

showkey

reports following keys: 105 for arrow_left, 106 for arrow_right, 103 for arrow_up and 108 for arrow_down, which are not mentioned in the .Xmodmap and connected to the muting_command.

The muting-key reports 113, as the sound-decreasing key reports  114 and the sound-increasin-key reports 115, which seem to be correctly in the .Xmodmap. In the xfce4-keyboard-configuration-tool the key-symbols are connected to the proper commands.

Is there another place where a file like the Xmodmap is opened except the .xinitrc by default?

During writing this post, I tried to remove the bindings: XF86AudioMute -> /usr/bin/mute. Since then, the arrow-keys work for some reason. Perhaps this is also interesting: xbindkeys-config receives 11 from the kernel when clicking on get-key.

So that the possible source of malfunction may be found, does  anyone have a suggestion?

thanx

Simon

EDIT: Please forget about the 11 on xbindkeys_config, creating the default-file solved the problem. Thank you.

Last edited by seemawn (2010-10-24 12:55:46)

Offline

#2 2010-10-24 21:42:44

seemawn
Member
Registered: 2006-08-22
Posts: 2

Re: Keyboard doesnt work properly

It is very likely that the application in xfce4 was buggy. xbindkeys is the application which provides the functionality I wanted.

Thanx for reading at least

Simon

Offline

#3 2010-10-24 21:49:27

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: Keyboard doesnt work properly

Please add "[Solved]" to the title by editing your first post

Offline

#4 2010-11-11 13:43:59

Adridon
Member
Registered: 2006-06-17
Posts: 6

Re: Keyboard doesnt work properly

I'm having the same problem on my HP HDX 16 laptop. Upon running xmodmap I noticed how my left key toggles my mute button instead of doing what it is supposed to.

I don't think this is an Xfce4 related problem as I'm not using Xfce4. Running xev, I get the following when pressing the mute and the left key in succession:

FocusOut event, serial 25, synthetic NO, window 0x1600001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 25, synthetic NO, window 0x1600001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 25, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusOut event, serial 25, synthetic NO, window 0x1600001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 25, synthetic NO, window 0x1600001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 25, 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   0   0   0   0   0   0   0   0   0   0   0   0 

No XF86AudioMute or Left, whatsoever. If anybody could help me getting this problem fixed I'd be very grateful. I don't want to use xbindkeys to map actions to my keys, but rather want to configure it directly in awesome using the correct X11 symbols for them.

Thanks!

Offline

Board footer

Powered by FluxBB