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

2010-03-19 Thread Alexander Koponen

On Thu, 18 Mar 2010, Aaron Wilson wrote:


Fresh install of RHEL5 and SRSS

I attempt the compile and get

[r...@slosunray01 debugger]# gcc -shared -O2 -Wall -Werror -licuuc
-lssl flashsupport-for-linux-sunray.c -o libflashsupport.so
/usr/bin/ld: /tmp/cckq5egN.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with
-fPIC
/tmp/cckq5egN.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

So then I tried it with -fPIC

gcc -shared -O2 -Wall -Werror -licuuc -lssl -fPIC
flashsupport-for-linux-sunray.c -o libflashsupport.so

That didn't throw any errors, but I still get no sound in firefox :(


* Is libflashsupport.so in /usr/lib/ ?
* Have you done : export AUDIODEV=`utaudio`
* Have you closed firefox and all other applications that might steal the
  sound, like mp3-players and rdesktop, etc
* And most important: do you get sound at all?
  you can try this with the sound of god test which is:
  cat /boot/vmlinuz  $AUDIODEV

 -- Alexander
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-19 Thread Hana Skoumalova

Alexander Koponen wrote:

On Thu, 18 Mar 2010, Aaron Wilson wrote:


Fresh install of RHEL5 and SRSS

I attempt the compile and get

[r...@slosunray01 debugger]# gcc -shared -O2 -Wall -Werror -licuuc
-lssl flashsupport-for-linux-sunray.c -o libflashsupport.so
/usr/bin/ld: /tmp/cckq5egN.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with
-fPIC
/tmp/cckq5egN.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

So then I tried it with -fPIC

gcc -shared -O2 -Wall -Werror -licuuc -lssl -fPIC
flashsupport-for-linux-sunray.c -o libflashsupport.so

That didn't throw any errors, but I still get no sound in firefox :(


* Is libflashsupport.so in /usr/lib/ ?
* Have you done : export AUDIODEV=`utaudio`
* Have you closed firefox and all other applications that might steal the
   sound, like mp3-players and rdesktop, etc
* And most important: do you get sound at all?
   you can try this with the sound of god test which is:
   cat /boot/vmlinuz  $AUDIODEV


I have a similar problem. First, I compiled libflashsupport.so with the
option -m32, as I run a 64-bit OS. When I copy it to /usr/lib, SeaMonkey
or Firefox (both are 32-bit versions) crashes. After removing that
library from /usr/lib, the web browsers work, but flash has no sound.

AUDIODEV is set to /tmp/SUNWut/dev/utaudio/utdsp-0 and the sound works.

Hana

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-19 Thread Alexander Koponen

On Fri, 19 Mar 2010, Hana Skoumalova wrote:


Alexander Koponen wrote:

On Thu, 18 Mar 2010, Aaron Wilson wrote:


Fresh install of RHEL5 and SRSS

I attempt the compile and get

[r...@slosunray01 debugger]# gcc -shared -O2 -Wall -Werror -licuuc
-lssl flashsupport-for-linux-sunray.c -o libflashsupport.so
/usr/bin/ld: /tmp/cckq5egN.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with
-fPIC
/tmp/cckq5egN.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

So then I tried it with -fPIC

gcc -shared -O2 -Wall -Werror -licuuc -lssl -fPIC
flashsupport-for-linux-sunray.c -o libflashsupport.so

That didn't throw any errors, but I still get no sound in firefox :(


* Is libflashsupport.so in /usr/lib/ ?
* Have you done : export AUDIODEV=`utaudio`
* Have you closed firefox and all other applications that might steal the
  sound, like mp3-players and rdesktop, etc
* And most important: do you get sound at all?
you can try this with the sound of god test which is:
cat /boot/vmlinuz  $AUDIODEV


I have a similar problem. First, I compiled libflashsupport.so with the
option -m32, as I run a 64-bit OS. When I copy it to /usr/lib, SeaMonkey
or Firefox (both are 32-bit versions) crashes. After removing that
library from /usr/lib, the web browsers work, but flash has no sound.

AUDIODEV is set to /tmp/SUNWut/dev/utaudio/utdsp-0 and the sound works.

Hana


I've seen several similar problems when i try to run 64-bit OS.
Like wine not working, java needs to be 32bit for SRSS to run.
Flash issues - i just ended up putting in 32bit OS instead. Not optimal 
but it gives me more functionality.



 -- Alexander


Alexander Koponen   System Administrator
Institut Mittag-Leffler   phone: +46 8 622 05 75
Auravagen 17fax: +46 8 622 05 89
SE-182 60 DJURSHOLMkopo...@mittag-leffler.se
SWEDEN http://www.mittag-leffler.se/
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-19 Thread Hana Skoumalova

Alexander Koponen wrote:

On Fri, 19 Mar 2010, Hana Skoumalova wrote:

I have a similar problem. First, I compiled libflashsupport.so with the
option -m32, as I run a 64-bit OS. When I copy it to /usr/lib, SeaMonkey
or Firefox (both are 32-bit versions) crashes. After removing that
library from /usr/lib, the web browsers work, but flash has no sound.

AUDIODEV is set to /tmp/SUNWut/dev/utaudio/utdsp-0 and the sound works.

Hana


I've seen several similar problems when i try to run 64-bit OS.
Like wine not working, java needs to be 32bit for SRSS to run.
Flash issues - i just ended up putting in 32bit OS instead. Not optimal 
but it gives me more functionality.


I've just tried the 64-bit version of libflashplayer (it's hidden on 
Adobe pages: http://labs.adobe.com/downloads/flashplayer10_64bit.html) 
with libflashsupport and the sound works, but there are still problems 
that make it unusable:

- colors are weird (blue instead of red)
- SeaMonkey crashes when I leave the page with flash movie.

Hana
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-18 Thread Aaron Wilson
Fresh install of RHEL5 and SRSS

I attempt the compile and get

[r...@slosunray01 debugger]# gcc -shared -O2 -Wall -Werror -licuuc
-lssl flashsupport-for-linux-sunray.c -o libflashsupport.so
/usr/bin/ld: /tmp/cckq5egN.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with
-fPIC
/tmp/cckq5egN.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

So then I tried it with -fPIC

gcc -shared -O2 -Wall -Werror -licuuc -lssl -fPIC
flashsupport-for-linux-sunray.c -o libflashsupport.so

That didn't throw any errors, but I still get no sound in firefox :(





