pvr-xxx on 7.0

Jim Stapleton stapleton.41 at gmail.com
Tue Apr 8 14:14:41 UTC 2008


On Tue, Apr 8, 2008 at 9:37 AM, Mike Tancsa <mike at sentex.net> 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: <Conexant iTVC15 MPEG Coder> mem
> 0xf8000000-0xfbffffff irq 21 at device 1.0 on pci3
>  Apr  8 05:05:15 cage kernel: cxm_iic0: <Conexant iTVC15 / iTVC16 I2C
> controller> on cxm0
>  Apr  8 05:05:15 cage kernel: iicbb0: <I2C bit-banging driver> on cxm_iic0
>  Apr  8 05:05:15 cage kernel: iicbus0: <Philips I2C bus> on iicbb0
> master-only
>  Apr  8 05:05:15 cage kernel: iicbus0: <unknown card> at addr 0
>  Apr  8 05:05:15 cage kernel: iicbus0: <unknown card> 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 at 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


More information about the freebsd-multimedia mailing list