ubuntu 10.04 dekstop+ Goki gq-695q + Bt848 4 port black mon?

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
alltech
Posts: 34
Joined: Sat Jun 25, 2011 6:07 am

ubuntu 10.04 dekstop+ Goki gq-695q + Bt848 4 port black mon?

Post by alltech »

Its been since last year I had this operating. Now need to use it again but the system went down. I have installed zone minder and comes up with /localhost/zm. Myqsl is configured to the best of my knowledge. I can get video on xawtv. I am getting a black screen on Monitor-1 for the camera. Here is the info from my server running on Ubuntu desktop 10.04

I am using this site as a reference for configuration of zoneminder. http://www.zoneminder.com/wiki/index.ph ... 10_Desktop


LSPCI


02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
04:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
-----------------------------------------------------------------

dmesg | grep 878

[ 0.208781] domain 1: span 0-1 level MC
[ 0.208785] groups: 0-1 (cpu_power = 1178)
[ 0.987817] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.987866] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[ 0.987878] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 0.987883] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 14.793329] bttv0: Bt878 (rev 17) at 0000:04:00.0, irq: 16, latency: 64, mmio: 0xd0001000
---------------------------------------------------------------------

sudo xawtv -c /dev/video0 -q -v

This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.32-38-generic)
xinerama 0: 1280x1024+0+0
WARNING: No DGA direct video mode for this display.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to typ
----------------------------------------------------------------

