Bug 678619

Summary: No keyboard input
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: mcepl, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-02 08:42:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
xkbcomp -xkb :0 - none

Description Harald Hoyer 2011-02-18 16:01:42 UTC
Created attachment 479551 [details]
xkbcomp -xkb :0 -

Can't get my keyboard to work with pure xinit/xterm.

/var/log/Xorg.0.log

[   441.810] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event4)
[   441.810] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "evdev keyboard catchall"
[   441.810] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "system-setup-keyboard"
[   441.810] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   441.810] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[   441.810] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Device: "/dev/input/event4"
[   441.810] (--) Apple Inc. Apple Internal Keyboard / Trackpad: Found keys
[   441.810] (II) Apple Inc. Apple Internal Keyboard / Trackpad: Configuring as keyboard
[   441.810] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-1/1-1.2/1-1.2:1.0/input/input4/event4"
[   441.810] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD)
[   441.810] (**) Option "xkb_rules" "evdev"
[   441.810] (**) Option "xkb_model" "evdev"
[   441.810] (**) Option "xkb_layout" "us"
[   441.810] (**) Option "xkb_variant" "nodeadkeys"
[   441.810] (**) Option "xkb_options" "terminate:ctrl_alt_bksp,"

$ ls -l /etc/X11/xorg.conf*/*
-rw-rw-r--. 1 root root 319 17. Feb 09:56 /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf
$ cat /etc/X11/xorg.conf.d/00-system-setup-keyboard.conf
# This file is autogenerated by system-setup-keyboard. Any 
# modifications will be lost.

Section "InputClass"
	Identifier	"system-setup-keyboard"
	MatchIsKeyboard	"on"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
	Option		"XkbOptions"	"terminate:ctrl_alt_bksp,"
EndSection

Comment 1 Harald Hoyer 2011-02-18 16:02:29 UTC
Password input in gdm is also not working.

Keyboard is although working in the user session with gdm autologin.

Comment 2 Harald Hoyer 2011-02-18 16:03:42 UTC
(In reply to comment #0)
> [   441.810] (**) Option "xkb_layout" "us"

>  Option  "XkbLayout" "de"

Also... very strange..

Comment 3 Harald Hoyer 2011-02-18 16:08:07 UTC
xev gives:

KeyPress event, serial 26, synthetic NO, window 0x600001,
    root 0x15d, subw 0x0, time 756135, (107,80), root:(109,82),
    state 0x0, keycode 38 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 26, synthetic NO, window 0x600001,
    root 0x15d, subw 0x0, time 756263, (107,80), root:(109,82),
    state 0x0, keycode 38 (keysym 0x0, NoSymbol), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Comment 4 Harald Hoyer 2011-02-18 16:11:46 UTC
# evtest /dev/input/event4 

seems to work fine, although it assumes a US keyboard

Comment 5 Matěj Cepl 2011-03-01 20:50:05 UTC
Could you please upgrade to the latest F15 and try again. I am sorry for responding to this so late, but couple of bugs like this have been already resolved.

Does upgrade to the latest F15 help?

Comment 6 Harald Hoyer 2011-03-02 08:42:04 UTC
Ah, resolved! Thanks!