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 <[email protected]>
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.
>
> --
> [email protected]
> 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;