I experience this bug on Raspbian, but not Arch. I don't have an Ubuntu system, but here is an easy way to reproduce it in software, which may be helpful:
$ setxkbmap us basic $ setxkbmap us dvorak $ sudo udevadm trigger $ aoeuaoeusdfasdfasdf You can see that half-way through typing the last line, the layout changes. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xkeyboard-config in Ubuntu. https://bugs.launchpad.net/bugs/295990 Title: Keyboard layout reset after attaching USB keyboard To manage notifications about this bug go to: https://bugs.launchpad.net/evdev/+bug/295990/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp