sunray-users  

Re: [SunRay-Users] SRSS 3.0, SunRay 1G and Ubuntu = no audio

Michael Gernoth
Thu, 05 May 2005 03:10:25 -0700

Hi,

On Thu, May 05, 2005 at 12:42:47AM +0100, Dave Warnock wrote:
> I do have AUDIODEV="/tmp/SUNWut/dev/utaudio/utdsp-4" in my environment.

If this is automatically set, the installation of the kernel modules
went fine. You should also see some utaudio-processes running under
your username.

> a) Where do I start looking for the missing bits?

try
export LD_PRELOAD=/usr/lib/libc_ut.so
before running an audio-app. The debian ssh-agents seems to remove
the LD_PRELOAD set by the Sunray xinitrc bits.
My current ugly hack to work around this, is to invoke a wrapper
which sets LD_PRELOAD instead of invoking gnome-session directly:

stargate [~]> ls -l /etc/alternatives/x-session-manager
lrwxrwxrwx  1 root root 29 Apr 22 23:37 /etc/alternatives/x-session-manager -> 
/usr/bin/gnome-session-sunray

stargate [~]> cat /usr/bin/gnome-session-sunray
#!/bin/sh

export LD_PRELOAD=/usr/lib/libc_ut.so
exec /usr/bin/gnome-session "$@"

> b) I followed the instructions on the debian page for audio, but I did 
> not understand them and am not sure how to check if they worked or how 
> would I undo them to try again?

If you have $AUDIODEV in your environment, everything is working
properly.

Regards,
  Michael
_______________________________________________
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users