From owner-freebsd-multimedia Tue Feb 11 21:25:33 2003 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 6AC4337B401; Tue, 11 Feb 2003 21:25:31 -0800 (PST) Received: from mother.ludd.luth.se (mother.ludd.luth.se [130.240.16.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3218143F3F; Tue, 11 Feb 2003 21:25:29 -0800 (PST) (envelope-from pb@ludd.luth.se) Received: from brother.ludd.luth.se (brother.ludd.luth.se [130.240.16.78]) by mother.ludd.luth.se (8.11.6+Sun/8.9.3) with ESMTP id h1C5O6000159; Wed, 12 Feb 2003 06:24:07 +0100 (MET) From: Peter B Received: (from pb@localhost) by brother.ludd.luth.se (8.11.6+Sun/8.9.3) id h1C5O6124730; Wed, 12 Feb 2003 06:24:06 +0100 (MET) Message-Id: <200302120524.h1C5O6124730@brother.ludd.luth.se> Subject: Bt878 builtin audio adc + 2xBug To: freebsd-multimedia@FreeBSD.org Date: Wed, 12 Feb 2003 06:24:06 +0100 (MET) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I was investigating a sound problem with my Bt878 card and then I found the following in the mplayer documentation: http://mplayerhq.hu/DOCS/documentation.html#tv "# There are several ways of capturing audio. You can grab the sound either using your soundcard via an external cable connection between video card and line-in, or using the built-in ADC in the bt878 chip. In the latter case, you have to load the btaudio driver. Read the linux/Documentation/sound/btaudio file (in the kernel tree, not MPlayer's) for some instructions on using this driver." Indeed on a linux 2.4.18 installation there is a driver: /usr/src/linux/drivers/sound/btaudio.c And documentation: /usr/src/linux/Documentation/sound/btaudio Which says it supports two modes: digital via I2S and normal adc. And it will only record audio. The dmesg just became much clearer: bktr0: mem 0xcf000000-0xcf000fff irq 9 at device 12.0 on pci0 (Video grabber device) pci0: (vendor=0x109e, dev=0x0878) at 12.1 irq 9 (Audio adc) Using this pci device will most likely reduce noise on tvrecordings with less wires to go through. And it will free the recording input on the soundcard. So there are benefits.. Is there anyone looking into writing a driver for freebsd ..? ................................................................... There is also two bugs with the bt878 I have discovered: *) At different occasions whitenoise is added to the recordings of tv. I'm using the Asus A7V333 motherboard builtin soundcard CMI8738. I have used fxtv, mplayer, xawtv, ffmpeg. (Maybe using the onboard adc will solve this?) *) After booting, unless fxtv or other bt878 program is runt immediate the computer will freeze on it's usage later on. Any fix, or tip? (Full PR will be made) /Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message