Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

hdmi audio on amd64 current works!



I was just working on debugging a crash on
  NetBSD 8.99.3 (GENERIC) #0: Wed Oct  4 19:18:51 EDT 2017
when I noticed the cvs changes to audio this morning so rebuilt an
HDMI audio kernel (plus GENERIC) :

NetBSD 8.99.7 (GENERIC) #3: Thu Nov 16 11:02:17 EST 2017

total memory = 4079 MB
avail memory = 3938 MB
timecounter: Timecounters tick every 10.000 msec
Kernelized RAIDframe activated
running cgd selftest aes-xts-256 aes-xts-512 done
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Gigabyte Technology Co., Ltd. H61M-S2-B3 ( )
mainbus0 (root)
ACPI: RSDP 0x00000000000F6EA0 000014 (v00 GBT   )
ACPI: RSDT 0x00000000DF7D3040 00004C (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
ACPI: FACP 0x00000000DF7D3100 000074 (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
ACPI: DSDT 0x00000000DF7D31C0 0049F2 (v01 GBT    GBTUACPI 00001000 MSFT 04000000)
ACPI: FACS 0x00000000DF7D0000 000040
ACPI: MSDM 0x00000000DF7D7D00 000055 (v03 GBT    GBTUACPI 42302E31 GBTU 01010101)
ACPI: HPET 0x00000000DF7D7DC0 000038 (v01 GBT    GBTUACPI 42302E31 GBTU 00000098)
ACPI: MCFG 0x00000000DF7D7E40 00003C (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
ACPI: ASPT 0x00000000DF7D7F00 000034 (v07 GBT    PerfTune 312E3042 UTBG 01010101)
ACPI: SSPT 0x00000000DF7D7F40 002270 (v01 GBT    SsptHead 312E3042 UTBG 01010101)
ACPI: EUDS 0x00000000DF7DA1B0 0000C0 (v01 GBT             00000000      00000000)
ACPI: TAMG 0x00000000DF7DA270 000382 (v01 GBT    GBT   B0 5455312E BG?? 45240101)
ACPI: APIC 0x00000000DF7D7C00 0000BC (v01 GBT    GBTUACPI 42302E31 GBTU 01010101)
ACPI: SSDT 0x00000000DF7DA600 001EC8 (v01 INTEL  PPM RCM  80000001 INTL 20061109)
ACPI: 2 ACPI AML tables successfully acquired and loaded
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
cpu0 at mainbus0 apid 0
cpu0: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
cpu0: package 0, core 0, smt 0
cpu1 at mainbus0 apid 2
cpu1: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
cpu1: package 0, core 1, smt 0
cpu2 at mainbus0 apid 1
cpu2: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
cpu2: package 0, core 0, smt 1
cpu3 at mainbus0 apid 3
cpu3: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz, id 0x206a7
cpu3: package 0, core 1, smt 1
acpi0 at mainbus0: Intel ACPICA 20171110
acpi0: X/RSDT: OemId <GBT   ,GBTUACPI,42302e31>, AslId <GBTU,01010101>
acpi0: MCFG: segment 0, bus 0-63, address 0x00000000f4000000
acpi0: SCI interrupting at int 9
...
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 8086 product 0100 (rev. 0x09)
ppb0 at pci0 dev 1 function 0: vendor 8086 product 0101 (rev. 0x09)
ppb0: PCI Express capability version 2 <Root Port of PCI-E Root Complex> x16 @ 5.0GT/s
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
radeon0 at pci1 dev 0 function 0: vendor 1002 product 6779 (rev. 0x00)
hdaudio0 at pci1 dev 0 function 1: HD Audio Controller
hdaudio0: interrupting at msi0 vec 0
hdafg0 at hdaudio0: vendor 1002 product aa01
hdafg0: HDMI00 2ch: Digital Out [Jack]
hdafg0: 2ch/0ch 32000Hz 44100Hz 48000Hz PCM16 AC3
vendor 8086 product 1c3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0: vendor 8086 product 1c2d (rev. 0x05)
ehci0: interrupting at ioapic0 pin 18
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
hdaudio1 at pci0 dev 27 function 0: HD Audio Controller
hdaudio1: interrupting at msi1 vec 0
hdafg1 at hdaudio1: vendor 1106 product 0397
hdafg1: DAC00 2ch: Speaker [Jack], HP Out [Jack]
hdafg1: ADC01 2ch: Line In [Jack], Mic In [Jack]
hdafg1: 2ch/2ch 48000Hz PCM16*
audio0 at hdafg1: full duplex, playback, capture, mmap, independent
hdafg1: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
hdafg1: Latency: 128 milliseconds
spkr1 at audio0: PC Speaker (synthesized)
wsbell at spkr1 not configured
...

And whereas 'audiocfg list' would cause a kernel crash before and
attempting to open the audio device would lock the machine up hard,
the new changes to audio now work!!

$ audiocfg list
0: [*] audio0 @ hdafg0: ATI Technolog R6xx HDMI, 2 playback channels
1: [ ] audio1 @ hdafg1: VIA TeCHnolog VT1708S, 2 playback channels

Actually, I haven't tried using the old audio device (audio 1:
non-hdmi audio) yet.  Figured I'd get this messaage out before I
tried :^)

Thanks very much!!!



Home | Main Index | Thread Index | Old Index