can you make a similar patch for HP ZBook Studio x360 G5 too?
The leds work the same way.
Playback mute led:
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x10
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x10
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x10
-> led turns on
hda-verb dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0
-> led turns off
Mic mute led:
-> led is on
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_MASK 0x20
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DIR 0x20
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0
-> the led turns off
hda-verb /dev/snd/hwC0D0 0x01 SET_GPIO_DATA 0x20
-> the led turns on
Could you give alsa-info.sh output? Run with --no-upload and attach to Bugzilla.
Created attachment 296075 [details]
OK, that's compatible with the already existing quirk.
You can pass model=hp-zbook-mute-led option to snd-hda-intel driver for applying the same quirk.
Meanwhile I'll cook up the patch to apply the quirk for your model statically in the quirk table.
Created attachment 296179 [details]
The patch is working perfectly, thank you!