From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 30 07:06:08 2007 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D026216A402 for ; Mon, 30 Apr 2007 07:06:08 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id B099E13C459 for ; Mon, 30 Apr 2007 07:06:08 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (6s332rc1v6nvtsu0@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l3U768qC023939 for ; Mon, 30 Apr 2007 00:06:08 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l3U768DZ023938 for multimedia@FreeBSD.org; Mon, 30 Apr 2007 00:06:08 -0700 (PDT) (envelope-from jmg) Date: Mon, 30 Apr 2007 00:06:08 -0700 From: John-Mark Gurney To: multimedia@FreeBSD.org Message-ID: <20070430070607.GA17958@funkthat.com> Mail-Followup-To: multimedia@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Subject: cxd driver needs demodulator code... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2007 07:06:08 -0000 The good news is that I have a prototype driver for the cx2388x... So far it can talk w/ the devices on the I2C bus (which is the easy part): -bash-2.05b$ ./iic -f /dev/iic0 START 0xa0 WRITE 1 0 STOP START 0xa1 READ 5 06 ff ff ff 02 Though the bad news is that Linux (2.6.20.7) doesn't support my version of the NXT.. Linux only supports the TUV1236D when 04 or 05 in the first byte above, so I'm not sure what type of device I have.. I've sent a request to NXP for informating on the tuner, I'll see how they respond... Though if you have a card w/ an LG H062F, like the DViCO FusionHDTV5 Gold or the PCHDTV HD5500 , a bit of mash up between my bktraucap program and the cxd driver, and you'll be able to tell me how your computer crashes! :) (Though I'll need to add ioctl's to flip GPIO lines for you.) The source for the driver is in perforce at: http://p4web.freebsd.org/@md=d&cd=//&c=Pbj@//depot/user/jmg/cxd/?ac=83 Let me know if you're interested in working on it. cxd0: mem 0xe5000000-0xe5ffffff irq 17 at device 7.2 on pci1 iicbb0: on cxd0 iicbus0: on iicbb0 master-only iicbus0: at addr 0 iic0: on iicbus0 cxd0: [ITHREAD] -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."