Sound
From Sun Ray User Group Wiki
The original discussion can be found on the mailing list archive, e.g.
I tested this on both RHEL 5.2 and CentOS 5.2, they behave absolutely the same and these steps work for both of them.
What you need is to get extra repos for more software. I'd suggest these:
Here and there these web sites might be down. Just use Google and you will very likely find a working mirror.
Read the install instructions for each of these repos carefully. If you get "404" errors when you try to run "yum update" check the affected *.repo file, in most cases it's enough if you replace the variable names they sometimes put in there manually with the correct value. e.g. the "PlanetCCRMA" repos had a line saying something like
baseurl=http://........ /$baserelease/$basearch
For some stupid reasons the variables would not resolve correctly on RHEL 5, so I replaced the variables manually with this:
baseurl=http://....... /5/i386
After this it should work.
So once I got "yum" working correctly with all of the above repos I simply installed these packages:
- gstreamer-plugins-bad
- gstreamer-plugins-ugly
These packages pulled in lots of other dependencies (faad, ffmpeg, + dozens of other packages). Then install any MP3 player, e.g.
yum install amarok exaile
... To install both "Amarok" and "Exaile". Now when you open any MP3 file you should definitely hear it playing correctly on the DTU's speakers!!
As for getting YouTube and web sites such as Last.FM to work:
Flash 10 is currently broken. The colors are wrong ("smurf effect") and sound won't work. So we have to stick to Flash 9.
You have to get the "Flash 9" archive from Adobe, e.g. here:
The archive contains all Flash 9 versions, that explains why the file is bigger than what you'd expect. Find the one version with the highest version number and then extract it. You should get a directory containing an installer script and all the necessary files.
Unfortunately the "installer" shell script Adobe provides is crap, at least in my case it claimed that the installation path "/usr/lib/mozilla" was no good.
Just forget about it and instead move the "libflashplayer.so" file into "/usr/lib/mozilla/plugins" manually. It will work.
Then get the C source file for "Flash 9 Additional Interface Support" from this link:
Additional Interface Support for Flash
I downloaded the necessary libs and headers:
yum install openssl-devel libicu icu libicu-devel kernel-headers
Then I triggered the compilation:
gcc -shared -O2 -Wall -Werror -licuuc -lssl flashsupport.c -o libflashsupport.so
It silently completed without complaining... So this means it was successfull.
I then copied that file to /usr/lib and made a symlink to /usr/lib/mozilla/plugins
Voila. This should give you working sound on Flash sites such as YouTube and Last.FM

