LinHES Forums
http://forum.linhes.org/

Getting sound working...
http://forum.linhes.org/viewtopic.php?f=11&t=12820
Page 1 of 1

Author:  Verbatim9 [ Sat Dec 02, 2006 5:28 pm ]
Post subject:  Getting sound working...

I'm a total noob when it comes to Linux and sound...on Ubuntu, sound worked right out of the box, with no additional configuration required, but I have no idea where to start when it isn't working by default...I'm pretty sure my sound chip (Analog Devices 1986a) works with Alsa, but beyond that I know absolutely nothing...e.g. how to check whether the correct driver is installed, how to configure Alsa settings, how to make sure Alsa is actually being used...I'm even having trouble finding a good way to check whether sound is working (does MP3 work out of the box, or do I have to add anything?).

At this point my main goal is to figure out what Ubuntu is doing right, and convince KnoppMyth to do the same....help! :)

Author:  cesman [ Sat Dec 02, 2006 8:13 pm ]
Post subject: 

In most cases (99.99%) sound does work out the box. What isn't playing sound for you?
Code:
lsmod | grep snd

What do you get?
Code:
play /usr/share/sound/alsa/Front_Center.wav
Do you hear anything?

Author:  Verbatim9 [ Sun Dec 03, 2006 12:17 am ]
Post subject: 

When I try to play that file, I do hear a very faint high-pitched buzzing noise...whose volume does not change when I mute the speakers. I've also had no luck getting any sound out of xine.

As for the output you requested (from KnoppMyth):
Code:
$ lsmod | grep snd
snd_pcm_oss            44320  0
snd_mixer_oss          17792  1 snd_pcm_oss
snd_hda_intel          17044  0
snd_hda_codec         141232  1 snd_hda_intel
snd_pcm                71300  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              22276  1 snd_pcm
snd                    48228  6 snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
soundcore               9568  1 snd
snd_page_alloc          9608  2 snd_hda_intel,snd_pcm


From Ubuntu (where analog sound works correctly...I'd prefer digital 5.1-channel, but I'm not sure it's possible in Linux with my ADI 1986a chip):
Code:
$ lsmod | grep snd
snd_mpu401              9640  0
snd_hda_intel          20116  1
snd_hda_codec         164608  1 snd_hda_intel
snd_mpu401_uart        10240  1 snd_mpu401
snd_pcm_oss            47360  0
snd_mixer_oss          19584  1 snd_pcm_oss
snd_pcm                84612  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_rawmidi            27264  1 snd_mpu401_uart
snd_seq_device          9868  1 snd_rawmidi
snd_timer              25348  1 snd_pcm
snd                    58372  12 snd_mpu401,snd_hda_intel,snd_hda_codec,snd_mpu401_uart,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq_device,snd_timer
soundcore              11232  1 snd
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm

Author:  mjl [ Sun Dec 03, 2006 6:59 am ]
Post subject: 

Hi,

Have you run alsamixer to set levels and check Mute /unMute switches? I have an EPIA mobo that it took a couple settings to be adjusted before audio came through properly.

Mike

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/