Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RESOLVIDO] Placa de som - problema na instalação
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Portuguese
View previous topic :: View next topic  
Author Message
gustaff
n00b
n00b


Joined: 18 Feb 2006
Posts: 9
Location: Belo Horizonte, MG

PostPosted: Sat Feb 18, 2006 2:13 pm    Post subject: [RESOLVIDO] Placa de som - problema na instalação Reply with quote

Olá! Estou tendo problemas para instalar a seguinte placa de som:
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
Andei pesquisando no fórum... e ninguém teve um poblema parecido com o meu.
Quando rodo o alsaconf, minha placa é reconhecida, mas seu módulo não...
Aparentemente o alsaconf tenta carregar o modulo snd-xxx que não existe, ao invés de carregar o módulo snd-via82xx que é o módulo correto para minha placa.
Já tentei várias maneiras, compilando como módulos, diretamente ao kernel, usando genkernel e alsadriver, mas nada deu resultado!

Em qualquer outra distro que eu uso, o som funciona normalmente...

Alguém poderia me dar uma ajuda com isso???
Obrigado!


Last edited by gustaff on Mon Feb 20, 2006 2:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
errado
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2005
Posts: 92

PostPosted: Sat Feb 18, 2006 2:24 pm    Post subject: Reply with quote

Caso esteja usando o alsa e seus componentes como módulos, coloque o seguinte no arquivo /etc/modules.d/alsa:
Code:
alias char-major-116 snd
alias char-major-14 soundcore

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

alias snd-card-0 snd-via82xx
alias sound-slot-0 snd-slot-0

alias /dev/dsp snd-pcm-oss

options snd cards_limit=1

E inicie o alsa (/etc/init.d/alsasound start)

Isso deve resolver.

[]'z
Back to top
View user's profile Send private message
gustaff
n00b
n00b


Joined: 18 Feb 2006
Posts: 9
Location: Belo Horizonte, MG

PostPosted: Sat Feb 18, 2006 2:44 pm    Post subject: Reply with quote

depois de editado o arquivo /etc/modules.d/alsa
executei:

localhost linux # /etc/init.d/alsasound restart
* Storing ALSA Mixer Levels ...
[ ok ]
* Unloading ALSA ...
[ ok ]
* Unloading ALSA modules ...
[ ok ]
* Loading ALSA modules ...
* Loading: snd-card-0 ...
FATAL: Module snd_*** not found.
[ !! ]
* Loading: snd-pcm-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.15.1/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.15.1/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.15.1/kernel/sound/core/oss/snd-mixer-oss.ko): Invalid module format
WARNING: Error inserting snd_page_alloc (/lib/modules/2.6.15.1/kernel/sound/core/snd-page-alloc.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.15.1/kernel/sound/core/snd-timer.ko): Invalid module format
WARNING: Error inserting snd_pcm (/lib/modules/2.6.15.1/kernel/sound/core/snd-pcm.ko): Invalid module format
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.15.1/kernel/sound/core/oss/snd-pcm-oss.ko): Invalid module format
[ !! ]
* Loading: snd-mixer-oss ...
WARNING: Error inserting soundcore (/lib/modules/2.6.15.1/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.15.1/kernel/sound/core/snd.ko): Invalid module format
FATAL: Error inserting snd_mixer_oss (/lib/modules/2.6.15.1/kernel/sound/core/oss/snd-mixer-oss.ko): Invalid module format
[ !! ]
* Loading: snd-seq ...
WARNING: Error inserting soundcore (/lib/modules/2.6.15.1/kernel/sound/soundcore.ko): Invalid module format
WARNING: Error inserting snd (/lib/modules/2.6.15.1/kernel/sound/core/snd.ko): Invalid module format
WARNING: Error inserting snd_seq_device (/lib/modules/2.6.15.1/kernel/sound/core/seq/snd-seq-device.ko): Invalid module format
WARNING: Error inserting snd_timer (/lib/modules/2.6.15.1/kernel/sound/core/snd-timer.ko): Invalid module format
FATAL: Error inserting snd_seq (/lib/modules/2.6.15.1/kernel/sound/core/seq/snd-seq.ko): Invalid module format
[ ok ]
* Restoring Mixer Levels ...
[ ok ]
localhost linux #
Back to top
View user's profile Send private message
errado
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2005
Posts: 92

PostPosted: Sat Feb 18, 2006 2:51 pm    Post subject: Reply with quote

Como está o seu alsa: com módulos pelo Kernel ou pelo pacote alsa-driver?

Tive o mesmo problema ao utilizar os pacotes separados no kernel 2.6.15-r1.

cat /usr/src/linux/.config|grep -i snd|grep -v "#" wrote:
CONFIG_SND=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_RTCTIMER=m
CONFIG_SND_SEQ_RTCTIMER_DEFAULT=y
CONFIG_SND_GENERIC_DRIVER=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m


Poste também a saída no `dmesg` ao tentar inicializar os módulos.
Back to top
View user's profile Send private message
gustaff
n00b
n00b


Joined: 18 Feb 2006
Posts: 9
Location: Belo Horizonte, MG

PostPosted: Sat Feb 18, 2006 3:01 pm    Post subject: Reply with quote

localhost ~ # cat /usr/src/linux/.config|grep -i snd|grep -v "#"
CONFIG_SND=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_MPU401_UART=m
CONFIG_SND_VIA82XX=m

Meu alsa agora esta como módulos no kernel, configurei conforme o alsa guide do gentoo.

Não entendi bem o que postar.... a saida do dmesg???
Back to top
View user's profile Send private message
errado
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2005
Posts: 92

