PVR-250 with FreeBSD 10.0?
Dominic Froud
dom at talk2dom.com
Sun Aug 3 08:15:47 UTC 2014
On 03/08/2014 00:04, Kevin Monceaux wrote:
> Fellow FreeBSD Fans,
>
> Is there a way to use a Hauppauge PVR-250 card with FreeBSD 10.0? The
> pvr250 port is marked as broken.
>
You're in luck! I just recompiled pvr250 for FreeBSD 10 yesterday so I
can help you. (I have a CX23416-based PCI-card).
First, comment out or delete the line starting "BROKEN" in the port's
Makefile.
Next you will need to source a decoder firmware file called
"hcwPVRP2.sys" (case is important). There should be one of the driver CD
with your card but they are easily enough to obtain on the web. If you
get really stuck on that then email me. This file needs to be placed in
/usr/ports/distfiles/
Start building the port with:
make -DNO_CHECKSUM
It will probably fail on a line in cxm.c like this:
/usr/ports/multimedia/pvr250/work/modules/cxm/cxm/../../../dev/cxm/cxm.c:1397:3:
error: implicit declaration of function 'psignal' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
psignal (sc->enc_proc, sc->enc_signal);
Change line 1397 of said file so it reads:
kern_psignal (sc->enc_proc, sc->enc_signal);
Continue build with another:
make -DNO_CHECKSUM
Port should build successfully. Follow with usual "make install". To use
the port you need to load the cxm driver with "kldload cxm" and use
"pvr250-setchannel" to select input, etc. After that I mostly only do
"cat /dev/cxm0 > something.mpg"
Hope this helps,
Dominic
More information about the freebsd-multimedia
mailing list