Bug 20169 - Shift states (ctrl,shift,alt) do not work properly with multiple keyboards.
Summary: Shift states (ctrl,shift,alt) do not work properly with multiple keyboards.
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords: regression
Depends on:
Blocks:
 
Reported: 2009-02-17 11:30 UTC by Eric Wheeler
Modified: 2012-02-19 15:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg startup log. (36.26 KB, text/plain)
2009-02-17 11:30 UTC, Eric Wheeler
no flags Details

Description Eric Wheeler 2009-02-17 11:30:05 UTC
Created attachment 23046 [details]
xorg startup log.

== Reproduction ==  
  1. plug in two USB keyboards.
  2. on keyboard 1, hold shift.
  3. on keyboard 2, tap 'a' twice and it will show 'aA'
     -- it should display 'AA'

== Discussion ==
In fc9 using xorg 7.3, i have two USB keyboards and can use them concurrently with proper shift states.  Left hand on left keyboard, right hand on right keyboard.  Holding shift on the right keyboard and pressing a key on the left works properly in xorg 7.3.

In 7.4 in fc11-alpha, the shift states are weird.  For instance, if I hold shift on the left keyboard, and tap 'a' twice on the right keyboard, i get 'aA'.  The first cap is lost, and the second (and subsequent) cap is received.  At the text console outside of X, the shift states work properly.


== Questions/Direction ==
Is xorg grabbing the keyboards individually and doing some kind of round-robin to grab keystates?

Is there a way to get it to use the kernel's unified keyboard input instead of managing keyboard input for each device?

Is this some kind of HAL/hotplug interoperation thing?
Comment 1 Jeremy Huddleston Sequoia 2011-10-11 11:21:36 UTC
Is this still an issue?  I know Peter was doing quite a bit of work on 
multi-input-X around then, so this might be fixed already...
Comment 2 Peter Hutterer 2012-02-19 15:11:38 UTC
This works in current master, but don't ask me when this was fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.