From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 19 14:12:11 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E10216A420 for ; Wed, 19 Sep 2007 14:12:11 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id 43A6A13C481 for ; Wed, 19 Sep 2007 14:12:11 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.13.8/8.13.8) with ESMTP id l8JECAI8053218; Wed, 19 Sep 2007 09:12:10 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1190211130; bh=20sNqTEbWEcELvaj8Syt3bdokjxRKcWsUqiTAdQ RxHM=; h=Received:Date:From:Message-Id:To:Subject:Cc:In-Reply-To; b=VeBB7YTRmN7xTAcKdzwif1IgCk7hBpXhWYBN8iP/jK4SqHWJGSIw/oWCCa6MzDNA3 XkqxHkgDkFUGTjTj7wD1N35Mj3XKrcLzFBqcUtQ2WTS+T61hotSZbMZUiPLgob09J7O hv6jYukPY+nNTyQgaN1I/BTYkyxwRba0X8TYb9o= Received: (from tinguely@localhost) by casselton.net (8.13.8/8.13.8/Submit) id l8JECAqu053217; Wed, 19 Sep 2007 09:12:10 -0500 (CDT) (envelope-from tinguely) Date: Wed, 19 Sep 2007 09:12:10 -0500 (CDT) From: Mark Tinguely Message-Id: <200709191412.l8JECAqu053217@casselton.net> To: josema.alvarez@gmail.com, tinguely@casselton.net In-Reply-To: <71f6587f0709190701k3aa97b7cyb90311b25f01885e@mail.gmail.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: KDM-4400 Video Capture X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2007 14:12:11 -0000 > 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 structure: 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 */ #endif 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