Librem 13v2, German keyboard & PureOS: "angle brackets & pipe" key dysfunctional


#1

After installing PureOS on my Librem13v2 with a German keyboard, the “|<>” key is not working, but instead it is behaving exactly like the “’#’” key.

I am aware of the posts The "| + \" key on the keyboard doesn't work, and installing non-gui distributions is impossible and Keyboard layout unable to recognize pipe , however nothing suggested there worked for me.

A parallel native Manjaro Linux installation produces the same issue.

But: when live-booting into Arch Linux 3.17.4-1-ARCH, both of the above keys work as they should, before and after doing

root@archiso ~ # loadkeys de-latin1

(which I used to do on a Lenovo T440 with German keyboard layout.)

Can anybody recommend a workaround for this (PureOS?!) issue? Any suggestions welcome. I am stuck and out of ideas, the new machine is sitting lonely in a corner catching the dust. Poor thing.

Peace,
antimon


Librem 13v2 + German keyboard: which OSs are compatible?
PureOS won't boot after upgrade, boots with recovery
#2

Since you asked for it, buy El-Cheapo™ €5 USB keyboard and use that until proper fix is available from Purism. Not that great suggestion, but I am under impression that this issue is not fixable in software…

Edit: Also, contact technical support via mail (https://puri.sm/contact/), so they can support you better.


#3

Right, that’s what I am going to do for now, my old Cherry keyboard (about twice as large as the Librem) does still work.

I have contacted the technical support a few days ago, waiting for instructions from their side.


#4

Sorry, we have no workaround yet, but I’ll try to see what’s so special about Arch that have those keys working.


#5

Also in QubesOS R4.0 and Ubuntu 16.04 this keys are working fine.


#6

AFAIK the special key code mapping was contributed to debian upstream so that up-to-date distros like Arch Linux (which compiles from up-to-date sources) may already have incorporated this patch.


#7

Not working fine in Qubes 4.0 with my en_US.utf8

sudo setkeycodes 56 43 worked for me

Sincerely
Max


#8

@max4: Do you use the latest recent version of Qubes 4.0 or you did an upgrade?
German keyboard with german layout and en_UK.utf8 locale is working fine for me.
I didn’t have to set any key codes.


#9

Sorry, I missed the “German” part of the thread. I am using the US keyboard and have the pipe backslash issue, as many others.

It should have posted here but I guess I jumped between threads for a solution a bit to many.

Pardon my mistake
Sincerely
Max


#10

I fixed it on my machine with german keyboard the following way, after some research here and on the archwiki…

  1. Create the file /etc/udev/hwdb.d/90-purism-german-keyboard-fix.hwdb with content:
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism*:pn*Librem13v2*:pvr*
 KEYBOARD_KEY_56=86
  1. systemd-hwdb update
  2. udevadm trigger

Librem 13v2 + German keyboard: which OSs are compatible?
Librem coreboot Utility Script: usage, discussion, and help
#11

@max4: Yes true, that’s the more interesting part, cause of the embedded controller firmware.

Just was wondering. So, no problem. It’s looks like the same issue, but it’s slightly different.
The patches don’t work for the german keyboard and the issue occurs mostly only in PureOS.


#12

SUCCESS! Thanks, @elsurion, this works perfectly.

EDIT: I removed the quote of @elsurion’s post, as it was not displayed properly here (missing space before “KEYBOARD_KEY_56…”). Thanks for pointing it out, @Caliga.


#13

Unfortunately this fix doesn’t work for me. There is a message that says:
“Property expected, ignoring record with no properties”

Has anyone an idea?

Thanks and greetings
manni


#14

Sure. Put a space in front of the second line, just as @elsurion has. You’re welcome :wink:
Hm… @antimon maybe you can fix or remove the quote in your message to avoid confusion?


#15

It works…

Thanks and greetings from Cologne
manni


#16

Explanation of this issue: https://tracker.pureos.net/T486


#17

Tried your suggestion step by step which worked out fine, but still having the same wrong mapping on the german keyboard # ’ ’ instead angle brackets & pipe.

Had to create the folder hwdb.d myself. Didn’t exist. Might that have to do with that nothing changed?

(i’m not from a linux-background unfortunately)


#18

I had this issue when upgrading a Librem 13 v3 from Debian 9 stable to unstable. With stable, the <, > and | key worked, after upgrading to unstable and rebooting it did not anymore. @elsurion’s solution had to be adjusted a bit, replacing the “v2” with a “v3” - also see https://tracker.pureos.net/T486