Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2011 17:30:15 GMT
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-multimedia@FreeBSD.org
Subject:   Re: kern/152622: [pcm] uaudio recording problem
Message-ID:  <201104111730.p3BHUFku076463@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 19:27:21 +0200

 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?201104111730.p3BHUFku076463>