Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2006 23:59:47 +0100
From:      Simon Barner <barner@FreeBSD.org>
To:        Ariff Abdullah <skywizard@MyBSD.org.my>
Cc:        freebsd-multimedia@FreeBSD.org, netchild@FreeBSD.org
Subject:   Re: snd_solo broken after big MFC to RELENG_6
Message-ID:  <20060103225947.GA2815@zi025.glh.mhn.de>
In-Reply-To: <20060104055721.4182120e.skywizard@MyBSD.org.my>
References:  <20060103213654.GA1039@zi025.glh.mhn.de> <20060104055721.4182120e.skywizard@MyBSD.org.my>

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

[-- Attachment #1 --]
> How about enabling vchans? Try to enable that first and see whether
> that should help. If not, try this patch:
> 
>   http://people.freebsd.org/~ariff/test/solo.c.diff

Hello Ariff,

thanks for the quick reply :-) Unfortuantely, neither enabling vchans nor
your patch helped me.

I did the following to enable vchans:

# kldunload snd_solo.ko
# sysctl hw.snd.maxautovchans=2
# kldload snd_solo.ko

pcm0: <ESS Solo-1 (unknown vendor)> port 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0
pcm0: [GIANT-LOCKED]
pcm0: vchan_create(pcm0:play:0) == -1

The same happens for other values (I tried 1 and 5), and when I reboot the
system and load the module and set the sysctl from loader.conf

Your patch didn't make any difference (same error with vchans). I also tried
removing other output formats, leaving me with either of AFMT_S16_LE
AFMT_STEREO | AFMT_S16_LE (I also tried various other combinations) gave me
the same error about vchan_create.

-- 
Best regards / Viele Grüße,                             barner@FreeBSD.org
 Simon Barner                                                barner@gmx.de

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDuwHjCkn+/eutqCoRAuthAKDFy9hkUdJn7pUwYijSDC1kL3zqVwCcDTmh
woAiOJDmKrJN3o/A7YgsCdY=
=iG8t
-----END PGP SIGNATURE-----

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