Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. #1
    Fabinho
    Visitante

    Padrão 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">

  2. #2
    rafaelopa
    Visitante

  3. #3
    Fabinho
    Visitante

    Padrão SOM ALSA

    o q eh esse arquivo? os drivers? o lib?/


    eu baixei todos os arquivos direto da pagina do alsa direto ja

  4. #4
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão SOM ALSA

    De um &acute;ls -l&acute; nas pastas que da dando erro, provavelmente eh problema de &acute;ownership&acute; que no momento nao veio uma palavra em portugues na minha cabeca, mas acho que voce entendeu, veja quem eh o &acute;owner&acute;, dono, do diretorio: *include/sound* e *../alsa-kernel/include*


  5. #5
    Fabinho
    Visitante

    Padrão 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

  6. #6
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão SOM ALSA

    Em que ordem voce instalou os pacotes da ALSA?

  7. #7
    Visitante

    Padrão 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

  8. #8
    Fabinho
    Visitante

    Padrão SOM ALSA

    .

  9. #9
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão SOM ALSA

    Em que ordem foram instalados os pacotes?

  10. #10
    Fabinho
    Visitante

    Padrão SOM ALSA

    tinha sido
    lib / util / driver


    mais agora nao estao instalados, dei um make unistall em todos

    como eu faço agora

  11. #11
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão 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

  12. #12
    Fabinho
    Visitante

    Padrão 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

  13. #13
    Fabinho
    Visitante

    Padrão SOM ALSA

    eh isso q tenho q achar


    Module snd-via82xx.o
    --------------------

    Module for AC&acute;97 motherboards based on VIA 82C686A/686B, 8233
    (south) bridge.

    mpu_port - 0x300,0x310,0x320,0x330, otherwise obtain BIOS setup
    ac97_clock - AC&acute;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.

  14. #14
    Fabinho
    Visitante

    Padrão SOM ALSA

    subi os modulos
    achei eles

  15. #15
    Fabinho
    Visitante

    Padrão 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

  16. #16
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão SOM ALSA

    Os drivers que voce instalou sao emulados nos OSS, entao utilize-os normalmente.

  17. #17
    Fabinho
    Visitante

    Padrão 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">

  18. #18
    Fabinho
    Visitante

    Padrão SOM ALSA

    <IMG SRC="images/forum/icons/icon_cool.gif">

  19. #19
    Fabinho
    Visitante

    Padrão 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">

  20. #20
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão SOM ALSA

    Voce criou o arquivo: ~/.asoundrc

    ?