LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-21-2005, 12:02 PM   #1
HaterOfWindows
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Sound problems


I just installed Linux Debian on my PC, but the sound isn't working. I find this rather odd, as it was just recently installed on my brother's laptop, and the sound works fine on there. To be perfectly honest, I don't have the first clue as to why the sound isn't working. I'm wondering if Linux didn't detect the drivers, if that makes any sense (still very new to Linux). I don't really know how to begin troubleshooting this problem, so if anybody could point me in the right direction, I would apprecaite it. Thanks.
 
Old 08-21-2005, 12:30 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Welcome to LQ.

Quote:
I just installed Linux Debian on my PC
Congratulations--you made a good choice, IMHO

Quote:
To be perfectly honest, I don't have the first clue as to why the sound isn't working. I'm wondering if Linux didn't detect the drivers, if that makes any sense (still very new to Linux).
Okay, here's the two-minute tutorial to drivers and kernel modules:
Most drivers are available as module you can `plug into' the Debian stock (stock = the-one-you-get-from-debian) kernel.

*) To see which modules you already have running
Code:
user@localhost$ lsmod | less
*) To see which modules you *can* load
Code:
root@localhost# modprobe -l | less
*) To load a module
Code:
root@localhost# modprobe <NAME>
(fx. with <NAME> = `pcspkr'; do `modprobe -l | grep pcspkr' and infer the pattern)

*) To *always* load a module (i.e. on boot-up)
add <NAME> to /etc/modules (must be root)

... play with these a little bit to get familiar with them.

Quote:
I don't really know how to begin troubleshooting this problem, so if anybody could point me in the right direction, I would apprecaite it. Thanks.
Do you have the brand+model name of your card? Is it onboard or PCI?
if PCI (and in any case), try `lspci' and look for something that sounds like your sound card. Find the right module for your soundcard (modprobe -l | less -- search for `sound'). Is it loaded (lsmod)?

---

That should go over the basic low-level stuff. How did you try to play sound? Try a few other ways. Which kernel version are you using (post $ uname --all)? Are you using OSS, ALSA, esd, artsd?

Try (if you can) to make sense of /etc/libao.conf, /etc/esound/esd.conf and ~/.asoundrc

Btw, read the sticky; it tells you to include `lsmod`, `uname -r` and `lspci`.
Do also read http://www.catb.org/~esr/faqs/smart-questions.html (no offense meant).

---

If there's anything you didn't understand, feel free to say so.

hth --Jonas

As an optional exercise, make your PC Speaker work if it doesn't already--I think I've given you enough hints
 
Old 08-21-2005, 12:33 PM   #3
cor67393
Member
 
Registered: May 2005
Distribution: Slackware 12.1
Posts: 52

Rep: Reputation: 16
Just a few things you can try as root:
Code:
alsaconf
This will try, with a little user input, to detect your soundcard.
If this goes well, run
Code:
alsamixer
to unmute or change volumes for the different channels.
Then
Code:
alsactl store
to store these settings.
 
Old 08-21-2005, 01:27 PM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
<what cor67393 said>
 
Old 08-22-2005, 09:45 AM   #5
HaterOfWindows
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your replies everybody. Jonaskoelker, your post was very useful. However, I don't know where to input those commands.
 
Old 08-22-2005, 09:46 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
In a terminal window. You should be able to find an entry for "Terminal" or something similar in the menu of whatever window manager you're using.
 
Old 08-22-2005, 09:51 AM   #7
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Quote:
I don't know where to input those commands.
gnome desktop ->
start here ->
applications ->
system tools ->
terminal

-- or --

gnome menu ->
run program ->
"gnome-terminal"

(I prefer xterm over gnome-terminal; YMMV).

hth --Jonas
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Problems: CD works, no system/mp3/video sound tabnaka SUSE / openSUSE 5 01-13-2006 12:33 PM
Sound Blaster Sound Card problems idioticneophyte Linux - Hardware 17 02-01-2005 04:02 AM
sound problems and wine sound problems derfaust Linux - Software 1 07-23-2004 03:45 AM
Problems getting sound to play under Mandrake w/2 sound cards HGeneAnthony Linux - Hardware 1 07-02-2004 02:19 PM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-05-2004 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration