Using Solo6010 driver for ZoneMinder

Forum for questions and support relating to the 1.24.x releases only.
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Using Solo6010 driver for ZoneMinder

Post by kamil »

Good Day everyone. Im using solo6010 driver for the 16 channel capture card. I tried using zoneminder to record events. My problem is, I cannot see the camera I add in zoneminder. I checked if the camera and the capture card is working by installing the V4L2 Test Bench, an application in Ubuntu. And it is working.

I added the camera on zoneminder. /dev/video0-16.. but none of those is giving me an image. is the solo6010 supported by zoneminder and what is the right settings for my camera to work.

Code: Select all

ubuntu-dvr@ubuntu-dvr:~$ dmesg | grep solo
[    5.300711] solo6x10 0000:04:01.0: Probing Softlogic 6010
[    5.300723] solo6x10 0000:04:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    8.517211] solo6x10 0000:04:01.0: Display as /dev/video0 with 16 inputs (5 extended)
[    8.536155] solo6x10 0000:04:01.0: Encoders as /dev/video1-16
[    8.536900] solo6x10 0000:04:01.0: Alsa sound card as Softlogic0
Thanks for the help.
blob84
Posts: 22
Joined: Wed May 06, 2009 4:27 pm

Re: Using Solo6010 driver for ZoneMinder

Post by blob84 »

You should configure the video settings int the zoneminder box, for example: resolution, palette, channell...
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

Thanks for the reply. I already configure the video settings. I tried different patterns of channel, palette, resolution.. etc., but none of them works.

I used the v4l Test bench of ubuntu and I noticed that the device name is wrapped.

Code: Select all

Device: /dev/video0 (wrapped)
Does it have a connection why I can't view the video in zoneminder.

Thank you very much for the reply. :)
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

Update. I tried to run "v4l-info" on terminal to see what are the configuration for the capture card and these are the output.

Code: Select all

    VIDIOC_G_FMT(VIDEO_CAPTURE)
	type                    : VIDEO_CAPTURE
	fmt.pix.width           : 704
	fmt.pix.height          : 480
	fmt.pix.pixelformat     : 0x59565955 [[b]UYVY[/b]]
	fmt.pix.field           : INTERLACED
	fmt.pix.bytesperline    : 1408
	fmt.pix.sizeimage       : 675840
	fmt.pix.colorspace      : SMPTE170M
	fmt.pix.priv            : 0
I noticed that the pixel format for the card is UYVY. I find the correct combination for these card for zoneminder but I cant see a UYVY option for "capture palette" in the camera settings.
I tried to use the other option for "capture palette" but none of them works.

Device Path: /dev/video0
Device Channel: 0
Device Format: NTSC
Capture Palette: ??? (supposed to be UYVY)
Capture Width:704
Capture Height:480

What is the correct configuration for the camera in able to use it? Thanks for the reply. :)
blob84
Posts: 22
Joined: Wed May 06, 2009 4:27 pm

Re: Using Solo6010 driver for ZoneMinder

Post by blob84 »

I think, width and height is not supported, try first 320x240.
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

