Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Aug 2014 09:15:42 +0100
From:      Dominic Froud <dom@talk2dom.com>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: PVR-250 with FreeBSD 10.0?
Message-ID:  <53DDEFAE.4060005@talk2dom.com>
In-Reply-To: <20140802230415.GA13384@RawFedDogs.net>
References:  <20140802230415.GA13384@RawFedDogs.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53DDEFAE.4060005>