Bug 216197

Summary: HP Envy x360 Convertible 13-ay0xxx mute volume + mic LED indicators don't work
Product: Drivers Reporter: Heisenberg (erickushi17)
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal CC: erickushi17, tom
Priority: P1    
Hardware: AMD   
OS: Linux   
See Also: https://bugzilla.kernel.org/show_bug.cgi?id=215021
Kernel Version: 5.15.0-40-generic Subsystem:
Regression: No Bisected commit-id:
Attachments: results of cat /proc/asound/card1/codec#0

Description Heisenberg 2022-07-01 16:24:00 UTC
Created attachment 301321 [details]
results of cat /proc/asound/card1/codec#0

This is a similar issue with https://bugzilla.kernel.org/show_bug.cgi?id=215021

I tried the solutions there but they didn't work.
The results of alsa-info can be found at:
http://alsa-project.org/db/?f=122538a27d9ca3ac17b4d36640a6205f99c1e3a6
This issue is still present even in the kernel version 5.18 

I have attached the results of cat /proc/asound/card1/codec#0
Comment 1 Heisenberg 2022-07-20 17:18:33 UTC
Hi it's been almost 3 weeks, I understand that this isn't urgent whatsoever but could I please have an answer?
Comment 2 Tom 2023-11-18 22:59:10 UTC
Hi, I have the same machine and have figured out hda-verb commands to toggle the LEDs.

My alsa info is http://alsa-project.org/db/?f=842041005e933c8b8eec0a4e966e26f5b103a6db

The commands are as follows:

Turn on mic mute LED:
sudo hda-verb /dev/snd/hwC1D0 0x01 SET_GPIO_MASK 0x16 && sudo hda-verb /dev/snd/hwC1D0 0x01 SET_GPIO_DIR 0x16 && sudo hda-verb /dev/snd/hwC1D0 0x01 SET_GPIO_DATA 0x00

Turn off mic mute LED:
sudo hda-verb /dev/snd/hwC1D0 0x01 SET_GPIO_DATA 0x04

Turn on speaker mute LED:
sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0b && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x08

Turn off speaker mute LED:
sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0b && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x00

Thank you for your time!