Bug 216197 - HP Envy x360 Convertible 13-ay0xxx mute volume + mic LED indicators don't work
Summary: HP Envy x360 Convertible 13-ay0xxx mute volume + mic LED indicators don't work
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: AMD Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-01 16:24 UTC by Heisenberg
Modified: 2024-03-20 10:44 UTC (History)
2 users (show)

See Also:
Kernel Version: 5.15.0-40-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments
results of cat /proc/asound/card1/codec#0 (9.88 KB, text/plain)
2022-07-01 16:24 UTC, Heisenberg
Details

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!

Note You need to log in before you can comment on or make changes to this bug.