Discussion:
Audio seems correct but it doesn't sound (azalia)
(too old to reply)
Luis Useche
2009-08-01 03:26:54 UTC
Permalink
Hello,

I have an intel HD audio device in my laptop. OpenBSD recognizes and
setup all the drivers for the audio. In fact, even the volume keys
work! My problem is that there is no sound at all. As suggested in the
FAQ, I tweak all the mixerctl values with no success.

I also ran a couple of commands just to check that the device is
processing data:

***@meg ~ $ cat > /dev/audio < /dev/zero &
[1] 3181
***@meg ~ $ audioctl play.{seek,samples,errors}
play.seek=57600
play.samples=672000
play.errors=0
***@meg ~ $ audioctl play.{seek,samples,errors}
play.seek=57600
play.samples=1555200
play.errors=0
***@meg ~ $ audioctl play.{seek,samples,errors}
play.seek=57600
play.samples=2112000
play.errors=0
***@meg ~ $ kill %1
***@meg ~ $
[1] + terminated cat > /dev/audio < /dev/zero

This seems correct to me. More info:

***@meg ~ $ mixerctl
inputs.dac_mute=off
inputs.dac=254,254
inputs.dac2_mute=off
inputs.dac2=200,200
inputs.dac4_mute=off
inputs.dac4=200,200
inputs.dac3_mute=off
inputs.dac3=200,200
inputs.vendor_mute=off
inputs.vendor=200,200
outputs.hp_source=dac
outputs.hp_dir=output
outputs.hp_boost=on
outputs.spkr_source=dac
outputs.spkr_dir=output
outputs.spkr_boost=on
outputs.line-in_source=dac4
outputs.line-in_dir=input
outputs.line_source=dac3
outputs.line_dir=output
inputs.sel_source=line-in
outputs.sel=189,189
inputs.sel2_source=line-in
outputs.sel2=189,189
inputs.sel3_source=line-in
outputs.sel3=189,189
inputs.sel4_source=sel
inputs.sel4_sel=198,198
inputs.sel5_source=sel2
inputs.sel5_sel2=198,198
inputs.sel6_source=sel3
inputs.sel6_sel3=198,198
record.adc_source=sel4
record.adc_mute=off
record.adc2_source=sel5
record.adc2_mute=off
record.adc3_source=sel6
record.adc3_mute=off
outputs.SPDIF_source=dig-dac
inputs.beep=85
outputs.hp_sense=unplugged
outputs.line-in_sense=unplugged
outputs.line_sense=unplugged
outputs.spkr_muters=hp,line-in,line
outputs.master=255,255
outputs.master.mute=off
outputs.master.slaves=dac
record.volume=0,0
record.volume.mute=off
record.volume.slaves=adc,adc2,adc3
inputs.usingdac=02030504

***@meg ~ $ audioctl
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:20,slinear_le:24
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=9600
hiwat=6
lowat=1
output_muted=0
monitor_gain=0
mode=
play.rate=48000
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=255
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=9600
play.samples=3139200
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
play.block_size=9600
play.errors=2400
record.rate=48000
record.channels=2
record.precision=16
record.encoding=slinear_le
record.gain=0
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

Any suggestion?

Thanks in advance for your help.

