From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 13 14:30:09 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 01E2816A402 for ; Thu, 13 Apr 2006 14:30:08 +0000 (UTC) (envelope-from econn@nc.rr.com) Received: from ms-smtp-04-eri0.southeast.rr.com (ms-smtp-04-lbl.southeast.rr.com [24.25.9.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F3CE43D46 for ; Thu, 13 Apr 2006 14:30:08 +0000 (GMT) (envelope-from econn@nc.rr.com) Received: from [192.168.0.11] (cpe-071-065-248-172.nc.res.rr.com [71.65.248.172]) by ms-smtp-04-eri0.southeast.rr.com (8.13.4/8.13.4) with ESMTP id k3DEU6ok017047; Thu, 13 Apr 2006 10:30:07 -0400 (EDT) Message-ID: <443E606D.3070206@nc.rr.com> Date: Thu, 13 Apr 2006 10:30:05 -0400 From: Erin E Conn User-Agent: Thunderbird 1.5 (X11/20060409) MIME-Version: 1.0 To: Joe Auty References: <05A2D928-BC96-4BE5-8884-B931D8279A5D@netmusician.org> <443E5B87.6000209@nc.rr.com> <3651369F-75B1-43E0-A23F-9FC218C0BA20@netmusician.org> In-Reply-To: <3651369F-75B1-43E0-A23F-9FC218C0BA20@netmusician.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: freebsd-multimedia@freebsd.org 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:30:09 -0000 Joe Auty wrote: > On Apr 13, 2006, at 10:09 AM, Erin E Conn wrote: > >> Joe Auty wrote: >> >>> Apr 12 21:18:58 xanthippe kernel: cxm0: >>> mem 0xe0000000-0xe3ffffff irq 11 at device 9.0 on p\ci0 >>> Apr 12 21:18:58 xanthippe kernel: cxm_iic0: >> 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)? > It's not necessary to reinstall the kernel, the patch takes care of it.