Caros amigos,
Gostaria que alguma alma piedosa me ajudasse para instalar minha placa
de som.
Estou estreando no Linux e escolhi a distro TechLinux 2.0 kernel 2.4.5.
Baixei os drives para a placa Aureal Vortex 2 au8830 e agora nao sei
como instal�-lo.
J� li e reli o readme mas nao o entendo. Acho que apos tantos anos de
"janelas" acabei ficando meio burro...

Minhas duvidas sao basicamente:

1 em qual diretorio devo descomprimir os arqs.
2 como proceder para fazer as edicoes necessarias descritas no readme
3 como proceder a instalacao propriamente dita (qual comando no terminal
faz com que a instalacao aconteca
4 quais os arqs devo manter posteriormente e quais deverei deletar

Valeu
Alexandre

Abaixo transcrevo os arquivos que penso ser necess�rios para a
compreensao da instalacao.

==================================================================================
# Makefile for Vortex au88xx driver
#
# Copyright (c) 1999 Aureal Inc.
# Copyright (c) 2000 Warren Chartier
# Modified to adapt the new source tree by Nikos Kalogridis
#
# Environment:
#       AUCHIP          - AU8830 (default), AU8820, or AU8810
#       AUSMP           - empty (default) or -D__SMP__
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or 
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
# 
# Contact: http://aureal.sourceforge.net

ifndef AUCHIP
AUCHIP = AU8830
endif

ifeq ($(AUCHIP),AU8830)
NAME = au8830
ASP_OBJ = asp30.o
endif

VER    = $(shell uname -r)
MODDIR = /lib/modules/$(VER)/misc
CONF   = $(wildcard /etc/modules.conf)
ifeq ($(strip $(CONF)),)
CONF   = /etc/conf.modules
endif

INCLUDEDIRS = -I/usr/src/linux/include

#
# CPU types, Uncomment one only!
#
#CFCPU = 486
CFCPU = pentium
#CFCPU = pentiumpro

#
# If you have an SMP system uncomment the following (experimental)
# 
#AUSMP = -D__SMP__

#
# Debug/Optimization
#
#CFDEBUG = -g -DDEBUG=1 -DDEBUG_AU -D__VerboseMode
CFOPT = -O6 -fomit-frame-pointer

# Do Not Modify Anything Below This Line!

CFLAGS  = -D__KERNEL__ $(AUSMP) -DMODULE -D$(AUCHIP) -m$(CFCPU)
$(CFDEBUG) $(CFOPT) -Wall -pipe
$(INCLUDEDIRS)

CFILES = au_audio.c au_midi.c au_core.c au_sndstat.c au_mixer.c
au_utils.c au_vortex.c
OFILES = $(CFILES:.c=.o)

$(NAME).o: $(OFILES) $(ASP_OBJ)
        $(LD) -m elf_i386 -r $^ -o $@

compile: $(NAME).o

install: compile
         mv -f $(CONF) $(CONF).old
         gawk -f mod_conf $(CONF).old > $(CONF)
         echo "alias sound $(NAME)" >> $(CONF)
         echo "alias midi $(NAME)" >> $(CONF)
         mkdir -p $(MODDIR)
         cp -f $(NAME).o $(MODDIR)
         -/sbin/depmod -a
         -/sbin/rmmod $(NAME)
         -/sbin/modprobe $(NAME)

install10:
        $(MAKE) install AUCHIP=AU8810

install20:
        $(MAKE) install AUCHIP=AU8820

rebuild10:
        $(MAKE) rebuild AUCHIP=AU8810

rebuild20:
        $(MAKE) rebuild AUCHIP=AU8820

rebuild: clean install

clean:
        rm -f $(NAME).o $(OFILES)

drebuild:
        $(MAKE) rebuild VERBOSE=YES
        
drebuild10:
        $(MAKE) rebuild10 VERBOSE=YES

drebuild20:
        $(MAKE) rebuild20 VERBOSE=YES



============================================================================

Release Notes for the Aureal Vortex Linux Driver
================================================

The following files are distributed in this release:

README          this file
Makefile        used to build and install the driver
COPYING         GPL information
ChangeLog       Version change information
mod_conf        script used by make install
au_audio.c      wave audio source
au_core.c       core support source
au_midi.c       midi audio source
au_mixer.c      mixer source
au_sndstat.c    sndstat source
au_utils.c      utility functions source
au_vortex.c     kernel/PCI interface source
au_vortex.h     public declarations and functions
asp30.o         object file containing Au8830 core
asp20.o         object file containing Au8820 core
asp10.o         object file containing Au8810 core

See http://aureal.sourceforge.net for the latest
driver and bug list.

NOTE: the GPL applies to the source modules only.
Redistribution of the binary modules requires
explicit permission from Aureal.

System Requirements
-------------------

This driver is for Intel x86 systems only.

If your BIOS has an option for "PnP OS", it must be disabled.
Note: if you get "device busy" error messages this might be
the problem.

This driver has been tested on the following distributions:

Red Hat 6.0, kernel version 2.2.5-15
Red Hat 6.1, kernel version 2.2.12-20
Red Hat 6.1, kernel version 2.2.13
Slackware 7.0, kernel version 2.2.16
Debian 2.2, kernel version 2.4.0

Installing the Driver
---------------------

1. Unpack the distribution:
tar xvzf aureal*.tar.gz

2. Change to the driver directory and become root:
cd aureal*
su

3. Edit the Makefile to suit your system (SMP, CPU type, etc)

4. Type the following install commands:

If you have an 8830-based (Vortex 2) card:
make install

If you have an 8820-based (Vortex 1) card:
make install20

If you have an 8810-based (Vortex Advantage) card:
make install10

There is no need to reboot.

Note: if you get "unresolved symbol" errors during the install,
rebuild your kernel with sound support (soundcore) built in
(not a module).

Supported Sound Cards
---------------------

Aureal SQ2500 (8830-based)
Aureal SQ1500 (8810-based)
Diamond MX300 (8830-based)
Turtle Beach Montego (8820-based)
Any other Aureal 88(1|2|3)0 based card should work

Features
--------

1. OSS compatible.

2. Full duplex PCM playback and record, multiple channels (/dev/dsp).

3. Mixer support (/dev/mixer).

4. MPU-401 support (/dev/midi).

5. Joystck support at port 0x201.

6. Supports games such as Quake2.

7. Supports Vortex 8830, 8810, and 8820 based cards.

8. Supports /dev/audio and /dev/sndstat.

Midi synthesis is supported through a software midi synth, such as
Timidity.

Known Problems
--------------

1. SMP is not tested
2. Small buffer (16k)
3. Random skipping with some movies in mtvp

==================================================================================
mod_conf


#!/bin/gawk -f

BEGIN {
                skipnext = 0
}

skipnext == 1 { skipnext = 0; next; }

/^[ \t]*alias[ \t]+sound/ {
                sounddevice = $3
                skipnext = 1
                next
}

/^[ \t]*alias[ \t]+midi/ {
                mididevice = $3
                next
}

/^[ \t]*pre-install/ || /^[ \t]*post-install/ || /^[ \t]*install/ {
                if ($2 != sounddevice && $2 != mididevice)
                        print $0
                next
}

/^[ \t]*pre-remove/ || /^[ \t]*remove/ || /^[ \t]*post-remove/ {
                if ($2 != sounddevice && $2 != mididevice)
                        print $0
                next
}

/^[ \t]*options/ {
                if ($2 != sounddevice && $2 != mididevice) 
                        print $0
                next
}

{  
                # default pattern
                print $0
}

END {
}

Assinantes em 10/12/2001: 2355
Mensagens recebidas desde 07/01/1999: 145608
Historico e [des]cadastramento: http://linux-br.conectiva.com.br
Assuntos administrativos e problemas com a lista:
            mailto:[EMAIL PROTECTED]

Responder a