LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-19-2003, 05:26 PM   #1
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Rep: Reputation: 15
Alsa sound server!


Hi, I'm trying to install the Asla Sound Server but when i get to the MODPROBE part, it says it can't find the MODULE snd-intel8x0. But I coppied the text from the www.alsa-project.com site for the module.conf file, and it still doesn't work. what to do?
 
Old 03-20-2003, 03:48 AM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i forgot exact order of configuring alsa
however these will be helpful
alsaconf edits /etc/modules.conf for you

1350 cd ../alsa-driver-0.9.1
1353 utils/alsasound
1354 utils/alsasound start
1356 utils/alsaconf
1458 utils/alsasound status (check if your alsa is working)

alsa's volume is 0 by default

alsa-utils-0.9.1/alsamixer/alsamixer
583 amixer set Master 100 unmute
584 amixer set PCM 100 unmute
585 amixer set Headphone 100 unmute

alsactl stores your volume setting
put /usr/sbin/alsactl restore in your /etc/rc.d/rc.local

1566 alsactl store
1720 alsactl restore
 
Old 03-20-2003, 06:12 AM   #3
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Original Poster
Rep: Reputation: 15
I want to recompile it with the kernel..
I tried going to the Kernel directory and then typing in MAKE...but I doubt that recompiled the kernel with ALSA.
 
Old 03-20-2003, 03:45 PM   #4
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i thought module is independent kernel component
which means u can compile it independently and add it to system.
the when you compile/install alsa-driver-version, it'll copy modules under /lib/modules/kernel-version/kernel/sound/pci or somewhere close

i hope what i said is correct =(
 
Old 03-20-2003, 09:36 PM   #5
qulnxsh
Member
 
Registered: Mar 2003
Distribution: Debian Sid
Posts: 50

Rep: Reputation: 15
Here is what I did after installing the alsa files:
1. Login in as the superuser.
2. Issue /sbin/insmod snd-intel8x0, this command will try to insert the module in the kernel space, but it's likely that you will get "unresolved symbols" error messages, if you get something else, my solution won't work for you (sorry).
3. Go to /usr/src/<the linux version you are running>/sound, you will find modules (*.o files) required by snd-intel8x0.
4. Load all the modules in that directory (I mean all, including the ones in subdirectories). You'll get the "unresolved sysmbols" error, just look at what is after that phrase and you'll figure out what module is needed to solve the dependency. Leave snd-inteli8x0 for the end.
5. If you loaded the modules correctly, remove the current sound module (not snd, type /sbin/lsmod to view the loaded modules, my best guess is that you have i810_audio). Do this with /sbin/rmmod <module name>.
6. Now load snd-intel8x0 with the insmod command.
7. Modprobe if you'd like to.
8. Modify /etc/modules.conf by changing any entry that points to the old sound module, replace it with snd-intel8x0.
9. Finally, since alsa leaves the audio channels muted by default, you may want to edit /etc/rc.local/. You can add:
amixer set <audio channel: PCM, Headphone, Master, etc> <desired volume in %> unmute.
Well, I think that's it, I'm pretty bad explaining so feel free to email me if any questions.
bye
 
Old 11-20-2004, 12:02 PM   #6
vbsoftware
LQ Newbie
 
Registered: Jul 2003
Location: chile
Distribution: Redhat Linux 9 custom
Posts: 27

Rep: Reputation: 15
Hello from Santiago de Chile (spanish user)

I resolve this problem in my RedHat 9 : (NOTE : Always i have installed the kernel sources)

Note: First you must check if your soundcard is supported by the ALSA project.

Step 1.
- First download alsa sources from http://www.alsa-project.org (alsa-driver, alsa-lib, alsa-utils, alsa-oss)

Step 2.
- unpack alsa-lib and compile. (./configure && make && make install)
- Compile alsa-oss (./configure && make && make install)

Step 3.
- Unpack alsa-driver
- ./configure --with-isapnp=no --with-sequencer=yes --with-oss=yes
- touch include/linux/workqueue.h
- make install
- run the ./snddevices script

Step 4.
-- Check if you have unresolved simbols with depmod -ae. If you get errors repeat step 3.

Step 5
-- run ldconfig

Step 6.
- unpack alsa-utils and compile. (./configure && make && make install)

Step 7
- run alsaconf ( here this must be configure your modules.conf )
- run alsamixer ( your channels are muted by default )
- run alsactl store

Step 8
- reboot
- cd /etc/init.d/alsasound start
- startx

Here my ALSA configuration in modules.conf

alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
options snd-intel8x0 snd_ac97_clock=0 snd_enable=1 snd_index=0

Enjoy!

If this guide was useful please send me a email to : leo.nunez@gmail.com

Cheers!

Bye!
 
  


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
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
[ALSA 1.0.9b-4] No more sound, no more alsa-utils package Creak Debian 5 08-18-2005 04:22 PM
sound server issues, ALSA overloading cpu shinacalypse Linux - Software 1 12-14-2003 01:55 PM
Alsa Sound server installation! VIP3R Linux - Software 3 03-18-2003 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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