LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   alias sound-card-0 i810_audio (https://www.linuxquestions.org/questions/linux-software-2/alias-sound-card-0-i810_audio-66631/)

liguorir 06-19-2003 11:28 AM

alias sound-card-0 i810_audio
 
Sound documentation saids to do the following:

alias snd-card-0 snd-<soundcard-name>
alias sound-slot-0 snd-card-0

However, modules.conf has this unsilimar alias:

alias sound-card-0 i810_audio

Why?

Also modules.conf has the following statements:
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null2>&1 || :

and

pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null2>&1 || :


What do these statements do, and can they be removed.

I also think the the i810_audio driver is not the one I need, Is there a generic one, and is there any way of determining what sound hardware is in my system?

dorian33 06-19-2003 02:38 PM

A lot of questions .... :)

1. --alias matter--
the 'sound-slot-0' is token looked for by soundcore module;
so it is the beginning of "alias chain"
next you can use any names so the lines like
alias sound-slot-0 abcd
alias abcd defg
alias defg xxxx
are OK but on condition that the chains is finished (here: with 'xxxx') with the name of your sound driver
look at /lib/modules/<kernel_version>/ directory and subdirectories (mine is just 'sound') for the file xxxx.o to check if you have the sound module and how it is called (you probably see a lot of modules, which one is yours -see below)


2.-- post-install & pre-remove ---
is the action (program) just after (or just before respectively) loading/removing the module;
is it important? generally- it depends on the command; this time I don't think so (try: 'aumix-minimal --help')

3. --proper audio module--
investigate results of : 'cat /proc/pci|grep audio'


All times are GMT -5. The time now is 09:07 AM.