Sound server issue
dmwassman at hotmail.com
Thu May 6 08:15:28 PDT 2004
Thanks again and for all the help. I will mess around with it. I am sure
I can figure it out now that I no where to look. I appreciate all the
Halcyon DIR Dive Systems
Director of Technical Services and Quality Control
Office: 1-800-425-2966 ext 315
Email: Wassman at halcyon.net
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Christian
Sent: Thursday, May 06, 2004 6:41 AM
To: David Wassman
Cc: freebsd-questions at freebsd.org
Subject: Re: Sound server issue
On Wednesday 05 May 2004 18:06, David Wassman wrote:
> I finally got it working using the manual settings in the LINT file.
> last question is how to configure the secondary DMA channel. The man
> pages for sbc:
> The value of flags specifies the secondary DMA channel. If the
> secondary DMA channel is C, set the flags to (C | 0x10). For a sound
> card without the secondary DMA channel, the flags should be set to
> This is the sbc0 I am using
> device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15
> I know the settings for the card (they are set in the BIOS). It has a
> bit channel at DMA 1 and a 16-bit at DMA 5. Am I right in guessing
> [drq 1] is the DMA designation? And then how do you get the second DMA
> channel active?
man device.hints explains that drq is the DMA channel number. You enable
secondary DMA channel 5 by passing "flags 0x15" to the sound driver.
If i read the ess.c source correctly, for pcm-playback, the secondary
channel only will be used in duplex mode. The interesting point is that
duplex mode is disabled by default in the ess driver. The author of the
program writes: /* audio2 never generates irqs and sounds very noisy */
> I think I only have 8-bit sound as wav files are
> sounding pretty crappy. Am I right in thinking that the man page
> read like this:
Did you try to overide the default sound device in your apps to
or /dev/dspW0.1? man pcm describes how to play around with the DMA
Details of the ESS1869 are available in the chipset specs:
> If the secondary DMA channel is C (where C is the number of the
> DMA channel) then set the flags to (C | 0x10)
Yes, the bitwise or ensures that bit 4 in flags is set.
> Or is C a DMA channel of some weird type?
no :-) maybe C means Channel.
> Again thanks for the help.
> David Wassman
> Halcyon DIR Dive Systems
> Director of Technical Services and Quality Control
> Office: 1-800-425-2966 ext 315
> Fax: 386-454-0815
> Email: Wassman at halcyon.net
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions