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.
I suspect that your problem is that your kernel version 2.6.28 is not recent enough for the driver.
At home I am running an up to date Fedora 12 with a 2.6.32 kernel and the driver builds and runs with no problems at all.
I just tried building the driver on a Fedroa 9 machine here at work running a 2.6.27 kernel and the compilation fails with similar errors to what you have posted.
Perhaps someonw with ubuntu experience can give you some advice on updating your system/kernel.
Mark,
Thanks for the tip. I updated to UBUNTU 9.10 (kernel 2.6.31.20) and compiled the driver OK. Unfortunately I couldn't get apache2 to work, so I reinstalled that and ZM. Now I can get video with xawtv from either my KWORLD TV card or TW8605 chip, but can't get ZM working with either! I get the Monitor in Orange, and /dev/video0 whatever in red. I'm sure I'm using the same settings as before (although the config files were wiped out). Very Puzzling.
I installed mplayer but it won't play video, although I'm not sure I'm using the correct options:
mplayer /dev/video0
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Firstly Thanks for valued information here and the work done to have a working driver. I have finally been able to get, what I thought would be a DVR card to use as a Frisbee, working with several cameras in zoneminder.
I do have a noob question though. How do I get the driver to stick after rebooting prior to reboot I have Video0 - 7 and afterward nothing. I need to make/make insmod again and they are back. I have searched to find something though I think this will just be adding something to a .conf or something.
I am using a so called 4ch card based on tw6805a chipset, tw68-tw68-v2-master taken from the usual source and with the files inside fro February this year. This compiles nicely and tw68 is loaded via modprobe with the following msgs:
Your own description practically answers the question - it is referred to as a "so called 4ch card" because it is actually only a single device with 4 input channels which can be individually selected. All of the four input connectors go to the single TW68 chip, and the driver routes them to the four composite-video inputs, which it names
Composite1
Composite2
Composite3
Composite4
How to use them depends upon the particular software package you are using. Under Zoneminder, you configure the source using Device Path /dev/video0, then select which of the 4 inputs you want under "Device Channel".
Wbrack, thanks a lot. I would have never guessed... saw a number of posts with a long list of video devices and did not expect that this is one per chipset only. I expected something like a switch inside but still with separate dev inputs. Now lets see what I can do with it.
I have question with this card: If you see well, this card have a TV OUT/Audio IN conector (selectable by a jumper). I've conected my televisor to TVOUT and it displays just the first video channel, not the other tree.
Do you know how to do for display the four cameras? Maybe a specialized or modified driver?
First, not all models of TW68xx cards have the TV-Out capability. Second, at the moment the driver sets the output to be "Channel 0", and does not offer any capability to switch the output to a different channel. I may try to implement something in the future, but that is a rather low priority compared to some of the other outstanding things.
If you are technically inclined, you can take a look at tw68-core.c - search the source for "GPIO" and read about what it's doing.
I have question with this card: If you see well, this card have a TV OUT/Audio IN conector (selectable by a jumper). I've conected my televisor to TVOUT and it displays just the first video channel, not the other tree.
Do you know how to do for display the four cameras? Maybe a specialized or modified driver
When/if this driver feature is implemented this might solve the issues of all the zm viewers as its done in hardware not software and can still drive a screen.
dwonga wrote:
I have question with this card: If you see well, this card have a TV OUT/Audio IN conector (selectable by a jumper). I've conected my televisor to TVOUT and it displays just the first video channel, not the other tree.
Do you know how to do for display the four cameras? Maybe a specialized or modified driver
When/if this driver feature is implemented this might solve the issues of all the zm viewers as its done in hardware not software and can still drive a screen.
Just a thought
The hardware typically does not unfortunately have the ability to manipulate the video in that fashion, and only allows displaying of one of the inputs. By setting the gpio you can however select what input it displays if it were accounted for inn the driver. It's usually just a simple passthrough via a transistor of the video signal.
dwonga wrote:
I have question with this card: If you see well, this card have a TV OUT/Audio IN conector (selectable by a jumper). I've conected my televisor to TVOUT and it displays just the first video channel, not the other tree.
Do you know how to do for display the four cameras? Maybe a specialized or modified driver
When/if this driver feature is implemented this might solve the issues of all the zm viewers as its done in hardware not software and can still drive a screen.
Just a thought
The hardware typically does not unfortunately have the ability to manipulate the video in that fashion, and only allows displaying of one of the inputs. By setting the gpio you can however select what input it displays if it were accounted for inn the driver. It's usually just a simple passthrough via a transistor of the video signal.