LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 03-21-2009, 04:37 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
getting to the bottom of sound


whenever I install slackware, I have to do some manual haggling with sound.

I've gotten quite used to this though, and eventually things come good quite quickly, and I usually forget how I do it.

After another installation though, where sound refuses to store settings from the last session, I've decided to look for explanations.

All my boxes now have the HDA Intel card, and if I get alsaconf going, it finds it. The I set levels with alsaconf. And then everything is fine.

Except I have to do it each time I boot up. I don't mind having to set levels each time, but alsaconf, no. I fear I may be missing a module ... but alsaconf apparently, supposedly modifies /etc/modprobe.d/sound and /etc/modprobe.conf. I would have thought, that _that_ would make the changes permament. But it doesn't seem to.

Anybody with any nice link to the underlying reasons for this?
 
Old 03-21-2009, 07:44 PM   #2
jannekrille
Member
 
Registered: Jul 2005
Location: Dalsland, Sweden
Distribution: Slackware 13.0 and 13.1
Posts: 75

Rep: Reputation: 22
After setting the levels with alsaconf, did you use the command
Code:
alsactl store
as root to make your settings permanent?
 
Old 03-22-2009, 07:51 PM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
thanks jannekrille, but no, that doesn't work. I have something wrong somewhere else.
 
Old 03-22-2009, 08:07 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,154
Blog Entries: 3

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
for some reason your start up scripts are not running alsactl start to force it the edit your /etc/rc.d/rc.local and add the this
Quote:
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
alsactl start
but for some reason unknown the device module or hardware has not been completely loaded from the kernel so at the very end the last script that runs is rc.local if that does not work. then the module is not being load.
so as root after booting type lspci and look for your snd card then type lsmod and look if there is a snd module loaded for it. if not check to see if it is on the /etc/modprobe.d blacklist. if so add the line modprobe the device before alsactl start in the /etc/rc.d/rc.local
last but not least you must make sure that user has audio in his group.

Last edited by Drakeo; 03-22-2009 at 08:14 PM.
 
Old 03-23-2009, 05:47 PM   #5
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
eek Drakeo, you're going to kill me now after your excellent reply: rc.alsa wasn't executable!

I didn't know alsa had its own rc script now ... may be it did and I forgot! shame on me.

all OK now, many thanks for answer though!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to get icons at the bottom misterminibus Linux - Newbie 1 11-16-2008 01:53 PM
Interrupts bottom halves minasafwat Linux - Kernel 2 11-09-2006 04:49 AM
[help] Bottom half scheduling gsrdemon Linux - Networking 0 07-25-2006 10:57 AM
restart bottom panel cch2cch Fedora 2 04-02-2006 06:02 PM
9.3 bottom taskbar size barrythai SUSE / openSUSE 3 12-21-2005 12:37 AM

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

All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration