LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-24-2007, 02:17 PM   #1
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Rep: Reputation: 15
audio not working?


ist there a way to test my audio, because it seems like it sohlud work but it isn't. what's an easy way to test it and then fix it.
 
Old 08-24-2007, 02:42 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,321

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you are running Alsa, then go here to the trouble shooting page. There are tests to verify components.

http://alsa.opensrc.org/index.php/Ca...roubleshooting

If that doesn't help, or you don't know if you are using Alsa, post information on the sound card or chip set you are using. Post the results of '/sbin/lsmod' ( command run in a terminal without the quotes ).
 
Old 08-24-2007, 02:46 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
do you have alsa and alsa-utilities installed ?

aptitude update
aptitude install alsa-base alsa-utils
alsaconf
speaker-test
alsamixer
- make sure the audio channels are not muted... if you got no sound earlier try the speaker test again
alsactl store
 
Old 08-24-2007, 02:49 PM   #4
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
If you are running Alsa, then go here to the trouble shooting page. There are tests to verify components.

http://alsa.opensrc.org/index.php/Ca...roubleshooting

If that doesn't help, or you don't know if you are using Alsa, post information on the sound card or chip set you are using. Post the results of '/sbin/lsmod' ( command run in a terminal without the quotes ).
/sbin/lsmod
Module Size Used by
ipv6 236256 8
button 7952 0
ac 5220 0
battery 10020 0
dm_snapshot 16420 0
dm_mirror 20116 0
dm_mod 52556 2 dm_snapshot,dm_mirror
loop 15880 0
tsdev 7520 0
psmouse 34952 0
parport_pc 32740 0
parport 33672 1 parport_pc
rtc 12760 0
serio_raw 6564 0
pcspkr 3136 0
snd_ymfpci 59360 1
gameport 14984 1 snd_ymfpci
firmware_class 9408 1 snd_ymfpci
snd_ac97_codec 92356 1 snd_ymfpci
ac97_bus 2272 1 snd_ac97_codec
snd_pcm 71940 3 snd_ymfpci,snd_ac97_codec
snd_opl3_lib 9824 1 snd_ymfpci
snd_timer 20868 3 snd_ymfpci,snd_pcm,snd_opl3_lib
snd_hwdep 8548 1 snd_opl3_lib
snd_page_alloc 9512 2 snd_ymfpci,snd_pcm
snd_mpu401_uart 8032 1 snd_ymfpci
snd_rawmidi 22400 1 snd_mpu401_uart
snd_seq_device 7596 2 snd_opl3_lib,snd_rawmidi
snd 48132 10 snd_ymfpci,snd_ac97_codec,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_s eq_device
i2c_piix4 8556 0
soundcore 7424 1 snd
i2c_core 20480 1 i2c_piix4
intel_agp 23004 1
shpchp 30996 0
pci_hotplug 29088 1 shpchp
agpgart 32168 1 intel_agp
evdev 9216 2
ext3 120904 1
jbd 55208 1 ext3
mbcache 8164 1 ext3
ide_cd 36512 0
cdrom 32768 1 ide_cd
ide_disk 15584 3
ata_generic 8100 0
libata 109172 1 ata_generic
scsi_mod 133740 1 libata
generic 4804 0 [permanent]
floppy 54820 0
ne2k_pci 10592 0
8390 9760 1 ne2k_pci
uhci_hcd 22608 0
usbcore 123272 2 uhci_hcd
piix 9508 0 [permanent]
ide_core 115016 4 ide_cd,ide_disk,generic,piix
thermal 14120 0
processor 30888 1 thermal
fan 4868 0






sorry if you didn't need all that, i'm not sure what you meant.
 
Old 08-24-2007, 03:10 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
lspci should return the Audio Device.. would be helpful in determining if the appropriate modules are loaded

Quote:
it-etch:~# lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc SB600 Azalia
 
Old 08-24-2007, 03:19 PM   #6
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
00:0c.0 Multimedia audio controller: Yamaha Corporation YMF-724 (rev 04)
 
Old 08-24-2007, 03:19 PM   #7
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,321

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That is Alsa. Have you ever run alsaconf ?

Have you brought up a mixer and made sure the channels are unmuted and the volume turned up? Start with the simple stuff and go from there.
 
Old 08-24-2007, 03:25 PM   #8
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
how do i adjust the default volume or just the computer volume
 
Old 08-24-2007, 03:26 PM   #9
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
That is Alsa. Have you ever run alsaconf ?

Have you brought up a mixer and made sure the channels are unmuted and the volume turned up? Start with the simple stuff and go from there.
i need to get the mixer installed
 
Old 08-24-2007, 03:30 PM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
According to the alsa website you have the appropriate module loaded for your card.

Quote:
ymfpci - Yamaha YMF7xx PCI audio
9 times out of 10 verifying the cable is in the right jack, running alsaconf again (to unload and reload the modules) and checking mixer settings fixes most sound issues..

if you have run alsaconf again and checked the mixer settings and still no joy, then you are down to the troubleshooting steps on the alsa site. bummer.


alsamixer listed in my first post is part of the alsa-utils package and should already be installed.. run it from a shell

Last edited by farslayer; 08-24-2007 at 03:31 PM.
 
Old 08-24-2007, 03:49 PM   #11
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
alsamixer: function snd_ctl_open failed for default: No such device
 
Old 08-24-2007, 04:11 PM   #12
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
cat /proc/asound/cards the output will tell us what sound devices alsa knows about.. ti seems some modems have audio capability and it can confuse alsa. if alsa anly knows about one audio device then this isn't the issue..

http://www.mail-archive.com/alsa-use.../msg19772.html
 
Old 08-24-2007, 05:35 PM   #13
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Quote:
According to the alsa website you have the appropriate module loaded for your card
As did mine. All the correct devices were there, everything in /proc/asound was as it should be. But the sound wasn't working. Worryingly, there were no associated error messages. Even programs that used alsa thought it was working correctly, alas no.

Quote:
alsamixer: function snd_ctl_open failed for default: No such device
Alsa is really getting on my tits too. In fact it is the bane of my life. I have run into this problem on four different machines recently. The advice given above is all correct, but it only works for me with one slight modification. No guarantees that it will work for you though.

To recap:

1. install alsa-base alsa-utils and alsa-oss

2. Very Important: switch to init 1. Do this by entering "init 1" as root. On Debian systems you will have to enter your root password again. Do not press Control-D.

3. Then run alsaconf.

4. Then alsamixer to set the volumes.

5. Then alsactl store (I don't have to do this myself, but if it works for you...)

6. reboot or type "init 6"

Hope it works. All four of the machines mentioned worked after the using single user mode, but like I said, no guarantees.

PS. As a side note, Debian devs are talking about removing alsaconf as it is a remnant from the 2.4 kernels, and "should not be necessary" using a 2.6 kernel. I'm a bit worried as I don't know how to get my sound working any other way. The devs seem to think it should work out of the box, or at least after step 1 above.
 
Old 08-24-2007, 06:29 PM   #14
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Daws View Post
As did mine. All the correct devices were there, everything in /proc/asound was as it should be. But the sound wasn't working. Worryingly, there were no associated error messages. Even programs that used alsa thought it was working correctly, alas no.



Alsa is really getting on my tits too. In fact it is the bane of my life. I have run into this problem on four different machines recently. The advice given above is all correct, but it only works for me with one slight modification. No guarantees that it will work for you though.

To recap:

1. install alsa-base alsa-utils and alsa-oss

2. Very Important: switch to init 1. Do this by entering "init 1" as root. On Debian systems you will have to enter your root password again. Do not press Control-D.

3. Then run alsaconf.

4. Then alsamixer to set the volumes.

5. Then alsactl store (I don't have to do this myself, but if it works for you...)

6. reboot or type "init 6"

Hope it works. All four of the machines mentioned worked after the using single user mode, but like I said, no guarantees.

PS. As a side note, Debian devs are talking about removing alsaconf as it is a remnant from the 2.4 kernels, and "should not be necessary" using a 2.6 kernel. I'm a bit worried as I don't know how to get my sound working any other way. The devs seem to think it should work out of the box, or at least after step 1 above.
i can't get ALSAmixer working... it gives me the same error as before

so basically i can't set the volumes, which is my only problem, is there some other mixer i can use?
 
Old 08-24-2007, 06:45 PM   #15
plesaleza
Member
 
Registered: Aug 2007
Posts: 77

Original Poster
Rep: Reputation: 15
i did apt-get install alsa*

now i'm pretty sure i have a lot of extra stuff that i don't need... but it seems that the audio works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Audio not working Zmyrgel Linux - Newbie 1 07-05-2007 05:48 PM
Help me get my audio CD working Boogsdad Linux - Software 4 11-02-2006 01:13 AM
Audio not working :x Unp Linux - Newbie 11 02-13-2005 06:23 PM
Audio not fully working allelopath Linux - Software 3 11-10-2004 06:46 AM
audio not working fstreed Linux - Newbie 24 11-12-2002 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:53 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