Bug 576996

Summary: Keyboard is reset to US American on resume from suspend
Product: [Fedora] Fedora Reporter: Need Real Name <lsof>
Component: xorg-x11-drv-evdevAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: fedora, lsof, mcepl, peter.hutterer, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-04-15 13:40:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Xorg.0.log
none
before
none
after none

Description Need Real Name 2010-03-25 19:45:40 UTC
Description of problem:
When I resume from suspend I have a US American keyboard map.

Version-Release number of selected component (if applicable):
xorg-x11-drv-evdev-2.3.2-3.fc12.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1. Suspend
2. Resume
3. Type
  
Actual results:
US American keyboard map.

Expected results:
German keyboard map.

Comment 1 Need Real Name 2010-03-25 19:50:06 UTC
Possibly related to bug 573570.

Comment 2 Peter Hutterer 2010-03-26 00:42:52 UTC
please attach your Xorg.log and the output of "xkbcomp -xkb $DISPLAY -" before and after the issue occurs.

What DE do you use? does the issue occur in runlevel 3 after starting the X server just with "xinit --" (you need to install xterm before you try that)?

Comment 3 Need Real Name 2010-03-31 20:25:04 UTC
Created attachment 403823 [details]
Xorg.0.log

Comment 4 Need Real Name 2010-03-31 20:25:41 UTC
Created attachment 403824 [details]
before

Comment 5 Need Real Name 2010-03-31 20:26:42 UTC
Created attachment 403825 [details]
after

The second file gives an error too:

$ xkbcomp -xkb $DISPLAY - > after
Warning:          Could not load keyboard geometry for :0.0
                  BadAlloc (insufficient resources for operation)
                  Resulting keymap file will not describe geometry

Comment 6 Need Real Name 2010-04-11 16:29:39 UTC
The problem with this bug is that when the user's password contains a letter which is mismapped by the new keyboard layout, they can't log in again.

This bug is a good example of death by a thousand paper cuts: I am annoyed multiple times a day by this bug.

Comment 7 Need Real Name 2010-04-13 17:37:00 UTC
The warning from comment 5 is not given on my laptop. Perhaps the bug is triggered by (certain) usb keyboards.

Comment 8 Need Real Name 2010-04-14 07:38:14 UTC
Upgrading to Fedora 13 Alpha fixes this bug.

Comment 9 Matěj Cepl 2010-04-15 13:40:48 UTC
Thank you for letting us know.

Comment 10 Need Real Name 2010-04-20 06:20:24 UTC
The bug is back: but only when I switch users. What info do you need?