From owner-freebsd-multimedia@FreeBSD.ORG Mon Apr 11 17:28:24 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 24BCD1065673; Mon, 11 Apr 2011 17:28:24 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 56CAF8FC0C; Mon, 11 Apr 2011 17:28:22 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=NvrFngl24Vvwb7eBef0tfsytOWEnP/WlkqxQrRnklhk= c=1 sm=1 a=IU0TiZmyZPMA:10 a=wVaBuWrHDgcA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=Xg-p1b84D6_HoUFpfacA:9 a=bSh0FIfn0MCKgeAxZhcA:7 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 112122821; Mon, 11 Apr 2011 19:28:21 +0200 From: Hans Petter Selasky To: Thierry Thomas Date: Mon, 11 Apr 2011 19:27:21 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201104101010.p3AAAEQ6022759@freefall.freebsd.org> <201104111838.16322.hselasky@c2i.net> <20110411165951.GG16543@graf.pompo.net> In-Reply-To: <20110411165951.GG16543@graf.pompo.net> 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: <201104111927.21109.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/152622: [pcm] uaudio recording problem 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: Mon, 11 Apr 2011 17:28:24 -0000 On Monday 11 April 2011 18:59:51 Thierry Thomas wrote: > On mon 11 apr 11 at 18:38:16 +0200, Hans Petter Selasky > > wrote: > > > Still no success: > > > > > > # sysctl hw.usb.uaudio.default_rate=16000 > > > hw.usb.uaudio.default_rate: 0 -> 16000 > > > # dd if=/dev/dsp1.0 of=/dev/dsp0.0 bs=64 > > > dd: /dev/dsp1.0: Invalid argument > > > 0+0 records in > > > 0+0 records out > > > 0 bytes transferred in 5.000237 secs (0 bytes/sec) > > > # sysctl hw.usb.uaudio.default_rate=32000 > > > > Did you reply the device after setting the sysctl. It should show a > > different rate. > > > > > hw.usb.uaudio.default_rate: 16000 -> 32000 > > > # dd if=/dev/dsp1.0 of=/dev/dsp0.0 bs=64 > > > dd: /dev/dsp1.0: Invalid argument > > > 0+0 records in > > > 0+0 records out > > > 0 bytes transferred in 5.002866 secs (0 bytes/sec) > > I had'nt done anything special, but trying again and plug-in / plug-out > after changing hw.usb.uaudio.default_rate shows that it is detected: Could you try the device under another OS and verify if it works at all? --HPS