On 5/28/06, Luke J Militello <[EMAIL PROTECTED]> wrote:
I've just noticed that I get nothing more than 'beeps' from my Sunrays. As per the wiki, I followed everything exactly as shown. I must point out I even changed perms on /dev/audio /dev/dsp and /dev/mixer to -rw-rw-rw and still no success.
Those device nodes affect only sound devices on the server, they have nothing to do with sound for Sun Ray. The Sun Ray audio device should be created during session login and the pathname of that device node should be in your session's $AUDIODEV environment variable. You should also have a 'utaudio' process running under your user ID. That's the process that collects the sound data from your session's Sun Ray sound device and delivers it to the Sun Ray. If your sound apps don't take notice of the $AUDIODEV variable and always insist on trying to open /dev/dsp or /dev/mixer then you can preload an interposer library that intercepts calls on /dev/dsp ot /dev/mixer and converts them into calls against $AUDIODEV. (Actually against $UTAUDIODEV, which should have the same value as $AUDIODEV.) On Linux most sound apps seem to ignore $AUDIODEV so SRSS tries to use the interposer by default, you should find that your session automatically gets an LD_PRELOAD environment varable set to /usr/lib/libc_ut.so. On RHAS/SLES/JDS2 all of this happens in a script called 0100.SUNWut that runs during session startup. On other Linuxes I've no idea how or when this happens. If you don't have a 'utaudio' process running or if $AUDIODEV and $UTAUDIODEV are not set then you need to figure out why those things aren't happening. As a workaround you can run 'utaudio' manually after you've logged in: AUDIODEV="`utaudio`" UTAUDIODEV="$AUDIODEV" export AUDIODEV export UTAUDIODEV LD_PRELOAD=/usr/lib/libc_ut.so export LD_PRELOAD but that's too much for most users to handle, you really need it to happen automatically. OttoM. __ ottomeister Disclaimer: These are my opinions. I do not speak for my employer. _______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
