From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 27 12:04:27 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 5B5D616A4C0; Wed, 27 Aug 2003 12:04:27 -0700 (PDT) Received: from sinfonix.rz.tu-clausthal.de (sinfonix.rz.tu-clausthal.de [139.174.2.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FB3F43FF9; Wed, 27 Aug 2003 12:04:17 -0700 (PDT) (envelope-from stefan.schwarzer@tu-clausthal.de) Received: from idefix.rz.tu-clausthal.de (idefix.rz.tu-clausthal.de [139.174.2.22]) by sinfonix.rz.tu-clausthal.de (8.9.3/8.9.3) with ESMTP id VAA13552; Wed, 27 Aug 2003 21:04:16 +0200 (MET DST) Received: from localhost (svss@localhost) by idefix.rz.tu-clausthal.de (8.11.7+Sun/8.9.3) with ESMTP id h7RJ4Gm28633; Wed, 27 Aug 2003 21:04:16 +0200 (MEST) X-Authentication-Warning: idefix.rz.tu-clausthal.de: svss owned process doing -bs Date: Wed, 27 Aug 2003 21:04:15 +0200 (MEST) From: Stefan Schwarzer To: Orion Hodson In-Reply-To: <200308271656.h7RGux91052857@puma.icir.org> Message-ID: References: <200308271656.h7RGux91052857@puma.icir.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-multimedia@freebsd.org 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:04:27 -0000 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 recording > problem. $ uname -a FreeBSD warpy.sschwarzer.net 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #17: Fri Aug 22 22:45:47 CEST 2003 root@warpy.sschwarzer.net:/usr/obj/usr/src/sys/WARPY 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