From owner-freebsd-multimedia@FreeBSD.ORG Tue Mar 28 11:01:26 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B38B16A426 for ; Tue, 28 Mar 2006 11:01:26 +0000 (UTC) (envelope-from sironside@interfone.net) Received: from loqui.caffetine.org (host-84-9-255-18.bulldogdsl.com [84.9.255.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 853C643D49 for ; Tue, 28 Mar 2006 11:01:18 +0000 (GMT) (envelope-from sironside@interfone.net) Received: from [10.69.1.30] ([10.69.1.30]) by loqui.caffetine.org (8.13.4/8.13.4) with ESMTP id k2SBA8EO070977; Tue, 28 Mar 2006 12:10:08 +0100 (BST) (envelope-from sironside@interfone.net) Message-ID: <4429177B.8080501@interfone.net> Date: Tue, 28 Mar 2006 12:01:15 +0100 From: Simon Ironside User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Tancsa , freebsd-multimedia@freebsd.org References: <44280662.4080905@interfone.net> <6.2.3.4.0.20060327114411.101c9b00@64.7.153.2> In-Reply-To: <6.2.3.4.0.20060327114411.101c9b00@64.7.153.2> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Can't build pvr250 port with FreeBSD 6.0-RELEASE 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, 28 Mar 2006 11:01:26 -0000 Mike Tancsa wrote: > Are you sure you did the kernel patch ? > > make patch-iicbb No, I didn't. All I did was add the iicbus and iicbb devices to the kernel configuration file and compile/install it. Because make failed I didn't see pkg-message. So I would have made a kernel with the original iicbus and iicbb devices. What order should I be doing things in? You obvlously have to do make patch-iicbb after make as make patch-iicbb after a make clean gave this: cannot open /usr/ports/multimedia/pvr250/work/dev/cxm/Patch.iicbb-fbsd5: No such file or directory *** Error code 2 Stop in /usr/ports/multimedia/pvr250. So I ran make again, and got the error I posted at the beginning of this thread. I ran make patch-iicbb at this point and it patches correctly. I have rebuilt my kernel, rebooted and ran make again and it worked fine. I'm confused - what is the procedure for installing the pvr250 port then? 1. Install kernel sources if you haven't already 1. Put hcwPVRP2.sys in /usr/ports/distfiles 2. make in /usr/ports/multimedia/pvr250. Ignore the error. 3. make patch-iicbb 4. Build & install a new kernel with iicbus and iicbb devices 5. Reboot 6. Run make again in /usr/ports/multimedia/pvr250. It will work this time. 7. make install 8. kldload cxm_iic 9. kldload cxm 10. Admire the following on your console or /var/log/messages: Mar 28 11:53:29 itx kernel: cxm0: mem 0xe8000000-0x ebffffff irq 10 at device 20.0 on pci0 Mar 28 11:53:29 itx kernel: cxm_iic0: on cxm0 Mar 28 11:53:29 itx kernel: iicbb0: on cxm_iic0 Mar 28 11:53:29 itx kernel: iicbus0: on iicbb0 master-only Mar 28 11:53:29 itx kernel: cxm0: Philips FM1246 tuner Mar 28 11:53:29 itx kernel: cxm0: SAA7115 rev 1 video decoder Mar 28 11:53:29 itx kernel: cxm0: MSP4418G-A2 audio decoder Mar 28 11:53:29 itx kernel: cxm0: IR Remote Mar 28 11:53:29 itx kernel: cxm0: [GIANT-LOCKED] Mar 28 11:53:29 itx kernel: cxm0: encoder firmware version 0x2050032 Mar 28 11:53:29 itx kernel: cxm0: decoder firmware version 0x2020023 Simon