I have two USB camera in Linux, so i have two entries in /dev/
directory(video0
and video1
).
I want to get hardware information (i.e. vendor id, product id, device name) about this two camera base on videoX and choose right camera depend on its hardware information.
is there any way to get hardware information about videoX in cpp?