LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   sound when it wants to (https://www.linuxquestions.org/questions/linux-hardware-18/sound-when-it-wants-to-227502/)

J_stuart 09-06-2004 09:21 PM

sound when it wants to
 
Ok people this is my situation:
recently i have installed feudora 2.9 on a pc with a soyo Dragon lite mother board(which bios errases evrerytime the pc is unplugged) an AMD Athlon of 1.3ghz procesor and 512Mb of ram.
when installed Fedora worked fine, sound went perfect, but all of a sudden sound stopped working, sound card(mother's board sound card) was detected with no problem:
C-Media Electronics
CM8738
snd-cmipci
but sound did not work. i did not find a solution so I reinstalled fedora. Sound worked again.
Today i turn it on and guess what the same problem.
Any ideas of how can i have my sound back without reinstallation.
Thanks

win32sux 09-06-2004 10:07 PM

Re: sound when it wants to
 
Welcome to LQ!!

=)


Quote:

Originally posted by J_stuart
bios errases evrerytime the pc is unplugged
you probably need a new battery on your motherboard..

Quote:

when installed Fedora worked fine, sound went perfect, but all of a sudden sound stopped working, sound card(mother's board sound card) was detected with no problem:
C-Media Electronics
CM8738
snd-cmipci
but sound did not work. i did not find a solution so I reinstalled fedora. Sound worked again.
Today i turn it on and guess what the same problem.
Any ideas of how can i have my sound back without reinstallation.
could you could post the output of lsmod when the sound is working and when it's not??

also, does it "stop working" on all the apps?? does it happen after you run specific software?? any error messages??

sometimes misconfigured programs reset the volumes to zero... just a thought...

J_stuart 09-07-2004 04:29 PM

Thanks for answering my post; here is the otput of lsmod:
Module Size Used by
snd_pcm_oss 42345 0
snd_mixer_oss 13889 3 snd_pcm_oss
snd_cmipci 32229 3
snd_pcm 82249 2 snd_pcm_oss,snd_cmipci
snd_page_alloc 8137 1 snd_pcm
snd_opl3_lib 9153 1 snd_cmipci
snd_timer 24901 2 snd_pcm,snd_opl3_lib
snd_hwdep 6469 1 snd_opl3_lib
gameport 3777 1 snd_cmipci
snd_mpu401_uart 7233 1 snd_cmipci
snd_rawmidi 21477 1 snd_mpu401_uart
snd_seq_device 6217 2 snd_opl3_lib,snd_rawmidi
snd 44069 12 snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_ra wmidi,snd_seq_device
soundcore 7457 3 snd
usbserial 22193 0
parport_pc 21249 1
lp 9133 0
parport 35209 2 parport_pc,lp
autofs4 20293 0
8139too 22465 0
mii 3777 1 8139too
floppy 53745 0
sg 28129 0
scsi_mod 103825 1 sg
dm_mod 46421 0
uhci_hcd 28249 0
button 4689 0
battery 6981 0
asus_acpi 9041 0
ac 3397 0
ipv6 210949 10
ext3 92201 2
jbd 65241 1 ext3

This is the output when sound doesnt work, and when it works i wish i could give it to you because once sound stops working it stays that way, i tried playing music with xmms, and playing with the utility of sound chek but i had no luck. here is the output with xmms working (no sound, but a constant "brrrrrrrrrrr" with almost no volume):
Module Size Used by
snd_pcm_oss 42345 1
snd_mixer_oss 13889 3 snd_pcm_oss
snd_cmipci 32229 4
snd_pcm 82249 2 snd_pcm_oss,snd_cmipci
snd_page_alloc 8137 1 snd_pcm
snd_opl3_lib 9153 1 snd_cmipci
snd_timer 24901 2 snd_pcm,snd_opl3_lib
snd_hwdep 6469 1 snd_opl3_lib
gameport 3777 1 snd_cmipci
snd_mpu401_uart 7233 1 snd_cmipci
snd_rawmidi 21477 1 snd_mpu401_uart
snd_seq_device 6217 2 snd_opl3_lib,snd_rawmidi
snd 44069 12 snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_ra wmidi,snd_seq_device
soundcore 7457 4 snd
usbserial 22193 0
parport_pc 21249 1
lp 9133 0
parport 35209 2 parport_pc,lp
autofs4 20293 0
8139too 22465 0
mii 3777 1 8139too
floppy 53745 0
sg 28129 0
scsi_mod 103825 1 sg
dm_mod 46421 0
uhci_hcd 28249 0
button 4689 0
battery 6981 0
asus_acpi 9041 0
ac 3397 0
ipv6 210949 10
ext3 92201 2
jbd 65241 1 ext3

about the motherboard battery, if i chnged it's no use cause i have a ropen chip or somthing which controls if the computer is plugged or not.
Thanks

Electro 09-07-2004 11:57 PM

Quote:

about the motherboard battery, if i chnged it's no use cause i have a ropen chip or somthing which controls if the computer is plugged or not.
I do not understand what you are trying to say.

What does the logs say like messages, boot.log, .... The logs are in /var/log. You may have to su or root to view them.

Post what amixer prints out before it gives you problems and after it gives you problems. You probably did not run "alsactl store" as su or root to save your mixer settings.

From the looks of your module list after the problem, the module (driver) for your sound device is working. If there is no sound when using two audio programs at the same time and it seems that sounds works one after another, you then need to do more work on your side to play multiple sounds. ALSA has a way to mix sounds into one sound device, so you can play thirty (30) sounds at once and hear them all. You will have to edit or create ~/.asoundrc and to include some lines. The ALSA wiki documentation explains how to do this but you are looking for dmix. dmix is an ALSA library that you want to play multiple sounds at once. After you add the lines to ~/.asoundrc you will have to tell all your sound programs to use alsa and the default device or whatever you set it as for dmix.


All times are GMT -5. The time now is 12:11 PM.