LinuxQuestions.org
Visit Jeremy's Blog.
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 05-11-2010, 01:28 PM   #1
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Rep: Reputation: 15
installing alsa on Slackware


How should I go about installing alsa and making it start on boot?
 
Old 05-11-2010, 01:41 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,572
Blog Entries: 1

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
Alsa is part of standard Slackware. Have you installed the full version of Slackware 13?
If you haven't, you can get the alsa packages from here:
http://www.mirrorservice.org/sites/f...0/slackware/l/
(That's for Slackware13)
After downloading it, you can install it by:
Quote:
installpkg *.txz
Any other alsa-plugins can be installed from slackbuilds
http://slackbuilds.org/repository/13.../alsa-plugins/

I suggest you look at a piece of software called sbopkg
http://www.sbopkg.org/
It'll make installing slackbuilds easier

Also, look at the following tutorial:
http://www.slackbook.org/html/packag...utilities.html
 
1 members found this post helpful.
Old 05-11-2010, 01:48 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,572
Blog Entries: 1

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
One more remark: If you haven't installed the full version of Slackware, you MIGHT be better off reinstalling it again choosing FULL install.
Slackware doesn't automatically handle dependencies like yum or apt-get, so if you just installed minimal system, it might
be a complex and daunting task to install what you want (with dependencies.)
It wouldn't be a big problem for an experienced slackware user (it'd still be rather time-consuming), but from your post
I assume you are rather new to slackware.

Just a suggestion
 
1 members found this post helpful.
Old 05-11-2010, 02:12 PM   #4
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
I installed the full system except KDE. KDE is slow and bloated.
 
Old 05-11-2010, 02:17 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,572
Blog Entries: 1

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
In that case alsa is installed on your system.
If you don't hear any sound, try to run alsamixer (from the command line) and see if the channels are not muted)

I don't like KDE either. Try XFCE.

Anyway, any day now (hopefully) Slackware 13.1 will be released with a much better version of KDE.
 
Old 05-11-2010, 02:19 PM   #6
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
Quick question: before I install should download and install alsa-lib or alsa-oss or both?
 
Old 05-11-2010, 02:23 PM   #7
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,790

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by Goldfish777 View Post
I installed the full system except KDE.
EDIT:

As has been pointed out, ALSA should be installed in this case. Do you know how to check?

The following line will tell you if the packages have been installed:
Code:
ls /var/log/packages | grep alsa
Please tell us why you think you still need to install ALSA.

Last edited by dugan; 05-11-2010 at 02:31 PM.
 
1 members found this post helpful.
Old 05-11-2010, 02:25 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
You need these packages:

alsa-lib-1.0.18-i486-2
alsa-utils-1.0.18-i486-1
alsa-oss-1.0.17-i486-1

When they are installed run alsaconf as root so it detects your soundcard, then run alsamixer to set your mutes and volumes etc. When you have sound working use 'alsactl store'
 
Old 05-11-2010, 02:39 PM   #9
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 523

Rep: Reputation: 140Reputation: 140
If you did a full install (/ap and /l series), did you run alsaconf during installation (it should come up automatically)? If not, run alsaconf as root. In the rough order, after logging on as root:
1. "lspci" find your audio or multimedia chip and check for compatibility at http://www.alsa-project.org
2. "lsmod" to see if the sound modules are loading
3. "alsaconf" to configure you sound hardware
4. "alsamixer" to make sure your channels are not muted
5. "alsactl -store" to store the mixer settings.

Note "alsaconf" should take care of #4 and #5.

To test the card go here: http://alsa.opensrc.org/index.php/Speaker-test
 
Old 05-11-2010, 03:56 PM   #10
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dugan View Post
EDIT:

As has been pointed out, ALSA should be installed in this case. Do you know how to check?

The following line will tell you if the packages have been installed:
Code:
ls /var/log/packages | grep alsa
Please tell us why you think you still need to install ALSA.
Well I put in the command and it seems I do have alsa. I will do the alsaconf and stuff to see f I can't get it running.
 
1 members found this post helpful.
Old 05-11-2010, 04:22 PM   #11
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
I know it is installed and I ran alsaconf and set it up and I went into the alsamixer. Does the "00" mean muted or the "MM" mean muted? Basicall I am not getting any sound whatsoever.
 
1 members found this post helpful.
Old 05-11-2010, 04:35 PM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
Green 00 means unmuted.
 
Old 05-11-2010, 04:51 PM   #13
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,572
Blog Entries: 1

Rep: Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027Reputation: 1027
Another thought: I don't know if it's applicable here, but have you added your user to the audio group?

Last edited by sycamorex; 05-11-2010 at 06:41 PM.
 
Old 05-11-2010, 06:05 PM   #14
Goldfish777
Member
 
Registered: May 2010
Distribution: Slackware 13.0
Posts: 44

Original Poster
Rep: Reputation: 15
I did not add my user and I dont know if it is already added. How do I tell?
 
Old 05-11-2010, 06:07 PM   #15
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,790

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Code:
groups
The output lists the groups that you belong to.
 
  


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
Slackware 12 + ALC268 + Alsa-driver 1.0.18 = ALSA Error =No Sound (Tried erverything) morphynoman Slackware 9 12-04-2008 07:29 AM
Slackware 12 + ALC268 + Alsa-driver 1.0.18 = ALSA Error =No Sound (Tried erverything) morphynoman Linux - Hardware 2 11-12-2008 12:48 PM
broke gentoo after installing alsa-driver & alsa-utils snakeo2 Linux - Newbie 1 01-26-2006 08:05 AM


All times are GMT -5. The time now is 06:37 PM.

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