From owner-freebsd-multimedia@FreeBSD.ORG Thu Apr 13 20:18:34 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 5F04A16A400 for ; Thu, 13 Apr 2006 20:18:34 +0000 (UTC) (envelope-from econn@nc.rr.com) Received: from ms-smtp-01-eri0.southeast.rr.com (ms-smtp-01-lbl.southeast.rr.com [24.25.9.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E77B143D46 for ; Thu, 13 Apr 2006 20:18:33 +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-01-eri0.southeast.rr.com (8.13.4/8.13.4) with ESMTP id k3DKIVX8023594; Thu, 13 Apr 2006 16:18:31 -0400 (EDT) Message-ID: <443EB216.5090203@nc.rr.com> Date: Thu, 13 Apr 2006 16:18:30 -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> <443E606D.3070206@nc.rr.com> <1F24E4CD-709B-4BF1-8475-9152060593CE@netmusician.org> In-Reply-To: <1F24E4CD-709B-4BF1-8475-9152060593CE@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 20:18:34 -0000 Joe Auty wrote: > Okay, here is what I did... > > cd /usr/ports/multimedia/pvr250 > sudo make deinstall > sudo make clean > sudo make > > edited work/dev/cxm/cxm_eeprom.c and added the lines: > > case 0x63: > tuner_type = CXM_TUNER_TCL_2002N_5H; > break; > > right before: > case 0x55: /* TCL 2002N-6A */ > tuner_type = CXM_TUNER_TCL_2002N_6A; > break; > > sudo make patch-iicbb (I'm assuming this is what you meant, make patch > on its own does nothing) > sudo make install > > kldload the kernel... > > Still the same error message.... > > Did I miss something? > Actually, what you need to do is: cd /usr/ports/multimedia/pvr250 sudo make deinstall sudo make clean sudo make extract edit work/dev/cxm/cxm_eeprom.c: case 0x63: case 0x55: /* TCL 2002N-6A */ tuner_type = CXM_TUNER_TCL_2002N_6A; break; The only line you need to add is the case 0x63. This will cause the driver to behave the same as if you had a tuner with the code 0x55 (since this is the closest to your model). sudo make install kldload the modules I don't know if this will actually give you functionality on your tuner since I'm not using my built-in tuner, but it will at least allow the cxm0 device to attach.