[SunRay-Users] No sound on SRSS 4.2/Fedora 12

Hana Skoumalova Hana.Skoumalova at ff.cuni.cz
Fri Mar 12 11:53:58 EET 2010


I found a solution to my problem. I delete the directory ~/.pulse and 
recreate it every time:

> #!/bin/bash
> 
> if [ ! "x${UTAUDIODEV}" == "x" ] ; then

     rm -rf ${HOME}/.pulse
#   if [ ! -d ${HOME}/.pulse ] ; then
     mkdir ${HOME}/.pulse
#   fi

>    # create pulseaudio configuration for utaudio
>    PULSECONF=${HOME}/.pulse/default.pa
>    sed "s|UTAUDIODEV|$UTAUDIODEV|g" /opt/SUNWut/lib/utpulse.pa > 
> ${PULSECONF}
> 
>    # create asoundrc for pulseaudio redirection
>    ASOUNDRC=${HOME}/.asoundrc
>    echo -n > ${ASOUNDRC}
>    echo "pcm.!default { " >> ${ASOUNDRC}
>    echo "  type pulse" >> ${ASOUNDRC}
>    echo "}" >> ${ASOUNDRC}
>    echo "ctl.!default { " >> ${ASOUNDRC}
>    echo "  type pulse" >> ${ASOUNDRC}
>    echo "}" >> ${ASOUNDRC}
> 
> fi

Now, the sound works every time I log in.

Hana


More information about the SunRay-Users mailing list