trikset / meta-trik

Meta layer for trik platform
0 stars 14 forks source link

No way to uderstand from logs what kind of devices are connected #123

Closed anastasiia-kornilova closed 4 years ago

anastasiia-kornilova commented 4 years ago

The problem was caused when analyzing logs from controller. Tried to understand does device /dev/video2 exist or not (USB-camera). Task is to suggest utility to detect this. The simplest way is to save ls /dev/ output to some file, but maybe more detailed information can be obtained. @iakov , maybe you can suggest something?

anastasiia-kornilova commented 4 years ago

lsusb util also can be useful for us.

anastasiia-kornilova commented 4 years ago

v4l2-ctl -d /dev/video2 --all also goes here

iakov commented 4 years ago

Useful if present in firmware image: