Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 19:27:21 +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:  <201104111927.21109.hselasky@c2i.net>
In-Reply-To: <20110411165951.GG16543@graf.pompo.net>
References:  <201104101010.p3AAAEQ6022759@freefall.freebsd.org> <201104111838.16322.hselasky@c2i.net> <20110411165951.GG16543@graf.pompo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 11 April 2011 18:59:51 Thierry Thomas wrote:
> On mon 11 apr 11 at 18:38:16 +0200, Hans Petter Selasky <hselasky@c2i.net>
> 
>  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



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