Hello, that is my first post on openbsd mailing list.
I have installed openbsd 5.8 stable on HP Elitebook 2540p and encountered a
problem with sound system.
It's a Intel HD 3400 version 0.5 . The kernel uses azalia driver.
There is sound on hp2 (headphone) but no sound on speaker.
I tested all setting on mixerctl without positive result.
The media buttons (mut on/off) is always off. Pressing the button works -
Hp (actually dac 0:1 is muted and unmuted) but button led is always red
(muted). During the power down process is the button for short time unmuted
and there is noise through speaker.
I could not find a solution. Here the dmesg, mixerctl and audioctl:
1. dmesg:OpenBSD 5.8 (GENERIC.MP) #1236: Sun Aug 16 02:31:04 MDT 2015
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 36<config_unit,memory_size,invalid_time>
real mem = 4059832320 (3871MB)
avail mem = 3932897280 (3750MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xef800 (26 entries)
bios0: vendor Hewlett-Packard version "68CSU Ver. F.09" date 03/09/2011
bios0: Hewlett-Packard HP EliteBook 2540p
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG TCPA SSDT SSDT SSDT SLIC SSDT SSDT SSDT
ASF!
acpi0: wakeup devices LANC(S5) HDEF(S3) EHC1(S3) EHC2(S3) PCIB(S5) RP02(S4)
ECF0(S4) RP03(S4) RP04(S5) WNIC(S5) RP06(S5) NIC_(S5) RP07(S4) RP08(S4)
PEG3(S4) PEG4(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) i7 CPU L 640 @ 2.13GHz, 2660.51 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-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 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz, 2660.01 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz, 2660.01 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i7 CPU L 640 @ 2.13GHz, 2660.01 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF
,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 2, 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 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus -1 (PEGP)
acpiprt1 at acpi0: bus 68 (PCIB)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus 2 (RP02)
acpiprt4 at acpi0: bus 67 (RP04)
acpiprt5 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10),
C1(1000@3 mwait.1), PSS
acpicpu1 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10),
C1(1000@3 mwait.1), PSS
acpicpu2 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10),
C1(1000@3 mwait.1), PSS
acpicpu3 at acpi0: C3(350@245 mwait.3@0x20), C2(500@205 mwait.3@0x10),
C1(1000@3 mwait.1), PSS
acpipwrres0 at acpi0: APPR, resource for HDEF
acpipwrres1 at acpi0: COMP, resource for COM1
acpipwrres2 at acpi0: LPP_, resource for LPT0
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 127 degC
acpitz2 at acpi0: critical temperature is 128 degC
acpitz3 at acpi0: critical temperature is 127 degC
acpitz4 at acpi0: critical temperature is 115 degC
acpitz5 at acpi0: critical temperature is 128 degC
acpitz6 at acpi0: critical temperature is 128 degC
acpitz7 at acpi0: critical temperature is 128 degC
acpitz8 at acpi0: critical temperature is 128 degC
acpitz9 at acpi0: critical temperature is 128 degC
acpibat0 at acpi0: BAT0 model "Primary" serial 02042 2015/01/11 type LIon oem
"Hewlett-Packard"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: DGFX
acpivideo1 at acpi0: GFX0
acpivout0 at acpivideo1: DD02
cpu0: Enhanced SpeedStep 2660 MHz: speeds: 2134, 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 0x02
vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xc0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1280x800
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 "Intel 82577LM" rev 0x05: msi, address
68:b5:99:fa:78:81
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 1 int 16
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: msi
azalia0: codecs: IDT 92HD75B3/4, AT&T/Lucent/0x1040, Intel/0x2804, using IDT
92HD75B3/4
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 3400 PCIE" rev 0x05: msi
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 3 "Intel 3400 PCIE" rev 0x05: msi
pci3 at ppb2 bus 67
iwn0 at pci3 dev 0 function 0 "Intel Centrino Advanced-N 6200" rev 0x35: msi,
MIMO 2T2R, MoW, address 18:3d:a2:38:61:98
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 1 int 20
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa5
pci4 at ppb3 bus 68
"Ricoh 5C832 Firewire" rev 0x06 at pci4 dev 6 function 0 not configured
sdhc0 at pci4 dev 6 function 1 "Ricoh 5C822 SD/MMC" rev 0x25: apic 1 int 22
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x14 at pci4 dev 6 function 2 not configured
cbb0 at pci4 dev 6 function 3 "Ricoh 5C476 CardBus" rev 0xbb: apic 1 int 22
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 69 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0 "Intel QM57 LPC" rev 0x05
pciide0 at pci0 dev 31 function 2 "Intel 3400 SATA" rev 0x05: DMA, channel 0
configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 1 int 21 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK1633GSG>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <hp, DVD RW AD-7930H, 2.81> ATAPI 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
pciide1 at pci0 dev 31 function 5 "Intel 3400 SATA" rev 0x05: DMA, channel 0
wired to native-PCI, channel 1 wired to native-PCI
pciide1: using apic 1 int 21 for native-PCI interrupt
itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x05
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
pci5 at mainbus0 bus 255
pchb1 at pci5 dev 0 function 0 "Intel QuickPath" rev 0x02
pchb2 at pci5 dev 0 function 1 "Intel QuickPath" rev 0x02
pchb3 at pci5 dev 2 function 0 "Intel QPI Link" rev 0x02
pchb4 at pci5 dev 2 function 1 "Intel QPI Physical" rev 0x02
pchb5 at pci5 dev 2 function 2 "Intel Reserved" rev 0x02
pchb6 at pci5 dev 2 function 3 "Intel Reserved" rev 0x02
"RICOH, Bay8Controller" (manufacturer 0x0, product 0x0) at pcmcia0 function 0
not configured
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 1 "Broadcom Corp HP Integrated Module" rev 2.00/3.06 addr
3
ugen1 at uhub2 port 3 "Validity Sensors VFS451 Fingerprint Reader" rev
1.10/0.72 addr 4
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on wd0a (810f42f617ef7f82.a) swap on wd0b dump on wd0b

