Re: utility to find which /dev/videoX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Not sure this helps b/c maybe u need a non human interactive method.

mplayer /dev/video0

lsusb -v

On 12/15/08, Ignacio Vazquez-Abrams <ivazqueznet@xxxxxxxxx> wrote:
> 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@xxxxxxxxx>
>
> PLEASE don't CC me; I'm already subscribed
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux