View previous topic :: View next topic |
Author |
Message |
MrVahn Apprentice
Joined: 30 Dec 2006 Posts: 227 Location: Makati
|
Posted: Sat Jan 13, 2007 11:26 am Post subject: Sound does not work all of the sudden. Pls help |
|
|
I have configured ALSA and enabled the sound card via kernel (not alsa-drivers). It worked for quite some time until one day I didn't. I did not know what happened. It just disappeared from all of my sound producing apps, therefore, not producing any sound at all! Mplayer vids with no sound, websites do not play sounds, and audacious complains. I tried to reconfigure alsa but to no avail . All I can remember before sound became extint in my system is that I have been trying to configure cups (which does not work until now lol). |
|
Back to top |
|
|
Non_E Apprentice
Joined: 17 Jan 2006 Posts: 160 Location: Czech Republic
|
Posted: Sat Jan 13, 2007 11:35 am Post subject: Alsa |
|
|
I am no expert but have you tried running alsaconf? |
|
Back to top |
|
|
mirojira l33t
Joined: 18 Feb 2006 Posts: 685
|
Posted: Sat Jan 13, 2007 11:37 am Post subject: |
|
|
What audacious complains about? Could you send more info like lsmod and could you run command Code: | /etc/init.d/alsasound restart | ? |
|
Back to top |
|
|
MrVahn Apprentice
Joined: 30 Dec 2006 Posts: 227 Location: Makati
|
Posted: Sat Jan 13, 2007 12:11 pm Post subject: |
|
|
I have done everything I can. I rechecked if the kernel has the required modules, run alsaconf, but has not run /etc/init.d/alsa restart. I reboot my machine and logged on in my m$ partition to see if it works in there. Then I went back to gentoo and ran audacious.
To my surprise it worked. LOL.
Thanks guys.
PS: Weird that it had disappeared and reappeared all of the sudden. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sat Jan 13, 2007 12:18 pm Post subject: |
|
|
MrVahn,
Please post the output of Code: | ls -l /dev/snd
ls -l /dev/sound | /dev/snd is your real ALSA device files and /dev/sound is the OSS emulation device files. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MrVahn Apprentice
Joined: 30 Dec 2006 Posts: 227 Location: Makati
|
Posted: Mon Jan 15, 2007 3:58 am Post subject: |
|
|
Ok.
ls -l /dev/snd
total 0
crw-rw---- 1 root audio 116, 0 2007-01-15 07:15 controlC0
crw-rw---- 1 root audio 116, 24 2007-01-15 07:15 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2007-01-15 07:15 pcmC0D0p
crw-rw---- 1 root audio 116, 25 2007-01-15 07:15 pcmC0D1c
crw-rw---- 1 root audio 116, 17 2007-01-15 07:15 pcmC0D1p
crw-rw---- 1 root audio 116, 1 2007-01-15 07:15 seq
crw-rw---- 1 root audio 116, 33 2007-01-15 07:15 timer
ls -l /dev/sound
total 0
crw-rw---- 1 root audio 14, 12 2007-01-15 07:15 adsp
crw-rw---- 1 root audio 14, 4 2007-01-15 07:15 audio
crw-rw---- 1 root audio 14, 3 2007-01-15 07:15 dsp
crw-rw---- 1 root audio 14, 0 2007-01-15 07:15 mixer
Here it is. I hope this says something about the problem. The sound still works fine. I don't know if it will dissappear again. lol. |
|
Back to top |
|
|
nickrout Apprentice
Joined: 06 Oct 2002 Posts: 208 Location: New Zealand
|
Posted: Mon Jan 15, 2007 4:05 am Post subject: |
|
|
A couple of tips:
Sometimes the flash player in firefox jams up the soundcard on pages like youtube. Close anything with flash open and sound comes back - usually.
Please also note that on my machine if you do /etc/init.d/alsasound restart while firefox is running with a flash window open, it kills firefox. Bummer if you haven't yet saved your bookmarks. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Mon Jan 15, 2007 9:10 pm Post subject: |
|
|
MrVahn,
That shows your kernel is in good shape, since you have all the common ALSA and OSS emulation device special files.
It looks like your mixer settings are in a mess.
Start from the beginning with the mixer. Mute everything except PCM and master.
You should now be able to play sound files from your hard drive
Many sound cards can only run one sampe rate at a time, 44.1kHz (CD Audio) or 48kHz (Digital Audio).
Unless you need SPDI/F, be sure that all controls with IEC in their names are muted as this seems to get priority of analogue. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
MrVahn Apprentice
Joined: 30 Dec 2006 Posts: 227 Location: Makati
|
Posted: Tue Jan 16, 2007 3:16 am Post subject: |
|
|
Thanks for your help guys.
The firefox issue is a bug right? Is there a way to solve it? |
|
Back to top |
|
|
|