LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ALSA installation - i810_audio (https://www.linuxquestions.org/questions/linux-software-2/alsa-installation-i810_audio-63120/)

robertmarkbram 06-01-2003 08:41 PM

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-------------------------------------------:mad: :mad:

chem1 06-01-2003 09:49 PM

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....

robertmarkbram 06-02-2003 12:50 AM

Hi chem1,

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

Rob
:)

zmedico 06-02-2003 01:26 AM

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


kshanth 06-15-2003 01:59 AM

previously my sound card was working properly but i was installed xmms latest version getting err
wht can i do?

zmedico 06-15-2003 02:38 PM

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.:)

chem1 06-15-2003 04:36 PM

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...


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