Page 1 of 1

Somehow, installing ZM1.24.1 broke XAWTV?!

Posted: Mon Jun 15, 2009 11:43 pm
by Jim March
I've been fighting to get ZM working. I installed a fresh Ubuntu Intrepid (8.10) 32bit and then followed these instructions:

http://www.zoneminder.com/wiki/index.ph ... ozola-0.7)

Early on, I made sure xawtv worked with the command:

xawtv -device /dev/video0

No problem. Note that this is via a BT878 4-port Hauppage card.

After much huge struggle installing ZM and it's amazing number of dependencies, I got to a point where the apache log was absolutely error-free, ZM still wouldn't show a camera. I was going nuts. On a lark I re-tried xawtv again - and nothing doing. Huh?

Since the instructions I'd followed had built a ZM .deb file, I was able to go into Synaptic and manually remove ZM. Reboot, and xawtv still fails:

Code: Select all

zmuser@zmuser-camerastation:~$ xawtv -device /dev/video0
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.27-14-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 type FontStruct
ioctl: VIDIOC_QBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Device or resource busy
libv4l2: error turning on stream: Device or resource busy
ioctl: VIDIOC_STREAMON(int=1): Device or resource busy
ioctl: VIDIOC_QBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Device or resource busy
libv4l2: error dequeuing buf: Invalid argument
ioctl: VIDIOC_DQBUF(index=0;type=VIDEO_CAPTURE;bytesused=0;flags=0x0 [];field=ANY;;timecode.type=0;timecode.flags=0;timecode.frames=0;timecode.seconds=0;timecode.minutes=0;timecode.hours=0;timecode.userbits="";sequence=0;memory=MMAP): Invalid argument
v4l2: read: Device or resource busy
zmuser@zmuser-camerastation:~$ 
So *something* in the ZM build instructions "broke xawtv" in some fashion.

What the...

Folks, anybody have a clue what's going on here?!

/var/log/dmesg seems to show a valid BT878 startup, as far as I can tell:

Code: Select all

[   14.013110] Bt87x 0000:01:0a.1: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[   14.013133] Bt87x 0000:01:0a.1: setting latency timer to 64
[   14.013898] bt87x0: Using board 1, analog, digital (rate 32000 Hz)
[   14.220158] Linux video capture interface: v2.00
[   14.283148] bttv: driver version 0.9.17 loaded
[   14.283152] bttv: using 8 buffers with 2080k (520 pages) each for capture
[   14.283579] bttv: Bt8xx card found (0).
[   14.283596] bttv 0000:01:0a.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[   14.283605] bttv0: Bt878 (rev 17) at 0000:01:0a.0, irq: 18, latency: 16, mmio: 0xfdfff000
[   14.283615] bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
[   14.283619] bttv0: using: Hauppauge (bt878) [card=10,autodetected]
[   14.283645] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[   14.286132] bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
[   14.313343] tveeprom 0-0050: Hauppauge model 64900, rev B1  , serial# 10488625
[   14.313346] tveeprom 0-0050: tuner model is Unspecified (idx 2, type 4)
[   14.313349] tveeprom 0-0050: TV standards UNKNOWN (eeprom 0x01)
[   14.313351] tveeprom 0-0050: audio processor is None (idx 0)
[   14.313354] tveeprom 0-0050: decoder processor is BT878 (idx 14)
[   14.313356] tveeprom 0-0050: has no radio
[   14.313358] bttv0: Hauppauge eeprom indicates model#64900
[   14.313360] bttv0: Switching board type from Hauppauge (bt878) to Hauppauge ImpactVCB (bt878)
[   14.313363] bttv0: tuner absent
I'm approaching real desperation here...sob!

:(