If you're into running Quake III Arena locally, you know you can't do with out
audio!!!
After moving to the mm-sources for the 2.6.0 series kernel, I've noted some
serious flakyness with the VIA integrated audio on my favorite MSI Ultra 2
computer. Being able to have audio was hit or miss up until 2.6.0-test5-mm4
and then disapeared there after, never to return...
Problems with the integrated audio in the VIA chips seems to be rather
prevalent with the 2.6.0 kernel and probably quite unrelated to the fact that
I chose the mm-sources as my 2.6.0 kernel solution. Fact is, there's a lot of
help on the net that goes along ways for fixing the problem, but none worked
for me, as well as my solution has. The fixes I found would work, but I would
experience random lockups that I could easily prove to be caused by flaky
audio support. Also, mp3 playback was... well... unnerving as the player
would loose sync at random times and drive me and the family nuts. :')
However. I finally sat down and did my research and got it all straightened
out now. No more lockups, no more funky audio behavour, etc(tm)...
And here's how...
The skinny is... Compile the kernel with the following sound support turn on
as modules or built in... all other sound options turned off:
#
# Sound
#
CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_RTCTIMER=y
#
# Generic devices
#
CONFIG_SND_MPU401=m
#
# PCI devices
#
CONFIG_SND_VIA82XX=m
#
# Open Sound System
#
CONFIG_SOUND_PRIME=m
CONFIG_SOUND_VIA82CXXX=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_DMAP=y
After the compile and reboot to the new kernel, modprobe as needed. All I do
is list snd-via82xx in the 2.6 module config file and no other sound module.
This one single module will drag in the whole sound setup... Don't believe
me? Do a lsmod and see for yourself. ;')
Install the alsa devices in /dev. I did this by running the "snddevices"
script found in an "alsa-driver" tarball. Once the devices are created, move
to /dev, rm the existing dsp device and "ln -s /dev/adsp0 dsp".
Now, when ever an application calls /dev/dsp, it'll be using the adsp instead.
I lost my notes and the URL, but I believe ALSA refers to /dev/adsp as being
the alsa oss emulator?
Now the magic, either from the command line or your favorite startup script
execute:
echo "erase" > /proc/asound/card0/pcm0p/oss
echo "* 0 0 disable" > /proc/asound/card0/pcm0p/oss
Once you're all done with this, you're ready to play QUAKEIII or listen to
your favorite audio entertainment....
Go get them!
THE FINE PRINT: I only guarentee that this works 100% on my computer. Sorry...
--
******************************************************************************
Registered Linux User Number 185956
http://groups.google.com/groups?hl=en&safe=off&group=linux
Join me in chat at #linux-users on irc.freenode.net
This email account no longers accepts attachments or messages containing html.
8:40pm up 20 days, 33 min, 7 users, load average: 0.03, 0.03, 0.00
--
[EMAIL PROTECTED] mailing list