WorkstationSound
From K12LTSP Wiki
So far, this is a placeholder to add in experiences with getting workstation sound to work.
Other Sound Pages in the Wiki:
Sound in IceWM using nasd
Sound in IceWM using nasd:IceWMSound
Sound Page in the LTSP Wiki:
http://wiki.ltsp.org/twiki/bin/view/Ltsp/Sound
KDE + NAS: http://wiki.ltsp.org/twiki/bin/view/Ltsp/MdkSound
Contents |
Using esd
In lts.conf: <verbatim>Set "SOUND" to "Y" Set "SOUND_DAEMON" to "esd" </verbatim> reboot the thin client
To test basic sound: <verbatim> esdplay soundfile.wav </verbatim>
Thunderbird email seems to just magically work without configuring for esd specifically.
Mplayer (video player, awesome, worth the compile) works if set to use esd.
XMMS works if set to use esd (or esound, it's the same thing esd=esound), etc, etc.
xine works if set to use esd, which is available as an audio option once you configure xine advanced gui options.
gnome worked immediately, although the mixer/volume control did not.
KDE worked once set up. kcontrol-->Sound & Multimedia-->Sound System-->Hardware-->Select Audio Device (Enlightenment Sound Daemon)
...now if only esd wouldn't hang occasionally when mixing sounds from gnome and xine...
Getting Flash to work
From http://www.thesymbiont.com/index.php?moduledocuments&JASDocumentManageropviewDocument&JASDocumentid=26
Description :
Problem: When viewing a web site with Flash that has sound, the browser won't play the sound and will freeze.
Full Text : Solution:
The flash player plugin looks for two files in particular that when absent will cause problems. These files are:
1./tmp/.esd/socket
2./usr/lib/libesd.so.1
If your server has no sound card, and you disabled ESD on the server to avoid getting error messages, then you may not even have a /tmp/.esd directory==== Your system does not need it if you aren't playing sound off the server. However, the flash plugin still checks to see if it exists. So, if you don't have this directory, type the commands in a terminal window:
==
*su -
this changes you to root, enter appropriate password *mkdir /tmp/.esd
this creates the /tmp/.esd directory *touch /tmp/.esd/socket
this creates an empty file called socket, which is enough to make flash-plugin happy
Next, flash-plugin is looking for the library file /usr/lib/libesd.so.1. If you do not have this file, type the following commands:
*su -
you only need to do this if you are not already "root" *ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1
this creates a symbolic link from the library file that Flash is looking for to the compatable one that DOES exist on your server
That's it==== Close all web browsers and reopen them. Now, you should have sound!
==
Periodically, /tmp is cleared, so if sound fails, check the existence of /tmp/.esd/socket.
This automatic check is automated (K12LTSP v4.2) as an hourly cron job.
Getting Rid of the "No Volume Mixer Elements" problem when starting Gnome
With current versions of K12LTSP, Gnome complains about not being able to find any mixer controls when starting. This is because the volume control applet which is loaded by default used to silently fail, but now throws an error. To remove it from the default configuration:
rm -rf /etc/gconf/gconf.xml.defaults/apps/panel/applets/mixer
This may become the default in future versions.
Sound module for SIS7019 sound chip/cards.
The following link explains how to compile the sis7019 sound module. This is the sound chip as used on the Norhtec MicroClient Jr as well as other "nano based" pc's.
http://wiki.ltsp.org/twiki/bin/view/Ltsp/SoundCards
I have an already compiled sound module here that will work on 2.6 kernel 32-bit. I have not tested this on a 64-bit kernel. Read the readme at the ftp site for instructions on were to place the sound module.
ftp://eazylivin.net/server/sis7019audio
filename: snd-sis7019.ko
....