Luis Useche
***@gmail.com
Jacob Meuser
2009-08-01 05:12:50 UTC
Permalink
Post by Luis Useche
Hello,
I have an intel HD audio device in my laptop. OpenBSD recognizes and
setup all the drivers for the audio. In fact, even the volume keys
work! My problem is that there is no sound at all. As suggested in the
FAQ, I tweak all the mixerctl values with no success.
can I see a complete dmesg and default `mixerctl -v'?
--
***@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Luis Useche
2009-08-01 14:27:14 UTC
Permalink
dmesg:
OpenBSD 4.5 (GENERIC.MP) #108: Sat Feb 28 14:58:58 MST 2009
***@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz ("GenuineIntel"
686-class) 1.50 GHz
cpu0: FPU,V86,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,EST,TM2,CX16,xTPR
real mem = 2137165824 (2038MB)
avail mem = 2058231808 (1962MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/15/07, BIOS32 rev. 0 @
0xffa10, SMBIOS rev. 2.4 @ 0xf7190 (45 entries)
bios0: vendor Dell Inc. version "A02" date 08/15/2007
bios0: Dell Inc. Inspiron 1420
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP HPET APIC MCFG SLIC BOOT SSDT
acpi0: wakeup devices PCI0(S5) PCIE(S4) USB1(S0) USB2(S0) USB3(S0)
USB4(S0) USB5(S0) EHC2(S0) EHCI(S0) AZAL(S3) RP01(S3) RP02(S3)
RP03(S3) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(S4) MBTN(S5)
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: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T5250 @ 1.50GHz ("GenuineIntel"
686-class) 1.50 GHz
cpu1: FPU,V86,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,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
acpiprt0 at acpi0: bus 3 (PCIE)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 11 (RP01)
acpiprt3 at acpi0: bus 12 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus 13 (RP04)
acpiprt6 at acpi0: bus -1 (RP05)
acpiprt7 at acpi0: bus 9 (RP06)
acpiprt8 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3
acpicpu1 at acpi0: C3
acpitz0 at acpi0: critical temperature 87 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: PBTN
acpibtn2 at acpi0: SBTN
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "DELL PR6937" serial 24 type LION oem "Sanyo"
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
acpivideo at acpi0 not configured
bios0: ROM list: 0xc0000/0xf000! 0xcf000/0x1000
cpu0: unknown Enhanced SpeedStep CPU, msr 0x0613092b0600092b
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1500 MHz (1388 mV): speeds: 1500, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
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 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 2 int 16 (irq 11)
drm0 at inteldrm0
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 2
int 20 (irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 2
int 21 (irq 9)
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 2
int 22 (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 82801H HD Audio" rev 0x02:
apic 2 int 21 (irq 9)
azalia0: codecs: Sigmatel STAC9228X, Conexant/0x2c06, using Sigmatel STAC9228X
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: apic 2
int 16 (irq 0)
pci1 at ppb0 bus 11
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x02: apic 2
int 17 (irq 0)
pci2 at ppb1 bus 12
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02:
apic 2 int 17 (irq 10), MoW1, address 00:18:de:be:50:48
ppb2 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x02: apic 2
int 19 (irq 0)
pci3 at ppb2 bus 13
ppb3 at pci0 dev 28 function 5 "Intel 82801H PCIE" rev 0x02: apic 2
int 17 (irq 0)
pci4 at ppb3 bus 9
bge0 at pci4 dev 0 function 0 "Broadcom BCM5906M" rev 0x02, BCM5906 A2
(0xc002): apic 2 int 17 (irq 10), address 00:1c:23:f8:62:90
brgphy0 at bge0 phy 1: BCM5906 10/100baseTX PHY, rev. 0
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 2
int 20 (irq 10)
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 2
int 21 (irq 9)
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 2
int 22 (irq 7)
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 2
int 20 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf2
pci5 at ppb4 bus 3
"Ricoh 5C832 Firewire" rev 0x05 at pci5 dev 1 function 0 not configured
sdhc0 at pci5 dev 1 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: apic 2
int 18 (irq 4)
sdmmc0 at sdhc0
"Ricoh 5C843 MMC" rev 0x12 at pci5 dev 1 function 2 not configured
"Ricoh 5C592 Memory Stick" rev 0x12 at pci5 dev 1 function 3 not configured
"Ricoh 5C852 xD" rev 0x12 at pci5 dev 1 function 4 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM 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: <SONY, CDRWDVD CRX880A, KD09> ATAPI
5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x02: apic 2
int 17 (irq 10), AHCI 1.1
ahci0: PHY offline on port 2
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, FUJITSU MHY2160B, 0085> SCSI3 0/direct fixed
sd0: 152627MB, 512 bytes/sec, 312581808 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: apic
2 int 17 (irq 10)
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 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
mtrr: Pentium Pro MTRR support
uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB
Receiver" rev 2.00/5.00 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 16 buttons, Z dir
wsmouse1 at ums0 mux 0
uhidev1 at uhub5 port 1 configuration 1 interface 1 "Logitech USB
Receiver" rev 2.00/5.00 addr 2
uhidev1: iclass 3/0, 17 report ids
uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0
uhid1 at uhidev1 reportid 16: input=6, output=6, feature=0
uhid2 at uhidev1 reportid 17: input=19, output=19, feature=0
softraid0 at root
root on sd0a swap on sd0b dump on sd0b


mixerctl:
inputs.dac_mute=off [ off on ]
inputs.dac=126,126
inputs.dac2_mute=off [ off on ]
inputs.dac2=126,126
inputs.dac4_mute=off [ off on ]
inputs.dac4=126,126
inputs.dac3_mute=off [ off on ]
inputs.dac3=126,126
inputs.vendor_mute=off [ off on ]
inputs.vendor=126,126
outputs.hp_source=dac [ dac dac2 ]
outputs.hp_dir=output [ none output input input-vr0 input-vr50 input-vr80 ]
outputs.hp_boost=off [ off on ]
outputs.spkr_source=dac [ dac ]
outputs.spkr_dir=output [ none output input input-vr0 input-vr50 input-vr80 ]
outputs.spkr_boost=off [ off on ]
outputs.line-in_source=dac4 [ dac4 ]
outputs.line-in_dir=input [ none output input input-vr0 input-vr50 input-vr80 ]
outputs.line_source=dac3 [ dac3 ]
outputs.line_dir=output [ none output input input-vr0 input-vr50 input-vr80 ]
inputs.sel_source=line-in [ line-in line spkr hp ]
outputs.sel=126,126
inputs.sel2_source=line-in [ line-in line spkr hp ]
outputs.sel2=126,126
inputs.sel3_source=line-in [ line-in line spkr hp ]
outputs.sel3=126,126
inputs.sel4_source=sel [ sel ]
inputs.sel4_sel=126,126
inputs.sel5_source=sel2 [ sel2 ]
inputs.sel5_sel2=126,126
inputs.sel6_source=sel3 [ sel3 ]
inputs.sel6_sel3=126,126
record.adc_source=sel4 [ sel4 mic ]
record.adc_mute=off [ off on ]
record.adc2_source=sel5 [ sel5 mic ]
record.adc2_mute=off [ off on ]
record.adc3_source=sel6 [ sel6 mic ]
record.adc3_mute=off [ off on ]
outputs.SPDIF_source=dig-dac [ dig-dac vendor2 adc adc2 adc3 ]
inputs.beep=85
outputs.hp_sense=unplugged [ unplugged plugged ]
outputs.line-in_sense=unplugged [ unplugged plugged ]
outputs.line_sense=unplugged [ unplugged plugged ]
outputs.spkr_muters=hp,line-in,line { hp line-in line }
outputs.master=126,126
outputs.master.mute=off [ off on ]
outputs.master.slaves=dac { dac dac2 dac4 dac3 vendor sel sel2 sel3 beep }
record.volume=0,0
record.volume.mute=off [ off on ]
record.volume.slaves=adc,adc2,adc3 { adc adc2 adc3 }
inputs.usingdac=02030504 [ 02030504 1e ]


Luis Useche
Post by Jacob Meuser
Post by Luis Useche
Hello,
I have an intel HD audio device in my laptop. OpenBSD recognizes and
setup all the drivers for the audio. In fact, even the volume keys
work! My problem is that there is no sound at all. As suggested in the
FAQ, I tweak all the mixerctl values with no success.
can I see a complete dmesg and default `mixerctl -v'?
--
SDF Public Access UNIX System - http://sdf.lonestar.org
Jacob Meuser
2009-08-01 21:47:13 UTC
Permalink
...
...

thanks. one more piece of info is needed. can you send me the output
of `pcidump -x'?
--
***@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Luis Useche
2009-08-02 00:18:25 UTC
Permalink
***@meg ~ $ sudo pcidump -x
Domain /dev/pci0:
0:0:0: Intel GM965 Host
0x0000: 2a008086 20900006 0600000c 00000000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 000000e0 00000000 00000000
0:2:0: Intel GM965 Video
0x0000: 2a028086 00900007 0300000c 00800000
0x0010: fea00004 00000000 e000000c 00000000
0x0020: 0000eff9 00000000 00000000 01f31028
0x0030: 00000000 00000090 00000000 0000010b
0:2:1: Intel GM965 Video
0x0000: 2a038086 00900007 0380000c 00800000
0x0010: feb00004 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 000000d0 00000000 00000000
0:26:0: Intel 82801H USB
0x0000: 28348086 02800005 0c030002 00800000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00006f21 00000000 00000000 01f31028
0x0030: 00000000 00000000 00000000 0000010a
0:26:1: Intel 82801H USB
0x0000: 28358086 02800005 0c030002 00000000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00006f01 00000000 00000000 01f31028
0x0030: 00000000 00000000 00000000 00000209
0:26:7: Intel 82801H USB
0x0000: 283a8086 02900106 0c032002 00000000
0x0010: fed1c400 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000050 00000000 00000307
0:27:0: Intel 82801H HD Audio
0x0000: 284b8086 00100106 04030002 00000010
0x0010: fe9fc004 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000050 00000000 00000109
0:28:0: Intel 82801H PCIE
0x0000: 283f8086 00100007 06040002 00810010
0x0010: 00000000 00000000 000b0b00 200000f0
0x0020: 0000fff0 0001fff1 00000000 00000000
0x0030: 00000000 00000040 00000000 00020100
0:28:1: Intel 82801H PCIE
0x0000: 28418086 00100107 06040002 00810010
0x0010: 00000000 00000000 000c0c00 000000f0
0x0020: fe80fe80 0001fff1 00000000 00000000
0x0030: 00000000 00000040 00000000 00020200
0:28:3: Intel 82801H PCIE
0x0000: 28458086 00100007 06040002 00810010
0x0010: 00000000 00000000 000e0d00 2000d0d0
0x0020: fe70fe60 f011f001 00000000 00000000
0x0030: 00000000 00000040 00000000 00020400
0:28:5: Intel 82801H PCIE
0x0000: 28498086 00100007 06040002 00810010
0x0010: 00000000 00000000 00090900 000000f0
0x0020: fe50fe50 0001fff1 00000000 00000000
0x0030: 00000000 00000040 00000000 00020200
0:29:0: Intel 82801H USB
0x0000: 28308086 02800005 0c030002 00800000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00006f81 00000000 00000000 01f31028
0x0030: 00000000 00000000 00000000 0000010a
0:29:1: Intel 82801H USB
0x0000: 28318086 02800005 0c030002 00000000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00006f61 00000000 00000000 01f31028
0x0030: 00000000 00000000 00000000 00000209
0:29:2: Intel 82801H USB
0x0000: 28328086 02800005 0c030002 00000000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00006f41 00000000 00000000 01f31028
0x0030: 00000000 00000000 00000000 00000307
0:29:7: Intel 82801H USB
0x0000: 28368086 02900106 0c032002 00000000
0x0010: fed1c000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000050 00000000 0000010a
0:30:0: Intel 82801BAM Hub-to-PCI
0x0000: 24488086 00100107 060401f2 00010000
0x0010: 00000000 00000000 20030300 228000f0
0x0020: fe40fe40 0001fff1 00000000 00000000
0x0030: 00000000 00000050 00000000 000200ff
0:31:0: Intel 82801HBM LPC
0x0000: 28158086 02100107 06010002 00800000
0x0010: 00000000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 000000e0 00000000 00000000
0:31:1: Intel 82801HBM IDE
0x0000: 28508086 02800005 01018a02 00000000
0x0010: 000001f1 000003f5 00000171 00000375
0x0020: 00006fa1 00000000 00000000 01f31028
0x0030: 00000000 00000000 00000000 0000010b
0:31:2: Intel 82801HBM AHCI
0x0000: 28298086 02b00007 01060102 00000000
0x0010: 00006eb1 00006eb9 00006ec1 00006ec9
0x0020: 00006ee1 fe9fb800 00000000 01f31028
0x0030: 00000000 00000080 00000000 0000020a
0:31:3: Intel 82801H SMBus
0x0000: 283e8086 02800103 0c050002 00000000
0x0010: fe9fb700 00000000 00000000 00000000
0x0020: 000010c1 00000000 00000000 01f31028
0x0030: 00000000 00000000 00000000 0000020a
3:1:0: Ricoh 5C832 Firewire
0x0000: 08321180 02100106 0c001005 00804010
0x0010: fe4ff800 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 000000dc 00000000 04020105
3:1:1: Ricoh 5C822 SD/MMC
0x0000: 08221180 02100106 08050122 00804010
0x0010: fe4ff400 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000080 00000000 00000204
3:1:2: Ricoh 5C843 MMC
0x0000: 08431180 02100106 08800012 00804010
0x0010: fe4ff500 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000080 00000000 00000204
3:1:3: Ricoh 5C592 Memory Stick
0x0000: 05921180 02100106 08800012 00804010
0x0010: fe4ff600 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000080 00000000 00000204
3:1:4: Ricoh 5C852 xD
0x0000: 08521180 02100106 08800012 00804010
0x0010: fe4ff700 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000080 00000000 00000204
9:0:0: Broadcom BCM5906M
0x0000: 171314e4 00100106 02000002 00000010
0x0010: fe5f0004 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 01f31028
0x0030: 00000000 00000048 00000000 0000010a
12:0:0: Intel PRO/Wireless 3945ABG
0x0000: 42228086 00100106 02800002 00000010
0x0010: fe8ff000 00000000 00000000 00000000
0x0020: 00000000 00000000 00000000 10408086
0x0030: 00000000 000000c8 00000000 0000010a

Thanks,

Luis Useche
Post by Jacob Meuser
...
...
thanks. one more piece of info is needed. can you send me the output
of `pcidump -x'?
--
SDF Public Access UNIX System - http://sdf.lonestar.org
Jacob Meuser
2009-08-02 01:40:51 UTC
Permalink
thanks.

