[CentOS] utility to find which /dev/videoX

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Tue Dec 16 00:35:53 UTC 2008


On Mon, 2008-12-15 at 19:32 -0500, Jerry Geis wrote:
> is there a utility or SOME method to
> determine which /dev/videoX (like /dev/video0 or /dev/video1)
> is being used by a device???
> 
> Example I have a USB camera and a USB TV module
> how do I determine which device is on /dev/video0 and which is on
> /dev/video1
> 
> I have seen perhaps a way in dmesg but I am looking for the
> BEST way and the correct way.

Look under /sys/class/video4linux.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20081215/6207092e/attachment.sig>


More information about the CentOS mailing list