From owner-freebsd-multimedia@FreeBSD.ORG Thu Aug 25 08:10:05 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 D0D7516A41F for ; Thu, 25 Aug 2005 08:10:05 +0000 (GMT) (envelope-from tweek.20k@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 613C743D46 for ; Thu, 25 Aug 2005 08:10:05 +0000 (GMT) (envelope-from tweek.20k@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so166220nzo for ; Thu, 25 Aug 2005 01:10:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eAHRdlIu7YbmAggRMaiyaRDdq+nvyQ/owtnqArI+sslIT+qtMJiN+GuLYWirLODcb339xMNS43Uk/YJ/X7xbjfvA/4+s4nSYU2QiOEyAm5x2uxg1y0HtHZv85fBleWlrnAtMoooKLmX74/GRRWzpPrJCg/LGz2nya6A7xx1Zk7w= Received: by 10.36.20.7 with SMTP id 7mr52578nzt; Thu, 25 Aug 2005 01:10:04 -0700 (PDT) Received: by 10.36.71.2 with HTTP; Thu, 25 Aug 2005 01:10:04 -0700 (PDT) Message-ID: <82d8d69805082501103d29d326@mail.gmail.com> Date: Thu, 25 Aug 2005 02:10:04 -0600 From: tweek To: freebsd-multimedia@freebsd.org In-Reply-To: <82d8d698050813162738b969aa@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <82d8d698050813162738b969aa@mail.gmail.com> Subject: STB2 capture card; sound works in btwincap and bttv, but not in bktr 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, 25 Aug 2005 08:10:06 -0000 Right, I posted this question to freebsd-questions, and no one answered. I'm assuming it's technical enough to warrant a post here. I have a STB capture card, distributed in an OEM package by Gateway. (I purchased it through eBay for $12.) It has a bt878 chip, and I have it hooked to an SB Live! card with a four-pin audio cable, internally. The card has both RCA and S-Video video inputs, a 'headphone'-style jack for audio input, and two coaxial inputs - one for cable TV, the other for an FM antenna. I used it over the summer to play Halo 2 through, with Windows XP and btwincap. I needed to change a few settings, (specifically, the presence of and addresses of a few chips) as noted in http://btwincap.sourceforge.net/faq.html, for sound to play: (what follows is a quote from that page) - TDA 9850 set to "Yes", 12c address 0xb6, (also try 0xb4 if audio does not work) - TEA 6420 set to "Yes", 12c address 0x98 - TDA 7432 set to "Yes", 12c address 0xff (the driver will autodetect it) I usually have to set the TDA 9850 I2C address to 0xb4 to make sound play. I use ATV2000 after that, and have no problems with S-Video input, cable TV, etc. - everything works. I tried Knoppix a while ago - using fxtv through its relatively easy configuration script, (essentially, all it asks is, what card do you have, what tuner does it have, etc.) I was able to make everything work - with sound - without any changes. I've been trying a number of things to get sound to play in FreeBSD. Here is a list of things I've tried so far: fxtv auto/internal switch: does nothing. mixer all volumes to 100: necessary, of course, for this to work, but does nothing. xawtv: no change from fxtv. (these are the only two FreeBSD capture card-specific applications I know of; mplayer was also tried, with no result.) new msp34xx patch: no change noted. playing with various hw.bt848 (848...?) sysctl tunables: no change. doing anything to the emu10k1 driver/using emu10kx: no change. (this isn't the problem, I'm pretty sure.) kernel sourcediving: found a few references to TDA 98something, and messed around with a few things, but ... really no changes noted. Here are some relevant-looking lines from dmesg: bktr0: mem 0xd0001000-0xd0001fff irq 5 at device 15.0 on pc= i0 bktr0: STB TV/PCI, Philips FR1236 NTSC FM tuner, dbx stereo. pci0: at device 15.1 (no driver attached) uname -a reports that I'm using FreeBSD 5.4-RELEASE-p6. Here are some lines from my kernel config: device bktr device iicbus device iicbb device iicsmb device smbus options BROOKTREE_SYSTEM_DEFAULT=3DBROOKTREE_NTSC options OVERRIDE_CARD=3D3 options OVERRIDE_TUNER=3D9 #options BKTR_NEW_MSP34XX_DRIVER #options BKTR_GPIO_ACCESS A bit of Googling shows an old post someone who seems to have the same the same problem, and also seems to know a bit more about it: http://www.monkey.org/freebsd/archive/freebsd-multimedia/200306/msg00057.ht= ml I'd appreciate any help I could get with this. I'll be moving into a dorm room (hopefully) once the term starts, and it'll probably be annoying to switch to Windows XP from FreeBSD just to watch a few NHL games, and my computer is slow enough to make anything like VMware infeasible. Lucas Jacobs, FreeBSD user since 5.2 tweek (dot) 20k (at) gmail (dot) com