sudo zmu -d /dev/video0 -q -v

Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video ( *** UNKNOWN/GENER
Bus: PCI:0000:04:00.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 838 x 504
Default: 768 x 480
Current: 768 x 480
Inputs: 4
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 2
Name: S-Video
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 3
Name: Composite3
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
--------------------------------------------------------------

Camera specifications.

Goki GQ-695Q made in china

Specifications:
Model GQ-752FQ99
Product Name Color CCD camera
Imaging device 1/3 "Sony CCD
Pixels CCIR: 500 (H) * 582 (V)
PAL: EIA: 510 (H) * 492 (V)
Horizontal Resolution Greater than 420 lines
Minimum Illumination 0.05 Lux/F1.2
Power consumption 100mA
BLC Auto / Manual
White Balance Auto / Manual
Signal to Noise Ratio More than 48db
Gamma correction 0.45
Gain Control Automatic
Video output 1.0Vp-p the composite video, 75Ω
Electronic shutter 1/60 (N) / 1/50 (P) ~ 1/120, 000sec
Operating Temperature -20 ℃ to 50 ℃
Synchronization system Internal Synchronization
Shot C / CS lens mount
Auto iris lens The VIDEO / the DC optional
Size 135 (L) * 69 (W) * 63 (H) mm.
---------------------------------------------------------------
$ modinfo bttv

filename: /lib/modules/2.6.32-38-generic/kernel/drivers/media/video/bt8xx/bttv.ko
license: GPL
author: Ralph Metzler & Marcus Metzler & Gerd Knorr
description: bttv - v4l/v4l2 driver module for bt848/878 based cards
srcversion: B711365ACE0F957F1F7A7E9
alias: pci:v0000109Ed0000036Fsv*sd*bc*sc*i*
alias: pci:v0000109Ed0000036Esv*sd*bc*sc*i*
alias: pci:v0000109Ed00000351sv*sd*bc*sc*i*
alias: pci:v0000109Ed00000350sv*sd*bc*sc*i*
depends: videobuf-core,videobuf-dma-sg,ir-common,videodev,tveeprom,v4l2-common,btcx-risc,i2c-algo-bit
vermagic: 2.6.32-38-generic SMP mod_unload modversions 586
parm: ir_debug:int
parm: repeat_delay:int
parm: repeat_period:int
parm: ir_rc5_remote_gap:int
parm: ir_rc5_key_timeout:int
parm: i2c_debug:int
parm: i2c_hw:configure i2c debug level (int)
parm: i2c_scan:scan i2c bus at insmod time (int)
parm: i2c_udelay:soft i2c delay at insmod time, in usecs (should be 5 or higher). Lower value means higher bus speed. (int)
parm: vbibufs:number of vbi buffers, range 2-32, default 4 (int)
parm: vbi_debug:vbi code debug messages, default is 0 (no) (int)
parm: gpiomask:int
parm: audioall:int
parm: svhs:array of int
parm: remote:array of int
parm: audiomux:array of int
parm: triton1:set ETBF pci config bit [enable bug compatibility for triton1 + others] (int)
parm: vsfx:set VSFX pci config bit [yet another chipset flaw workaround] (int)
parm: latency:pci latency timer (int)
parm: card:specify TV/grabber card model, see CARDLIST file for a list (array of int)
parm: pll:specify installed crystal (0=none, 28=28 MHz, 35=35 MHz) (array of int)
parm: tuner:specify installed tuner type (array of int)
parm: autoload:obsolete option, please do not use anymore (int)
parm: audiodev:specify audio device:
-1 = no audio
0 = autodetect (default)
1 = msp3400
2 = tda7432
3 = tvaudio (array of int)
parm: saa6588:if 1, then load the saa6588 RDS module, default (0) is to use the card definition.
parm: no_overlay:allow override overlay default (0 disables, 1 enables) [some VIA/SIS chipsets are known to have problem with overlay] (int)
parm: debug_latency:int
parm: fdsr:int
parm: v4l2:int
parm: combfilter:int
parm: lumafilter:int
parm: radio:The TV card supports radio, default is 0 (no) (array of int)
parm: bigendian:byte order of the framebuffer, default is native endian (int)
parm: bttv_verbose:verbose startup messages, default is 1 (yes) (int)
parm: bttv_gpio:log gpio changes, default is 0 (no) (int)
parm: bttv_debug:debug messages, default is 0 (no) (int)
parm: irq_debug:irq handler debug messages, default is 0 (no) (int)
parm: gbuffers:number of capture buffers. range 2-32, default 8 (int)
parm: gbufsize:size of the capture buffers, default is 0x208000 (int)
parm: reset_crop:reset cropping parameters at open(), default is 1 (yes) for compatibility with older applications (int)
parm: automute:mute audio on bad/missing video signal, default is 1 (yes) (int)
parm: chroma_agc:enables the AGC of chroma signal, default is 0 (no) (int)
parm: adc_crush:enables the luminance ADC crush, default is 1 (yes) (int)
parm: whitecrush_upper:sets the white crush upper value, default is 207 (int)
parm: whitecrush_lower:sets the white crush lower value, default is 127 (int)
parm: vcr_hack:enables the VCR hack (improves synch on poor VCR tapes), default is 0 (no) (int)
parm: irq_iswitch:switch inputs in irq handler (int)
parm: uv_ratio:ratio between u and v gains, default is 50 (int)
parm: full_luma_range:use the full luma range, default is 0 (no) (int)
parm: coring:set the luma coring level, default is 0 (no) (int)
parm: video_nr:video device numbers (array of int)
parm: vbi_nr:vbi device numbers (array of int)
parm: radio_nr:radio device numbers (array of int)
-----------------------------------------------------------------------------------------------------------

cat /proc/interrupts
cat /proc/interrupts
CPU0 CPU1

16: 100 588279 IO-APIC-fasteoi i915, bttv0, eth0

-----------------------------------------------------------------------------------------------------------


Thanks for your help
alltech
Posts: 34
Joined: Sat Jun 25, 2011 6:07 am

Re: ubuntu 10.04 dekstop+ Goki gq-695q + Bt848 4 port black

Post by alltech »

I finally got my zoneminder to work! The options were probably wrong and read the settings from another site.

I also switched my source to NTSC "After reading this is the right standard to use as of yesterday" I selected grb24 and now its working. the only downside is it is slow for one camera. I have the single bt848 chinese chipset camera. My Dell is a dual core older desktop model.

I will have to possibly cut down on services running.
Post Reply