Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 18:28:41 +0100
From:      "Cameron Grant" <gandalf@vilnya.demon.co.uk>
To:        "Matthew Frost" <matthewf@orac.frost.net>
Cc:        "j mckitrick" <jcm@FreeBSD-uk.eu.org>, "Dolgan" <sysctl@home.com>, <multimedia@freebsd.org>, <stable@freebsd.org>
Subject:   Re: sound problems under 4.1.1
Message-ID:  <003501c03796$874cbff0$0504020a@haveblue>
References:  <20001010012905.A3426@dogma.freebsd-uk.eu.org> <20001013214153.A1670@home.com> <20001014132123.A69191@dogma.freebsd-uk.eu.org> <003201c03617$f7603900$0504020a@haveblue> <20001015084017.B15920@orac.frost.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> I've got a similar problem.  I went from a September 26th kernel to an
> October 14th and my Soundblaster stopped working:
>
> sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq
5 drq 1,5 on isa0
> pcm0: <SB DSP 4.16> on sbc0
>
> Running tracker I get:
>
> "Could not query current format"

please try this patch on sys/dev/sound/pcm/dsp.c:

@@ -411,10 +411,12 @@

        case SNDCTL_DSP_SETFMT: /* sets _one_ format */
                splx(s);
+               if ((*arg_i != AFMT_QUERY)) {
                if (wrch)
                        ret = chn_setformat(wrch, (*arg_i) | (wrch->format &
AFMT_STEREO));
                if (rdch && ret == 0)
                        ret = chn_setformat(rdch, (*arg_i) | (rdch->format &
AFMT_STEREO));
+               }
                *arg_i = (wrch? wrch->format: rdch->format) & ~AFMT_STEREO;
                break;

    -cg




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003501c03796$874cbff0$0504020a>