Sound skipping problems

Ariff Abdullah skywizard at MyBSD.org.my
Tue Nov 8 20:07:37 PST 2005


On Wed, 9 Nov 2005 03:54:21 +0800
Ariff Abdullah <skywizard at 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)


More information about the freebsd-multimedia mailing list