View Single Post
Old 10-20-03, 09:53 AM   #15
recbo
Registered User
 
Join Date: Oct 2003
Posts: 40
Default ln -s sound/dsp2 /dev/dsp

I had audio working for cd's now it works for realplayer and mplayer.

The critical steps were to get alsa in the kernel, get alsa "null mixer" in there, too, because esd just had to find a card0 pcmC0D0p and my nforce2 audio is really card0 card1 and card2.
Also "emulate oss" had to be in alsa.

mplayer required
echo 1024 > /proc/sys/dev/rtc/max-user-frequency
ln -s /dev/misc/rtc /dev/rtc
but mplayer still can't use /dev/misc/rtc
but mplayer will "usleep" instead which is OK

#/etc/devfs/compat_symlinks
REGISTER ^snd/.* MKOKDCOMPAT
REGISTER ^sound/.* MKOKDCOMPAT

#/etc/devfs/devfsd.conf
REGISTER snd/.* PERMISSIONS root.audio 660
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER sndstat PERMISSIONS root.audio 660

And finally the BIG deal
rm /dev/dsp
ln -s sound/dsp2 /dev/dsp

THAT got non-CD sound working everywhere.
recbo is offline   Reply With Quote