Date: Fri, 07 Oct 2005 10:09:36 +0800 From: David Xu <davidxu@freebsd.org> To: Ariff Abdullah <skywizard@MyBSD.org.my> 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: <4345D8E0.2020101@freebsd.org> In-Reply-To: <20051007090957.28da4c9e.skywizard@MyBSD.org.my> References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> <20051007090957.28da4c9e.skywizard@MyBSD.org.my>
next in thread | previous in thread | raw e-mail | index | archive | help
Ariff Abdullah wrote: >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 >:) > > > > Great, it is working smoothly! >>I feel the sound quality is a bit better than >>before when playing mp3. >> >> >> >Which patchset did you applied? *_052.diff or *_052slave.diff ? > > > > I have applied *_052.diff, what is difference with _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?4345D8E0.2020101>