Xawtv (video capture) problem, BT878 chipset, Video4Linux failure...halp?
Charles Jones
charles.jones at ciscolearning.org
Tue Jun 16 17:09:57 MST 2009
Jim March wrote:
> Folks,
>
> I have a somewhat complex question posted on Ubuntuforums at:
>
> http://ubuntuforums.org/showthread.php?p=7469310
>
> Basically, XawTV won't work, which is a prelude to getting ZoneMinder
> working (the latest 1.24.1 compiled from source).
>
> It DID work on my initial new Ubuntu Intrepid install, then failed
> after installing some part of ZM and it's massive set of dependencies.
>
> Right now my best guess is it's a permissions thing...I *think* the
> most crucial error messages are from what happens when Xawtv fails:
>
> ---
> zmuser at 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 at zmuser-camerastation:~$
> ---
>
> I also have the dmesg output for the BT878 chipset startup at the link
> above, but it looks normal.
>
> Anybody with clue one why Xawtv is blowing up on me, PLEASE sing out
> :(. I'm dyin' here...
>
You may have to use modprobe.conf to force the right card to be
recognized. Something like:
options bttv card=10
*edit* NM I found your post on zoneminder forums, and your dmesg output
that you have there seems to indicate the card is detected properly.
Are all of your /dev/video* devices there?
I wonder why its using V4l2, I thought that was a v4l1 device. Hmm.
Sorry, I'm not much help at this point :)
More information about the PLUG-discuss
mailing list