On Mon, Mar 8, 2010 at 5:31 AM, Alexander Koponen
kopo...@mittag-leffler.se wrote:
 On Mon, 8 Mar 2010, SIMOND Gilles wrote:

 Hello

 I've also installed SRSS 4.2 on fedora 12, everything works, sound also
 the only remainning problem (if you know how to solve it, you're welcome!)
 flash videos are displayed with the wrong colors in web browsers

 I use SRSS on RHEL 5 and my experiences are:

 Some versions of flash gives wrong colors in web browsers.

 Sound in flash can be solved with the patches from:
  http://tobi.oetiker.ch/patches/

 For some reason Gnome with SRSS defaults to volume = 0 and turning up the
 volume gets sound.

 The applications compete for the sound support, so if you run an audioapp
 you might need to close it and restart firefox for firefox to get the sound.

 Everytime you update the kernel you need to recompile the utaudio, utadem,
 utdisk modules...

 Not everything works. It often boils down to whether the app respect the
 AUDIODEV setting.

 Also, SRSS sound emulates OSS not alsa. So set your app to OSS-sound or some
 kind of OSS-emulation.


 I had to configure pulse audio to get it work with the utaudio device
 so I add the small script listed below
 the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a
 symbolic link to it in /etc/X11/xinit/xinitrc.d/


 Gilles Simond

 ==8===8===8===8=
 #!/bin/bash

 if [ ! x${UTAUDIODEV} == x ] ; then

 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
 ==8===8===8===8=

 On 08/03/2010 12:16, Hana Skoumalova wrote:

 Hello,

 I managed to install and configure SRSS 4.2 on Fedora 12, but I have
 problems with sound.

 On the system console, the sound works (so the problem is not in
 Fedora-not-supporting-multimedia).

 The env variables AUDIODEV and UTAUDIODEV are set to
 /tmp/SUNWut/dev/utaudio/utdsp-0, the devices in /tmp/SUNWut/dev/utaudio
 are created:

 total 8
 drwxr-xr-x 2 root root 4096 2010-03-08 11:53 ./
 drwxr-xr-x 3 root staff 4096 2010-03-08 11:07 ../
 crw--- 1 skoumal staff 14, 3 2010-03-08 11:53 utdsp-0
 prw--- 1 skoumal staff 0 2010-03-08 11:53 utdsp-0stat|
 crw--- 1 skoumal staff 14, 0 2010-03-08 11:53 utmix-0

 When I try to play something, the system pretends to play, but no sound
 can be heard.

 I even tried to replace the DTU, but the new one behaves exactly the
 same way.

 Can anyone help me to solve this problem?

 Best regards,

 Hana
 ___
 SunRay-Users mailing list
 SunRay-Users@filibeto.org
 http://www.filibeto.org/mailman/listinfo/sunray-users





  -- Alexander

 
 Alexander Koponen                                   System Administrator
 Institut Mittag-Leffler                           phone: +46 8 622 05 75
 Auravagen 17                                        fax: +46 8 622 05 89
 SE-182 60 DJURSHOLM                            kopo...@mittag-leffler.se
 SWEDEN                                     http://www.mittag-leffler.se/
 ___
 SunRay-Users mailing list
 SunRay-Users@filibeto.org
 http://www.filibeto.org/mailman/listinfo/sunray-users




-- 
Aaron Wilson
Ernie Ball, Inc.
I.T. Department
aa...@ernieball.com
(805) 544-7726
Skype: aaron.kane.wilson

NOTICE: This e-mail is for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution of this
e-mail or its contents is strictly prohibited. If you are not the
intended recipient, please contact the sender by reply mail and
destroy the original and all copies of the original message.
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-12 Thread Hana Skoumalova
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
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-11 Thread Hana Skoumalova

SIMOND Gilles wrote:
I also have Fedora 12 and pulseaudio-0.9.21 and I had the same problem 
with missing module-oss.so

But it is in the  source distribution, so  downloaded  from
http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-0.9.21.tar.gz

compiled with ./configure and make, no special options
then copied the module-xx.so in

/usr/lib64/pulse-0.9.21/modules/


Thanks, the sound works now.

Hana

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-11 Thread Hana Skoumalova

Hello,

another problem occurred: after I log off and log in again, sound 
doesn't work. Volume applet doesn't show on gnome-panel and when I check 
 Sound in Preferences, there is no input and output device. There 
should be /tmp/SUNWut/dev/utaudio/utdsp-X there. Everything gets fixed 
if I log in as another user, log off and log in as me, again. I guess 
that some cleaning during logoff fails, but I don't know what to do.


Hana
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-10 Thread Hana Skoumalova

SIMOND Gilles wrote:

Sorry I forgot this one

so it just contains the following two lines:
==8===8===8===8=
load-module module-oss device=UTAUDIODEV playback=1 record=1 
fragment_size=8192

load-module module-native-protocol-unix

==8===8===8===8=


Well, now I am getting this error message:

Error opening unknown libao pulse driver. (Is device in use?)

The library libao is installed, but no module with oss in its name is 
loaded. Am I missing some packages?


Hana

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-10 Thread Hana Skoumalova

Hana Skoumalova wrote:

SIMOND Gilles wrote:

Sorry I forgot this one

so it just contains the following two lines:
==8===8===8===8=
load-module module-oss device=UTAUDIODEV playback=1 record=1
fragment_size=8192
load-module module-native-protocol-unix

==8===8===8===8=


It seems that pulseaudio in Fedora 12 doesn't contain module-oss 
anymore. The version installed on my machine is pulseaudio-0.9.21. On my 
home machine with Ubuntu 9.10/pulseaudio-0.9.19 module-oss exists. Has 
anyone an idea what to do now?


Hana
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-10 Thread SIMOND Gilles
I also have Fedora 12 and pulseaudio-0.9.21 and I had the same problem 
with missing module-oss.so

But it is in the  source distribution, so  downloaded  from
http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-0.9.21.tar.gz

compiled with ./configure and make, no special options
then copied the module-xx.so in

/usr/lib64/pulse-0.9.21/modules/



Gilles

On 10/03/2010 22:34, Hana Skoumalova wrote:

Hana Skoumalova wrote:

SIMOND Gilles wrote:

Sorry I forgot this one

so it just contains the following two lines:
==8===8===8===8=
load-module module-oss device=UTAUDIODEV playback=1 record=1
fragment_size=8192
load-module module-native-protocol-unix

==8===8===8===8=


It seems that pulseaudio in Fedora 12 doesn't contain module-oss
anymore. The version installed on my machine is pulseaudio-0.9.21. On my
home machine with Ubuntu 9.10/pulseaudio-0.9.19 module-oss exists. Has
anyone an idea what to do now?

Hana
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


attachment: Gilles_Simond.vcf___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-09 Thread Hana Skoumalova

SIMOND Gilles wrote:

Hello

I had to configure pulse audio to get it work with the utaudio device
so I add the small script listed below
the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a 
symbolic link to it in /etc/X11/xinit/xinitrc.d/



Gilles Simond

==8===8===8===8=
#!/bin/bash

if [ ! x${UTAUDIODEV} == x ] ; then

   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
==8===8===8===8=


Thank you for the hint, but I discovered that there is no 
/opt/SUNWut/lib/utpulse.pa on my system. What package is supposed to 
contain it?


Hana

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-09 Thread SIMOND Gilles

Sorry I forgot this one

so it just contains the following two lines:
==8===8===8===8=
load-module module-oss device=UTAUDIODEV playback=1 record=1 
fragment_size=8192

load-module module-native-protocol-unix

==8===8===8===8=

Gilles

On 09/03/2010 11:00, Hana Skoumalova wrote:

SIMOND Gilles wrote:

Hello

I had to configure pulse audio to get it work with the utaudio device
so I add the small script listed below
the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a
symbolic link to it in /etc/X11/xinit/xinitrc.d/


Gilles Simond

==8===8===8===8=
#!/bin/bash

if [ ! x${UTAUDIODEV} == x ] ; then

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
==8===8===8===8=


Thank you for the hint, but I discovered that there is no
/opt/SUNWut/lib/utpulse.pa on my system. What package is supposed to
contain it?

Hana

___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


attachment: Gilles_Simond.vcf___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-08 Thread Hana Skoumalova

Hello,

I managed to install and configure SRSS 4.2 on Fedora 12, but I have 
problems with sound.


On the system console, the sound works (so the problem is not in 
Fedora-not-supporting-multimedia).


The env variables AUDIODEV and UTAUDIODEV are set to 
/tmp/SUNWut/dev/utaudio/utdsp-0, the devices in /tmp/SUNWut/dev/utaudio 
are created:


total 8
drwxr-xr-x 2 rootroot   4096 2010-03-08 11:53 ./
drwxr-xr-x 3 rootstaff  4096 2010-03-08 11:07 ../
crw--- 1 skoumal staff 14, 3 2010-03-08 11:53 utdsp-0
prw--- 1 skoumal staff 0 2010-03-08 11:53 utdsp-0stat|
crw--- 1 skoumal staff 14, 0 2010-03-08 11:53 utmix-0

When I try to play something, the system pretends to play, but no sound 
can be heard.


I even tried to replace the DTU, but the new one behaves exactly the 
same way.


Can anyone help me to solve this problem?

Best regards,

Hana
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-08 Thread SIMOND Gilles

Hello

I've also installed SRSS 4.2 on fedora 12, everything works, sound also
the only remainning problem (if you know how to solve it, you're 
welcome!) flash videos are displayed with the wrong colors in web browsers



I had to configure pulse audio to get it work with the utaudio device
so I add the small script listed below
the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a 
symbolic link to it in /etc/X11/xinit/xinitrc.d/



Gilles Simond

==8===8===8===8=
#!/bin/bash

if [ ! x${UTAUDIODEV} == x ] ; then

  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
==8===8===8===8=

On 08/03/2010 12:16, Hana Skoumalova wrote:

Hello,

I managed to install and configure SRSS 4.2 on Fedora 12, but I have
problems with sound.

On the system console, the sound works (so the problem is not in
Fedora-not-supporting-multimedia).

The env variables AUDIODEV and UTAUDIODEV are set to
/tmp/SUNWut/dev/utaudio/utdsp-0, the devices in /tmp/SUNWut/dev/utaudio
are created:

total 8
drwxr-xr-x 2 root root 4096 2010-03-08 11:53 ./
drwxr-xr-x 3 root staff 4096 2010-03-08 11:07 ../
crw--- 1 skoumal staff 14, 3 2010-03-08 11:53 utdsp-0
prw--- 1 skoumal staff 0 2010-03-08 11:53 utdsp-0stat|
crw--- 1 skoumal staff 14, 0 2010-03-08 11:53 utmix-0

When I try to play something, the system pretends to play, but no sound
can be heard.

I even tried to replace the DTU, but the new one behaves exactly the
same way.

Can anyone help me to solve this problem?

Best regards,

Hana
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


attachment: Gilles_Simond.vcf___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-08 Thread Alexander Koponen

On Mon, 8 Mar 2010, SIMOND Gilles wrote:


Hello

I've also installed SRSS 4.2 on fedora 12, everything works, sound also
the only remainning problem (if you know how to solve it, you're welcome!) 
flash videos are displayed with the wrong colors in web browsers


I use SRSS on RHEL 5 and my experiences are:

Some versions of flash gives wrong colors in web browsers.

Sound in flash can be solved with the patches from:
  http://tobi.oetiker.ch/patches/

For some reason Gnome with SRSS defaults to volume = 0 and turning up the 
volume gets sound.


The applications compete for the sound support, so if you run an audioapp 
you might need to close it and restart firefox for firefox to get the 
sound.


Everytime you update the kernel you need to recompile the utaudio, utadem, 
utdisk modules...


Not everything works. It often boils down to whether the app respect the 
AUDIODEV setting.


Also, SRSS sound emulates OSS not alsa. So set your app to OSS-sound or 
some kind of OSS-emulation.




I had to configure pulse audio to get it work with the utaudio device
so I add the small script listed below
the script is in /etc/opt/SUNWut/xinitrc.d/0101.SUNWutaudio with a symbolic 
link to it in /etc/X11/xinit/xinitrc.d/



Gilles Simond

==8===8===8===8=
#!/bin/bash

if [ ! x${UTAUDIODEV} == x ] ; then

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
==8===8===8===8=

On 08/03/2010 12:16, Hana Skoumalova wrote:

Hello,

I managed to install and configure SRSS 4.2 on Fedora 12, but I have
problems with sound.

On the system console, the sound works (so the problem is not in
Fedora-not-supporting-multimedia).

The env variables AUDIODEV and UTAUDIODEV are set to
/tmp/SUNWut/dev/utaudio/utdsp-0, the devices in /tmp/SUNWut/dev/utaudio
are created:

total 8
drwxr-xr-x 2 root root 4096 2010-03-08 11:53 ./
drwxr-xr-x 3 root staff 4096 2010-03-08 11:07 ../
crw--- 1 skoumal staff 14, 3 2010-03-08 11:53 utdsp-0
prw--- 1 skoumal staff 0 2010-03-08 11:53 utdsp-0stat|
crw--- 1 skoumal staff 14, 0 2010-03-08 11:53 utmix-0

When I try to play something, the system pretends to play, but no sound
can be heard.

I even tried to replace the DTU, but the new one behaves exactly the
same way.

Can anyone help me to solve this problem?

Best regards,

Hana
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users







 -- Alexander


Alexander Koponen   System Administrator
Institut Mittag-Leffler   phone: +46 8 622 05 75
Auravagen 17fax: +46 8 622 05 89
SE-182 60 DJURSHOLMkopo...@mittag-leffler.se
SWEDEN http://www.mittag-leffler.se/
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users


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

2010-03-08 Thread Magnus Varmfors
Hi!

2010/3/8 Alexander Koponen kopo...@mittag-leffler.se:
 I use SRSS on RHEL 5 and my experiences are:

I'm on Ubuntu 9.10 with SRSS 4.2/5.

 Some versions of flash gives wrong colors in web browsers.

Versions in the 9-series give you the right colors, anything from the
10-series gives the smurf effect.

 Sound in flash can be solved with the patches from:
  http://tobi.oetiker.ch/patches/

I'll have to test that.

 For some reason Gnome with SRSS defaults to volume = 0 and turning up the
 volume gets sound.

 The applications compete for the sound support, so if you run an audioapp
 you might need to close it and restart firefox for firefox to get the sound.

Aha! Haven't seen that happen yet, but now I know in case it does.

 Everytime you update the kernel you need to recompile the utaudio, utadem,
 utdisk modules...

Thanks for the reminder!! I'd lost sound after an upgrade here, but
once the modules were rebuilt it all worked again.

Regards,

/ Magnus

-- 
Blog on TAP, http://magvar.wordpress.com
Job offers welcome, http://www.linkedin.com/in/mavar

Me code, you bug.
 - Famous last words in Foo bar
___
SunRay-Users mailing list
SunRay-Users@filibeto.org
http://www.filibeto.org/mailman/listinfo/sunray-users