I have tried the various tests on the audio system from the faqs, and an email search didn't find much on apple hardware and sound but it was discouraging... The changes from 5.7 to the imminent 5.8 do mention changes to the azalia driver but the description didn't appear to relate to my problem, although 5.6 to 5.7 did mention the mac mini and 'quirks'.
My iMac is a version 6,1 from late 2006.
It uses the Intel 82801GB HD Audio chip and the Realtek ALC885 codec.
It uses the azalia audio driver.
I played with mixerctl and audioctl, used 'cdio cdplay' etc, nothing would make a sound! The base setttings for audioctl had the play.rate at 48000 so I changed that to 44100 to test using cdio cdplay. I changed various settings in mixerctl to increase audio from 0 to 255, no sound.
audioctl play.{seek,samples,errors} gave
audioctl: field play.seek does not exist
play.samples=12105600
play.errors=0
and then
audioctl: field play.seek does not exist
play.samples=2011456
play.errors=1136

I tried mixerctl with both outputs.mode=analog and ouputs.mode=digital because the man page for mixerctl did not make it clear to me whether analog output meant digital-to-ANALOG converter and thus sound to the speakers or if it was DIGITAL-to-analog and thus sound to the speakers.
mixerctl
record.adc-0:1_mute=off
record.adc-0:1=125,125
record.adc-2:3_mute=off
record.adc-2:3=125,125
record.adc-4:5_mute=off
record.adc-4:5=125,125
record.dig-adc-0:1_sou=SPDIF-in
inputs.mix_source=beep,hp,line-in
inputs.mix_mic=120,120
inputs.mix_beep=120,120
inputs.mix_hp=120,120
inputs.mix_line-in=120,120
outputs.mix2=192,192
inputs.mix2_source=dac-0:1,mix
outputs.mix3=126,126
inputs.mix3_source=dac-2:3,mix
outputs.mix4=192,192
inputs.mix4_source=dac-4:5,mix
outputs.mix5=126,126
inputs.mix5_source=dac-6:7,mix
outputs.hp_source=mix2
outputs.hp_mute=off
inputs.hp=85,85
outputs.hp_dir=output
outputs.hp_boost=off
outputs.line-in_source=mix3
outputs.line-in_mute=off
inputs.line-in=85,85
outputs.line-in_dir=input
outputs.line-in_boost=off
outputs.spkr_source=mix4
outputs.spkr_mute=off
outputs.spkr_dir=output
outputs.spkr_boost=off
inputs.mic=85,85
outputs.mic_dir=input-vr80
outputs.spkr2_source=mix4
outputs.spkr2_mute=off
outputs.spkr2_dir=output
outputs.spkr2_boost=off
outputs.SPDIF_source=dig-dac-0:1
record.adc-4:5_source=mic,beep,hp,line-in,mix
record.adc-2:3_source=mic,beep,hp,line-in,mix
record.adc-0:1_source=mic,beep,hp,line-in,mix
outputs.mix9=126,126
inputs.mix9_source=dac-8:9,mix
outputs.hp_sense=unplugged
outputs.line-in_sense=plugged
outputs.spkr_muters=hp,line-in
outputs.master=255,255
outputs.master.mute=off
outputs.master.slaves=mix2,mix4,hp,spkr,spkr2
record.volume=125,125
record.volume.mute=off
record.volume.slaves=adc-0:1,adc-2:3,adc-4:5
outputs.mode=analog
record.mode=analog

