View Single Post
mosen's Avatar
Community Council | Posts: 1,669 | Thanked: 10,225 times | Joined on Nov 2014 @ Lower Rhine
#4
Very Cool!
On Proš there are different files.

Code:
cat /dev/input/by-path/platform-c17a000.i2c-event-kbd
produces following output when hammering the harware kbd:
Code:
�&^S
�&^S
�&^��%�&^���&^�%�&^��&^��%�&^���&^B�%�&^B��&^�
                                              %�&^�
�&^����&^��^C^Z -�&^Z   �&^3C��&^3C�&^�7��&^�7�&^�v�&^
When i copy that path into your scripts $INPUT_DEV i get no output from your script however.

For kbd open/close, volume and powerbutton i get same formated values from

Code:
cat /dev/input/by-path/platform-soc\:gpio_keys-event
there is a 3rd file in that folder that i could not quench cat output from.
Code:
platform-1711a000.sound-tavil-event
 

The Following 5 Users Say Thank You to mosen For This Useful Post: