The patch does work. Thank you.

Luis Useche
use...@gmail.com



On Sat, Aug 1, 2009 at 9: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 -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;

Reply via email to