Page MenuHomeSolus

Properly support Librem 13 v2 and v3 keyboard (udev hwdb rules)
Open, NormalPublic

Description

On the librem 13 v2 and v3, the scancode 56 should be mapped to keycode 43 (backslash), I have a fix in place locally that I pulled from the purism forums: https://forums.puri.sm/t/keyboard-layout-unable-to-recognize-pipe/2022/10

Basically I override the current keyboard udev rules with my own in /etc/udev/hwdb.d/90-keyboard.hwdb

evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism:pnLibrem13v2*
 KEYBOARD_KEY_56=backslash

Here's my Librem 13v3's /sys/class/dmi/id/modalias

dmi:bvncoreboot:bvr4.7-Purism-3:bd03/02/2018:svnPurism:pnLibrem13v2:pvr2.0:rvnPurism:rnLibrem13v2:rvr2.0:cvnPurism:ct9:cvr:

side note: it's weird that the v3 is actually called the v2 version 2. It threw me off when I first got this machine.

Event Timeline

asonix created this task.May 10 2018, 12:00 AM
asonix edited projects, added Hardware; removed Lacks Project.May 10 2018, 12:02 AM

In my Librem 13v3 /sys/class/dmi/id/modalias contains

dmi:bvncoreboot:bvr4.7-Purism-4:bd03/20/2018:svnPurism:pnLibrem13v3:pvr3.0:rvnPurism:rnLibrem13v3:rvr3.0:cvnPurism:ct9:cvr:

thus /etc/udev/hwdb.d/90-keyboard.hwdb contains

evdev:atkbd:dmi:bvn*:bvr*:bd*:svnPurism:pnLibrem13v2*
 KEYBOARD_KEY_56=backslash
JoshStrobl triaged this task as Normal priority.Jul 29 2018, 4:28 PM
JoshStrobl moved this task from Backlog to Input on the Hardware board.
JoshStrobl added a subscriber: JoshStrobl.

Seems like something we need to ship as part of solus-hardware-config