You are not logged in.

#1 2014-12-27 15:54:40

Acanthostega
Member
Registered: 2014-04-19
Posts: 1

keyboard layout and corsair k70 rbg

Hi everyone,

I'm trying to set the keyboard layout to french for a k70 rbg corsair keyboard for the X server. With my previous keyboard, the inputclass section defined in /etc/X11/xorg.conf.d/00-keyboard.conf was perfectly working, but no way to set it with the K70 one. I ran the localectl to see if I have introduced some syntax error but not working too.

Logs of the X server indicates that /etc/X11/xorg.conf.d/00-keyboard.conf is well loaded.

[     3.981] (II) config/udev: Adding input device Corsair Corsair K70 RGB Gaming Keyboard (/dev/input/event14)
[     3.981] (**) Corsair Corsair K70 RGB Gaming Keyboard: Applying InputClass "evdev keyboard catchall"
[     3.981] (**) Corsair Corsair K70 RGB Gaming Keyboard: Applying InputClass "system-keyboard"
[     3.981] (II) Using input driver 'evdev' for 'Corsair Corsair K70 RGB Gaming Keyboard'
[     3.981] (**) Corsair Corsair K70 RGB Gaming Keyboard: always reports core events
[     3.981] (**) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Device: "/dev/input/event14"
[     3.981] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Vendor 0x1b1c Product 0x1b13
[     3.981] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Found keys
[     3.981] (II) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Configuring as keyboard
[     3.981] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:1B1C:1B13.0001/input/input17/event14"
[     3.981] (II) XINPUT: Adding extended input device "Corsair Corsair K70 RGB Gaming Keyboard" (type: KEYBOARD, id 11)
[     3.981] (**) Option "xkb_rules" "evdev"
[     3.981] (**) Option "xkb_model" "pc104"
[     3.981] (**) Option "xkb_layout" "fr"
[     3.981] (**) Option "xkb_variant" "oss"
[     3.982] (II) config/udev: Adding input device Corsair Corsair K70 RGB Gaming Keyboard (/dev/input/event15)
[     3.982] (**) Corsair Corsair K70 RGB Gaming Keyboard: Applying InputClass "evdev keyboard catchall"
[     3.982] (**) Corsair Corsair K70 RGB Gaming Keyboard: Applying InputClass "system-keyboard"
[     3.982] (II) Using input driver 'evdev' for 'Corsair Corsair K70 RGB Gaming Keyboard'
[     3.982] (**) Corsair Corsair K70 RGB Gaming Keyboard: always reports core events
[     3.982] (**) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Device: "/dev/input/event15"
[     3.982] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Vendor 0x1b1c Product 0x1b13
[     3.982] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Found 1 mouse buttons
[     3.982] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Found scroll wheel(s)
[     3.982] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Found relative axes
[     3.982] (II) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Forcing relative x/y axes to exist.
[     3.982] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Found absolute axes
[     3.982] (II) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Forcing absolute x/y axes to exist.
[     3.982] (--) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Found keys
[     3.982] (II) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Configuring as mouse
[     3.982] (II) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Configuring as keyboard
[     3.982] (II) evdev: Corsair Corsair K70 RGB Gaming Keyboard: Adding scrollwheel support
[     3.982] (**) evdev: Corsair Corsair K70 RGB Gaming Keyboard: YAxisMapping: buttons 4 and 5
[     3.982] (**) evdev: Corsair Corsair K70 RGB Gaming Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[     3.982] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.1/0003:1B1C:1B13.0002/input/input18/event15"
[     3.982] (II) XINPUT: Adding extended input device "Corsair Corsair K70 RGB Gaming Keyboard" (type: KEYBOARD, id 12)
[     3.982] (**) Option "xkb_rules" "evdev"
[     3.982] (**) Option "xkb_model" "pc104"
[     3.982] (**) Option "xkb_layout" "fr"
[     3.982] (**) Option "xkb_variant" "oss"

The weird thing is that if I run

 setxkbmap -query 

, the indicated layout is the good one and if then I run

 setkbmap fr 

the layout becomes french. All works fine in console.

Since the keyboard is "recent", there are still some problems and I used a trick from https://github.com/ccMSC/ckb described in the linux installation section to be able to use the keyboard. So there is the option

usbhid.quirks=0x1B1C:0x1B13:0x20000000

passed to the kernel at boot time. I don't have any idea if this can be problematic for the keyboard configuration.

I do not want a workaround such as put setkbmap command to your bashrc or something like that, I think it is better to understand where is the problem and correct it the good way to learn something new !

Thanks in advance for any suggestion or help !

Offline

Board footer

Powered by FluxBB