From owner-freebsd-multimedia@FreeBSD.ORG Sun Aug 3 08:15:47 2014 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D6BA696 for ; Sun, 3 Aug 2014 08:15:47 +0000 (UTC) Received: from mail.shmtech.biz (unknown [IPv6:2001:41c8:10:8c::4:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.shmtech.biz", Issuer "Go Daddy Secure Certification Authority" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A55922B68 for ; Sun, 3 Aug 2014 08:15:46 +0000 (UTC) Received: from fleabag.domlan.talk2dom.com (188.31.20.26.threembb.co.uk [188.31.20.26]) (authenticated bits=0) by mail.shmtech.biz (8.14.8/8.14.5) with ESMTP id s738Fg5c077803 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 3 Aug 2014 09:15:43 +0100 (BST) (envelope-from dom@talk2dom.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=talk2dom.com; s=shmtech1; t=1407053743; bh=SPSVLcWYKq9CA7b2DK4zo6VMQ+ijYyVThrqKkTIQiNM=; h=Date:From:To:Subject:References:In-Reply-To; b=BpQWJbONRegBS1/MQzppNlZc2ocdNMEUQ2telQe7ULtwdncPyW2r2jh1+RcnvwpyE f/z7Xomsyr0oz72PyI8XZJ40IZYpQCnDETfU7F/LrqUQ74wikVheeCvrc87Rnczv4v /uYnrk425cIyD+LNhCYSy7L6DLVri8IVqILL/I3k= X-Authentication-Warning: sendmail: Host 188.31.20.26.threembb.co.uk [188.31.20.26] claimed to be fleabag.domlan.talk2dom.com Message-ID: <53DDEFAE.4060005@talk2dom.com> Date: Sun, 03 Aug 2014 09:15:42 +0100 From: Dominic Froud User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: Re: PVR-250 with FreeBSD 10.0? References: <20140802230415.GA13384@RawFedDogs.net> In-Reply-To: <20140802230415.GA13384@RawFedDogs.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 08:15:47 -0000 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