LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-28-2008, 01:06 AM   #1
http://
Member
 
Registered: Mar 2008
Posts: 73

Rep: Reputation: 15
sound problems


Hello,

Im having problems with my sound, sometimes when I reboot my computer it doesnt work, so I use alsaconf to try to fix it and then reboot once more at this point, sometimes the sound would come back after the reboot, but more often it would take around 2-3 reboots before it comes back again.

So, here I am with two questions...
1. How do I fix this?
and
2. What log file/s should I look at so that I can monitor the things that happens to my computer in the background? (Im hoping that if I look at this/these log/logs I can hopefully fix my own problems or at least ask more intelligent questions)

Thank you for you time.

Humbly,
Mikel
 
Old 03-28-2008, 02:55 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
When you have the sound working, after running alsaconf, run alsamixer and unmute (use the "M" key to unmute the volume levels) and set the volume levels where you want (use the up and down arrow keys to change the volume). Then as root run "alsactrl store".
See if this helps. If not, post the output of "lspci -v | grep audio" to show what sound card you are using, and "lsmod | grep -i snd" to show what sound drivers are being loaded. This will help in troubleshooting your sound problem.

Last edited by tommcd; 03-28-2008 at 03:00 AM.
 
Old 03-29-2008, 01:45 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
One correction ... the commmand is "alsactl store" without the r in alsacrtl

For log files you can look in the /var/log directory, specifically /var/log/messages and /var/log/syslog
 
Old 04-06-2008, 07:04 AM   #4
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Hello,

I thought I had it working already...

I made the mistaken conlusion that the KDE startup sound was messing up my sound so I disabled it and havent encountered a problem regarding sound up until now....

so heres the outputs that were requested...

=========

lspci -v | grep audio
00:0a.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)

=========

lsmod | grep -i snd
snd_seq_dummy 6788 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50640 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 42784 0
snd_mixer_oss 18048 1 snd_pcm_oss
snd_cmipci 33664 0
snd_opl3_lib 12288 1 snd_cmipci
snd_hwdep 10628 1 snd_opl3_lib
snd_via82xx 26520 0
gameport 15112 2 snd_cmipci,snd_via82xx
snd_ac97_codec 98980 1 snd_via82xx
ac97_bus 6016 1 snd_ac97_codec
snd_pcm 72068 4 snd_pcm_oss,snd_cmipci,snd_via82xx,snd_ac97_codec
snd_timer 22532 3 snd_seq,snd_opl3_lib,snd_pcm
snd_page_alloc 11528 2 snd_via82xx,snd_pcm
snd_mpu401_uart 10496 2 snd_cmipci,snd_via82xx
snd_rawmidi 22560 1 snd_mpu401_uart
snd_seq_device 10508 5 snd_seq_dummy,snd_seq_oss,snd_seq,snd_opl3_lib,snd_rawmidi
snd 47204 14 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_opl3_lib,snd_hwdep,snd_via82xx,snd_ac97 _codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 9824 1 snd

=============

Thank you for your time.

Humbly
mikel
 
Old 04-08-2008, 04:00 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Did you run "alsactl store" after setting the volumes?
 
Old 04-08-2008, 05:43 AM   #6
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Yes.

Thank you for your time.

Humbly,

mikel

I apologize for duplicating my thread. Please forgive.

Last edited by http://; 04-08-2008 at 05:44 AM.
 
Old 04-08-2008, 05:45 AM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Mikel,

Do you still have sound problems?

If so, what are they?
 
Old 04-08-2008, 05:56 AM   #8
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Hello,

Yes. Im still having sound problems. Most of the time when I turn on my computer there is no sound, so I run "alsaconf" then "alsamixer" the "alsactl store" then reboot. Normally I have to do this around 4-5 times before I get sound on my computer.

Thank you for your time.

Humbly,

mikel
 
Old 04-08-2008, 06:14 AM   #9
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Is your sound card compiled as a module or in the kernel? I wonder if the module isn't loading....
 
Old 04-08-2008, 06:18 AM   #10
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Hello,

Quote:
Originally Posted by XavierP View Post
Is your sound card compiled as a module or in the kernel? I wonder if the module isn't loading....
Im sorry but I really have no idea.

Thank you for your time.

Humbly,

mikel
 
Old 04-08-2008, 07:25 AM   #11
samac
Senior Member
 
Registered: Mar 2004
Location: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
Do you have a sound card and your motherboard have sound? Or is one of these devices a USB sound device?

If so have you got your speakers in the correct output socket, or can you disable the onboard sound in your bios.

samac
 
Old 04-08-2008, 07:39 AM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Since you're using the C-Media PCI sound card, you should blacklist
the VIA onboard (snd_via82xx) soundchip. Edit /etc/modprobe.d/blacklist
and add "blacklist snd_via82xx". Here's the end of my file as an example:
Code:
# The onboard sound chipset is now detected and the module
# is added in Slackware, even though it's disabled in BIOS.

blacklist snd_via82xx
You don't have to add those lines with the comments, but if you do add
anything like that be sure to put the # in front of them. Any lines with
# in the front are commented, and the file won't read them.

Reboot and run as root "alsaconf" and choose the C-Media only, then run
"alsamixer" and unmute and turn up Master and PCM, then run "alsactl store". See
how it works by issuing "speaker-test -Dplug:surround51 -c6 -t wav" for 5.1 speakers
or "speaker-test -Dplug:front -c2 -t wav" for 2.1.

Report back, please.
 
Old 04-08-2008, 09:43 AM   #13
http://
Member
 
Registered: Mar 2008
Posts: 73

Original Poster
Rep: Reputation: 15
Hello,

Followed your instructions and had a couple of reboots with working sound. Havent happened before.

Thank you for your help. I'll observe this for a couple of days and post if anything bad happens

Thank you for your time.

Humbly,

mikel
 
  


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
Sound problems (alsaconf cannot find sound modules.) vmlinuz.gz Linux - Newbie 8 11-12-2008 03:36 AM
Sound problems in Slackware 11 with Sweex sound card RicardoB Linux - Hardware 0 04-30-2007 01:34 PM
Sound problems with ubuntu 4.1 and a realtek sound card linux-novice Linux - Newbie 1 02-18-2006 11:44 PM
Sound Problems: CD works, no system/mp3/video sound tabnaka SUSE / openSUSE 5 01-13-2006 12:33 PM
Problems getting sound to play under Mandrake w/2 sound cards HGeneAnthony Linux - Hardware 1 07-02-2004 02:19 PM

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

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