I think this is the relevant audio part from dmesg:-
vendor "Intel", unknown product 0x27a3 (class DASP subclass Time and Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC885
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi
pci2 at ppb1 bus 2

This would have been 'sendbug' if I was reporting this as a bug:-

>Synopsis:    <no sound intel iMac>
>Category:    <PR category (one line)>
>Environment:
    System      : OpenBSD 5.7
Details : OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar 8 11:04:17 MDT 2015
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

    Architecture: OpenBSD.amd64
    Machine     : amd64
>Description:
    <no sound at all after standard OpenBSD install with X11>
>How-To-Repeat:
<follow the faqs and chapter 13 audio tests, no sound no matter what you do>
>Fix:
    <not known>

SENDBUG: dmesg and usbdevs are attached.

dmesg:
OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3188355072 (3040MB)
avail mem = 3099627520 (2956MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0000 (43 entries)
bios0: vendor Apple Computer, Inc. version "IM61.88Z.0093.B07.0706281250" date 06/28/07
bios0: Apple Computer, Inc. iMac6,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! SBST ECDT SSDT SSDT SSDT
acpi0: wakeup devices PXS1(S4) PXS2(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB7(S3)
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)2 CPU T7400 @ 2.16GHz, 2161.57 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 166MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz, 2161.25 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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF
cpu1: 4MB 64b/line 16-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpimcfg0 at acpi0 addr 0xf0000000, bus 0-255
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 2 (RP01)
acpiprt3 at acpi0: bus 3 (RP02)
acpiprt4 at acpi0: bus 4 (PCIB)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
cpu0: Enhanced SpeedStep 2161 MHz: speeds: 2167, 2000, 1833, 1667, 1500, 1333, 1000 MHz
memory map conflict 0xf00f8000/0x1000
memory map conflict 0xfed1c000/0x4000
memory map conflict 0xfffb0000/0x30000
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: msi
pci1 at ppb0 bus 1
1:0:0: mem address conflict 0xfffe0000/0x20000
vga1 at pci1 dev 0 function 0 vendor "NVIDIA", unknown product 0x0395 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
vendor "Intel", unknown product 0x27a3 (class DASP subclass Time and Frequency, rev 0x03) at pci0 dev 7 function 0 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: msi
azalia0: codecs: Realtek ALC885
audio0 at azalia0
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: msi
pci2 at ppb1 bus 2
mskc0 at pci2 dev 0 function 0 "Marvell Yukon 88E8053" rev 0x22, Yukon-2 EC rev. A3 (0x2): apic 1 int 16
msk0 at mskc0 port A: address 00:16:cb:a1:6d:18
eephy0 at msk0 phy 0: 88E1111 Gigabit PHY, rev. 2
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: msi
pci3 at ppb2 bus 3
"Broadcom BCM4321" rev 0x01 at pci3 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 23
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci4 at ppb3 bus 4
"TI TSB82AA2 FireWire" rev 0x01 at pci4 dev 3 function 0 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02
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
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <MATSHITA, DVD-R UJ-85J, FCQA> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 1 int 19 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 1: <ST3250824AS Q>
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int 19
iic0 at ichiic0
iic0: addr 0x48 00=2b 01=00 02=4b 03=50 words 00=2b80 01=00ff 02=4b00 03=5000 04=ffff 05=ffff 06=ffff 07=ffff
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
ugen0 at uhub0 port 4 "Cypress Semiconductor product 0x8613" rev 2.00/a0.01 addr 2 ulpt0 at uhub1 port 1 configuration 1 interface 0 "Hewlett-Packard DeskJet 840C" rev 1.00/1.00 addr 2
ulpt0: using uni-directional mode
uhub5 at uhub3 port 1 "Mitsumi Electric Hub in Apple Extended USB Keyboard" rev 1.10/4.20 addr 2 uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB Trackball" rev 1.10/14.00 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons
wsmouse0 at ums0 mux 0
uhidev1 at uhub5 port 3 configuration 1 interface 0 "Mitsumi Electric Apple Extended USB Keyboard" rev 1.10/4.20 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 variable keys, 6 key codes, country code 13
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev2 at uhub5 port 3 configuration 1 interface 1 "Mitsumi Electric Apple Extended USB Keyboard" rev 1.10/4.20 addr 4
uhidev2: iclass 3/0, 3 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
uhidev3 at uhub4 port 1 configuration 1 interface 0 "Apple Computer HID-proxy" rev 2.00/19.65 addr 2
uhidev3: iclass 3/1
ukbd1 at uhidev3: 8 variable keys, 6 key codes
wskbd1 at ukbd1 mux 1
wskbd1: connecting to wsdisplay0
uhidev4 at uhub4 port 1 configuration 1 interface 1 "Apple Computer HID-proxy" rev 2.00/19.65 addr 2
uhidev4: iclass 3/1
ums1 at uhidev4: 5 buttons
wsmouse1 at ums1 mux 0
uhidev5 at uhub4 port 2 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/1.10 addr 3
uhidev5: iclass 3/0, 38 report ids
uhid2 at uhidev5 reportid 36: input=4, output=0, feature=0
uhid3 at uhidev5 reportid 37: input=4, output=0, feature=0
uhid4 at uhidev5 reportid 38: input=4, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (373ffa89e4afd294.a) swap on wd0b dump on wd0b

usbdevs:
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
port 4 addr 2: high speed, power 100 mA, config 1, product 0x8613(0x8613), Cypress Semiconductor(0x04b4), rev a0.01
 port 5 powered
 port 6 powered
 port 7 powered
 port 8 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: full speed, self powered, config 1, DeskJet 840C(0x0604), Hewlett-Packard(0x03f0), rev 1.00, iSerialNumber CN9BO1N2JWKV
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb3:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: full speed, power 50 mA, config 1, Hub in Apple Extended USB Keyboard(0x1003), Mitsumi Electric(0x05ac), rev 4.20 port 1 addr 3: low speed, power 50 mA, config 1, USB Trackball(0xc408), Logitech(0x046d), rev 14.00
  port 2 powered
port 3 addr 4: full speed, power 50 mA, config 1, Apple Extended USB Keyboard(0x020c), Mitsumi Electric(0x05ac), rev 4.20
 port 2 powered
Controller /dev/usb4:
addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: full speed, self powered, config 1, HID-proxy(0x1000), Apple Computer(0x05ac), rev 19.65 port 2 addr 3: full speed, power 100 mA, config 1, IR Receiver(0x8240), Apple Computer, Inc.(0x05ac), rev 1.10

Reply via email to