Date: Fri, 7 Oct 2005 09:09:57 +0800 From: Ariff Abdullah <skywizard@MyBSD.org.my> To: David Xu <davidxu@freebsd.org> Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net, noackjr@alumni.rice.edu Subject: Re: DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938) Message-ID: <20051007090957.28da4c9e.skywizard@MyBSD.org.my> In-Reply-To: <4345C235.8060205@freebsd.org> References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 07 Oct 2005 08:32:53 +0800
David Xu <davidxu@freebsd.org> wrote:
>
> I have applied the patch, it works. Can you tell me how to test
> the DAC function
By default, only DAC2. You need to set kernel hint hint.pcm.0.dac=0 (or
3, to swap the position) and reload the driver (or reboot, for
RELENG_5). From dmesg, you'll see something like this:
pcm0: <Creative SB AudioPCI CT4730/EV1938> port
0xe400-0xe41f,0xe800-0xe83f irq 18 at device 7.0 on pci0
pcm0: <SigmaTel STAC9704 AC97 Codec>
pcm0: <Playback: DAC1,DAC2 / Record: ADC>
^^^^^^^^^
Now to ensure both are working, simply disable vchan:
sysctl hw.snd.maxautovchans=0
sysctl hw.snd.pcm0.vchans=0
.. and play any mp3/audio. Make sure you can run 2 sound apps
concurrently, which means the first one will use DAC1, and the second
the other. You may enable vchan back if you think you need more than 2
:)
> I feel the sound quality is a bit better than
> before when playing mp3.
>
Which patchset did you applied? *_052.diff or *_052slave.diff ?
--
Ariff Abdullah
MyBSD
http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051007090957.28da4c9e.skywizard>
