LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-01-2003, 09:41 PM   #1
robertmarkbram
Member
 
Registered: May 2003
Location: Melbourne, Australia
Distribution: Cygwin, Windows XP
Posts: 69

Rep: Reputation: 15
Red face ALSA installation - i810_audio


Howdy All!

In short:
- Is my modules.conf ok? (File contents included below.)
- How do I know my ALSA modules are installed correctly since I cannot run "/sbin/modprobe snd-intel8x0"?


When I run the soundcard detection applet it reports:
Intel Corp.
82801DB AC'97 Audio
i810_audio

And when I click the button to play test sound, I see an error dialog with:
The i810_audio driver could not be loaded. This soundcard may not be compatible with Red Hat Linux.

When I run modprobe on i810_audio and snd-intel8x0, I get the following:

[robertmarkbram@robertmarkbram robertmarkbram]$ /sbin/modprobe i810_audio
/lib/modules/2.4.20-8/kernel/drivers/sound/ac97_codec.o: create_module: Operation not permitted
/lib/modules/2.4.20-8/kernel/drivers/sound/ac97_codec.o: insmod /lib/modules/2.4.20-8/kernel/drivers/sound/ac97_codec.o failed
/lib/modules/2.4.20-8/kernel/drivers/sound/ac97_codec.o: insmod i810_audio failed
[robertmarkbram@robertmarkbram robertmarkbram]$ /sbin/modprobe snd-intel8x0
modprobe: Can't locate module snd-intel8x0
[robertmarkbram@robertmarkbram robertmarkbram]$

What worries me is that I do not have a /lib/modules/2.4.20-8/kernel/sound directory, so where are my ALSA modules?

I installed ALSA from /usr/src/alsa/ if that is any indication.

To set up my files, I followed the advice given here by drphibes:
http://www.linuxquestions.org/questi...threadid=50826

My /etc/modules.conf and /etc/rc.d/rc.modules files are shown below.

Any help would be most appreciated!

Rob




---/etc/modules.conf-------------------------------------------
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
alias eth0 bcm4400



# alsa
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-intel8x0
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

# restore mixer settings from /etc/asound.state
post-install snd-intel8x0 /usr/sbin/alsactl restore
# Save mixer settings to /etc/asound.state
pre-remove snd-intel8x0 /usr/sbin/alsactl store

# prevent syslog messages
alias snd-card-1 off
alias sound-service-1-0 off
alias sound-service-1-1 off
alias sound-service-1-3 off
alias sound-service-1-8 off
alias sound-service-1-12 off
alias snd-card-2 off
alias sound-service-2-0 off
alias sound-service-2-1 off
alias sound-service-2-3 off
alias sound-service-2-8 off
alias sound-service-2-12 off
alias snd-card-3 off
alias sound-service-3-0 off
alias sound-service-3-1 off
alias sound-service-3-3 off
alias sound-service-3-8 off
alias sound-service-3-12 offalias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
---end-------------------------------------------


----/etc/rc.d/rc.modules-------------------------
# alsa sound
/sbin/modprobe soundcore
/sbin/modprobe snd-intel8x0
---end-------------------------------------------
 
Old 06-01-2003, 10:49 PM   #2
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
I have not gone through your file contenst; however, I had bad experiences with ALSA on i810 using RedHat 9.0. I suggest that you use aRTs or OSS. They seem to work much better and without any hiccups on RedHat.

Hope that helps....
 
Old 06-02-2003, 01:50 AM   #3
robertmarkbram
Member
 
Registered: May 2003
Location: Melbourne, Australia
Distribution: Cygwin, Windows XP
Posts: 69

Original Poster
Rep: Reputation: 15
Hi chem1,

I don't suppose you could tell me where I might get help on that - aRTs or OSS

Rob
 
Old 06-02-2003, 02:26 AM   #4
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
For alsa I followed the instructions from the "Soundcard Matrix" and it worked fine (the site isn't working at this particular moment):

http://www.alsa-project.org/alsa-doc...odule=intel8x0

For just plain OSS support, my /etc/modules.conf had these lines:

#alias sound-slot-0 i810_audio
#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

note: I usually set up my sound hardware via /usr/sbin/setup

I'd only recommend alsa if you need to run something that absolutely requires it. There is some info at freshrpms here:
http://freshrpms.net/docs/alsa/

I installed from plain sources though, because I didn't have a kernel-source package to match my custom kernel

Here are my notes for setting it up:

0) install alsa-driver

./configure; make; make install
./snddevices
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi

1) install alsa-lib, alsa-utils
./configure; make; make install

2) create ~/.asoundrc

pcm.intel8x0 {
type hw
card 0
}

ctl.intel8x0 {
type hw
card 0
}



3) add parameters to /etc/modules.conf

post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0

# 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


4) kill arts and kmix first



5) remove the old modules

export PATH=$PATH:/sbin
modprobe -r i810_audio
modprobe -r snd
modprobe -r soundcore



6) install the new modules

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


Last edited by zmedico; 06-02-2003 at 02:40 AM.
 
Old 06-15-2003, 02:59 AM   #5
kshanth
LQ Newbie
 
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
previously my sound card was working properly but i was installed xmms latest version getting err
wht can i do?
 
Old 06-15-2003, 03:38 PM   #6
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by kshanth
previously my sound card was working properly but i was installed xmms latest version getting err
wht can i do?
What kind of error or you getting? Maybe the wrong audio output plugin is configured for xmms (oss, arts, esd, alsa, etc...)? You can always downgrade to the old version.

You could start a different thread and you might get more attention.
 
Old 06-15-2003, 05:36 PM   #7
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
ALSA is not "totally" compatible with Intel i810 Audio. It gives all sorts of stupid errors on my machine as well. USer aRts or ess

Hope that helps...
 
  


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 installation on RHE3 WS gsgerard Red Hat 1 07-21-2005 04:10 PM
ALSA installation Starr Linux - Software 14 07-01-2004 08:10 PM
ALSA installation Beuzekom Linux - Newbie 15 08-19-2003 06:07 PM
Installation of alsa-driver liguorir Linux - Software 3 06-19-2003 03:46 PM
I say snd-intel8x0, you say i810_audio! - ALSA on P4GE-V motherboard robertmarkbram Linux - Hardware 0 06-06-2003 04:05 AM


All times are GMT -5. The time now is 10:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration