KDM-4400 Video Capture

Mark Tinguely tinguely at casselton.net
Wed Sep 19 07:12:11 PDT 2007

>  Thanks Mark, I have downloaded the patch and I apply it. When I build
>  the kernel, the system print me this error:
>  /usr/src/sys/dev/bktr/bktr_core.c: In function `common_ioctl':
>  /usr/src/sys/dev/bktr/bktr_core.c:2507: error: structure has no member

Sorry, the FreeBSD 6.x, -current use the same patch, but there can be
slight changes in the structures. I bet the sys/dev/bktr/bktr_reg.h patch
did not apply cleanly.

Edit the file and place the following at the bottom of the bktr_softc

    struct bktr_softc   *kmaster;
    unsigned char       kunit;
    unsigned char       kinput;
    unsigned char       koutput;
#if (__FreeBSD_version >= 500000)
    struct mtx  kmutex;  /* per card crossbar changing Mutex */

Also, the sys/dev/bktr/ioctl_bt848.h must be copied to /usr/include/dev/bktr
for the application to pick up the new ioctl values.

--Mark Tinguely

More information about the freebsd-multimedia mailing list