LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
Posts: 126

Rep: Reputation: 19
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
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,859
Blog Entries: 15

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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-C ML
Posts: 883

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

Original Poster
Rep: Reputation: 19
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
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,859
Blog Entries: 15

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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: 76

Rep: Reputation: 7
/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


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
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


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration