Problems with keyboard using evdev

Matija Šuklje matija.suklje at
Thu Nov 20 14:56:51 PST 2008


my migrating to HAL saga has hit another rock — the keyboard.

I've switched my keyboard settings to HAL as well, because when I moved my 
mouse and touchpad to HAL and left the keyboard settings in 'xorg.conf', the 
keyboard really went crazy (e.g. repeated every key pressed three times).

What happens now is that some keybindings seem to work like they do in the 
console (instead of like they should in X). Examples:
* Ctrl+c kills X
* Ctrl+Backspace kills X
* "WinKey" goes a VT backwards (e.g. from tty7 to tty6)
* "MenuKey" goes a VT forwards (e.g. from tty7 to tty8)
* Ctrl+Fx goes to the VT 'x' (e.g. Ctrl+F1 goes to tty1, Ctrl+F12 goes to 
* Alt+ArrowLeft goes a VT backwards
* Alt+ArrowRight goes a VT forwards

I'm pretty sure there's a simple solution that I'm unable to see. I'm just 
waiting for enlightenment and in the meantime cursing the 0's and 1's out of 
my laptop each time I forget myself and press Ctrl+c or Ctrl+Backspace to 
kill a program in the terminal emulator or try to delete a word.

I'm attaching the .fdi file I wrote — the (practical) problem persits no 
matter if I comment out any of its lines or not.

Here's the relevant 'hal-device' output:
43: udi 
= '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
  info.addons.singleton = { 'hald-addon-input' } (string list)
  info.callouts.add = { 'hal-setup-keymap' } (string list)
= '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'
  linux.sysfs_path = '/sys/class/input/input3/event3'  (string)
  info.subsystem = 'input'  (string) = 
{ 'e025:help', 'e026:setup', 'e027:battery', 'e029:switchvideomode',
'e033:euro', 'e034:dollar', 'e055:wlan', 'e056:wlan', 'e057:bluetooth', 'e058:bluetooth', '
e071:f22', 'e072:f22', 'e073:prog2', 'e074:prog1' } (string list)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port'  
  info.product = 'AT Translated Set 2 keyboard'  (string)
  input.xkb.rules = 'xorg'  (string)
  info.category = 'input'  (string)
= '/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port_logicaldev_input'
  input.xkb.model = 'evdev'  (string)
  info.capabilities = 
{ 'input', 'input.keyboard', 'input.keypad', 'input.keys', 'input.key
map', 'button' } (string list)
  input.xkb.layout = 'si'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  input.xkb.variant = ''  (string)
  input.device = '/dev/input/event3'  (string)
  linux.subsystem = 'input'  (string)
  input.x11_driver = 'evdev'  (string)
  input.product = 'AT Translated Set 2 keyboard'  (string)
  linux.device_file = '/dev/input/event3'  (string)
  input.x11_options.XkbModel = 'pc105'  (string)
  input.x11_options.XkbRules = 'xorg'  (string)
  input.x11_options.XkbLayout = 'si'  (string)

gsm: +386 41 849 552
e-mail: matija.suklje at

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suklje at
msn: matija.suklje at
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278
-------------- next part --------------
<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
		<match key="info.capabilities" contains="input.keyboard">
		<match key="info.product" contains="AT Translated Set 2 keyboard">
			<merge key="input.x11_driver" type="string">evdev</merge>
			<merge key="input.x11_options.XkbModel" type="string">evdev</merge>
			<merge key="input.x11_options.XkbRules" type="string">xorg</merge>
			<merge key="input.x11_options.XkbLayout" type="string">si</merge>
			<merge key="input.x11_options.XkbModel" type="string">pc105</merge>
			<merge key="input.xkb.rules" type="string">xorg</merge>
			<merge key="input.xkb.layout" type="string">si</merge>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the xorg mailing list