/dev/video ? how to select video device

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
Raigedas
Posts: 1
Joined: Sun Mar 02, 2008 9:54 am

/dev/video ? how to select video device

Post 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?
Kushnirenko
Posts: 17
Joined: Mon Jun 25, 2007 6:29 pm

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

Post 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]
Post Reply