ati 7500 aiw capture card - capture from Xvideo device?


I am trying to capture video/stills from my ati 7500 aiw capture card. Currently, the video and audio both work quite well with xawtv but I ran into problems when I discovered that one couldn’t capture from Xvideo devices, which is what my card shows up as. Is there some way to make my card show up as a v4l device or some way to work around this problem? I hoped that since it is being displayed on my screen, somehow I could record the video.


OpenSUSE 11.0

(info from ~>man xawtv)

       v4l    video4linux - the linux video capture API.

       v4l2   video4linux  two - new, improved capture interface which fixes a
              number of v4l design bugs.

       bktr   FreeBSD / OpenBSD driver for bt848/878 grabber cards.

       Xvideo X11 Extension for video devices.  Note that the Xvideo extension
              does  support  overlay  only, you can't capture images/movies if
              the Xvideo extension is used.  On the other  hand  this  is  the
              only  way to scaled video overlay (i.e. fullscreen without black
              borders @ 1024x748) if both hardware and xfree86 driver  support
              it.   See  README.xfree4  for  more  details and hints on how to
              setup Xvideo.

ben@linux-jmbg:~> xawtv -hwscan
This is xawtv-3.95, running on Linux/i686 (
looking for available devices
port 73-73                               -xvport 73 ]
    type : Xvideo, video overlay
    type : Xvideo, image scaler
    name : ATI Radeon Video Overlay

After doing some searching I found a kernel module called km which is supposed to allow me to capture from my video card.


“km is a Linux kernel module that provides Video4linux interface to video capture capabilities of Mach64, Rage128 and Radeon cards.”

This seems like what I need but I cant get it to install. Does anyone know what I’m doing wrong? Below is the output.

ben@linux-jmbg:~/km> make
make -C /lib/modules/ M=/home/ben/km modules
make[1]: Entering directory `/usr/src/linux-'
make -C /usr/src/linux- O=/usr/src/linux- modules

  WARNING: Symbol version dump /usr/src/linux-
           is missing; modules will have no dependencies and modversions.

  CC [M]  /home/ben/km/km_api.o
/home/ben/km/km_api.c:22:26: error: linux/config.h: No such file or directory
/home/ben/km/km_api.c:622: fatal error: opening dependency file /home/ben/km/.km_api.o.d: Permissiondenied
compilation terminated.
make[4]: *** [/home/ben/km/km_api.o] Error 1
make[3]: *** [_module_/home/ben/km] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-'
make: *** [all] Error 2

Any advice would be much appreciated.


Nothing? Can anyone point me in the right direction? Perhaps another site?

I can only suggest trying the mailing lists for support:


Ok, I’ll give that a try.

Thanks a lot,