From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 16 01:51:02 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 2782916A417 for ; Mon, 16 Oct 2006 01:51:02 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 325FA43D73 for ; Mon, 16 Oct 2006 01:50:54 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 58481 invoked by uid 2001); 16 Oct 2006 01:50:51 -0000 Date: Sun, 15 Oct 2006 20:50:51 -0500 From: "Rick C. Petty" To: B Briggs Message-ID: <20061016015051.GA57865@keira.kiwi-computer.com> References: <20061013152217.GA83555@keira.kiwi-computer.com> <452FA2F7.5020104@bellsouth.net> <453090B7.5050900@bellsouth.net> <45309C42.7070103@bellsouth.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45309C42.7070103@bellsouth.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-multimedia@freebsd.org Subject: Re: New port: pvrxxx for Hauppauge PVR150/500 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 01:51:02 -0000 On Sat, Oct 14, 2006 at 03:13:54AM -0500, B Briggs wrote: > B Briggs wrote: > > 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 Yup, that's expected. I'm not sure if usleep was planning to "fix" this (remove the message) or if it's not possible. I don't know what the interaction with i2c is. > 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). The delay is because the firmware needs to be downloaded onto the card over the I2C bus. If you have two tuners (like the pvr500) it's twice as long :-P There's no way to avoid this, at least with the current I2C implementation. The kernel has to block interrupts so the I2C timing is perfect, AFAIK. -- Rick C. Petty