From owner-freebsd-multimedia@FreeBSD.ORG Sat Oct 14 08:13:58 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 0640E16A47E for ; Sat, 14 Oct 2006 08:13:58 +0000 (UTC) (envelope-from rcbdyndns@bellsouth.net) Received: from imf20aec.mail.bellsouth.net (imf20aec.mail.bellsouth.net [205.152.59.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EB8F43D45 for ; Sat, 14 Oct 2006 08:13:56 +0000 (GMT) (envelope-from rcbdyndns@bellsouth.net) Received: from ibm62aec.bellsouth.net ([66.21.214.112]) by imf20aec.mail.bellsouth.net with ESMTP id <20061014081356.GYNR23552.imf20aec.mail.bellsouth.net@ibm62aec.bellsouth.net> for ; Sat, 14 Oct 2006 04:13:56 -0400 Received: from [192.168.0.102] (really [66.21.214.112]) by ibm62aec.bellsouth.net with ESMTP id <20061014081355.QAH7948.ibm62aec.bellsouth.net@[192.168.0.102]> for ; Sat, 14 Oct 2006 04:13:55 -0400 Message-ID: <45309C42.7070103@bellsouth.net> Date: Sat, 14 Oct 2006 03:13:54 -0500 From: B Briggs User-Agent: Thunderbird 1.5.0.7 (X11/20060920) MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: <20061013152217.GA83555@keira.kiwi-computer.com> <452FA2F7.5020104@bellsouth.net> <453090B7.5050900@bellsouth.net> In-Reply-To: <453090B7.5050900@bellsouth.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: New port: pvrxxx for Hauppauge PVR150/500 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: Sat, 14 Oct 2006 08:13:58 -0000 B Briggs wrote: > Rick C. Petty wrote: >> >> This has nothing to do with the file on the CD but that the driver >> doesn't >> know about your tuner. The pvr500 comes with one of many different types >> of tuners. I suspect you have a different tuner than has been tested >> thus >> far. I'm sure usleep can make a suggestion at this point. >> > > I probably should have mentioned that this is a pvr150, if that makes > any difference. Anyway, I found this post from April: > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-April/003922.html > > > Seems to be the identical error message, but I'm a little unclear on how > that was resolved, and whether or not if I add a case for 0x63 in the > cxm_eeprom.c that I'll be able to use the tuner. > I guess I should have tried it first. If I add case 0x63: case 0x55: /* TCL 2002N-6A */ in cxm_eeprom.c (/usr/ports/multimedia/pvrxxx/work/dev/cxm/cxm_eeprom.c) then the tuner works! I do get this error message, however: bbriggs# pvr250-setchannel -a on -t -g 720x480 -m 2 28 ioctl( tfd, BT848_GAUDIO ) failed.: Device not configured There is also an approximately 20 second delay after kldload cxm, and in dmesg I find: cxm0: mem 0xdc000000-0xdfffffff irq 10 at device 3.0 on pci0 cxm_iic0: on cxm0 iicbb0: on cxm_iic0 iicbus0: on iicbb0 master-only tuner code 99 tuner_type = 20 cxm0: TCL 2002N-6A tuner <2>cxm 0-0000: loaded /lib/modules/v4l-cx25840.fw firmware (14264 bytes) <2>cxm debug 0-0000: decoder set input (0) <2>cxm debug 0-0000: now setting Tuner input <2>cxm debug 0-0000: set audio input (0) <2>cxm debug 0-0000: set audio input (0) cxm0: Eeprom NTSC <2>tda 0-0000: switching to v4l2 <2>tda 0-0000: configure for: NTSC-M <2>tda 0-0000: writing: b=0xd4 c=0x30 e=0x44 could not start iic bus probed 54 probed 136 probed 160 probed 194 probed 224 probed 226 probed 228 probed 230 <2>tda 0-0000: i2c i/o error: rc == 2 (should be 4) read error <2>tda 0-0000: i2c i/o error: rc == -626959961 (should be 1) <2>tda 0-0000: read: 0x 0 <2>tda 0-0000: after power on : no <2>tda 0-0000: afc : - 12.5 kHz <2>tda 0-0000: fmif level : low <2>tda 0-0000: afc window : out <2>tda 0-0000: vfi level : low <2>cxm 0-0000: Video signal: present <2>cxm 0-0000: Detected format: NTSC-M <2>cxm 0-0000: Detected audio mode: mono <2>cxm 0-0000: Detected audio standard: BTSC <2>cxm 0-0000: Audio muted: no <2>cxm 0-0000: Audio microcontroller: running <2>cxm 0-0000: Configured audio standard: automatic detection <2>cxm 0-0000: Configured audio system: BTSC <2>cxm 0-0000: Specified standard: NTSC-M <2>cxm 0-0000: Specified input: Tuner <2>cxm 0-0000: Specified audio input: Tuner <2>cxm 0-0000: Specified audioclock freq: 48 kHz <2>cxm 0-0000: Preferred audio mode: stereo cxm0: [GIANT-LOCKED] cxm0: encoder firmware version 0x2050032 So I figure I've got some kind of hack, but I feel that not everything is right. Anything else I might need to do here? (especially to get rid of a 20 second delay). -- B Briggs