the following should apply to src/sys/dev/pci/azalia_codec.c for OpenBSD
4.5 (azalia_codec.c r1.114).

please let me know if this fixes the issue.
--
***@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Index: azalia_codec.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.114
diff -u azalia_codec.c
--- azalia_codec.c 24 Jan 2009 09:44:02 -0000 1.114
+++ azalia_codec.c 2 Aug 2009 01:30:50 -0000
@@ -64,6 +64,7 @@
#define IDT92HD71B7_DELL_E6500 0x024f1028
#define SIGMATEL_STAC9228X 0x83847616
#define STAC9228X_DELL_V1400 0x02271028
+#define STAC9228X_DELL_I1400 0x01f31028

int azalia_generic_codec_init_dacgroup(codec_t *);
int azalia_generic_codec_fnode(codec_t *, nid_t, int, int);
@@ -2227,7 +2228,9 @@
if (this->vid == REALTEK_ALC880 && this->subid == ALC880_MEDION_MD95257) {
azalia_gpio_unmute(this, 1);
}
- if (this->vid == SIGMATEL_STAC9228X && this->subid == STAC9228X_DELL_V1400) {
+ if (this->vid == SIGMATEL_STAC9228X &&
+ (this->subid == STAC9228X_DELL_V1400 ||
+ this->subid == STAC9228X_DELL_I1400)) {
azalia_gpio_unmute(this, 2);
}
return 0;
Luis Useche
2009-08-02 04:27:06 UTC
Permalink
The patch does work. Thank you.

Luis Useche
Post by Jacob Meuser
thanks.
the following should apply to src/sys/dev/pci/azalia_codec.c for OpenBSD
4.5 (azalia_codec.c r1.114).
please let me know if this fixes the issue.
--
SDF Public Access UNIX System - http://sdf.lonestar.org
Index: azalia_codec.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/azalia_codec.c,v
retrieving revision 1.114
diff -u azalia_codec.c
--- azalia_codec.c 24 Jan 2009 09:44:02 -0000 1.114
+++ azalia_codec.c 2 Aug 2009 01:30:50 -0000
@@ -64,6 +64,7 @@
#define IDT92HD71B7_DELL_E6500 0x024f1028
#define SIGMATEL_STAC9228X 0x83847616
#define STAC9228X_DELL_V1400 0x02271028
+#define STAC9228X_DELL_I1400 0x01f31028
int azalia_generic_codec_init_dacgroup(codec_t *);
int azalia_generic_codec_fnode(codec_t *, nid_t, int, int);
@@ -2227,7 +2228,9 @@
if (this->vid == REALTEK_ALC880 && this->subid ==
ALC880_MEDION_MD95257) {
Post by Jacob Meuser
azalia_gpio_unmute(this, 1);
}
- if (this->vid == SIGMATEL_STAC9228X && this->subid ==
STAC9228X_DELL_V1400) {
Post by Jacob Meuser
+ if (this->vid == SIGMATEL_STAC9228X &&
+ (this->subid == STAC9228X_DELL_V1400 ||
+ this->subid == STAC9228X_DELL_I1400)) {
azalia_gpio_unmute(this, 2);
}
return 0;
Loading...