Skip to contentSkip to conversation

use evdev driver for keyboard, fix bug 1108

PATCH Applied Yu Ke 2 participants 3 messages May 27, 2011

lore
Share & tools
lore

Yu Ke

author
#0 lore raw

cover use evdev driver for keyboard, fix bug 1108

This patch update the xorg.conf for qemux86 and qemux86-64 to make keybaord back to work in X.

The BSP xorg.conf may also need update accoringly, the main difference with qemux86 may be the Option "Device". it can be checked in /dev/input/

CC Darren Hart <[email protected]>
CC Zanussi Tom <[email protected]>

The following changes since commit 32a4e746273c3c7d3dd0f13b745bc0679cadaa44:
Otavio Salvador (1):
codeparser.py: fix syntax error in exception handling

are available in the git repository at:

git://git.pokylinux.org/poky-contrib kyu3/bug-1108-x-keyboard
http://git.pokylinux.org/cgit.cgi//log/?h=kyu3/bug-1108-x-keyboard

Yu Ke (1):
xorg.conf: update keyboard config with evdev

 .../xserver-xf86-config/qemux86-64/xorg.conf       |    5 +++--
 .../xserver-xf86-config/qemux86/xorg.conf          |    5 +++--
 .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)
author
#1 lore raw

PATCH 1/1 xorg.conf: update keyboard config with evdev

with xserver 1.10, the evdev driver is used by default, so update the keyboard config entry in xorg.conf accordingly.

Fix [YOCTO #1108]

---
 .../xserver-xf86-config/qemux86-64/xorg.conf       |    5 +++--
 .../xserver-xf86-config/qemux86/xorg.conf          |    5 +++--
 .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86-64/xorg.conf +3 -2
index 4216de7..10a6d9a 100644
@@ -4,10 +4,11 @@ EndSection
 
 Section "InputDevice"
     Identifier    "Generic Keyboard"
-    Driver        "kbd"
+    Driver        "evdev"
     Option        "CoreKeyboard"
+    Option        "Device"      "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
     Option        "XkbRules"    "xorg"
-    Option        "XkbModel"    "pc105"
+    Option        "XkbModel"    "evdev"
     Option        "XkbLayout"    "us"
 EndSection
 
meta/recipes-graphics/xorg-xserver/xserver-xf86-config/qemux86/xorg.conf +3 -2
index 4216de7..10a6d9a 100644
@@ -4,10 +4,11 @@ EndSection
 
 Section "InputDevice"
     Identifier    "Generic Keyboard"
-    Driver        "kbd"
+    Driver        "evdev"
     Option        "CoreKeyboard"
+    Option        "Device"      "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
     Option        "XkbRules"    "xorg"
-    Option        "XkbModel"    "pc105"
+    Option        "XkbModel"    "evdev"
     Option        "XkbLayout"    "us"
 EndSection
 
meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb +1 -1
index 035a462..970b4bd 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.x.org"
 SECTION = "x11/base"
 LICENSE = "MIT-X"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
-PR = "r9"
+PR = "r10"
 
 SRC_URI = "file://xorg.conf"
 
Signature · 1 line
1.7.0.4
#2 lore raw

Re: [PATCH 1/1] xorg.conf: update keyboard config with evdev

Quoted 11 lines · Yu Ke

with xserver 1.10, the evdev driver is used by default, so update the keyboard config entry in xorg.conf accordingly.

Fix [YOCTO #1108]

---
 .../xserver-xf86-config/qemux86-64/xorg.conf       |    5 +++--
 .../xserver-xf86-config/qemux86/xorg.conf          |    5 +++--
 .../xorg-xserver/xserver-xf86-config_0.1.bb        |    2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)

Merged to master, thanks.

Richard