Bug 1108 - keyboard could not work in qemux86/x86-64
Summary: keyboard could not work in qemux86/x86-64
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High critical
Target Milestone: 1.1 M1
Assignee: Ke Yu
QA Contact:
URL:
Whiteboard: PATCH sent out. May 27
Depends on:
Blocks:
 
Reported: 2011-05-26 08:40 UTC by Jiajun Xu
Modified: 2011-05-31 08:02 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-05-26 08:40:01 UTC
tree/branch: poky/1.1_M1
commit: fc55b224caa3eeac4abda099ec9ed505db59fb28
image location: all qemux86/x86-64 images for 1.1_M1 RC1
http://autobuilder03.jf.intel.com/nightly/20110520-1/machines/qemu

With Yocto 1.1 M1 RC1, physical keyboard could not work in qemux86/x86-64 target. Meanwhile mouse could work. Furthermore, if we start x11vnc in qemu target and use vncviewer to connect the target, keyboard could work in vnc port. So it seems there is some configure missing for keyboard.
Comment 1 Ke Yu 2011-05-27 01:16:28 UTC
The root cause is that: in the new xserver 1.10, the hotplug is enabled by default. Thus the legacy kdb driver is disabled. meanwhile the hotplug requires the keyboard ti use evdev driver, which is missing in the xorg.conf

so add the entry of evdev keyboard in xorg.conf will fix this issue:

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "evdev"
    Option        "CoreKeyboard"
    Option        "Device"      "/dev/input/by-path/platform-i8042-serio-0-event-kbd"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "evdev"
    Option        "XkbLayout"    "us"
EndSection

The patch is sent out.
Comment 3 Jiajun Xu 2011-05-31 08:02:28 UTC
Verify the bug as fixed in Yocto 1.1 M1 RC2 build.

Commit information:
Tree/Branch: Poky/1.1_M1
Poky Commit: 4ff7af11ef69849ef9c16f585eae58ac920b222b
Meta Branch: 1.1_M1
Meta Commit: fc719f0cd6530ce15148b4aa274f1644b461b298