From owner-freebsd-multimedia@FreeBSD.ORG Fri Nov 4 20:40:51 2005 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 896F316A41F for ; Fri, 4 Nov 2005 20:40:51 +0000 (GMT) (envelope-from timbicio@hotmail.com) Received: from hotmail.com (bay101-f15.bay101.hotmail.com [64.4.56.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id E086443D45 for ; Fri, 4 Nov 2005 20:40:47 +0000 (GMT) (envelope-from timbicio@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 4 Nov 2005 12:40:47 -0800 Message-ID: Received: from 64.4.56.200 by by101fd.bay101.hotmail.msn.com with HTTP; Fri, 04 Nov 2005 20:40:46 GMT X-Originating-IP: [4.63.153.2] X-Originating-Email: [timbicio@hotmail.com] X-Sender: timbicio@hotmail.com In-Reply-To: <80021DB9CA5EA04C8A6FBB918788EBDD02AEC478@EXCH02.purdue.lcl> From: "Tim Bicio" To: bseib@purdue.edu, freebsd-multimedia@freebsd.org Date: Fri, 04 Nov 2005 12:40:46 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 04 Nov 2005 20:40:47.0279 (UTC) FILETIME=[08FD03F0:01C5E180] Cc: Subject: RE: Troubleshooting cxm driver with Hauppauge 250 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: Fri, 04 Nov 2005 20:40:51 -0000 I had a similar problem some time ago. Perhaps this will help. You need to have a proper video signal running to the card in order for it to work. T
>Hi all,
>
>I recently discovered the cxm driver, so I moved my Hauppauge 250 tuner
>card to my FreeBSD 5.3 box (yay!). I built and installed the driver
>parts and it *almost* works, but produces empty mpg files. (BTW, this
>card has worked under KnoppMyth and WinXP in the past.) The console logs
>show successful loading of things:
>
>cxm0: <Conexant iTVC16 MPEG Coder> mem 0xf0000000-0xf3ffffff irq 21 at
>device 9.0 on pci1
>cxm_iic0: <Conexant iTVC15 / iTVC16 I2C controller> on cxm0
>iicbb0: <I2C bit-banging driver> on cxm_iic0
>iicbus0: <Philips I2C bus> on iicbb0 master-only
>cxm0: Temic 4036 FY5 tuner
>cxm0: SAA7115 rev 1 video decoder
>cxm0: MSP4448G-A2 audio decoder
>cxm0: IR Remote
>cxm0: encoder firmware version 0x2050032
>
>I can use 'setchannel -t <x>' to successfully tune in a channel. (I even
>added some debug lines to the driver to prove this is working. Plus
>setchannel correctly fails when I unhook my coax line...)
>
>But when I do a 'cat /dev/cxm0 > testit.mpg' I get a zero length file.
>And when I interrupt this process I get (after the expected 1000ms
>delay) a message "cxm0: missing encoder EOS".
>
>I have debugged this enough to think that the firmware command (0x81) to
>"begin capture" has been properly issued, but cxm_intr() is never called
>thereafter. So the driver patiently sits there in tsleep (as "cmxrd")
>waiting for its buffer to fill, but nothing ever comes.
>
>Anyone have any tips where/how to pursue debugging this?
>
>-broc
>_______________________________________________
>freebsd-multimedia@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
>To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"