Skip to content

Commit

Permalink
Update hda-verb.m
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorys89 committed May 31, 2024
1 parent 2d6096b commit 003d974
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Combo Jack/hda-verb.m
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static uint32_t unplugged(void)
AlcVerbCommand(0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x02);
AlcVerbCommand(0x21, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x00);
AlcVerbCommand(0x20, AC_VERB_SET_COEF_INDEX, 0x45);
AlcVerbCommand(0x20, AC_VERB_SET_PROC_COEF, 0xD089);
AlcVerbCommand(0x20, AC_VERB_SET_PROC_COEF, 0xD289);
break;
default:
break;
Expand Down Expand Up @@ -278,7 +278,7 @@ static uint32_t headphones(void)
break;
case 0x10ec0295:
AlcVerbCommand(0x20, AC_VERB_SET_COEF_INDEX, 0x45);
AlcVerbCommand(0x20, AC_VERB_SET_PROC_COEF, 0xC489);
AlcVerbCommand(0x20, AC_VERB_SET_PROC_COEF, 0xC689);
AlcVerbCommand(0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24);
break;
default:
Expand Down Expand Up @@ -326,10 +326,10 @@ static uint32_t headset(void)
usleep(350000);
break;
case 0x10ec0295:
AlcVerbCommand(0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24);
AlcVerbCommand(0x21, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xC0);
//AlcVerbCommand(0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24);
AlcVerbCommand(0x20, AC_VERB_SET_COEF_INDEX, 0x45);
AlcVerbCommand(0x20, AC_VERB_SET_PROC_COEF, 0xD689);
AlcVerbCommand(0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, 0x24);
usleep(350000);
break;
default:
Expand Down

0 comments on commit 003d974

Please sign in to comment.