2. mixerctl -av:outputs.hp_source=mix2  [ dac-0:1 dac-2:3 mix2 ]
outputs.hp_boost=off  [ off on ]
outputs.mic_dir=input-vr80  [ none input input-vr0 input-vr50 input-vr80 ]
outputs.mic2_dir=input-vr80  [ none input input-vr0 input-vr50 input-vr80 ]
outputs.spkr_source=dac-0:1  [ dac-0:1 dac-2:3 mix2 ]
outputs.line-in_dir=input  [ none input input-vr0 input-vr50 input-vr80 ]
outputs.hp2_source=dac-0:1  [ dac-0:1 dac-2:3 mix2 ]
inputs.dac-0:1_mute=off  [ off on ]
inputs.dac-0:1=254,254
inputs.dac-2:3_mute=off  [ off on ]
inputs.dac-2:3=254,254
inputs.sel_source=mix2  [ dac-0:1 dac-2:3 mix2 ]
inputs.mix2_source=dac-0:1,dac-2:3,sel2,sel3  { dac-0:1 dac-2:3 sel2 sel3 }
inputs.mix2_dac-0:1=120,120
inputs.mix2_dac-2:3=120,120
inputs.mix2_sel2=120,120
inputs.mix2_sel3=120,120
inputs.sel2_source=mic2  [ mic mic2 line-in ]
outputs.sel2=255,255
inputs.sel3_source=mic  [ mic mic2 line-in ]
outputs.sel3=255,255
record.adc-0:1_source=sel2  [ sel2 mix2 ]
record.adc-0:1_mute=off  [ off on ]
record.adc-0:1=119,119
record.adc-2:3_source=sel3  [ sel3 mix2 ]
record.adc-2:3_mute=off  [ off on ]
record.adc-2:3=119,119
inputs.sel6_source=adc-0:1  [ adc-0:1 adc-2:3 ]
inputs.sel7_source=adc-0:1  [ adc-0:1 adc-2:3 ]
inputs.beep_mute=off  [ off on ]
inputs.beep=85
outputs.hp_sense=unplugged  [ unplugged plugged ]
outputs.mic_sense=unplugged  [ unplugged plugged ]
outputs.line-in_sense=unplugged  [ unplugged plugged ]
outputs.hp2_sense=unplugged  [ unplugged plugged ]
outputs.spkr_muters=hp,hp2  { hp hp2 }
outputs.master=255,255
outputs.master.mute=off  [ off on ]
outputs.master.slaves=dac-0:1,dac-2:3  { dac-0:1 dac-2:3 sel2 sel3 beep }
record.volume=119,119
record.volume.mute=off  [ off on ]
record.volume.slaves=adc-0:1,adc-2:3  { adc-0:1 adc-2:3 }

3. audioctl: name=HD-Audio
encodings=slinear_le:16:2:1,slinear_le:20:4:1,slinear_le:24:4:1
properties=full_duplex,independent
hiwat=2
lowat=2
mode=
play.rate=48000
play.channels=2
play.precision=16
play.bps=2
play.msb=1
play.encoding=slinear
play.pause=0
play.active=0
play.block_size=3840
play.bytes=0
play.errors=0
record.rate=48000
record.channels=2
record.precision=16
record.bps=2
record.msb=1
record.encoding=slinear
record.pause=0
record.active=0
record.block_size=3840
record.bytes=0
record.errors=0

With regards!

Reply via email to