From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 27 12:22:33 2003 Return-Path: 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 0996B16A4BF for ; Wed, 27 Aug 2003 12:22:33 -0700 (PDT) Received: from puma.icir.org (puma.icir.org [192.150.187.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7589543F75 for ; Wed, 27 Aug 2003 12:22:32 -0700 (PDT) (envelope-from hodson@puma.icir.org) Received: from puma.icir.org (localhost [127.0.0.1]) by puma.icir.org (8.12.8p1/8.12.3) with ESMTP id h7RJMW91072733; Wed, 27 Aug 2003 12:22:32 -0700 (PDT) (envelope-from hodson@puma.icir.org) Message-Id: <200308271922.h7RJMW91072733@puma.icir.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Stefan Schwarzer In-Reply-To: Your message of "Wed, 27 Aug 2003 21:04:15 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 27 Aug 2003 12:22:32 -0700 From: Orion Hodson X-Mailman-Approved-At: Wed, 27 Aug 2003 13:36:01 -0700 Subject: Re: Sound recording on FreeBSD 5.1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 19:22:33 -0000 Stefan The below is great. I have a feeling recording on the ich4 should work on 4.8R, the upcoming 4.9R, and also on -CURRENT. It's going to be a day or two before I confirm this (work, social life, etc), but it'll save you a potentially needless install. Kind Regards - Orion /-- Stefan Schwarzer wrote: | Orion, thanks for your reply! | | When I wrote the previous mail, I was at work, and had only limited | info available. Sorry. | | By the way, the motherboard is an Asus P4G8X Deluxe. | | On Wed, 27 Aug 2003, Orion Hodson wrote: | > /-- Stefan Schwarzer wrote: | > | My current system is FreeBSD Release 5.1 with sound hardware RealTek | > | 650LC AC97 on the motherboard. I can play sound fine, but I can't | > | record anything (and am quite sure that I have set up everything | > | correctly regarding the cabling and the mixer(8) settings). Is this | > | known behaviour or is there even a patch? I tried recording with | > | audio/gramofile from the ports collection. | > | > Can you also post the output of 'cat /dev/sndstat'? The AC97 codec is just | > one component in your sound system and probably not related to the recordin | g | > problem. | | $ uname -a | FreeBSD warpy.sschwarzer.net 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #17: Fri A | ug 22 22:45:47 CEST 2003 root@warpy.sschwarzer.net:/usr/obj/usr/src/sys/W | ARPY i386 | | $ cat /dev/sndstat | FreeBSD Audio Driver (newpcm) | Installed devices: | pcm0: at io 0x9800, 0x9400 irq 5 bufsz 16384 (1p/1r/0v | channels duplex default) | | $ dmesg | grep pcm | pcm0: port 0x9400-0x943f,0x9800-0x98ff mem 0xe1000000- | 0xe10000ff,0xe1800000-0xe18001ff irq 5 at device 31.5 on pci0 | pcm0: | | > Can you provide some additional info about the recording problem? e.g. you' | ve | > checked the mixer rec input, mixer gain, but is any data is produced? | | $ mixer | Mixer vol is currently set to 75:75 | Mixer pcm is currently set to 25:25 | Mixer speaker is currently set to 75:75 | Mixer line is currently set to 75:75 | Mixer mic is currently set to 0:0 | Mixer cd is currently set to 75:75 | Mixer rec is currently set to 0:0 | Mixer line1 is currently set to 75:75 | Mixer phin is currently set to 0:0 | Mixer phout is currently set to 0:0 | Mixer video is currently set to 75:75 | | $ mixer =rec mic | Recording source: mic | | $ mixer | Mixer vol is currently set to 75:75 | Mixer pcm is currently set to 25:25 | Mixer speaker is currently set to 75:75 | Mixer line is currently set to 75:75 | Mixer mic is currently set to 0:0 | Mixer cd is currently set to 75:75 | Mixer rec is currently set to 0:0 | Mixer line1 is currently set to 75:75 | Mixer phin is currently set to 0:0 | Mixer phout is currently set to 0:0 | Mixer video is currently set to 75:75 | | $ mixer mic 75 | Setting the mixer mic from 0:0 to 75:75. | | $ cp /dev/audio test.au # about 40 s | ^C | | $ ls -l test.au | -rw-r--r-- 1 schwa schwa 262144 Aug 27 20:41 test.au | | The file test.au consists of 262144 bytes with the value 0xFE. | | > If so, does it sound garbled, inaudible, etc... | | When I do | | $ cp test.au /dev/audio | | I hear nothing (silence) over the headphones. | | Stefan |