I already tried to change the width and height to 320x240 and 640x480 but nothing happens. :(
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

One more thing, I install SoftLogic 6010 Driver but when I run lspci, the output is

Code: Select all

04:01.0 Multimedia video controller: Device 9413:6010
What does it mean? Does this mean that the driver is not recognise?

Sorry for this dumb question. I'm new to this. Thanks for the reply.
blob84
Posts: 22
Joined: Wed May 06, 2009 4:27 pm

Re: Using Solo6010 driver for ZoneMinder

Post by blob84 »

try with YUV420 PAL
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

Thanks bob84. But still.. it does not work. :(

Device Path: /dev/video0
Device Channel : 0
Device Format: PAL
Capture Palette: YUV420

:(
blob84
Posts: 22
Joined: Wed May 06, 2009 4:27 pm

Re: Using Solo6010 driver for ZoneMinder

Post by blob84 »

if it works with software like tvtime the driver is OK, it is a zoneminder problem,
see what the syslog says:

Code: Select all

cat /var/log/syslog
,
try to change the permission of the video devices,

Code: Select all

chmod 777 /dev/video*
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

The capture card works on Bluecherry and Hawkeye DVR. I already change the permission for /dev/video* to 777. I tried tvtime and here what it says,

Code: Select all

#tvtime
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /root/.tvtime/tvtime.xml
videoinput: Can't get tuner info: Invalid argument

    Your capture card driver: solo6x10 [Softlogic 6010/PCI 0000:04:01.0/132097]
    does not support studio-quality colour images required by tvtime.
    This is a hardware limitation of some cards including many
    low-quality webcams.  Please select a different video device to use
    with the command line option --device.

    Message from the card was: Invalid argument

mixer: find error: Success
mixer: Can't open mixer default, mixer volume and mute unavailable.
mixer: Can't open device default/Line, mixer volume and mute unavailable.
Segmentation fault
when I run cat /var/log/syslog,

Code: Select all

Sep  5 17:33:21 ubuntu-dvr zmdc[2036]: INF [Starting pending process, zmc -d /dev/video0]
Sep  5 17:33:21 ubuntu-dvr zmdc[2036]: INF ['zmc -d /dev/video0' starting at 12/09/05 17:33:21, pid = 3565]
Sep  5 17:33:21 ubuntu-dvr zmdc[3565]: INF ['zmc -d /dev/video0' started at 12/09/05 17:33:21]
Sep  5 17:33:22 ubuntu-dvr zmc_dvideo0[3565]: INF [Debug Level = 0, Debug Log = <none>]
Sep  5 17:33:22 ubuntu-dvr zmc_dvideo0[3565]: INF [Starting Capture]
Sep  5 17:33:22 ubuntu-dvr zmc_dvideo0[3565]: FAT [Failed to set video format: Invalid argument]
Sep  5 17:33:22 ubuntu-dvr zmdc[2036]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Sep  5 17:33:22 ubuntu-dvr zmdc[2036]: WAR [Can't find process with command of 'zma -m 1']
Sep  5 17:33:27 ubuntu-dvr zmdc[2036]: INF [Starting pending process, zmc -d /dev/video0]
Sep  5 17:33:27 ubuntu-dvr zmdc[2036]: INF ['zmc -d /dev/video0' starting at 12/09/05 17:33:27, pid = 3587]
Sep  5 17:33:27 ubuntu-dvr zmdc[3587]: INF ['zmc -d /dev/video0' started at 12/09/05 17:33:27]
Sep  5 17:33:27 ubuntu-dvr zmc_dvideo0[3587]: INF [Debug Level = 0, Debug Log = <none>]
Sep  5 17:33:27 ubuntu-dvr zmc_dvideo0[3587]: INF [Starting Capture]
Sep  5 17:33:27 ubuntu-dvr zmc_dvideo0[3587]: FAT [Failed to set video format: Invalid argument]
Sep  5 17:33:27 ubuntu-dvr zmdc[2036]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Is there any other way to make it work on zoneminder?? I don't know where is the problem here.. Is it the capture card or the configuration of zoneminder. :( It can't be the capture card because it works for other DVR. The zoneminder also works well when I connect it to webcams and IP camera.

Thank you for the help. :)
blob84
Posts: 22
Joined: Wed May 06, 2009 4:27 pm

Re: Using Solo6010 driver for ZoneMinder

Post by blob84 »

where do you get the driver?
Do you have compiled it without problems?
There are a package for ubuntu here https://launchpad.net/~ast/+archive/solo6010
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

I get the driver of softlogic 6010 at the site given by the Bluecherry. (Sorry. I cant paste the link here.)

I used the ubuntu software center to install it and I think I compiled it perfectly. It does not give me any error.
blob84
Posts: 22
Joined: Wed May 06, 2009 4:27 pm

Re: Using Solo6010 driver for ZoneMinder

Post by blob84 »

It seems that is not a zoneminder problem, it is a driver problem so you can ask to softologic to fix it.
kamil
Posts: 21
Joined: Fri Aug 31, 2012 6:07 am

Re: Using Solo6010 driver for ZoneMinder

Post by kamil »

I think the ZoneMinder doesnt have the compatible capture palette for my capture card (UYVY). :((

Any idea how to make my capture card work on zoneminder..?
Locked