View Single Post
Old 03-11-2012, 10:28 AM   #2
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
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.
ixtab is offline   Reply With Quote