It did not work. The bsd.mp from the current snapshot (today) did
not work also :(

--Jairo Souto (38)8816-1254

On Sun, Aug 07, 2011 at 09:59:29AM -0700, Chris Cappuccio wrote:
> jakemsr sent this which fixed the problem on "6SERIES" and is documented on 
> datasheets of these other chipsets as well:
> 
> Index: azalia.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/azalia.c,v
> retrieving revision 1.198
> diff -u -r1.198 azalia.c
> --- azalia.c    3 Jul 2011 15:47:16 -0000       1.198
> +++ azalia.c    7 Aug 2011 16:46:21 -0000
> @@ -448,6 +448,17 @@
>               }
>  
>               break;
> +
> +     case PCI_PRODUCT_INTEL_6SERIES_HDA:
> +     case PCI_PRODUCT_INTEL_3400_HDA:
> +     case PCI_PRODUCT_INTEL_QS57_HDA:
> +             reg = azalia_pci_read(az->pc, az->tag, 0x79);
> +             azalia_pci_write(az->pc, az->tag, 0x79, reg & ~0x08);
> +             reg = azalia_pci_read(az->pc, az->tag, 0x79);
> +             if (reg & 0x08)
> +                     printf(": could not enable PCIe cache snooping\n");
> +             break;
> +
>       }
>  }
>  
> 
> 
> Jairo Souto [jairo.so...@holdinggem.com.br] wrote:
> > I can get only noise from the audio of the Acer Aspire 5820T-6825 azalia.
> > 
> > The kernel is OpenBSD uranio.dlg 4.9 GENERIC.MP#2 amd64
> > only modified for the alc0 driver to operate. As I have a
> > compatible wireless usb there is no problem with the Broadcom not
> > configured. But the sound is required and I can not get it to
> > run.
> > 
> > Do you have any help?
> > 
> > dmesg, audio -a, mixerctl -av follow
> > 
> > dmesg:
> > -----
> > OpenBSD 4.9 (GENERIC.MP) #2: Sun Jul 17 09:40:29 BRT 2011
> >     jso...@uranio.dlg:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > RTC BIOS diagnostic error 80<clock_battery>
> > real mem = 3008843776 (2869MB)
> > avail mem = 2914725888 (2779MB)
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe9460 (51 entries)
> > bios0: vendor INSYDE version "V1.23" date 12/21/2010
> > bios0: Acer Aspire 5820T
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP ASF! HPET APIC MCFG SLIC BOOT ASPT WDAT SSDT
> > acpi0: wakeup devices EHC1(S3) EHC2(S3) PXSX(S4) RP01(S4) PXSX(S4) PXSX(S4) 
> > PXSX(S4) PXSX(S4) PXSX(S4) PXSX(S4)
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpihpet0 at acpi0: 14318179 Hz
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz, 2660.88 MHz
> > cpu0: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
> > cpu0: 256KB 64b/line 8-way L2 cache
> > cpu0: apic clock running at 133MHz
> > cpu1 at mainbus0: apid 1 (application processor)
> > cpu1: Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz, 2660.46 MHz
> > cpu1: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
> > cpu1: 256KB 64b/line 8-way L2 cache
> > cpu2 at mainbus0: apid 4 (application processor)
> > cpu2: Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz, 2660.46 MHz
> > cpu2: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
> > cpu2: 256KB 64b/line 8-way L2 cache
> > cpu3 at mainbus0: apid 5 (application processor)
> > cpu3: Intel(R) Core(TM) i5 CPU M 480 @ 2.67GHz, 2660.46 MHz
> > cpu3: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG
> > cpu3: 256KB 64b/line 8-way L2 cache
> > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> > ioapic0: misconfigured as apic 0, remapped to apid 2
> > acpimcfg0 at acpi0 addr 0xf0000000, bus 0-127
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus -1 (P0P2)
> > acpiprt2 at acpi0: bus 3 (P0P1)
> > acpiprt3 at acpi0: bus 1 (RP01)
> > acpiprt4 at acpi0: bus -1 (RP02)
> > acpiprt5 at acpi0: bus -1 (RP03)
> > acpiprt6 at acpi0: bus -1 (RP04)
> > acpiprt7 at acpi0: bus -1 (RP05)
> > acpiprt8 at acpi0: bus -1 (RP07)
> > acpiprt9 at acpi0: bus -1 (RP08)
> > acpiprt10 at acpi0: bus -1 (PEG3)
> > acpiprt11 at acpi0: bus -1 (PEG5)
> > acpiec0 at acpi0
> > acpicpu0 at acpi0: C3, C1, PSS
> > acpicpu1 at acpi0: C3, C1, PSS
> > acpicpu2 at acpi0: C3, C1, PSS
> > acpicpu3 at acpi0: C3, C1, PSS
> > acpitz0 at acpi0: critical temperature 105 degC
> > acpibat0 at acpi0: BAT1 model "AS10B3E" serial 7F5A type LION oem "SANYO"
> > acpiac0 at acpi0: AC unit online
> > acpibtn0 at acpi0: PWRB
> > acpibtn1 at acpi0: LID0
> > acpibtn2 at acpi0: SLPB
> > acpivideo0 at acpi0: GFX0
> > acpivout0 at acpivideo0: LCD_
> > acpivideo1 at acpi0: VGA_
> > cpu0: Enhanced SpeedStep 2660 MHz: speeds: 2667, 2666, 2533, 2399, 2266, 
> > 2133, 1999, 1866, 1733, 1599, 1466, 1333, 1199 MHz
> > pci0 at mainbus0 bus 0
> > pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x18
> > vga1 at pci0 dev 2 function 0 "Intel Mobile HD graphics" rev 0x18
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > intagp0 at vga1
> > agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
> > inteldrm0 at vga1: apic 2 int 16 (irq 7)
> > drm0 at inteldrm0
> > "Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
> > ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 2 int 16 
> > (irq 7)
> > usb0 at ehci0: USB revision 2.0
> > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x05: apic 2 
> > int 22 (irq 11)
> > azalia0: codecs: Realtek ALC269, Intel/0x2804, using Realtek ALC269
> > audio0 at azalia0
> > ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 2 int 17 
> > (irq 255)
> > pci1 at ppb0 bus 1
> > alc0 at pci1 dev 0 function 0 "Attansic Technology L1D" rev 0xc0: apic 2 
> > int 16 (irq 7), address 60:eb:69:d8:e3:e3
> > atphy0 at alc0 phy 0: F1 10/100/1000 PHY, rev. 15
> > ppb1 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x05: apic 2 int 16 
> > (irq 255)
> > pci2 at ppb1 bus 2
> > "Broadcom BCM43225" rev 0x01 at pci2 dev 0 function 0 not configured
> > ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 2 int 23 
> > (irq 11)
> > usb1 at ehci1: USB revision 2.0
> > uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa5
> > pci3 at ppb2 bus 3
> > pcib0 at pci0 dev 31 function 0 "Intel HM55 LPC" rev 0x05
> > ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x05: apic 2 int 19 
> > (irq 10), AHCI 1.3
> > scsibus0 at ahci0: 32 targets
> > sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD5000BEVT-2, 01.0> SCSI3 0/direct 
> > fixed
> > sd0: 476940MB, 512 bytes/sec, 976773168 sec total
> > cd0 at scsibus0 targ 1 lun 0: <MATSHITA, DVD-RAM UJ892AS, 1.00> ATAPI 
> > 5/cdrom removable
> > ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x05: apic 2 int 
> > 19 (irq 10)
> > iic0 at ichiic0
> > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> > spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
> > itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x05
> > isa0 at pcib0
> > isadma0 at isa0
> > pckbc0 at isa0 port 0x60/5
> > pckbd0 at pckbc0 (kbd slot)
> > pckbc0: using irq 1 for kbd slot
> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > pms0 at pckbc0 (aux slot)
> > pckbc0: using irq 12 for aux slot
> > wsmouse0 at pms0 mux 0
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > mtrr: Pentium Pro MTRR support
> > uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > uvideo0 at uhub2 port 1 configuration 1 interface 0 "Suyin 1.3M WebCam" rev 
> > 2.00/2.15 addr 3
> > video0 at uvideo0
> > uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
> > uhidev0 at uhub3 port 2 configuration 1 interface 0 "vendor 0x15d9 USB 
> > OPTICAL MOUSE" rev 1.10/1.00 addr 3
> > uhidev0: iclass 3/1
> > ums0 at uhidev0: 3 buttons, Z dir
> > wsmouse1 at ums0 mux 0
> > vscsi0 at root
> > scsibus1 at vscsi0: 256 targets
> > softraid0 at root
> > root on sd0a swap on sd0b dump on sd0b
> > 
> > 
> > audio -a:
> > --------
> > name=HD-Audio
> > version=1.0
> > config=azalia0
> > encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1
> > properties=full_duplex,independent
> > full_duplex=0
> > fullduplex=0
> > blocksize=9600
> > hiwat=6
> > lowat=4
> > output_muted=0
> > monitor_gain=0
> > mode=
> > play.rate=48000
> > play.sample_rate=48000
> > play.channels=2
> > play.precision=16
> > play.bps=2
> > play.msb=1
> > play.encoding=slinear_le
> > play.gain=126
> > play.balance=32
> > play.port=0x0
> > play.avail_ports=0x0
> > play.seek=0
> > play.samples=0
> > play.eof=0
> > play.pause=0
> > play.error=0
> > play.waiting=0
> > play.open=0
> > play.active=0
> > play.buffer_size=65536
> > play.block_size=9600
> > play.errors=0
> > record.rate=48000
> > record.sample_rate=48000
> > record.channels=2
> > record.precision=16
> > record.bps=2
> > record.msb=1
> > record.encoding=slinear_le
> > record.gain=120
> > record.balance=32
> > record.port=0x0
> > record.avail_ports=0x0
> > record.seek=0
> > record.samples=0
> > record.eof=0
> > record.pause=0
> > record.error=0
> > record.waiting=0
> > record.open=0
> > record.active=0
> > record.buffer_size=65536
> > record.block_size=9600
> > record.errors=0
> > 
> > 
> > mixerctl -av:
> > ------------
> > inputs.dac-0:1=126,126 
> > inputs.dac-2:3=126,126 
> > record.adc-2:3_mute=off  [ off on ]
> > record.adc-2:3=120,120 
> > record.adc-0:1_mute=off  [ off on ]
> > record.adc-0:1=120,120 
> > inputs.mix_source=mic2  { mic2 }
> > inputs.mix_mic2=120,120 
> > inputs.mix2_source=dac-0:1,mix  { dac-0:1 mix }
> > inputs.mix3_source=dac-2:3,mix  { dac-2:3 mix }
> > inputs.mic=85,85 
> > outputs.spkr_source=mix3  [ mix2 mix3 ]
> > outputs.spkr_mute=on  [ off on ]
> > outputs.spkr_eapd=on  [ off on ]
> > outputs.mic2_source=mix3  [ mix3 ]
> > outputs.mic2_mute=off  [ off on ]
> > inputs.mic2=85,85 
> > outputs.mic2_dir=input-vr80  [ none output input input-vr0 input-vr50 
> > input-vr80 ]
> > outputs.SPDIF_source=dig-dac-0:1  [ dig-dac-0:1 ]
> > outputs.hp_source=mix2  [ mix2 mix3 ]
> > outputs.hp_mute=off  [ off on ]
> > outputs.hp_boost=off  [ off on ]
> > record.adc-0:1_source=mic  [ mic2 mix mic ]
> > record.adc-2:3_source=mic2,mix  { mic2 mix }
> > outputs.mic2_sense=plugged  [ unplugged plugged ]
> > outputs.hp_sense=plugged  [ unplugged plugged ]
> > outputs.spkr_muters=mic2,hp  { mic2 hp }
> > outputs.master=126,126 
> > outputs.master.mute=off  [ off on ]
> > outputs.master.slaves=dac-0:1,dac-2:3,spkr,hp  { dac-0:1 dac-2:3 spkr mic2 
> > hp }
> > record.volume=120,120 
> > record.volume.mute=off  [ off on ]
> > record.volume.slaves=adc-2:3,adc-0:1  { adc-2:3 adc-0:1 mic mic2 }
> > outputs.mode=analog  [ analog digital ]
> > 
> > 
> > vmstat -i:
> > ---------
> > interrupt                       total     rate
> > irq0/clock                     130406      401
> > irq0/ipi                        34961      107
> > irq144/acpi0                        4        0
> > irq146/inteldrm0                  438        1
> > irq146/ehci0                       46        0
> > irq146/alc0                       221        0
> > irq96/ehci1                      1352        4
> > irq97/ahci0                      4654       14
> > irq147/pckbc0                    1013        3
> > irq148/pckbc0                     137        0
> > Total                          173232      533
> > 
> > --Jairo Souto (38)8816-1254
> 
> -- 
> the preceding comment is my own and in no way reflects the opinion of the 
> Joint Chiefs of Staff

Reply via email to