Re: Re: [FUG-BR] Compilação do kernel

PyTh3r pyth3r em gmail.com
Ter Ago 30 20:08:40 BRT 2005


tenta outra musica ou outro progama pra reproduzila

Em 30/08/05, Mario Sergio Candian<mscandian em freebsdbrasil.com.br> escreveu:
> 
> PyTh3r,
> 
> tentei desta forma tambem e mesmo assim nao funcionou. Nem carregando o
> modulo na mao, nem via kernel. Nada funcionou. A musica toca por alguns
> segundos e comeca a "xiadeira" depois. :/
> 
> Atenciosamente,
> Mario Sergio Candian
> FreeBSD Brasil LTDA.
> -
> "Dreams as if you'll live forever. Live as if you'll die today" -- James Dean
> 
> On Tue, 30 Aug 2005, PyTh3r wrote:
> 
> > funciona traquilamente , faça isso:
> > vi /boot/defaults/loader.conf
> > e descomente mude de NO para YES a seguinte linha
> > snd_via8233_load="NO"
> > para
> >
> > snd_via8233_load="YES"
> >
> > Em 30/08/05, Mario Sergio Candian<mscandian em freebsdbrasil.com.br> escreveu:
> >>
> >> Boa tarde Pyth3r,
> >>
> >> sobre esta sua placa de som, voce conseguiu fazer ela funcionar sem
> >> problemas no seu FreeBSD? Estou com uma placa como esta e aqui assim que
> >> comeca a tocar uma musica (uns 10 segundos depois) ela para e comeca a
> >> fazer "xiados". Ja tentei adicionando um patch no
> >> /usr/src/sys/dev/sound/pcm/ e mesmo assim nao fluiu.
> >>
> >> root em cyberdine~% cat /dev/sndstat
> >> FreeBSD Audio Driver (newpcm)
> >> Installed devices:
> >> pcm0: <VIA VT8235> at io 0xe000 irq 3 kld snd_via8233 (5p/1r/0v channels
> >> duplex default)
> >>
> >> saida do pciconf -l:
> >>
> >> pcm0 em pci0:17:5: class=0x040100 card=0x16171849 chip=0x30591106 rev=0x50
> >> hdr=0x00
> >>
> >> root em cyberdine~% sysctl hw.snd.verbose=3
> >> hw.snd.verbose: 1 -> 3
> >> root em cyberdine~% cat /dev/sndstat
> >> FreeBSD Audio Driver (newpcm)
> >> Installed devices:
> >> pcm0: <VIA VT8235> at io 0xe000 irq 3 kld snd_via8233 (5p/1r/0v channels
> >> duplex default)
> >>          [pcm0:play:0]: spd 22050/48000, fmt 0x10000010, flags 0x00000000,
> >> 0x00000010
> >>          interrupts 0, underruns 0, ready 0
> >>          {userland} -> feeder_root(0x10000010) -> feeder_rate(22050 -> 48000) ->
> >> {hardware}
> >>          [pcm0:play:1]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000,
> >> 0x00000000
> >>          interrupts 0, underruns 0, ready 0
> >>          {userland} -> feeder_root(0x00000000) -> {hardware}
> >>          [pcm0:play:2]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000,
> >> 0x00000000
> >>          interrupts 0, underruns 0, ready 0
> >>          {userland} -> feeder_root(0x00000000) -> {hardware}
> >>          [pcm0:play:3]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000,
> >> 0x00000000
> >>          interrupts 0, underruns 0, ready 0
> >>          {userland} -> feeder_root(0x00000000) -> {hardware}
> >>          [pcm0:play:4]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000,
> >> 0x00000000
> >>          interrupts 0, underruns 0, ready 0
> >>          {userland} -> feeder_root(0x00000000) -> {hardware}
> >>          [pcm0:record:0]: spd 22050, fmt 0x10000010, flags 0x00000000, 0x00000000
> >>
> >>          interrupts 0, overruns 0, hfree 4096, sfree 131072
> >>          {hardware} -> feeder_root(0x10000010) -> {userland}
> >>
> >> Nao ha nenhum conflito de IRQ como pode ser visto abaixo:
> >>
> >> root em cyberdine~% dmesg | grep irq
> >> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xdc00-0xdcff mem
> >> 0xdffffe00-0xdffffeff irq 11 at device 18.0 on pci0
> >> fdc0: <floppy drive controller> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6
> >> drq 2 on acpi0
> >> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> >> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> >> psm0: <PS/2 Mouse> irq 12 on atkbdc0 stray irq7
> >> pcm0: <VIA VT8235> port 0xe000-0xe0ff irq 3 at device 17.5 on pci0
> >>
> >> O conteudo do patch que eu apliquei foi este:
> >>
> >> root em cyberdine/usr/src/sys/dev/sound/pcm% cat ac97.c.patch
> >> --- ac97.c.orig Fri Jul  1 15:52:47 2005
> >> +++ ac97.c      Fri Jul  1 15:52:51 2005
> >> @@ -201,6 +201,7 @@
> >>          { 0x54524e03, 0x07, 0, "TLV320AIC27",   0 },
> >>          { 0x54584e20, 0x00, 0, "TLC320AD90",    0 },
> >>          { 0x56494161, 0x00, 0, "VIA1612A",      0 },
> >> +       { 0x56494170, 0x00, 0, "AD1888",        ad198x_patch },
> >>          { 0x574d4c00, 0x00, 0, "WM9701A",       0 },
> >>          { 0x574d4c03, 0x00, 0, "WM9703/4/7/8",  0 },
> >>          { 0x574d4c04, 0x00, 0, "WM9704Q",       0 },
> >>
> >> Estou usando FreeBSD 5.4-STABLE.
> >>
> >> Qualquer dica eh bem-vinda! :)
> >>
> >> Atenciosamente,
> >> Mario Sergio Candian
> >> FreeBSD Brasil LTDA.
> >> -
> >> "Dreams as if you'll live forever. Live as if you'll die today" -- James Dean
> >>
> >> On Tue, 30 Aug 2005, PyTh3r wrote:
> >>
> >>> como adiciono esses moduloes ao meu kernel:
> >>> placa de som: snd_via8233.ko   ( estou carregando ele manualmente com
> >>> kldload /boot/kernel/snd_via8233.ko)
> >>>
> >>> placa de video: agp sis 305 ( que o modulo carrega por si só sis.ko )
> >>>
> >>> _______________________________________________
> >>> Freebsd mailing list
> >>> Freebsd em fug.com.br
> >>> http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
> >>>
> >>>
> >>>
> >>
> >> _______________________________________________
> >> Freebsd mailing list
> >> Freebsd em fug.com.br
> >> http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
> >>
> >>
> >>
> >
> > _______________________________________________
> > Freebsd mailing list
> > Freebsd em fug.com.br
> > http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
> >
> >
> >
> 
> _______________________________________________
> Freebsd mailing list
> Freebsd em fug.com.br
> http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
> 
> 
>

_______________________________________________
Freebsd mailing list
Freebsd em fug.com.br
http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br




Mais detalhes sobre a lista de discussão freebsd