From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 20 22:24:46 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6694D16A409 for ; Wed, 20 Feb 2008 22:24:46 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq1.tilbu1.nb.home.nl (smtpq1.tilbu1.nb.home.nl [213.51.146.200]) by mx1.freebsd.org (Postfix) with ESMTP id EE64913C457 for ; Wed, 20 Feb 2008 22:24:45 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.146.190] (port=50850 helo=smtp1.tilbu1.nb.home.nl) by smtpq1.tilbu1.nb.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1JRxMq-0000Lv-LA; Wed, 20 Feb 2008 23:24:44 +0100 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.217.164]:61968 helo=desktop.homenet) by smtp1.tilbu1.nb.home.nl with smtp (Exim 4.60) (envelope-from ) id 1JRxMn-0001aP-2m; Wed, 20 Feb 2008 23:24:44 +0100 Received: by desktop.homenet (sSMTP sendmail emulation); Wed, 20 Feb 2008 23:23:51 +0100 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Wed, 20 Feb 2008 23:23:51 +0100 User-Agent: KMail/1.9.7 References: <20080220230700.fc80306c.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20080220230700.fc80306c.torfinn.ingolfsen@broadpark.no> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802202323.51888.danny@ricin.com> X-Spam-Score: 0.0 (/) Cc: Subject: Re: kbtv and saa card (Philips saa7134) 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: Wed, 20 Feb 2008 22:24:46 -0000 On Wednesday 20 February 2008 23:07:00 Torfinn Ingolfsen wrote: > Hello, > I'm trying out the latest kbtv from ports (kbtv-1.2.4_1) with this card: > saa0@pci2:1:0: class=0x048000 card=0x002b11bd chip=0x71341131 rev=0x01 > hdr=0x00 vendor = 'Philips Semiconductors' > device = 'SAA7134HL Multimedia Capture Device' > class = multimedia > > since I had this card lying around. > > dmesg shows: > Feb 20 22:27:06 kg-quiet kernel: saa0: decoder> mem 0xfddff000-0xfddff3ff irq 21 at device 1.0 on pci2 > Feb 20 22:27:06 kg-quiet kernel: iicbus0: on saa0 > Feb 20 22:27:06 kg-quiet kernel: iic0: on iicbus0 > > But when kbtv tries to tune channels I get lots of these messages in > /var/log/messages: Feb 20 22:36:23 kg-quiet kernel: iicbus0: START: bus > error (status 0x9 loop:12) Feb 20 22:39:34 kg-quiet kernel: iicbus0: START: > bus error (status 0x9 loop:12) Feb 20 22:39:38 kg-quiet last message > repeated 99 times > Feb 20 22:39:38 kg-quiet kernel: iicbus0: START: bus error (status 0x9 > loop:13) Feb 20 22:39:38 kg-quiet kernel: iicbus0: START: bus error (status > 0x9 loop:12) Feb 20 22:39:39 kg-quiet last message repeated 23 times > Feb 20 22:39:39 kg-quiet kernel: iicbus0: START: bus error (status 0x9 > loop:14) Feb 20 22:39:39 kg-quiet kernel: iicbus0: START: bus error (status > 0x9 loop:12) > > Any hints for debugging? Does tuning work at all despite the dmesg spam? In the good tradition of multimedia, the spam may be normal. I'm not sure if I can ever get rid of the spam frankly, maybe once I fold the iic stuff into FreeBSD7's interface, but I suspect there will still be spam. Cxm makes similar spam. I see its a Pinnacle PCTV Stereo card according to the vendor and product ID. Are you sure you set the tuner api type correctly in the port options? Do you know what tuner it is? Perhaps you may want to try kbtv2 instead, as that's the codebase I'm currently working on. Amd64 is not tested yet, that's all. On FreeBSD6 I expect it to work. > > I am running FreeBSD 6.3-stable (amd64): > root@kg-quiet# uname -a > FreeBSD kg-quiet.kg4.no 6.3-STABLE FreeBSD 6.3-STABLE #20: Thu Jan 24 > 00:42:47 CET 2008 root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET > amd64 Cheers, Dan