Driver for i.MX GPIO controlled keypads
From ArmadeusWiki
PAGE UNDER CONSTRUCTION !!!
Introduction
This driver is intented to control matrix keypads connected to i.MX GPIOs
Installation
If not already done in standard Armadeus rootfs:
$ make linux-menuconfig Device Drivers ---> Input device support ---> [*] Keyboards ---> <*> AT keyboard
then
Device Drivers ---> Armadeus specific drivers ---> <M> Armadeus Keypad driver
Reflash rootfs then:
# modprobe imxkeypad Initializing Armadeus keypad driver input: imxkeypad as /class/input/input0
Test
- If you have a graphical LCD connected to your board (= virtual terminal), then you should see what you type.
- If you don't have any virtual terminal, but only the serial console:
# cat /sys/class/input/input0/event0/dev 13:64
If corresponding device node in /dev/input/ is not existing, then:
# mkdir -p /dev/input # mknod /dev/input/event0 c 13 64
# cat /dev/input/event0
Then you should see weirds characters when pressing keyboard keys:
�,~~_�,}�}�3T,QToT6,TT�,�;��, � �