Bug 440380 - evdev causes external keyboard problems
Summary: evdev causes external keyboard problems
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Kristian Høgsberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: f9-x-blocker
TreeView+ depends on / blocked
 
Reported: 2008-04-03 07:54 UTC by Osma Ahvenlampi
Modified: 2013-01-10 04:38 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-04-24 20:56:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Xorg config (1.55 KB, text/plain)
2008-04-03 07:54 UTC, Osma Ahvenlampi
no flags Details
log in docked with the config file (37.88 KB, text/plain)
2008-04-03 07:54 UTC, Osma Ahvenlampi
no flags Details
log in docked without any xorg.conf (45.77 KB, text/plain)
2008-04-03 07:56 UTC, Osma Ahvenlampi
no flags Details
log in undocked with an xorg.conf (keyboard works correctly) (21.38 KB, text/plain)
2008-04-03 07:56 UTC, Osma Ahvenlampi
no flags Details
log in undocked without xorg.conf (24.69 KB, text/plain)
2008-04-03 07:57 UTC, Osma Ahvenlampi
no flags Details

Description Osma Ahvenlampi 2008-04-03 07:54:23 UTC
I have an Acer laptop on which its built-in keyboard functions pretty much OK
when I log in disconnected from its docking station. However, when logging in
while docked, and with the Logitech Cordless Desktop Pro keyboard/mouse
connected, keymappings are busted: Delete key works as PrintScreen, arrow down
as Return, and various other problems.

In addition, I can't make the gdm login screen understand my keyboard layout is
Finnish, and have to type in my password assuming an English layout. This
happens either undocked or docked.

I have tried both without any xorg.conf and with a config modified from what
worked in F8 (which I need to extend virtual screen enough to enable xrandr
display switching, but that's another matter).

The computer has a base F8 install with GNOME, Xorg and many, many base
libraries updated through F9 Beta to Rawhide, but still using SysVinit instead
of Upstart.

Attached four Xorg log files: logging in docked, undocked, with and without a
config, and the config file used in these sessions.

Comment 1 Osma Ahvenlampi 2008-04-03 07:54:23 UTC
Created attachment 300189 [details]
Xorg config

Comment 2 Osma Ahvenlampi 2008-04-03 07:54:59 UTC
Created attachment 300190 [details]
log in docked with the config file

Comment 3 Osma Ahvenlampi 2008-04-03 07:56:04 UTC
Created attachment 300191 [details]
log in docked without any xorg.conf

Comment 4 Osma Ahvenlampi 2008-04-03 07:56:38 UTC
Created attachment 300192 [details]
log in undocked with an xorg.conf (keyboard works correctly)

Comment 5 Osma Ahvenlampi 2008-04-03 07:57:14 UTC
Created attachment 300193 [details]
log in undocked without xorg.conf

Comment 6 Danny Baumann 2008-04-22 05:50:17 UTC
Same problem here on a machine updated from F7. Using the kbd driver the
keyboard layout is completely broken as described above, using evdev no input at
all is possible.

Comment 7 Osma Ahvenlampi 2008-04-22 06:15:41 UTC
Yum update to latest rawhide (all packages), presumably tracking F9 Preview
release. Problem still exists. I have to make sure I log in while undocked,
otherwise keyboard is close to useless with most non-alphanumeric keys mapped
wrong. Would suggest this is a fairly serious regression, thus proposing blocker
for F9.

Comment 8 Jesse Keating 2008-04-22 14:12:25 UTC
Yeah, this is a problem where evdev is seeing a combo mouse/keyboard device and
evdev takes over both devices, screwing up the keyboard shortcuts.  Moving to X
blocker.

Comment 9 Adam Jackson 2008-04-24 20:56:07 UTC
Built a fix for this in xorg-x11-server 1.4.99.901-26.20080415

Comment 10 Osma Ahvenlampi 2008-04-26 05:34:34 UTC
Sorry, yum didn't find this update until I'd left the office for the weekend.
Won't be able to verify this until Monday.

Comment 11 Danny Baumann 2008-04-27 16:12:29 UTC
(In reply to comment #9)
> Built a fix for this in xorg-x11-server 1.4.99.901-26.20080415

My keyboard/mouse composite USB device now works properly when logged in, thanks.
However, in gdm, the keyboard layout still is US English, although
/etc/sysconfig/keyboard says it's German. Shall I reopen the bug or open a new
one (as this problem is mentioned in the bug report)? ;)




Note You need to log in before you can comment on or make changes to this bug.