orangepi-xunlong / orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
http://www.orangepi.cn/
GNU General Public License v2.0
630 stars 272 forks source link

zero 2w enable CONFIG_KEYBOARD_MATRIX (and gpio-matrix-keypad) #142

Open Coderah opened 4 months ago

Coderah commented 4 months ago

No reason not to have the kernel module for matrix-keypad (https://github.com/torvalds/linux/blob/master/drivers/input/keyboard/matrix_keypad.c) be built and I believe CONFIG_KEYBOARD_MATRIX just needs to be enabled to achieve that?

Coderah commented 4 months ago

specifically hoping to achieve this in external/config/kernel/linux-6.1-next.config or maybe I should be looking at external/config/kernel/linux-6.1-sun50iw9-next.config as that appears to be installed on the zero 2w distro I have installed.

Coderah commented 4 months ago

further info https://cateee.net/lkddb/web-lkddb/KEYBOARD_MATRIX.html this is commonly used with other SBCs here is an example https://blog.geggus.net/2017/08/a-matrix-keypad-on-a-raspberry-pi-done-right/

Coderah commented 4 months ago

if someone can help point me to what generates those config files I'll happily open a PR