Page MenuHomeFreeBSD

evdev: Support AT 102/105 keys keyboard 0x56 scancode
ClosedPublic

Authored by dumbbell on Oct 31 2017, 11:58 PM.
Tags
None
Referenced Files
F171102442: D12883.id34589.diff
Tue, Sep 8, 5:23 PM
F171092725: D12883.id34589.diff
Tue, Sep 8, 4:04 PM
F171089097: D12883.id34571.diff
Tue, Sep 8, 3:24 PM
F171068057: D12883.id34571.diff
Tue, Sep 8, 12:36 PM
Unknown Object (File)
Mon, Sep 7, 10:08 PM
Unknown Object (File)
Mon, Sep 7, 9:47 PM
Unknown Object (File)
Mon, Sep 7, 9:46 PM
Unknown Object (File)
Mon, Sep 7, 2:58 AM
Subscribers

Details

Summary

This is the extra key just right of the Left Shift key. With a French layout, this key is used to type < and >.

Test Plan

I tested this with libinput-debug-events(1). Without the patch, the key doesn't produce any event (evdev_scancode2key() returns 0 for a scancode of 0x56). With the patch, the scancode is converted to 0x56 (KEY_102ND) and an event is fired. The key is now usable in a evdev/libinput-enabled X.Org server.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 12352
Build 12637: arc lint + arc unit

Event Timeline

dumbbell edited the test plan for this revision. (Show Details)

FWIW, the problem doesn't occur with a USB keyboard of the same type.

This revision is now accepted and ready to land.Nov 1 2017, 7:42 AM
This revision was automatically updated to reflect the committed changes.