LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing ALSA module (https://www.linuxquestions.org/questions/linux-newbie-8/installing-alsa-module-333048/)

lowpingnoob 06-13-2005 08:39 AM

installing ALSA module
 
I have a Sound Blaster Live 24 bit 7.1 sound card, and I need some help figuring out what to do with the alsa module. I already (Fedora Core 3) am pretty sure that alsa is completely updated (i used up2date, no alsa packages left on my list of things I need to update).I have drivers, lib and utils, so I just need to turn on soundcore thing (i dont know where it is). here is the module installation page, and I am wondering what I have to do (i have to modprobe, but I have to enable soundcore first i think...) I really just need help with the soundcore thing (knowing where it is would be helpful, and what i have to do when I get to it.

rioguia 06-13-2005 08:52 AM

have you tried running alsamixer?

open a terminal and run a program called alsamixer

select f1 and f2 for help / explanation when the application launches.

1. you need to basically select your tool (CD, etc) on the alsa mixer using the "left" and "right" arrows;

2. type "m" to toggle the control from "off" to "on" and

3. hit the "up arrow" to turn up the volume.

Then use an application to test the sound.

lowpingnoob 06-13-2005 08:56 AM

Quote:

Originally posted by rioguia
have you tried running alsamixer?

open a terminal and run a program called alsamixer

select f1 and f2 for help / explanation when the application launches.

1. you need to basically select your tool (CD, etc) on the alsa mixer using the "left" and "right" arrows;

2. type "m" to toggle the control from "off" to "on" and

3. hit the "up arrow" to turn up the volume.

Then use an application to test the sound.

i know i need the module, at least i really think i do. soundcard detection doesn't come up with my soundcard, so I belive the module will do it. I really want an answer to my original questions but.... what would be the yum command to get alsamixer?

But I WANT to enable soundcore support and load the module(s) i need, so I still want help with that.

ethics 06-13-2005 08:59 AM

When i first tried Linux i couldn't get sound working, because i had an OEM (dell) soundcard which meant the standard drivers wouldn't work, so i went for onboard sound :P

i belive it's yum install alsa-mixer (if my memory sevres me right which it usually doesn't)

lowpingnoob 06-13-2005 09:06 AM

[root@12-226-169-190 ~]# yum install alsa-mixer
Setting up Install Process
Setting up Repo: base
repomd.xml 100% |=========================| 1.1 kB 00:00
Setting up Repo: updates-released
repomd.xml 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
base : ################################################## 2622/2622
updates-re: ################################################## 847/847
No Match for argument alsa-mixer
Nothing to do


doesn't work, but could someone help me with my first question

please look at http://www.alsa-project.org/alsa-doc...&module=ca0106
and help me find the soundcore thing.

tuxrules 06-13-2005 11:29 AM

Quote:

here is the module installation page
Bad link...I am not sure i get your question but I think you don't have the soundcard working. Have you tried configuring it in the first place? Use gui sound configuration utility in fedora or try alsaconf in the terminal. Alsamixer is the next step after that.

If i've understood you wrong...please explain.

Tux,

Boow 06-13-2005 11:55 AM

All you had to do was goto alsa-project.org and look up your soundcard. the module for your soundcard is snd_ca0108. If you want to configure it you can goto www.alsa-project.org no ones going to do the work for you.

lowpingnoob 06-13-2005 12:18 PM

I know noone is going to do the work for me. Here i will cut and paste the installation.

The module options for snd-ca0106

Introduction

There are two ways of getting Linux drivers to work, you can either compile them into the kernel or build them separately as modules. Read the Kernel-HOWTO for details of how to compile a kernel.

You must turn on the sound support soundcore module. This is in the kernel. Look in the sound drivers directory and it should be the first option. Most people enable the module setting. That way you can load and unload the module manually if you have multiple soundcards/devices or if you intend to debug or use cutting edge software which may cause your drivers to halt sometimes. Of course it also means you have more control of your system.

Most modern distros come with soundcore compiled as a module. You can check this in numerous ways. The easiest way is to type.

modinfo soundcore

If this command returns that you have this module, then you don't need to recompile your kernel.

Quick Install

NB. If you are using cvs then you need to type

./cvscompile "or" make build

instead of

./configure


In a shell type these commands:

Make a directory to store the alsa source code in.

cd /usr/src
mkdir alsa
cd alsa
cp /downloads/alsa-* .

Now unzip and install the alsa-driver package

bunzip2 alsa-driver-xxx
tar -xf alsa-driver-xxx
cd alsa-driver-xxx
./configure --with-cards=ca0106 --with-sequencer=yes;make;make install

NB. If you are using drivers before 0.9.4 then you need to run

./snddevices

If you use devfs then you should not run the snddevices script

The snddevices script sets the permissions for the devices it creates to root. You should

chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi

Now unzip and install the alsa-lib package

cd ..
bunzip2 alsa-lib-xxx
tar -xf alsa-lib-xxx
cd alsa-lib-xxx
./configure;make;make install

Now unzip and install the alsa-utils package

cd ..
bunzip2 alsa-utils-xxx
tar -xf alsa-utils-xxx
cd alsa-utils-xxx
./configure;make;make install

Now insert the modules into the kernel.

modprobe snd-ca0106;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

I have the driver, lib, and utils packages (RPM install), but modprobe snd-ca0106 doesn't work (all the other modprobes do, just not that one, and i still don't understand it, thats what I need help with.)

lowpingnoob 06-13-2005 12:18 PM

and also the underlined stuff I don't understand that.

lowpingnoob 06-13-2005 12:21 PM

Quote:

Originally posted by rioguia
have you tried running alsamixer?

open a terminal and run a program called alsamixer

select f1 and f2 for help / explanation when the application launches.

1. you need to basically select your tool (CD, etc) on the alsa mixer using the "left" and "right" arrows;

2. type "m" to toggle the control from "off" to "on" and

3. hit the "up arrow" to turn up the volume.

Then use an application to test the sound.

another thing is thats alsamixer asks for these installed

libmad.so.0
libsndfile.so.1.0
libsndfile.so.1.0
libxosd.so.2

and I cannot find RPM installs of these (or any install for that matter).

rioguia 06-16-2005 03:11 PM

yum install alsa*
 
yum install alsa*

lowpingnoob 06-16-2005 04:50 PM

i already have it, but thanks anyway. I was just being a stupid noob, and Fedora wasn't doing what it said it did. it said I had ALSA (driver, lib, utils), when I didn't, had to manually install these components.


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