How can I know which of the /dev/input/eventX (X=0..7) have the Linux input stream?

Solution 1:

Just stumbled across this -- rather late in the day.

You can find out the names and other attributes of different devices using:

cat /proc/bus/input/devices

Solution 2:

Using sudo evtest is very helpful. It will list all your input devices by name and corresponding event number. Then you can enter device event number of your interest and monitor its events.