On 02/22/2014 06:33 PM, Atte wrote:
So I'm hoping someone could give a hint or suggestion about what to try next, things I could have forgotten etc.
Ok, after sending the mail, I did some further poking, and it seems [open 10] opens the controller.
atte@skagen:~$ ll /dev/input/ total 0 drwxr-xr-x 2 root root 240 Feb 22 18:14 by-id drwxr-xr-x 2 root root 220 Feb 22 18:14 by-path crw------- 1 root root 13, 64 Feb 22 11:31 event0 crw------- 1 root root 13, 65 Feb 22 11:31 event1 crw-rw----+ 1 root root 13, 74 Feb 22 18:14 event10 crw------- 1 root root 13, 66 Feb 22 11:31 event2 crw------- 1 root root 13, 67 Feb 22 11:31 event3 crw------- 1 root root 13, 68 Feb 22 11:31 event4 crw------- 1 root root 13, 69 Feb 22 11:31 event5 crw------- 1 root root 13, 70 Feb 22 11:31 event6 crw------- 1 root root 13, 71 Feb 22 11:31 event7 crw------- 1 root root 13, 72 Feb 22 11:31 event8 crw-rw-r-T 1 root video 13, 73 Feb 22 11:31 event9 crw-rw-r-T+ 1 root root 13, 0 Feb 22 18:14 js0 crw------- 1 root root 13, 63 Feb 22 11:31 mice crw------- 1 root root 13, 32 Feb 22 11:31 mouse0 crw------- 1 root root 13, 33 Feb 22 11:31 mouse1 crw------- 1 root root 13, 34 Feb 22 11:31 mouse2
Using device 10 seems like a bad idea to me (I might be wrong), since I'd expect that device number to depend on what else is plugged in and in what order. Is there a better way?
Atte