PostPosted: Sat Feb 18, 2006 3:09 pm    Post subject: Reply with quote

Code:
$ dmesg


E cole aqui a parte referente ao som. Podes colar tudo se estiver em dúvida do que pegar, mas ficará enorme :P

Desculpe-me, estou de saída agora (terminar de resolver a mudança), mais à noite eu volto e, caso ainda não tenha resolvido, tento lhe ajudar novamente. Boa sorte! ;)
Back to top
View user's profile Send private message
gustaff
n00b
n00b


Joined: 18 Feb 2006
Posts: 9
Location: Belo Horizonte, MG

PostPosted: Sat Feb 18, 2006 3:12 pm    Post subject: Reply with quote

ok!!!
boa mudança!

Depois a gente se fala!!!

Muito obrigado pela ajuda!!!
Back to top
View user's profile Send private message
gustaff
n00b
n00b


Joined: 18 Feb 2006
Posts: 9
Location: Belo Horizonte, MG

PostPosted: Sat Feb 18, 2006 3:17 pm    Post subject: Reply with quote

dmesg
(parte que eu [u]achei[/u] que era pertinente) hehe

soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq_device: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_rawmidi: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mpu401_uart: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_page_alloc: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_ac97_bus: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_ac97_codec: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
gameport: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_via82xx: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq_device: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_rawmidi: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mpu401_uart: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_page_alloc: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_ac97_bus: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_ac97_codec: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
gameport: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_via82xx: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
mii: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
via_rhine: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
mii: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
via_rhine: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
ehci_hcd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
ohci_hcd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
uhci_hcd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
eth0: no IPv6 routers present
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_page_alloc: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq_device: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_page_alloc: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq_device: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_page_alloc: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq_device: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_page_alloc: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_pcm_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_mixer_oss: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
soundcore: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq_device: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_timer: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
snd_seq: version magic '2.6.15.1 gcc-3.4' should be '2.6.15.1 SMP gcc-3.4'
Back to top
View user's profile Send private message
tasca
n00b
n00b


Joined: 12 Feb 2006
Posts: 34
Location: Braço do Norte/SC - Brasil

PostPosted: Sat Feb 18, 2006 4:49 pm    Post subject: Reply with quote

Gustaff, minha praca é iguar a sua, no início tive probl tb, depois segui a risca http://www.gentoo.org/doc/pt_br/alsa-guide.xml e boommm.
pra compilar o kernel uso e coloco como modulo apenas a viaxxxxxxxxx AC97 Controler e pronto

genkernel --menuconfig --gensplash --gensplash=livecd-2005.1 all

leia o how to com bastante atenção q garanto q func.
Back to top
View user's profile Send private message
errado
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2005
Posts: 92

PostPosted: Sun Feb 19, 2006 12:59 am    Post subject: Reply with quote

Foi exatamente esse problema que tive. (Se você reparar na saída do dmesg, vai ver que seu dispositivo USB também não está funcionando)

Mostre-me o resultado de:
Code:
gcc-config -l


Eu não sei exatamente como resolví pois dei um rebuild em várias coisas. Fiz o seguinte:

# emerge sync
# gcc-config N (onde N é o número da versão de gcc listada no comando acima)
# source /etc/profile
# emerge -C alsa-driver alsa-headers alsa-utils
# cd /usr/src/linux
# cp .config /boot/config
# make mrpropper
# cp /boot/config .config
* Recompilei o kernel e instalei os módulos ( make && make modules_install OU genkernel )
# emerge alsa-headers alsa-utils

O problema está em algum desses procedimentos hehehe
Estranho, eu achava que isso tinha sido causado por eu ter compilado alguma coisa com um gcc diferente, mas agora não sei mais -- é o mais lógico... sei lá! =P~

Boa sorte! []'z
Back to top
View user's profile Send private message
gustaff
n00b
n00b


Joined: 18 Feb 2006
Posts: 9
Location: Belo Horizonte, MG

PostPosted: Mon Feb 20, 2006 2:06 pm    Post subject: Reply with quote

Fala galera!!!
Não postei nos ultimos dias pois formatei meu hd e fiz uma nova instalção...
O som agora esta funcionando que é uma beleza!!! :D
Vou descrever minha nova situação, pois não sei o que fiz realmente para fazer o som funcionar.

Antes eu tinha instalado a versão 2005.1 amd 64 e usei os pacotes pré compilados...
De qualquer maneira, depois de instalar eu fiz um rsync e atualisei toda a parte do alsa...

Ontem baixei a imagem "minimal install" também 2005.1 amd64 e fiz uma instalação sem pacotes pré compilados.

A unica diferença entre minhas duas instações alêm da pré compilação é que na nova, (sem pré compilação) eu adicionei alsa na minha variavel use.
Após a nova instalação, a única coisa que fiz foi editar o arquivo /etc/modules-d/alsa descomentando a linha:
alias snd-card-0 snd-via82xx
e também editando o módulo para o correto da minha placa...
então dei um modprobe snd-via82xx que agora ja adicionei no meu /etc/modules.autoload.d/kernel-2.6
e foi so rodar /etc/init.d/alsasound start
eeee.... PRONTO!

bom, mas todo este processo eu ja tinha feito na instalçao antiga e nada!!!
será que ter adicionado alsa na minha variavel USE no processo de instalação fez toda a diferença???
Ou será que pode existir algum outro fator???
Por que o alsaconf não conseguiu configurar minha placa como acontece em qualquer outra distro???

Muito obrigado pela ajuda e pela paciência!!!
Um abraço!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portuguese All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum