Page 1 of 1

/dev/video ? how to select video device

Posted: Sun Mar 02, 2008 10:08 am
by Raigedas
i had very hard time compiling and installing zm on debian. now it looks that zm processes start.

but what about video device? how to select the right one? i have inserted working DVR (pico) card into PCI slot. and "lspci" shows it.

in my system there are these device files:

Code: Select all

/dev/video
/dev/video0
/dev/video1
...
which one is real? is there any simple way to check? something like:

Code: Select all

cat /dev/video
i cannot run any X application to check the device, because i do not have X installed on my server.

and what about kernel? i guess that there is no video support compiled in my kernel. do i need it?

Re: /dev/video ? how to select video device

Posted: Mon Mar 03, 2008 9:58 pm
by Kushnirenko
which one is real? is there any simple way to check? something like:

Code: Select all

cat /dev/video
If you do cat /dev/video0 | hexdump -C you should see a countinuoulsy running output.
and what about kernel? i guess that there is no video support compiled in my kernel. do i need it?
You may want to check v4l project. Almost certainly you need CONFIG_VIDEO_BT848=m in your config.


[/b]