Friday, December 12, 2008

Sound issues on my Hardy 64bit

Still no success with the Alsa/PulseAudio settings on Hardy 64bit (Hercules Game Theater XP 5.1, CS46xx).
Only way I can get the sound to work, is to set everything to OSS.

Now, a few links with hints/guides to follow:

Alsa:
need to have soundcore loaded:
modinfo soundcore


Multiple soundcards:

explicitly assign the default device numbers of our sound card drivers by adding lines at the end of the /etc/modprode.d/alsa-base file like this (These are mine):
Code:
options snd_hda_intel index=0
options snd_cmipci index=1
options snd_atiixp index=2
options snd_usb_audio index=3
This way each device will always be numbered the same.

You can use:
Code:
cat /proc/asound/modules
to discover your sound device driver module names and their order.

Generic troubleshoot:


to check if the system recognnizes the soundcard:
aplay -l
lspci -v | less

sounds module installed?:
find /lib/modules/`uname -r` | grep snd

The 10,000 Page Guide to Sound Troubleshooting:
Among several tips, this:
Create a new user and login with that: if sound works, it's an issue of user configuration

Another (older) guide on sound problems:

This is a quite comprehensive guide, with a "failure/success" path to follow. Nice.

PulseAudio fixes:

It says libflashsupport should not be installed.
this is confusing, since it's the only way I could find to let Flash produce sounds.

PulseAudio installation (Italian):
Italian guide to PulseAudio installation.
Makes use of most of the previous hints, and summarizes them.
Too simple?
A noticeable difference with the "fixes" page:
Here it uses ladspa without even checking its installation. In "fixes":
Install the required LADSPA plugins and tools:
Code:
$ sudo apt-get install swh-plugins ladspa-sdk

Maybe
Also, there is no editing of the /etc/pulse/default.pa and no note on the necessity of changing the
slave.pcm "plughw"
line in ~/.asoundrc (or /etc/asound.conf)

Surround guide (italian):
To be tested yet

---------------------------
Edit:
this might be the real fix: remove pulsaudio....!
Or even better, in the same thread: post 51.
Or still, I can keep my "OSS" settings: not brilliant, but working...!
---------------------------