From owner-freebsd-multimedia@FreeBSD.ORG Tue Apr 8 14:14:41 2008 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 77301106566B for ; Tue, 8 Apr 2008 14:14:41 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC998FC20 for ; Tue, 8 Apr 2008 14:14:41 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by rn-out-0910.google.com with SMTP id j40so2363929rnf.12 for ; Tue, 08 Apr 2008 07:14:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=d2xJw0+xlK8ri4iuVlCSM40hEwIOdS3HcNiuu8doEg0=; b=x3V1Vh8OeEhu6dm3pr1U5hD7aGWTsezY4TWBv2uUrL5pZswsvtqG81Kv+8FGJrmhBsHuWIIxrL1p9JvYyrrKhOV44PvGA9TPpgzUfYxY6cT7FI8epGN6gdD6zsDB8YEhONtXGm9Yy6d2gN7PqhJ6a95EFOiAoSsFIBUiHZdjLxM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TDnOUZdIWTqutKLtulP+moGKuLvwRsiRFcN8hur2WeaGt5NptpsV7Rxu/Ikmss6nVaciOGe4+OrmGBl4+5T8tUnRR17Kri002QpoVlEbve+1/9ikztAVy+htUTfqR+TDYblrkx9IPE34RsbXyvgFWAmgMV7wqP+/7W6qyqHXU8M= Received: by 10.115.54.1 with SMTP id g1mr7460633wak.136.1207664079246; Tue, 08 Apr 2008 07:14:39 -0700 (PDT) Received: by 10.114.113.11 with HTTP; Tue, 8 Apr 2008 07:14:39 -0700 (PDT) Message-ID: <80f4f2b20804080714s437adf26n3890ab01737334ff@mail.gmail.com> Date: Tue, 8 Apr 2008 10:14:39 -0400 From: "Jim Stapleton" To: "Mike Tancsa" In-Reply-To: <200804081339.m38DdVWD006894@lava.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20804080605x4a2e063av4327e8480d0ac9e7@mail.gmail.com> <200804081339.m38DdVWD006894@lava.sentex.ca> Cc: freebsd-multimedia@freebsd.org Subject: Re: pvr-xxx on 7.0 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: Tue, 08 Apr 2008 14:14:41 -0000 On Tue, Apr 8, 2008 at 9:37 AM, Mike Tancsa wrote: > > At 09:05 AM 4/8/2008, Jim Stapleton wrote: > > > I've seen a few posts about difficulties compiling/running pvrxxx on 7.0. > > > > Are there any instructions out there to do this succesfully? I've seen > > both that I need the i2c bus patch, and I don't need the i2c bus > > patch, for example. Is there anything more recent than the content in > > the ports tree I should download for this port? > > > > Hi, > I had the same worries about moving to 7.x from 6.x. However, I > found I just compiled the port and all works as well as it did with 6.x. I > still have the odd time the card is not able to record after a week or two > of use, but I saw the same things with RELENG_6. unloading/reloading the > klds fixes it and I just do that at 5am via cron since I dont record > anything then. Its a fairly old card, so it could be a hardware / chipset > bug. > > Apr 8 05:05:15 cage kernel: cxm0: mem > 0xf8000000-0xfbffffff irq 21 at device 1.0 on pci3 > Apr 8 05:05:15 cage kernel: cxm_iic0: controller> on cxm0 > Apr 8 05:05:15 cage kernel: iicbb0: on cxm_iic0 > Apr 8 05:05:15 cage kernel: iicbus0: on iicbb0 > master-only > Apr 8 05:05:15 cage kernel: iicbus0: at addr 0 > Apr 8 05:05:15 cage kernel: iicbus0: at addr 0 > Apr 8 05:05:15 cage kernel: cxm0: Philips FM1236 tuner > Apr 8 05:05:15 cage kernel: cxm0: SAA7115 rev 1 video decoder > Apr 8 05:05:15 cage kernel: cxm0: MSP4448G-A2 audio decoder > Apr 8 05:05:15 cage kernel: cxm0: IR Remote > Apr 8 05:05:15 cage kernel: cxm0: [GIANT-LOCKED] > Apr 8 05:05:15 cage kernel: cxm0: [ITHREAD] > Apr 8 05:05:15 cage kernel: cxm0: encoder firmware version 0x2050032 > Apr 8 05:05:15 cage kernel: cxm0: decoder firmware version 0x2020023 > > cxm0@pci0:3:1:0: class=0x040000 card=0x40000070 chip=0x08034444 > rev=0x01 hdr=0x00 > vendor = 'Conexant Inc (Was: Globespan, ICompression Inc)' > device = 'iTVC15/CX23415 MPEG Codec' > class = multimedia > subclass = video > cap 01[44] = powerspec 2 supports D0 D3 current D0 > > ---Mike > Alright. I'm getting this error on compile: ===> Building for pvrxxx-20060822_1 cd /usr/ports/multimedia/pvrxxx/work/modules/cxm; make ===> cxm (all) Warning: Object directory not changed from original /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm @ -> /usr/src/sys machine -> /usr/src/sys/i386/include :> opt_cxm.h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbb_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I../../.. -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inlin e-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-ss e -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -W cast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c In file included from /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:86: ../../../dev/cxm/cxm.h:224: error: array type has incomplete element type In file included from ./v4l2_ioctl_hook.h:6, from /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:90: ./fbsd-compat.h:62:23: error: inttypes.h: No such file or directory /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c: In function 'cxm_attach': /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1914: warning: passing argument 4 of 'bus_setup_intr' from incompatible po inter type /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1914: warning: passing argument 5 of 'bus_setup_intr' from incompatible po inter type /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1914: error: too few arguments to function 'bus_setup_intr' *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx/work/modules/cxm. *** Error code 1 Stop in /usr/ports/multimedia/pvrxxx. I most likely forgot something. I downloaded the files from Hauppauge (sp) web site, and copied the HcwMakoC.ROM to distfiles as HcwMakoA.ROM, and copied the .sys file as well, not changing the name. Any suggestions? Thanks, -Jim Stapleton