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 09-06-2004, 09:21 PM   #1
J_stuart
LQ Newbie
 
Registered: Jun 2004
Location: Argentina
Distribution: Slackware 9.1
Posts: 27

Rep: Reputation: 15
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
 
Old 09-06-2004, 10:07 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
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...
 
Old 09-07-2004, 04:29 PM   #3
J_stuart
LQ Newbie
 
Registered: Jun 2004
Location: Argentina
Distribution: Slackware 9.1
Posts: 27

Original Poster
Rep: Reputation: 15
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
 
Old 09-07-2004, 11:57 PM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
  


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
No sound coming from my sound blaster audigy 2 ZS platinum sound card msab Linux - Hardware 9 12-05-2010 05:10 AM
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
FC2: Sound Card (SiS SI7012) Detect But Donot Play Sound rajanaeem Linux - Hardware 0 10-22-2004 03:41 PM
How to make a sound on Realtec ALC-650 card sound on a Shuttle ST62K? Laurent Linux - Hardware 0 05-30-2004 11:57 AM
No Sound : request_module: failed /sbin/modprobe -- sound-slot-0. error = 256 Mebuh Linux - General 0 01-26-2004 07:51 AM

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

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