Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 18:38:16 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Thierry Thomas <thierry@freebsd.org>
Cc:        freebsd-multimedia@freebsd.org, FreeBSD-gnats-submit@freebsd.org
Subject:   Re: kern/152622: [pcm] uaudio recording problem
Message-ID:  <201104111838.16322.hselasky@c2i.net>
In-Reply-To: <20110411162721.GF16543@graf.pompo.net>
References:  <201104101010.p3AAAEQ6022759@freefall.freebsd.org> <201104111747.37797.hselasky@c2i.net> <20110411162721.GF16543@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 11 April 2011 18:27:21 Thierry Thomas wrote:
> On mon 11 apr 11 at 17:47:37 +0200, Hans Petter Selasky <hselasky@c2i.net>
> 
>  wrote:
> > Hi,
> 
> Hello,
> 
> > > uaudio_chan_record_callback: transferred 0 bytes Apr 10 14:33:05 graf
> > > last message repeated 623 times
> > 
> > Your device does not generate any data for recording.
> > 
> > Try setting:
> > 
> > sysctl hw.usb.uaudio.default_rate
> > 
> > To: 16000 or 32000
> > 
> > Then replug your device and re-test.
> 
> 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)
> 

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104111838.16322.hselasky>