Hello there,

As far as I could find, the Yubikey is incompatible with my keyboard mapping, and even the personalisation tool can't help. So I'm trying to configure a different keymap for just for that device. That works fine on the console with wsconctl, but I can't get it to work in X. setxkbmap(1) needs a device id as an argument, and I'm supposed to find that id in the output of "xinput list", but that output never changes, with the Yubikey plugged in or out. It permanently shows:

% xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave pointer  (2)]
⎜   ↳ /dev/wsmouse0                             id=7    [slave pointer  (2)]
⎜   ↳ /dev/wsmouse                              id=8    [slave pointer  (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ /dev/wskbd id=6 [slave keyboard (3)]

Any idea where to go from there?

Plugging the key shows the following in dmesg:

uhidev3 at uhub1 port 1 configuration 1 interface 0 "Yubico Yubikey NEO OTP+U2F" rev 2.00/3.43 addr 7
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 variable keys, 6 key codes
wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0
uhidev4 at uhub1 port 1 configuration 1 interface 1 "Yubico Yubikey NEO OTP+U2F" rev 2.00/3.43 addr 7
uhidev4: iclass 3/0
uhid2 at uhidev4: input=64, output=64, feature=0

Cheers,

Reply via email to