LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help getting my sound to work (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-getting-my-sound-to-work-741852/)

InsightGoalie 07-22-2009 12:54 AM

Need help getting my sound to work
 
So, I'm pretty sure in the past I was able to get the sound working on my PC build. I can't seem to figure out how to do it now. My PC hardware is like this:
Gigabyte GA-965P-DS3
Intel Core 2 Duo E6300
ATI HD4850
3GB DDR2 800MHz

I don't think my hard drives are relevant information... I'm trying to use my motherboards on board 5.1 sound with my speakers. I know everything works because it works just fine in Windows. Thanks in advance

saivin 07-22-2009 01:25 AM

Which distro are you using? Ubuntu, Fedora, Mandriva,... which one?

Execute the below commands and let us know the output of each.
Code:

/sbin/lspci | grep -i audio
and
Code:

/sbin/lspci | grep -i snd

InsightGoalie 07-22-2009 10:41 AM

Quote:

Originally Posted by saivin (Post 3616033)
Which distro are you using? Ubuntu, Fedora, Mandriva,... which one?

Execute the below commands and let us know the output of each.
Code:

/sbin/lspci | grep -i audio
and
Code:

/sbin/lspci | grep -i snd

Geez, I can't believe I forgot to put which distro I was using... It's Ubuntu.
Code:

ubuntu@ubuntu:~$ /sbin/lspci | grep -i audio
bash: /sbin/lspci: No such file or directory
ubuntu@ubuntu:~$ /sbin/lspci | grep -i snd
bash: /sbin/lspci: No such file or directory
ubuntu@ubuntu:~$

Could the lack of a directory be due to the fact I'm running it off of live cd currently? I'm using it to back up all my stuff to a network drive before I start formatting things.

jdkaye 07-22-2009 10:53 AM

Quote:

Originally Posted by InsightGoalie (Post 3616528)
Geez, I can't believe I forgot to put which distro I was using... It's Ubuntu.
Code:

ubuntu@ubuntu:~$ /sbin/lspci | grep -i audio
bash: /sbin/lspci: No such file or directory
ubuntu@ubuntu:~$ /sbin/lspci | grep -i snd
bash: /sbin/lspci: No such file or directory
ubuntu@ubuntu:~$

Could the lack of a directory be due to the fact I'm running it off of live cd currently? I'm using it to back up all my stuff to a network drive before I start formatting things.

Just a slight mistake by saivin. lspci is not in /sbin but in /usr/bin in most distros at least. As /usr/bin is always in your path, just type lspci + arguments at the command line. You don't have to be root to run it.
cheers,
jdk

InsightGoalie 07-22-2009 11:10 PM

Quote:

Originally Posted by jdkaye (Post 3616540)
Just a slight mistake by saivin. lspci is not in /sbin but in /usr/bin in most distros at least. As /usr/bin is always in your path, just type lspci + arguments at the command line. You don't have to be root to run it.
cheers,
jdk

I'm lost... Being a total newb I don't know what you said. Can you explicitly write the code and perhaps give a little explanation of it?

saivin 07-22-2009 11:33 PM

@jdkaye,
I was on CentOS when I typed those commands ;)

@Insight,
try
Code:

lspci | grep -i audio
and
Code:

lsmod | grep -i snd

jdkaye 07-23-2009 01:56 AM

Quote:

Originally Posted by saivin (Post 3617292)
@jdkaye,
I was on CentOS when I typed those commands ;)

Thanks Saivin. Wow, CentOS is different. Why would you need to be root (or use sudo) to run lspci? Anyway this is off topic. Sorry about that.:o
jdk

onebuck 07-23-2009 09:19 AM

Hi,

What happened when you ran 'alsaconf'?

Quote:

excerpt from 'man alsaconf';

alsaconf - configuration tool for the Advanced Linux Sound Architecture

SYNOPSIS
alsaconf [options]

DESCRIPTION
This manual page documents briefly the alsaconf command.

Alsaconf is a simple shell script which tries to detect the sound cards
on your system and writes a suitable configuration file for ALSA. It
will try to guess what GNU/Linux distribution you're running, and will
act accordingly to the standards of that distribution, if specific sup-
port is available.

Alsaconf will write a module-init-tools (or modutils) snippet which can
be then used by module-init-tools (or modutils) to load the correct
parameters for your sound card.


All times are GMT -5. The time now is 06:14 PM.