Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2005 12:07:39 +0800
From:      Ariff Abdullah <skywizard@MyBSD.org.my>
To:        Sebastiaan van Erk <sebster@sebster.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Sound skipping problems
Message-ID:  <20051109120739.49493ed8.skywizard@MyBSD.org.my>
In-Reply-To: <20051109035421.5ed4a261.skywizard@MyBSD.org.my>
References:  <436DEB56.4050505@sebster.com> <20051106210447.2145e551.skywizard@MyBSD.org.my> <436F3A36.3070608@sebster.com> <20051108101838.0bb77c99.skywizard@MyBSD.org.my> <43707A99.9010101@sebster.com> <20051108210023.2a6fbda1.skywizard@MyBSD.org.my> <4370A28B.9020303@sebster.com> <20051108212950.0378d2a3.skywizard@MyBSD.org.my> <4370D1AB.2060201@sebster.com> <20051109004109.4f53af30.skywizard@MyBSD.org.my> <4370E6B6.1030002@sebster.com> <20051109020641.3b497677.skywizard@MyBSD.org.my> <4370FAB6.2060606@sebster.com> <20051109035421.5ed4a261.skywizard@MyBSD.org.my>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 9 Nov 2005 03:54:21 +0800
Ariff Abdullah <skywizard@MyBSD.org.my> wrote:
>
> Now that really interesting. You pretty much sure that
> hint.pcm.0.via_dxs_disabled is unset (or basically = 0), right?
> 
> Lets do some probability tests:
> 
> Assuming that:-
>   1) kenv hint.pcm.0.via_dxs_disabled is unset, or forcefully set as
>   0
>      (use kenv -u to nuke it)
>   2) kenv hint.pcm.0.via_dxs_channels with possible values of 0 - 4
>   3) kenv hint.pcm.0.via_sgd_channels with possible values of 0 - 1
>   4) sysctl hw.snd.pcm0.vchans=0
>   5) sysctl hw.snd.maxautovchans=0
>   5) sysctl hw.snd.slave_enabled=1
> 
> Run several tests, each test with different combination of #2 and
> #3.
> 
> Tell me which combination cause the problem, along with
> dmesg | grep pcm0
> 
> I hope this will be our last test. Thanks for your cooperation :)
> 
I lied. Apparently I found few logic errors within VIA driver itself.
Before you continue, would you replace your
/usr/src/sys/dev/sound/pci/via8233.c with this one:

http://people.freebsd.org/~ariff/test/via8233.c

Then..

# kenv -u hint.pcm.0.via_dxs_disables
# kenv -u hint.pcm.0.via_dxs_channels
# kenv -u hint.pcm.0.via_sgd_channels
# kldload snd_via8233 ; kldload snd_via8233
# sysctl hw.snd.pcm0.vchans=0
# sysctl hw.snd.maxautovchans=0
# sysctl hw.snd.slave_enabled=1


--
Ariff Abdullah
MyBSD

http://www.MyBSD.org.my (IPv6/IPv4)
http://staff.MyBSD.org.my (IPv6/IPv4)
http://tomoyo.MyBSD.org.my (IPv6/IPv4)



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