Last active
August 29, 2015 13:57
-
-
Save azami/9795349 to your computer and use it in GitHub Desktop.
linux hhkb keyboard設定
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# scancode | |
maki@marou:~> sudo showkey --scancodes | |
# key codes確認 | |
maki@marou:~> xmodmap -pke | |
# USBのvendor id, product id検索 | |
maki@marou:~> lsusb | |
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB | |
Bus 002 Device 003: ID 2019:ed18 PLANEX GW-USHyper300 / GW-USH300N 802.11bgn Wireless Adapter [Realtek RTL8191SU] | |
Bus 002 Device 004: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader) | |
Bus 004 Device 002: ID 11ff:3331 | |
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | |
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub | |
Bus 002 Device 005: ID 056a:0011 Wacom Co., Ltd Graphire 2 4x5 | |
Bus 002 Device 006: ID 0409:005a NEC Corp. HighSpeed Hub | |
Bus 002 Device 007: ID 056e:0035 Elecom Co., Ltd | |
Bus 002 Device 008: ID 0853:0100 Topre Corporation HHKB Professional | |
# udevに設定追加 | |
marou:/etc/udev # cat 90-hhkb.hwdb | |
keyboard:usb:v0853p0100 | |
KEYBOARD_KEY_7b=! | |
KEYBOARD_KEY_79=! | |
# 設定反映 | |
maki@marou:~> sudo udevadm hwdb --update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment