Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound does not work all of the sudden. Pls help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MrVahn
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 227
Location: Makati

PostPosted: Sat Jan 13, 2007 11:26 am    Post subject: Sound does not work all of the sudden. Pls help Reply with quote

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
View user's profile Send private message
Non_E
Apprentice
Apprentice


Joined: 17 Jan 2006
Posts: 160
Location: Czech Republic

PostPosted: Sat Jan 13, 2007 11:35 am    Post subject: Alsa Reply with quote

I am no expert but have you tried running alsaconf?
Back to top
View user's profile Send private message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Sat Jan 13, 2007 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
MrVahn
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 227
Location: Makati

PostPosted: Sat Jan 13, 2007 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Sat Jan 13, 2007 12:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
MrVahn
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 227
Location: Makati

PostPosted: Mon Jan 15, 2007 3:58 am    Post subject: Reply with quote

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
View user's profile Send private message
nickrout
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 208
Location: New Zealand

PostPosted: Mon Jan 15, 2007 4:05 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54577
Location: 56N 3W

PostPosted: Mon Jan 15, 2007 9:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
MrVahn
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 227
Location: Makati

PostPosted: Tue Jan 16, 2007 3:16 am    Post subject: Reply with quote

Thanks for your help guys.

The firefox issue is a bug right? Is there a way to solve it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum