Hi everyone,
i'm trying to capture KEYS_EVT on a IMX6DL with Linux (kernel 4.9.11). I set two gpio input and configured gpio-keys from dtsi. Then I have a script that listen for evtest. the problem is that only one event is read correctly, while the second one never happens. The configuration is the same and I don't understand why only one event works.
The problem is on gpio1 13, on KEY_POWER event. I've already checked that this pin is not use by other peripherals. The PCB schematic is the following: I tested the AC_MISS signal and works correctly (high to low when ac miss)
Solved! Go to Solution.
Hi jimmy,
the problem is solved: i forgot to add "pinctrl-0 = <&pinctrl_gpio_keys>" in order to link the GPIO.
Have you try to output 1 or 0 from this gpio pin?
Hi jimmy,
the problem is solved: i forgot to add "pinctrl-0 = <&pinctrl_gpio_keys>" in order to link the GPIO.