Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2000 19:06:33 +0300
From:      Dmitry Sivachenko <demon@freebsd.org>
To:        freebsd-multimedia@freebsd.org
Cc:        cg@freebsd.org
Subject:   Problem with MSS sound card
Message-ID:  <20001122190633.A272@netserv1.chg.ru>

next in thread | raw e-mail | index | archive | help
Hello!

I use FreeBSD-4.2-BETA, and I have MSS sound card (ISA).
When I use these two lines in my kernel config file

controller	snd0
device	mss0 at isa? port 0x530 irq 9 drq 1

my sound card is detected as follows

mss0 at port 0x530 irq 9 drq 1 on isa0
snd0: <MS Sound System0 (AD1848)> 
mss0: driver is using old-style compatability shims

and works just fine.

But when I am trying to use new pcm device by replacing the above lines
in kernel config file with this one:

device		pcm0 at isa? port? irq 9 drq 1 flags 0x00

my card is detected this way:

pcm0: <AD1848> at port 0x530-0x537 irq 9 drq 1 flags 0x9100 on isa0

But it doesn't work!!!
When I am trying to play sound file with amp(1), I get these errors in 
/var/log/messages:

Nov 22 18:59:06 cavia /kernel: AD_WAIT_INIT FAILED 1000 0x80
Nov 22 18:59:06 cavia /kernel: AD_WAIT_INIT FAILED 1000 0x80
Nov 22 18:59:06 cavia /kernel: mss: Auto calibration timed out(1).
Nov 22 18:59:06 cavia /kernel: AD_WAIT_INIT FAILED 201 0x80
Nov 22 18:59:06 cavia last message repeated 11 times
Nov 22 18:59:07 cavia /kernel: pcm0: play interrupt timeout, channel dead

What's wrong?

PS: I have no idea which value for 'flags' to use...

Thank you in advance,
Dima.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001122190633.A272>