-
SOM ALSA
bash-2.05a# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/ginstall -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /mnt/hda1/linux/alsa-driver-0.9.0rc6
checking cross compile...
checking for directory with kernel source... /lib/modules/2.4.20/build
checking for kernel version... 2.4.20
checking for kenrel linux/pm.h... "yes"
checking for kenrel linux/spinlock.h... "yes"
checking for kenrel linux/irq.h... "yes"
checking for kenrel linux/threads.h... "yes"
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.20/kernel/sound
checking for verbose printk... on
checking for debug level... none
checking for ISA support in kernel... "no"
checking for processor type... k7
checking for SMP... "yes"
checking for ISA PnP driver in kernel... yes
checking for ISA PnP support... yes
checking for driver version... 0.9.0rc6
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for RTC callback support in kernel... "no"
checking for USB... "yes"
checking for PCMCIA... "no"
checking for which soundcards to compile driver for... all
./configure: cmp: command not found
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
bash-2.05a# make install
if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
ln: creating symbolic link `include/sound´ to `../alsa-kernel/include´: Operation not permitted
make: *** [include/sound/version.h] Error 1
bash-2.05a#
nao tou me entendendo com os drives alsa
alguem pode me ajudar? <IMG SRC="images/forum/icons/icon_biggrin.gif">
-
SOM ALSA
-
SOM ALSA
o q eh esse arquivo? os drivers? o lib?/
eu baixei todos os arquivos direto da pagina do alsa direto ja
-
SOM ALSA
De um ´ls -l´ nas pastas que da dando erro, provavelmente eh problema de ´ownership´ que no momento nao veio uma palavra em portugues na minha cabeca, mas acho que voce entendeu, veja quem eh o ´owner´, dono, do diretorio: *include/sound* e *../alsa-kernel/include*
-
SOM ALSA
mais eu estou como root
eu nao mando em td automaticamente???
e que diretorios sao esses que eu tenho q checar? /include?
onde ficam
-
SOM ALSA
Em que ordem voce instalou os pacotes da ALSA?
-
SOM ALSA
--r-- 1 root root 1801 Jan 2 17:49 asoundlib.h
-rw-r--r-- 1 root root 7449 Jan 2 17:49 conf.h
-rw-r--r-- 1 root root 23789 Jan 2 17:49 control.h
-rw-r--r-- 1 root root 2236 Jan 2 17:49 conv.h
-rw-r--r-- 1 root root 2868 Jan 2 17:49 error.h
-rw-r--r-- 1 root root 4167 Jan 2 17:49 global.h
-rw-r--r-- 1 root root 4160 Jan 2 17:49 hwdep.h
-rw-r--r-- 1 root root 26824 Jan 2 17:49 iatomic.h
-rw-r--r-- 1 root root 2584 Jan 2 17:49 input.h
-rw-r--r-- 1 root root 7345 Jan 2 17:49 instr.h
-rw-r--r-- 1 root root 9684 Jan 2 17:49 mixer.h
-rw-r--r-- 1 root root 2672 Jan 2 17:49 output.h
-rw-r--r-- 1 root root 63916 Jan 2 17:49 pcm.h
-rw-r--r-- 1 root root 6565 Jan 2 17:49 pcm_plugin.h
-rw-r--r-- 1 root root 7398 Jan 2 17:49 rawmidi.h
-rw-r--r-- 1 root root 30931 Jan 2 17:49 seq.h
-rw-r--r-- 1 root root 16224 Jan 2 17:49 seq_event.h
-rw-r--r-- 1 root root 2369 Jan 2 17:49 seq_midi_event.h
-rw-r--r-- 1 root root 12952 Jan 2 17:49 seqmid.h
drwxr-xr-x 2 root root 4096 Jan 2 17:49 sound/
-rw-r--r-- 1 root root 8072 Jan 2 17:49 timer.h
-rw-r--r-- 1 root root 499 Jan 2 17:49 version.h
a ordem? sinceramente eu nao lembro
so sei q o driver ( esse q to tentando instala agora ) eh o ultimo
ja dei ./configure make, make install no utils e no lib
-
SOM ALSA
-
SOM ALSA
Em que ordem foram instalados os pacotes?
-
SOM ALSA
tinha sido
lib / util / driver
mais agora nao estao instalados, dei um make unistall em todos
como eu faço agora
-
SOM ALSA
O que tem que ser feito eh o seguinte:
Downloade os 3 arquivos, siga os passos:
cd /usr/src
mkdir alsa
cd alsa
cp /SUAHOME/alsa-* .
Agora voce vai trabalhar com o alsa-driver:
tar -xvjf alda-driver*
cd alsa-driver*
./configure --with-cards=cmipci --with-sequencer=yes;make;make install
./snddevices
chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi
Agora alsa-lib:
tar -xvjf alsa-lib*
cd alsa-lib*
./configure;make;make install
Agora o alsa-utils:
tar -xvjf alsa-utils*
cd alsa-utils*
./configure;make;make install
Ai de: modprobe modulo_que_voce_pegou
-
SOM ALSA
fmz
fiz todos os passos
mais agora tenho q bootar o modulo do alsa ne?
onde ele cria isso? nao consegui achar, to revirando as pasts do alsa
-
SOM ALSA
eh isso q tenho q achar
Module snd-via82xx.o
--------------------
Module for AC´97 motherboards based on VIA 82C686A/686B, 8233
(south) bridge.
mpu_port - 0x300,0x310,0x320,0x330, otherwise obtain BIOS setup
ac97_clock - AC´97 codec clock base (default 48000Hz)
Module supports autoprobe and multiple bus-master chips (max <IMG SRC="images/forum/icons/icon_cool.gif">.
Note: on some SMP motherboards like MSI 694D the interrupts might
not be generated properly. In such a case, please try to
set the SMP (or MPS) version on BIOS to 1.1 instead of
default value 1.4. Then the interrupt number will be
assigned under 15. You might also upgrade your BIOS.
-
SOM ALSA
subi os modulos
achei eles
-
SOM ALSA
eles estao subindo
so que nos programas nao aparecem pra mim a possibilidade de usar out plugin "alsa" , so o OSS ( antigo)
estou praticamente sem som agora
-
SOM ALSA
Os drivers que voce instalou sao emulados nos OSS, entao utilize-os normalmente.
-
SOM ALSA
os devs continuam dsp e mixer nao eh?
ele nao ta aceitando, ele diz q nao tem audio device
"count not open/init audio device" - isso no mplayer
"please check that
1- you have the correct output plugin selected --- isso no XMMS
2- no other program is blocking the sound card
3-your sound card is configured properly" <IMG SRC="images/forum/icons/icon_cool.gif">
-
SOM ALSA
<IMG SRC="images/forum/icons/icon_cool.gif">
-
SOM ALSA
ninguem sabe me ajuda pq o modulo sob mais os programas nao conseguem usar o som? <IMG SRC="images/forum/icons/icon_cool.gif">
-
SOM ALSA
Voce criou o arquivo: ~/.asoundrc
?
-
SOM ALSA
~./asopundrc?
q isso?
algum script pra subir os modulos??
eu to subindo eles na mao, como teste, pq como eles nao tao funfando eu to usando os antigos as vezes pra ter som no micro <IMG SRC="images/forum/icons/icon_cool.gif">
-
SOM ALSA
Nao nao, voce realmente precisa ter esse arquivo pra funcionar, crie ele:
------.asoundrc--------
pcm.XXXXX {
type hw
card 0
}
ctl.XXXXX {
type hw
card 0
}
------.asoundrc---------
Onde ta XXXX eh o seu modulo, por exemplo, cmipci, viaxx, etc
-
SOM ALSA
certo
mas criando esse arquivo, ele vai subir os modulos sozinho? so bootar e ja entra o som?
<IMG SRC="images/forum/icons/icon_biggrin.gif">
-
SOM ALSA
Nao veio, esse arquivo eh necessario mas nao loada os modules, soh crie ele, ok?
Pra loadar os modules vc tem que por no /etc/rc.d/rc.local:
modprobe snd-SEUCARD;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
Substutuindo, eh claro, SEUCARD pelo seu modulo certo....
-
SOM ALSA
root@Belotto:/lib/modules/2.4.20/kernel/sound/pci# modprobe snd-via82xx
root@Belotto:/lib/modules/2.4.20/kernel/sound/pci# lsmod
Module Size Used by Not tainted
snd-via82xx 7820 0
snd-pcm 59328 0 [snd-via82xx]
snd-timer 11560 0 [snd-pcm]
snd-ac97-codec 26180 0 [snd-via82xx]
snd-mpu401-uart 3008 0 [snd-via82xx]
snd-rawmidi 13440 0 [snd-mpu401-uart]
snd-seq-device 4000 0 [snd-rawmidi]
snd 26380 0 [snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
aparementemente eh isso q tem s subir mesmo ne?
arquivo ~/.asoundrc criado com o seguinte conteudo
pcm.snd-via82xx{
type hw
card 0
}
ctl.snd-via82xx{
type hw
card 0
}
algo errado? <IMG SRC="images/forum/icons/icon_cool.gif">
o som ainda naot a entrando <IMG SRC="images/forum/icons/icon_confused.gif">
-
SOM ALSA
Como assim o som nao ta indo, ele nao reproduz som algum?
(cole aqui o retorno de: cat /proc/asound/pcm)
-
SOM ALSA
bash-2.05a# cat /proc/asound/pcm
00-00: VIA 82C686A/B : VIA 82C686A/B : playback 1 : capture 1
ele nao entra os sons
os programa ( Mplayer, XMMS) nao vem a saida de som
-
SOM ALSA
out of work...yet
alguem mais se prontifica a divinhar o esta errado? <IMG SRC="images/forum/icons/icon_cool.gif">
-
SOM ALSA
-
SOM ALSA
Qual plugin de som o XMMS ta usando?
playback 1
significa que sua placa de som toca soh um som de cada vez..
-
SOM ALSA
como assim??
nao vao funcionar varios sons ao mesmo tempo???
o xmms ta usando o OSS no dev/dsp
-
SOM ALSA
Use o " eSound " no XMMS.
Quando ao playback, o XMMS por exemplo, eh capaz de emular duplo playback e tocar varios ao mesmo tempo, mas aplicacoes que usam diretamente a placa emitirao somente um som por vez.
-
SOM ALSA
em contato com o psy, meu xmms nao tem o plugin eSOund
verificamos a pasta /usr/lib/xmss/output e la esta o arquivo do plugin
mas ele nao aparece listado no programa