Hi,
I have a Corsair K95 RGB with a French AZERTY layout. I set up a fresh Debian/Jessie installation. In the console, no problem - the keyboard is properly assigned the fr layout. But in X, it doesn't - instead, it is given a QWERTY/us one.
xorg configuration file: http://paste.ubuntu.com/12962664/
/etc/default/keyboard file: http://paste.ubuntu.com/12959295/
Xorg log file: http://paste.ubuntu.com/12959220/
udevadm info reports for the two /dev/input/eventX created for K95: http://paste.ubuntu.com/12959240/ and http://paste.ubuntu.com/12959257/ .
From the Xorg logfile, I can see that the keyboard event devices are indeed passed the option "xkb_layout=fr" (lines 217 and 241). Yet the keyboard is still in qwerty mode.
If I plug another keyboard instead of the K95, I get the proper "fr" mapping in X.
If I plug the K95 alongside another keyboard and start X, I get a qwerty layout on the K95. But if I then type even a single letter on the other keyboard, the K95 gets into an azerty layout. http://paste.ubuntu.com/12963232/ is the xev output from typing the "a" letter on the K95. The first entry is when I typed the letter before touching the other keyboard; the second is when I typed the same letter after touching the other keyboard.
I don't understand anything at all. This is obviously related to the K95 itself, as it doesn't happen with other keyboards. Installing the ckb driver presented here doesn't solve the issue. So what's going on? Anyone got an idea?