Hi everyone,
[vladas wrote]
1. get -current src
done.
2. in a
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pci/azalia.h?rev=1.9&content-type=text/x-cvsweb-markup
enable the define in
/* #define AZALIA_DEBUG */
done
3. recompile kernel and send all the dmesg, aumix,
mixerctl (maybe even stuff like pciweak -l) output to list
done :)
Here's the new dmesg:
"""
OpenBSD 4.1 (GENERIC) #3: Sat Mar 10 20:17:19 CET 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Genuine Intel(R) CPU T2500 @ 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR
real mem = 1063415808 (1038492K)
avail mem = 962895872 (940328K)
using 4278 buffers containing 53293056 bytes (52044K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 07/21/06, BIOS32 rev. 0 @
0xfd580, SMBIOS rev. 2.4 @ 0xdc010 (29 entries)
bios0: FUJITSU SIEMENS Amilo Si 1520
pcibios0 at bios0: rev 2.1 @ 0xfd580/0xa80
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdee0/256 (14 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #7 is the last bus
bios0: ROM list: 0xc0000/0xe600! 0xdc000/0x4000!
acpi at mainbus0 not configured
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130c2c06000613
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 2000, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture
at 0xdc100000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia_attach: resetting
azalia_attach: reset counter = 4999
azalia_attach: reset counter = 4986
azalia0: found a codec at #0
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: information of codec[0] follows:
azalia_codec_init_vtbl: vid=14f15045 subid=10ad1734
azalia0: codec: 0x04x/0x14f1 (rev. 1.0), HDA version 1.0
azalia_codec_init: nidstart=1 #functions=2
azalia_codec_init: FTYPE result = 0x00000001
azalia_codec_init: There are 12 widgets in the audio function.
encodings=1<PCM>
PCM formats=e0140<24bit,20bit,16bit,96kHz,48kHz>
inamp: mute=0 size=0 steps=0 offset=0
outamp: mute=0 size=0 steps=0 offset=0
azalia0: unknown10 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
pin config; device=speaker color=unknown assoc=1 seq=0
cap=10014<EAPD,OUTPUT,PRESENCE>
connections=0x19,0x17; selected=0x19
outamp: mute=1 size=5 steps=43 offset=43
azalia0: green11 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
pin config; device=headphones color=green assoc=2 seq=0
cap=113c<INPUT,OUTPUT,HEADPHONE,PRESENCE>
connections=0x19,0x17; selected=0x19
outamp: mute=1 size=5 steps=43 offset=43
azalia0: blue12 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
pin config; device=line-in color=blue assoc=3 seq=0
cap=113c<INPUT,OUTPUT,HEADPHONE,PRESENCE>
connections=0x19,0x17; selected=0x19
outamp: mute=1 size=5 steps=43 offset=43
azalia0: yellow13 wcap=400301<DIGITAL,CONNLIST,STEREO>
pin config; device=SPDIF-out color=yellow assoc=4 seq=0 cap=10<OUTPUT>
connections=0x18; selected=0x18
azalia0: unknown14 wcap=400081<UNSOL,STEREO>
pin config; device=mic color=unknown assoc=5 seq=0
cap=1124<INPUT,PRESENCE>
azalia0: unknown15 wcap=400001<STEREO>
pin config; device=cd color=unknown assoc=6 seq=0 cap=20<INPUT>
azalia0: beep16 wcap=70000c<AMPOV,OUTAMP>
outamp: mute=1 size=11 steps=7 offset=7
azalia0: mix17 wcap=20050b<POWER,CONNLIST,AMPOV,INAMP,STEREO>
connections=0x19,0x14,0x12,0x11,0x15; selected=0x19
inamp: mute=1 size=5 steps=43 offset=20
azalia0: dac18 wcap=211<DIGITAL,FORMATOV,STEREO>
encodings=5<AC3,PCM>
PCM formats=60040<20bit,16bit,48kHz>
azalia0: dac19 wcap=c11<LRSWAP,POWER,FORMATOV,STEREO>
encodings=1<PCM>
PCM formats=e0540<24bit,20bit,16bit,192kHz,96kHz,48kHz>
azalia0: adc1a wcap=100d0b<LRSWAP,POWER,CONNLIST,AMPOV,INAMP,STEREO>
encodings=1<PCM>
PCM formats=e0140<24bit,20bit,16bit,96kHz,48kHz>
connections=0x17,0x14,0x12,0x11,0x15; selected=0x15
inamp: mute=1 size=5 steps=23 offset=0
azalia0: widget1b wcap=f00000
azalia_generic_codec_find_dac: DAC: nid=0x19 index=25
azalia_generic_codec_find_dac: DAC path: nid=0x10 index=16
azalia_generic_codec_add_dacgroup: assoc=1 seq=0 ==> g=0 n=0
azalia_generic_codec_find_dac: DAC: nid=0x19 index=25
azalia_generic_codec_find_dac: DAC path: nid=0x11 index=17
azalia_generic_codec_add_dacgroup: assoc=2 seq=0 ==> g=1 n=0
azalia_generic_codec_find_dac: DAC: nid=0x19 index=25
azalia_generic_codec_find_dac: DAC path: nid=0x12 index=18
azalia_generic_codec_add_dacgroup: assoc=3 seq=0 ==> g=1 n=0
azalia_generic_codec_find_dac: DAC: nid=0x18 index=24
azalia_generic_codec_find_dac: DAC path: nid=0x13 index=19
azalia_generic_codec_add_dacgroup: assoc=4 seq=0 ==> g=1 n=0
azalia_generic_codec_init_dacgroup: find non-connected DACs
azalia_codec_init: dacgroup[0]: 19
azalia_codec_init: dacgroup[1]: 18
azalia_generic_mixer_init: register classes
azalia_generic_mixer_init: selector unknown10
azalia_generic_mixer_init: selector 0=dac19
azalia_generic_mixer_init: selector 1=mix17
azalia_generic_mixer_init: output mute unknown10
azalia_generic_mixer_init: output gain unknown10
azalia_generic_mixer_init: selector green11
azalia_generic_mixer_init: selector 0=dac19
azalia_generic_mixer_init: selector 1=mix17
azalia_generic_mixer_init: output mute green11
azalia_generic_mixer_init: output gain green11
azalia_generic_mixer_init: pin dir green11
azalia_generic_mixer_init: hpboost green11
azalia_generic_mixer_init: selector blue12
azalia_generic_mixer_init: selector 0=dac19
azalia_generic_mixer_init: selector 1=mix17
azalia_generic_mixer_init: output mute blue12
azalia_generic_mixer_init: output gain blue12
azalia_generic_mixer_init: pin dir blue12
azalia_generic_mixer_init: hpboost blue12
azalia_generic_mixer_init: output mute beep16
azalia_generic_mixer_init: output gain beep16
azalia_generic_mixer_init: input mute mix17
azalia_generic_mixer_init: input mute mix17.dac19
azalia_generic_mixer_init: input mute mix17.unknown14
azalia_generic_mixer_init: input mute mix17.blue12
azalia_generic_mixer_init: input mute mix17.green11
azalia_generic_mixer_init: input mute mix17.unknown15
azalia_generic_mixer_init: input gain mix17
azalia_generic_mixer_init: input gain mix17.dac19
azalia_generic_mixer_init: input gain mix17.unknown14
azalia_generic_mixer_init: input gain mix17.blue12
azalia_generic_mixer_init: input gain mix17.green11
azalia_generic_mixer_init: input gain mix17.unknown15
azalia_generic_mixer_init: selector adc1a
azalia_generic_mixer_init: selector 0=mix17
azalia_generic_mixer_init: selector 1=unknown14
azalia_generic_mixer_init: selector 2=blue12
azalia_generic_mixer_init: selector 3=green11
azalia_generic_mixer_init: selector 4=unknown15
azalia_generic_mixer_init: input mute adc1a
azalia_generic_mixer_init: input gain adc1a
azalia_generic_mixer_init: create inputs.usingdac
azalia_generic_mixer_default: unmute
azalia_generic_mixer_default: process bidirectional pins
azalia_generic_mixer_default: set volume
azalia0: using the #0 codec
audio0 at azalia0
azalia_round_blocksize: resultant block size = 384
azalia_round_blocksize: resultant block size = 384
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
wpi0 at pci1 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
irq 11, address 00:18:de:1a:e4:19
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 3
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
pci3 at ppb2 bus 5
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
ehci0: timed out waiting for BIOS
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 7
fxp0 at pci4 dev 8 function 0 "Intel PRO/100 VM" rev 0x02, i82562: irq
10, address 00:16:36:82:c9:3d
inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0
"Ricoh 5C832 Firewire" rev 0x00 at pci4 dev 9 function 0 not configured
sdhc0 at pci4 dev 9 function 1 "Ricoh 5C822 SD/MMC" rev 0x19: irq 11
sdmmc0 at sdhc0
"Ricoh 5C843" rev 0x01 at pci4 dev 9 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x0a at pci4 dev 9 function 3 not configured
"Ricoh 5C852 xD" rev 0x05 at pci4 dev 9 function 4 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <PHILIPS, DVD+-RW SDVD8820, AJ10> SCSI0
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM AHCI SATA" rev 0x02:
DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <FUJITSU MHV2080BH>
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: irq 10
iic0 at ichiic0
isa0 at ichpcib0
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
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask effd netmask effd ttymask ffff
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
"""
pcitweak says
"""
PCI: PCI scan (all values are in hex)
PCI: 00:00:0: chip 8086,27a0 card 1734,10ad rev 03 class 06,00,00 hdr 00
PCI: 00:02:0: chip 8086,27a2 card 1734,10ad rev 03 class 03,00,00 hdr 80
PCI: 00:02:1: chip 8086,27a6 card 1734,10ad rev 03 class 03,80,00 hdr 80
PCI: 00:1b:0: chip 8086,27d8 card 1734,10ad rev 02 class 04,03,00 hdr 00
PCI: 00:1c:0: chip 8086,27d0 card 0000,0000 rev 02 class 06,04,00 hdr 81
PCI: 00:1c:1: chip 8086,27d2 card 0000,0000 rev 02 class 06,04,00 hdr 81
PCI: 00:1c:2: chip 8086,27d4 card 0000,0000 rev 02 class 06,04,00 hdr 81
PCI: 00:1d:0: chip 8086,27c8 card 1734,10ad rev 02 class 0c,03,00 hdr 80
PCI: 00:1d:1: chip 8086,27c9 card 1734,10ad rev 02 class 0c,03,00 hdr 00
PCI: 00:1d:2: chip 8086,27ca card 1734,10ad rev 02 class 0c,03,00 hdr 00
PCI: 00:1d:3: chip 8086,27cb card 1734,10ad rev 02 class 0c,03,00 hdr 00
PCI: 00:1d:7: chip 8086,27cc card 1734,10ad rev 02 class 0c,03,20 hdr 00
PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev e2 class 06,04,01 hdr 01
PCI: 00:1f:0: chip 8086,27b9 card 1734,10ad rev 02 class 06,01,00 hdr 80
PCI: 00:1f:1: chip 8086,27df card 1734,10ad rev 02 class 01,01,8a hdr 00
PCI: 00:1f:2: chip 8086,27c4 card 1734,10ad rev 02 class 01,01,8f hdr 00
PCI: 00:1f:3: chip 8086,27da card 1734,10ad rev 02 class 0c,05,00 hdr 00
PCI: 01:00:0: chip 8086,4222 card 8086,1001 rev 02 class 02,80,00 hdr 00
PCI: 07:08:0: chip 8086,1092 card 1734,10ad rev 02 class 02,00,00 hdr 00
PCI: 07:09:0: chip 1180,0832 card 1734,10ad rev 00 class 0c,00,10 hdr 80
PCI: 07:09:1: chip 1180,0822 card 1734,10ad rev 19 class 08,05,00 hdr 80
PCI: 07:09:2: chip 1180,0843 card 1734,10ad rev 01 class 08,80,00 hdr 80
PCI: 07:09:3: chip 1180,0592 card 1734,10ad rev 0a class 08,80,00 hdr 80
PCI: 07:09:4: chip 1180,0852 card 1734,10ad rev 05 class 08,80,00 hdr 80
PCI: End of PCI scan
"""
audioctl:
"""
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:16
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=384
hiwat=170
lowat=127
monitor_gain=0
mode=
play.rate=8000
play.channels=1
play.precision=8
play.encoding=mulaw
play.gain=22
play.balance=54
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
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=211
record.balance=43
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.errors=0
"""
and mixerctl
"""
outputs.unknown10.sourc=dac19
outputs.unknown10.mute=off
outputs.unknown10=124,124
outputs.green11.source=dac19
outputs.green11.mute=off
outputs.green11=124,124
outputs.green11.dir=output
outputs.green11.boost=off
outputs.blue12.source=dac19
outputs.blue12.mute=off
outputs.blue12=124,124
outputs.blue12.dir=input
outputs.blue12.boost=off
inputs.beep16.mute=off
inputs.beep16=109
inputs.mix17.dac19.mut=off
inputs.mix17.unknown14=off
inputs.mix17.blue12.mu=off
inputs.mix17.green11.m=off
inputs.mix17.unknown15=off
inputs.mix17.dac19=124,124
inputs.mix17.unknown14=124,124
inputs.mix17.blue12=124,124
inputs.mix17.green11=124,124
inputs.mix17.unknown15=124,124
outputs.adc1a.source=unknown15
record.adc1a.mute=off
record.adc1a=121,121
inputs.usingdac=19
"""
I'm not sure if this is any help, here is the output of lspci on
Ubuntu linux at the same system:
"""
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and
945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile
945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML
Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2
EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family)
Serial ATA Storage Controller AHCI (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
Network Connection (rev 02)
07:08.0 Ethernet controller: Intel Corporation Intel(R) PRO/100 VE
Network Connection (rev 02)
07:09.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
07:09.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host
Adapter (rev 19)
07:09.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
07:09.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 0a)
07:09.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
"""
and parts of dmesg from Ubuntu:
"""
outputs.unknown10.sourc=dac19
outputs.unknown10.mute=off
outputs.unknown10=124,124
outputs.green11.source=dac19
outputs.green11.mute=off
outputs.green11=124,124
outputs.green11.dir=output
outputs.green11.boost=off
outputs.blue12.source=dac19
outputs.blue12.mute=off
outputs.blue12=124,124
outputs.blue12.dir=input
outputs.blue12.boost=off
inputs.beep16.mute=off
inputs.beep16=109
inputs.mix17.dac19.mut=off
inputs.mix17.unknown14=off
inputs.mix17.blue12.mu=off
inputs.mix17.green11.m=off
inputs.mix17.unknown15=off
inputs.mix17.dac19=124,124
inputs.mix17.unknown14=124,124
inputs.mix17.blue12=124,124
inputs.mix17.green11=124,124
inputs.mix17.unknown15=124,124
outputs.adc1a.source=unknown15
record.adc1a.mute=off
record.adc1a=121,121
inputs.usingdac=19
"""
Is this any help for you experts to see what's wrong with azalia at
-current? Do you need any further information from me?
Cheers,
Chris