LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-31-2012, 06:13 PM   #1
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 338

Rep: Reputation: 156Reputation: 156
Question Alsaconf question


I set up a clean install of Slackware-current and added a user. I forgot to run alsaconf, logged out as root, logged in as the new user and started kde. All is running well including sound, I try play and aplay and both work. There no sound.conf file under /etc/modprobe.d

So my question is: is it really necessary to run alsaconf? or am I missing a small detail here?
thanks.
 
Old 08-31-2012, 06:21 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Normally ALSA modules are autoloaded by the kernel and everything is preconfigured, however, alsactl might have some issues if a sound.conf is not available for it to save the volume level settings with the mixer upon shutdowns and startups.Yes, you can run audio without using alsaconf, but having the script does help with setup and configuration.
 
2 members found this post helpful.
Old 08-31-2012, 09:25 PM   #3
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Thanks ReaperX!
I was wondering about that myself.
 
Old 09-01-2012, 10:07 AM   #4
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 338

Original Poster
Rep: Reputation: 156Reputation: 156
Thanks for the clarification, so I went with the working defaults then used alsamixer (as user) to tweak the different settings and typed the following to store them:
Code:
alsactl store -f ~/.asoundrc
To restore, I added this line to .profile:
Quote:
alsactl restore -f ~/.asoundrc
which seems to work well.
 
Old 09-01-2012, 05:33 PM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
ALSA usually loads it's settings from these locations:

/home/%USER%/.asoundrc - this loads special custom stuff like which mixer is used by default, daemons, and other things

/etc/modules.conf - this usually handles the oss emulation portion and also multicard assignments for output and identification of those cards as well as options if needed.

/etc/alsa.conf or /etc/modprobe.d/sound.conf (depending on OS distribution settings) - this is where mixer settings are loaded from for alsactl.

If needed, check your card at ALSA's main page on extra information for your sound card:

http://www.alsa-project.org/main/index.php/Main_Page
 
Old 09-03-2012, 05:35 AM   #6
01micko
Member
 
Registered: Mar 2009
Location: Gold Coast, Queensland, Australia
Distribution: Puppy, Slackware
Posts: 92

Rep: Reputation: 18
/usr/sbin/alsaconf seems to have a few bugs relevant to the current situation with module-init-tools being replaced by kmod. depmod -m is deprecated and this is how one would have produced /lib/modules/`uname -r`/modules.pcimap and modules.isamap needed by the function build_card_db @ line 598. The sound card database fails to be produced.

I notice Debian removed alsaconf from alsa-utils in Squeeze. Should Slackware do the same for 14.0?
 
  


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
alsaconf yusufozk Linux - Software 4 06-28-2005 08:38 AM
alsaconf question JustinCoyan Slackware 11 04-18-2005 01:46 PM
alsaconf edmlo Linux - Hardware 6 03-16-2005 10:29 AM
alsaconf denning Slackware 3 02-02-2005 09:10 AM
alsaconf sethgeekx86 Slackware 3 04-16-2004 03:52 PM

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

All times are GMT -5. The time now is 03:23 AM.

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