LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Upgrade alsa on fedora core 2 (http://www.linuxquestions.org/questions/linux-software-2/upgrade-alsa-on-fedora-core-2-a-214792/)

sebb 08-07-2004 06:01 PM

Upgrade alsa on fedora core 2
 
I want to know how to upgrade alsa on Fedora core 2.

I need the version 1.0.6 of alsa because I just bought a audigy ls sound card, and it's not supported with earlier versions of alsa. 1.0.6 is still in developement (it's 1.0.6rc2 I think), but I can't wait for the final release and I think it's ok to install a release candidate.

So, having in mind that I'm a newbie, can somebody tell me how to upgrade my alsa to finally be able to make my sound card work?

Thanks in advance.

har5ha 08-07-2004 06:40 PM

Alsa

(****/usr/sbin/alsaconf will attempt an autodetect of your sound card and auto-configure of your modprobe.conf)

Download alsa-lib and alsa-utils at:

* ftp://download.fedora.redhat.com/pub...6/Fedora/RPMS/

Install with:
rpm -Uvh alsa-libs-*.rpm
rpm -Uvh alsa-libs-devel-*.rpm
rpm -Uvh alsa-utils-*.rpm

Now edit /etc/modprobe.conf and add your soundcards configuration.
# ALSA portion
alias char-major-116* snd
alias snd-card-0 snd-via82xx

# OSS/Free portion
alias char-major-14* soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

install snd-card-0 /sbin/modprobe --ignore-install snd-card-0 && { /usr/sbin/alsactl restore >/dev/null 2>&1 || :; }
remove snd-card-0 { /usr/sbin/alsactl store >/dev/null 2>&1 || :; }; /sbin/modprobe -r --ignore-remove

install sound-slot-0 /sbin/modprobe --ignore-install sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }
remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >>/dev/null 2>&1 || :; }; /sbin/modprobe -r --ignore-remove

snd-via82xx must be replaced with the correct driver for your soundcard

You can find your soundcards configuration at:

* http://www.alsa-project.org/alsa-doc/

sebb 08-07-2004 07:42 PM

The RPMs on ftp://download.fedora.redhat.com/pu...86/Fedora/RPMS/ are for version 1.0.5 of alsa, and I need 1.0.6 to run my sound card.

Is there RPMs somewhere for this version? If not, what's the procedure?

har5ha 08-08-2004 01:36 AM

HI Sebb,

If the Rpm's aren't available ... u Could always compile the Sources....


Please take a look at this link...


http://alsa.opensrc.org/index.php?page=audigyls

http://www.alsa-project.org/~james/alsa-driver/



How to install this Audigy LS ALSA driver.

The instructions below are obsolete. The audigyls alsa driver is now included
in alsa cvs. Instructions for installing from the CVS are here:
http://alsa.opensrc.org/index.php?page=AlsaCVS

Any of the other files in this directory are just my work in progress files,
and should not be used unless I specifically suggest using one of them to you
directly.


Ignore the following:
1) Download and untar the latest alsa-driver 1.0.5a from the www.alsa-project.org.
2) Put "AudigyLS.conf" in /usr/share/alsa/cards
3) Put "audigyls.c" in ./alsa-driver/pci/emu10k1
4) Patch alsa-driver with "audigyls.diff.txt"
E.g.
cd to the alsa-driver directory
patch -p1 < ../audigyls.diff.txt

5) Run
./cvscompile --with-cards=audigyls

6) Compile and install the alsa-driver as you would normally do.


########################################################################

Also for other information --------------> http://alsa.opensrc.org/


Best Of Luck!!!!!!!!!!!

sebb 08-08-2004 08:21 PM

I have installed it from CVS using the instructions from http://alsa.opensrc.org/index.php?page=AlsaCVS

I went well, and the Sound Card detection program in fedora was now able to tell the name of my sound card:

- Vendor : Creative labs
- Model : SB Audigy LS
- Module : snd-audigyls

But the play test sound in this program didn't play any sound. I decided to restart my computer. In the "probing for new hardware" phase, Kudzu started and asked me if I want to configure my sound card, I said to myself : "This is it, it will finally be configured with that". So I select "configure" in kudzu, then the rest of the loading continue. And after that, I still can't hear a sound even with the "play test sound" of the audio device detector.

Can somebody tell me what is wrong?

sebb 08-08-2004 08:33 PM

Ok,

My previous post was I very newbie style problem, the "Analog front" in the volume control program was at the minimum.

Now, it works! I'm very happy!

Thanks a lot for the help


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