Closed pfalcon closed 9 years ago
@thesourcerer8: FYI
Great! Thanks for the improvement!
@thesourcerer8 : Of related question, did you get power key detected? The datasheet says it should have a (repeated) bit in KBD_MEM* regs. I modified cmd-keypad to dump raw register contents, but nothing. My device (smartwatch) has only 1 key. It would be logical for that key to be PWRKEY, but - nothing. Of course, and explanation of that can be that my key is just on some GPIO (but why?)
Bunnie said that the power key is specially handled, not by the keypad controller. I forgot to continue the investigation ...
@thesourcerer8 , if you can provide more info, or reference, I'd appreciate. (I don't know if it's better to do it here or on forum.)
I'm guessing the power key is wired through the RTC/PMU, which needs to be started up in order to receive PWRKEY presses. But I haven't managed to get that working yet.
"keypad" command so far assumes rather adhoc keyboard map, and effectively locks up otherwise. Allow to break out of it from host connection.