From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 7 02:09:31 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id C19C216A41F; Fri, 7 Oct 2005 02:09:30 +0000 (GMT) (envelope-from davidxu@freebsd.org) Message-ID: <4345D8E0.2020101@freebsd.org> Date: Fri, 07 Oct 2005 10:09:36 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.10) Gecko/20050806 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah References: <20051006141525.4171b911.skywizard@MyBSD.org.my> <4345C235.8060205@freebsd.org> <20051007090957.28da4c9e.skywizard@MyBSD.org.my> In-Reply-To: <20051007090957.28da4c9e.skywizard@MyBSD.org.my> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 02:09:32 -0000 Ariff Abdullah wrote: >On Fri, 07 Oct 2005 08:32:53 +0800 >David Xu 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: port >0xe400-0xe41f,0xe800-0xe83f irq 18 at device 7.0 on pci0 >pcm0: >pcm0: > ^^^^^^^^^ > >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) > > > >