Trouble with basic video4linux

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Trouble with basic video4linux

Post by mrd » Tue May 09, 2006 5:38 pm

Hi,

I'm trying to get a zoneminder system up and running and I have an Osprey 210 capture card that is supported under Linux.

I installed the latest Live CD and it seems to have worked fine, but when I try to configure a monitor, the camera image won't display. I went and tried to use xawtv to view the camera as described in the trouble shooting section somwhere on this site. When I try to switch the camera input to the correct s-video input, I see a quick shot of the camera view and then it fades to a black screen. I can't seem to get the image to work at all. I've tried to look around the video4linux sites and can't find any quick help.

Does anyone have any idea how to fix this?

Thanks,
MRD
MRD

mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post by mrd » Tue May 09, 2006 6:34 pm

ok..


It work's under Knopix v3.7 so I'm now wondering if it should work under teh Live CD version of Linux/video4linux?
MRD

jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK
Contact:

Post by jameswilson » Wed May 10, 2006 4:22 am

I would find out what 'card number' your osprey card is. It maybe that its too new for the live cd's kernel/bttv driver or just nees a gentle push to tell it what card it is.
once you know this number you need to modify the modprobe.conf of the installed live cd ir remadter another. Id also check the logs
look in var/log
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk

mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post by mrd » Wed May 10, 2006 5:46 pm

I'm seeing some odd things in the dmesg output...

RELEVANT LINES ONLY:

Linux video capture interface: v1.00
bttv: driver version 0.9.14 loaded
bttv: using 4 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
PCI: Found IRQ 9 for device 0000:00:0f.0
PCI: Sharing IRQ 9 with 0000:00:0f.1
bttv0: Bt878 (rev 17) at 0000:00:0f.0, irq: 9, latency: 128, mmio: 0xf9ffe000
bttv0: detected: Osprey-200 [card=88], PCI subsystem ID is 0070:ff01
bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=-1
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: PLL can sleep, using XTAL (28636363).

It appears that it is trying to use an Osprey 200 card but I added "options bttv card=77" to my /etc/modprobe.conf so I'm not sure what it's really doing now. The card is actually an Osprey 210 and the number according the v4l2 docs is supposed to be 89.

lspci:
[user user]$ lspci|grep 878
00:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
00:0f.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)


[user user]$ xawtv -hwscan
This is xawtv-3.93, running on Linux/i686 (2.6.7-2.tmb.6mdk)
looking for available devices
port 61-61 [ -xvport 61 ]
type : Xvideo, video overlay
name : video4linux

port 62-62
type : Xvideo, image scaler
name : Matrox G-Series Backend Scaler

/dev/video0: OK [ -device /dev/video0 ]
type : v4l2
name : BT878 video (GrandTec Multi Cap
flags: overlay capture tuner
MRD

mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post by mrd » Wed May 10, 2006 5:56 pm

Editing /etc/modprobe.conf with "options bttv card=89" does not change video problem. The output to the above commands is correct with the changes made.

Thanks,
MRD

mrd
Posts: 255
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Post by mrd » Wed May 10, 2006 6:04 pm

I found an earlier thread that seems to be relevant so I've posted in there...

http://www.zoneminder.com/forums/viewto ... 9881#19881
MRD

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests