From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 13 14:16:25 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 2FEF416A405 for ; Thu, 13 Apr 2006 14:16:25 +0000 (UTC) (envelope-from joe@netmusician.org) Received: from netmusician.org (netmusician.org [209.67.223.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id C6F9A43D7B for ; Thu, 13 Apr 2006 14:16:24 +0000 (GMT) (envelope-from joe@netmusician.org) Received: from localhost (localhost [127.0.0.1]) by netmusician.org (Postfix) with ESMTP id 47B857309A; Thu, 13 Apr 2006 10:16:24 -0400 (EDT) Received: from netmusician.org ([127.0.0.1]) by localhost (netmusician.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03642-01; Thu, 13 Apr 2006 10:16:23 -0400 (EDT) Received: from [156.56.14.132] (156-56-14-132.dhcp-bl.indiana.edu [156.56.14.132]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by netmusician.org (Postfix) with ESMTP id D1F1373099; Thu, 13 Apr 2006 10:16:22 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v749.3) In-Reply-To: <443E5B87.6000209@nc.rr.com> References: <05A2D928-BC96-4BE5-8884-B931D8279A5D@netmusician.org> <443E5B87.6000209@nc.rr.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <3651369F-75B1-43E0-A23F-9FC218C0BA20@netmusician.org> Content-Transfer-Encoding: 7bit From: Joe Auty Date: Thu, 13 Apr 2006 10:16:23 -0400 To: Erin E Conn , freebsd-multimedia@freebsd.org X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: by amavisd-new at netmusician.org Cc: Subject: Re: problem attaching PVR250, error message in log 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: Thu, 13 Apr 2006 14:16:25 -0000 On Apr 13, 2006, at 10:09 AM, Erin E Conn wrote: > Joe Auty wrote: > >> Apr 12 21:18:58 xanthippe kernel: cxm0: > Coder> mem 0xe0000000-0xe3ffffff irq 11 at device 9.0 on p\ci0 >> Apr 12 21:18:58 xanthippe kernel: cxm_iic0: > iTVC16 I2C controller> on cxm0 >> Apr 12 21:18:58 xanthippe kernel: iicbb0: >> on cxm_iic0 >> Apr 12 21:18:58 xanthippe kernel: iicbus0: on >> iicbb0 master-only >> Apr 12 21:18:58 xanthippe kernel: cxm0: unknown tuner code 0x63 >> Apr 12 21:18:58 xanthippe kernel: cxm0: could not initialize tuner >> Apr 12 21:18:58 xanthippe kernel: iicbus0: detached >> Apr 12 21:18:58 xanthippe kernel: iicbb0: detached >> Apr 12 21:18:58 xanthippe kernel: cxm_iic0: detached >> Apr 12 21:18:58 xanthippe kernel: device_attach: cxm0 attach >> returned 6 > > I got the same error; the problem is that the tuner on your card is > currently unsupported by the pvr250 driver. I was able to use a > workaround to get the card to load, but I have not tried switching > channels with it as I'm using an external tuner (cable box) and s- > video so I don't know if the workaround will give you full > functionality. > > Workaround: > 1) Edit work/dev/cxm/cxm_eeprom.c. According to ivtv-sources, tuner > code 0x63 is a TUNER_TCL_2002N, "TCL 2002N 5H". The closest > supported code is 0x55, so you will need to add the line "case > 0x63:" in the "switch (tuner_code)" statement before the line "case > 0x55:" > > 2) run "make patch" again. I forgot this step the first time I > tried the workaround which kept the card from loading. > > 3) make install > > 4) kldload cxm_iic and cxm. You should now get: > cxm0: mem 0xdc00000 > 0-0xdfffffff irq 17 at device 12.0 on pci0 > cxm_iic0: er> on cxm0 > iicbb0: on cxm_iic0 > iicbus0: on iicbb0 master-only > cxm0: TCL 2002N-6A tuner > cxm0: SAA7115 rev 1 video decoder > cxm0: MSP3445G-B8 audio decoder > cxm0: IR Remote > cxm0: [GIANT-LOCKED] > cxm0: encoder firmware version 0x2050032 Cool! So, edit that file that is a part of the pvr250 as you've described above, run make patch, reinstall the kernel? (is that necessary)? ----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org