Date: Mon, 11 Apr 2011 16:40:15 GMT From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-multimedia@FreeBSD.org Subject: Re: kern/152622: [pcm] uaudio recording problem Message-ID: <201104111640.p3BGeFax032453@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/152622; it has been noted by GNATS. 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 Date: Mon, 11 Apr 2011 18:38:16 +0200 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?201104111640.p3BGeFax032453>