Quote:
Originally Posted by ixtab
Some of the event devices (unfortunately not all, and probably not those that you want  ) also have symbolic names:
Code:
[root@kindle input]# ls -la
drwxr-xr-x 3 root root 160 Mar 10 18:15 .
drwxr-xr-x 16 root root 1120 Mar 11 15:15 ..
drwxr-xr-x 2 root root 100 Mar 10 18:15 by-path
crw-r----- 1 root root 13, 64 Mar 10 18:15 event0
crw-r----- 1 root root 13, 65 Mar 10 18:15 event1
crw-r----- 1 root root 13, 66 Mar 10 18:15 event2
crw-r----- 1 root root 13, 67 Mar 10 18:15 event3
crw-r----- 1 root root 13, 68 Mar 10 18:15 event4
[root@kindle input]# ls -la by-path/
drwxr-xr-x 2 root root 100 Mar 10 18:15 .
drwxr-xr-x 3 root root 160 Mar 10 18:15 ..
lrwxrwxrwx 1 root root 9 Mar 10 18:15 platform-soc-audio.1-event -> ../event1
lrwxrwxrwx 1 root root 9 Mar 10 18:15 platform-whitney-button-event -> ../event2
lrwxrwxrwx 1 root root 9 Mar 10 18:15 platform-zforce.0-event -> ../event4
Still, that would mean only figuring out what the remaining two are, instead of guessing what all 5 are.
|
Except when I try to repeat your steps in diags mode, I cannot figure out how to do the second step:
Code:
[root@kindle input]# ls -la
drwxr-xr-x 2 root root 160 Jan 12 19:02 .
drwxr-xr-x 13 root root 1020 Jan 12 19:02 ..
crw-rw---- 1 root root 13, 64 Jan 12 19:02 event0
crw-rw---- 1 root root 13, 65 Jan 12 19:02 event1
crw-rw---- 1 root root 13, 66 Jan 12 19:02 event2
crw-rw---- 1 root root 13, 67 Jan 12 19:02 event3
crw-rw---- 1 root root 13, 68 Jan 12 19:02 event4
crw-rw---- 1 root root 13, 69 Jan 12 19:02 event5
[root@kindle input]#
And not only is the z-force touchscreen device using a different event# in diags, and the by-path folder is missing, but there is even an extra event# in diags!