Second keyboard layout can't be selected after suspend

Bug #290644 reported by David Kågedal
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-input-evdev (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I primarily use the US keyboard layout, but I have added the Swedish layout as well in Keyboard Preferences. The first problem I notice is that, in the "Default" column, I can't select any of the two layouts as default.

The more important problem is that everytime I take out my laptop from my bag and plug it at work or at home (with a USB keyboard), the Swedish layout is no longer selectable. It still appears in the "Keyboard Preferences" list, but clicking on the Keyboard Indicator applet or the hotkey will not change layout.

Then I have to manually remove the Swedish layout and readd it again and everything works again.

Revision history for this message
David Kågedal (dkagedal) wrote :
Revision history for this message
David Kågedal (dkagedal) wrote :

This is Intrepid, updated today.

ii libgnomekbd-comm 2.24.0-0ubuntu2 GNOME library to manage keyboard configuration -
ii libgnomekbd3 2.24.0-0ubuntu2 GNOME library to manage keyboard configuration -
ii libgnomekbdui3 2.24.0-0ubuntu2 User interface library for libgnomekbd - shared
ii xserver-xorg-inp 1:1.3.1-1ubuntu2 X.Org X server -- keyboard input driver

Revision history for this message
tonfa (bboissin) wrote :

I think it's the same bug as #289781 (since the switch to evdev, the keyboard settings are lost on suspend/resume).

Revision history for this message
Ivan Kravchenko (iv-kravchenko) wrote :

My ubuntu 8.10 all updates, works the same way too.

I can't select second layout after suspend.

Revision history for this message
David Kågedal (dkagedal) wrote :

As noted in #289781, the problem isn't really suspend/resume. The problem happens when the USB keyboard is disconnected and reconnected, event if the computer isn't suspended.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi davidk-lysator,

Thanks for including an image to demonstrate the issue. Could you also please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log or Xorg.0.log.old file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

Changed in xserver-xorg-input-evdev:
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
David Kågedal (dkagedal) wrote :

Here are my logs from a freshly booted system.

I started my laptop and logged in to my Gnome desktop and ran

  krank% lspci -vvnn > 1-lspci.log
  krank% cat /var/log/Xorg.0.log > 1-xorg.log

Then I inplugged the USB keyboard. This left the keyboard layout switcher fully functioning. I created the 2-lspci.log and 2-xorg.log at this stage.

Then I replugged the USB keyboard. This made the layout switcher stop working. It only shows "USA", which was the one I was using when unplugging.

The logs after this are 3-lspci.log and 3-xorg.log.

Revision history for this message
David Kågedal (dkagedal) wrote :
Revision history for this message
David Kågedal (dkagedal) wrote :
Revision history for this message
David Kågedal (dkagedal) wrote :
Revision history for this message
David Kågedal (dkagedal) wrote :

The lspci -vvnn logs after unplugging and replugging the USB keyboard didn't change at all, so I won't attach those.

Revision history for this message
David Kågedal (dkagedal) wrote :

Trying to resurrect this bug report.

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Invalid → Incomplete
Bryce Harrington (bryce)
Changed in xserver-xorg-input-evdev (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
David Kågedal (dkagedal) wrote :

Why did you close this bug as invalid? Didn't I provide the information you needed?

Revision history for this message
zmiq2 (zzmiq2) wrote :

I have also noted the same problem after screen rotation, using xrandr

After screen is rotated, the applet makes the keyboard to go to the default layout, and other layouts cannot be selected by pressing the applet icon.

Changed in xserver-xorg-input-evdev (Ubuntu):
status: Invalid → New
Revision history for this message
zmiq2 (zzmiq2) wrote :

I experience the same problem after unloading (rmmod) and reloading (modprobe) usbhid module.

Revision history for this message
Chaostya (chaostya) wrote :
Revision history for this message
Louis-Dominique Dubeau (ldd) wrote :

I experience the same symptoms. I was not able to test it on 8.10 because my USB keyboard was not around. I'm running 9.04 now and ever since I started using my USB keyboard again, I've had this issue. I believe the issue was absent in 8.04 but I'm not 100% sure about that.

Here is an symptom I've noticed but which I think has not been reported yet. I've set hitting "Left Shift" and "Right Shift" together a hot key to toggle the keyboard layout, but:

1. If I hit the hot key on the USB keyboard, it is ignored.

2. If I hit the hot key on the internal laptop keyboard when the USB keyboard is plugged in, the keyboard layout applet switches between "USA" and "??" instead of "USA" and "CAN".

Revision history for this message
iponeverything (cookema) wrote :

I am seeing this same bug. Plugging in a USB keyboard causes my USA -> RUS to change to USA -> ??.

Going into keyboard preferences and deleting Russian and re-adding it while the USB keyboard will allow it to work until the the next time the external keyboard is re-attached. My keyboard settings are not affected by suspend/resume.

Linux mac 2.6.27-14-generic #1 SMP Fri Jul 24 22:19:33 UTC 2009 i686 GNU/Linux

Ubuntu 8.10

Revision history for this message
David Kågedal (dkagedal) wrote :

I no longer have this problem. I'm currently running Karmic. It is possible that it worked for me in Jaunty as well.

Bryce Harrington (bryce)
Changed in xserver-xorg-input-evdev (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.