DAC1 / DAC2 for ex137x - ES1370/1/2/3 , CT5880/CT4730(EV1938)

David Xu davidxu at freebsd.org
Thu Oct 6 19:09:32 PDT 2005


Ariff Abdullah wrote:

>On Fri, 07 Oct 2005 08:32:53 +0800
>David Xu <davidxu at 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)
>
>
>  
>



More information about the freebsd-multimedia mailing list