Re: Audio seems correct but it doesn't sound (azalia)
Hi Jacob, You sent me this patch a couple of months ago. After I upgraded my system to 4.6 I had the same problem as before. After I tried to apply this patch I realized that the file is different now. I made the appropriate changes and now the sound works again. Here is the new patch. --- dev/pci/azalia_codec.c Sun Jun 28 11:32:32 2009 +++ /usr/src/sys/dev/pci/azalia_codec.c Thu Oct 22 23:04:28 2009 @@ -246,7 +246,8 @@ break; case 0x83847616: this-name = Sigmatel STAC9228X; - if (this-subid == 0x02271028) {/* DELL_V1400 */ + if (this-subid == 0x02271028|| + this-subid == 0x01f31028) {/* DELL_V1400 */ this-qrks |= AZ_QRK_GPIO_UNMUTE_2; } break; Best, Luis On Sat, Aug 1, 2009 at 8:34 PM, Jacob Meuser jake...@sdf.lonestar.org wrote: 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. -- jake...@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 - 1.114 +++ azalia_codec.c 2 Aug 2009 01:30:50 - @@ -64,6 +64,7 @@ #define IDT92HD71B7_DELL_E6500 0x024f1028 #define SIGMATEL_STAC9228X 0x83847616 #define STAC9228X_DELL_V1400 0x02271028 +#define STAC9228X_DELL_I1400 0x01f31028 intazalia_generic_codec_init_dacgroup(codec_t *); intazalia_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;
Re: Audio seems correct but it doesn't sound (azalia)
On Sun, Nov 22, 2009 at 08:38:00PM -0500, Luis Useche wrote: Hi Jacob, You sent me this patch a couple of months ago. After I upgraded my system to 4.6 I had the same problem as before. After I tried to apply this patch I realized that the file is different now. I made the appropriate changes and now the sound works again. Here is the new patch. that was committed to -current on sept 12. -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Audio seems correct but it doesn't sound (azalia)
dmesg: OpenBSD 4.5 (GENERIC.MP) #108: Sat Feb 28 14:58:58 MST 2009 dera...@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 0xfee0: 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 0xfec0, 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: 0xc/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 0xe000, size 0x1000 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
Re: Audio seems correct but it doesn't sound (azalia)
On Sat, Aug 01, 2009 at 10:24:14AM -0400, Luis Useche wrote: dmesg: ... mixerctl: ... thanks. one more piece of info is needed. can you send me the output of `pcidump -x'? -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org
Re: Audio seems correct but it doesn't sound (azalia)
l...@meg ~ $ sudo pcidump -x Domain /dev/pci0: 0:0:0: Intel GM965 Host 0x: 2a008086 2096 060c 0x0010: 0x0020: 01f31028 0x0030: 00e0 0:2:0: Intel GM965 Video 0x: 2a028086 0097 030c 0080 0x0010: fea4 e00c 0x0020: eff9 01f31028 0x0030: 0090 010b 0:2:1: Intel GM965 Video 0x: 2a038086 0097 038c 0080 0x0010: feb4 0x0020: 01f31028 0x0030: 00d0 0:26:0: Intel 82801H USB 0x: 28348086 0285 0c030002 0080 0x0010: 0x0020: 6f21 01f31028 0x0030: 010a 0:26:1: Intel 82801H USB 0x: 28358086 0285 0c030002 0x0010: 0x0020: 6f01 01f31028 0x0030: 0209 0:26:7: Intel 82801H USB 0x: 283a8086 02900106 0c032002 0x0010: fed1c400 0x0020: 01f31028 0x0030: 0050 0307 0:27:0: Intel 82801H HD Audio 0x: 284b8086 00100106 04030002 0010 0x0010: fe9fc004 0x0020: 01f31028 0x0030: 0050 0109 0:28:0: Intel 82801H PCIE 0x: 283f8086 0017 06040002 00810010 0x0010: 000b0b00 20f0 0x0020: fff0 0001fff1 0x0030: 0040 00020100 0:28:1: Intel 82801H PCIE 0x: 28418086 00100107 06040002 00810010 0x0010: 000c0c00 00f0 0x0020: fe80fe80 0001fff1 0x0030: 0040 00020200 0:28:3: Intel 82801H PCIE 0x: 28458086 0017 06040002 00810010 0x0010: 000e0d00 2000d0d0 0x0020: fe70fe60 f011f001 0x0030: 0040 00020400 0:28:5: Intel 82801H PCIE 0x: 28498086 0017 06040002 00810010 0x0010: 00090900 00f0 0x0020: fe50fe50 0001fff1 0x0030: 0040 00020200 0:29:0: Intel 82801H USB 0x: 28308086 0285 0c030002 0080 0x0010: 0x0020: 6f81 01f31028 0x0030: 010a 0:29:1: Intel 82801H USB 0x: 28318086 0285 0c030002 0x0010: 0x0020: 6f61 01f31028 0x0030: 0209 0:29:2: Intel 82801H USB 0x: 28328086 0285 0c030002 0x0010: 0x0020: 6f41 01f31028 0x0030: 0307 0:29:7: Intel 82801H USB 0x: 28368086 02900106 0c032002 0x0010: fed1c000 0x0020: 01f31028 0x0030: 0050 010a 0:30:0: Intel 82801BAM Hub-to-PCI 0x: 24488086 00100107 060401f2 0001 0x0010: 20030300 228000f0 0x0020: fe40fe40 0001fff1 0x0030: 0050 000200ff 0:31:0: Intel 82801HBM LPC 0x: 28158086 02100107 06010002 0080 0x0010: 0x0020: 01f31028 0x0030: 00e0 0:31:1: Intel 82801HBM IDE 0x: 28508086 0285 01018a02 0x0010: 01f1 03f5 0171 0375 0x0020: 6fa1 01f31028 0x0030: 010b 0:31:2: Intel 82801HBM AHCI 0x: 28298086 02b7 01060102 0x0010: 6eb1 6eb9 6ec1 6ec9 0x0020: 6ee1 fe9fb800 01f31028 0x0030: 0080 020a 0:31:3: Intel 82801H SMBus 0x: 283e8086 02800103 0c050002 0x0010: fe9fb700 0x0020: 10c1 01f31028 0x0030: 020a 3:1:0: Ricoh 5C832 Firewire 0x: 08321180 02100106 0c001005 00804010 0x0010: fe4ff800 0x0020: 01f31028 0x0030: 00dc 04020105 3:1:1:
Re: Audio seems correct but it doesn't sound (azalia)
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. -- jake...@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 - 1.114 +++ azalia_codec.c 2 Aug 2009 01:30:50 - @@ -64,6 +64,7 @@ #define IDT92HD71B7_DELL_E6500 0x024f1028 #define SIGMATEL_STAC9228X 0x83847616 #define STAC9228X_DELL_V1400 0x02271028 +#define STAC9228X_DELL_I1400 0x01f31028 intazalia_generic_codec_init_dacgroup(codec_t *); intazalia_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;
Re: Audio seems correct but it doesn't sound (azalia)
The patch does work. Thank you. Luis Useche use...@gmail.com On Sat, Aug 1, 2009 at 9:34 PM, Jacob Meuserjake...@sdf.lonestar.org wrote: 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. -- jake...@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 - 1.114 +++ azalia_codec.c 2 Aug 2009 01:30:50 - @@ -64,6 +64,7 @@ #define IDT92HD71B7_DELL_E6500 0x024f1028 #define SIGMATEL_STAC9228X 0x83847616 #define STAC9228X_DELL_V1400 0x02271028 +#define STAC9228X_DELL_I1400 0x01f31028 intazalia_generic_codec_init_dacgroup(codec_t *); intazalia_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;
Re: Audio seems correct but it doesn't sound (azalia)
On Fri, Jul 31, 2009 at 11:24:04PM -0400, Luis Useche wrote: 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'? -- jake...@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org