From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 7 19:42:13 2011 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 746FB1065672 for ; Wed, 7 Sep 2011 19:42:13 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id EE2388FC12 for ; Wed, 7 Sep 2011 19:42:12 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=wJvnH89EauZH5CtPccDXCoR3S15XcsUHhRLViNeYhtc= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=bMB0mDxfWMQA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=2O7r5XwVvW-M5OXN9fQA:9 a=KDXbv7IWZ9wXMjRC6HYA:7 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 177364770; Wed, 07 Sep 2011 21:32:07 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 7 Sep 2011 21:29:24 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E6775F5.4010603@gmx.de> In-Reply-To: <4E6775F5.4010603@gmx.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201109072129.24226.hselasky@c2i.net> Cc: Subject: Re: M-Audio Transit USB offers mic but no rec device 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: Wed, 07 Sep 2011 19:42:13 -0000 On Wednesday 07 September 2011 15:47:33 SolarCatcher wrote: > Hi, > > this is my first post to this mailing list. I hope someone can help me > with this question. > > A few days ago I first tried the new audio/madfufw ports and it works > very nicely for playback. But I can't get the mic to work as rec device. > With mixer I get the following: > > > #mixer -f /dev/mixer1 > Mixer vol is currently set to 75:75 > Mixer pcm is currently set to 75:75 > Mixer mic is currently set to 100:100l Hi, > #mixer -f /dev/mixer1 -S =rec mic > mixer: unknown recording device: mic > What does "mixer recsrc" output? > > The rest of the output (dmesg, sndstat, sysctl...) all looks like it > should have rec capabilities. Is there any variable that I must manually > enable to get the device to work for recording? Try to enable "sysctl hw.usb.uaudio.debug=15". Then replug the device. Maybe some error messages are printed. Usually there is a USB command which switches the recording source. Also try to set the recording rate to 44100 by using: sysctl hw.usb.uaudio.default_rate=44100 > > Here is the output of the different commands: > > dmesg: > uaudio0: on usbus2 > uaudio0: Play: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: Record: 48000 Hz, 2 ch, 16-bit S-LE PCM format > uaudio0: No midi sequencer pcm1: on uaudio0 > > cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) > Installed devices: > pcm0: (play/rec) default > pcm1: (play/rec) > > sysctl > dev.pcm.0.rec.vchans: 2 dev.pcm.0.rec.vchanmode: fixed > dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le:2.0 > dev.pcm.1.rec.vchans: 1 dev.pcm.1.rec.vchanmode: fixed > dev.pcm.1.rec.vchanrate: 48000 dev.pcm.1.rec.vchanformat: s16le:2.0 > > > Does anybody have an idea of how to get the Transit to work as rec > device (or how what else to do with the mic device so that I can record > something). --HPS