I have searched many hours the web to find out a solution for the problem but it is still not solved.
I have a p212 board (S905X) along with android 7.1 amlogic SDK.
My board does not wake from shutdown or suspend when I press power button on remote.
I see in uboot/board/amlogic/configs/gxl_p212_v1.h there is CONFIG_IR_REMOTE_POWER_UP_KEY_VAL1 (and some similar defines)
and I know the syntax. (first byte is inverse logic of key scancode, the second is key_scancode and last 2 bytes are factory codes.)
#define CONFIG_IR_REMOTE_POWER_UP_KEY_VAL1 0XE51AFB04 //amlogic tv ir --- power |
ALSO another weird problem : Repeat key function not works too! (When you hold right key it only moves one step!) I know back when we have Android 6.0 SDK, we used to configure remote via remote.conf. But as you know this does not work for Android 7 and we should handle keymap and other remote configs in kernel. (device tree)
But I wonder how to set repeat key functioality in device tree or elsewhere!
Thanks.
Comment