From ebd5ba42e384ea23ca335f52aea34e2bad2ba4c4 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Thu, 17 Sep 2015 07:34:07 -0600 Subject: [PATCH] xkbmap: wildcard MatchUSBID --- in/blog/keyboard-specific-mappings.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/in/blog/keyboard-specific-mappings.md b/in/blog/keyboard-specific-mappings.md index 0145f78..b835424 100644 --- a/in/blog/keyboard-specific-mappings.md +++ b/in/blog/keyboard-specific-mappings.md @@ -148,6 +148,14 @@ But the Xorg log file has the information $ grep "CM Storm.*Vendor" /var/log/Xorg.0.log.old | tail -1 [100514.151] (--) evdev: CM Storm Side print: Vendor 0x2516 Product 0x17 +_Update 2015-09-17:_ I purchased _another_ one of these keyboards for a second +location. I couldn't find a Stealth model with Cherry MX Brown key switches, so +purchased instead the Rapid model. The only difference is the latter has the +keycaps printed on the top face, as do most keyboards. It's USB VID:PID is also +different: `2516:0004`. So I've changed the `MatchUSBID` value in +`/usr/share/X11/xord.conf.d/90-evdev-CM-Storm.conf` to use a wildcard entry to +capture both keyboards: `2516:*`. + ## Step 4 -- Log out and back in X only reads the configurations in /usr/share/X11/xorg.conf.d on startup, so the -- 2.39.2