mbox series

[alsa-ucm-conf,0/3] byt/cht: Add support for controlling mute LEDs using the new snd_ctl_led kmod

Message ID 20210507131139.10231-1-hdegoede@redhat.com
Headers show
Series byt/cht: Add support for controlling mute LEDs using the new snd_ctl_led kmod | expand

Message

Hans de Goede May 7, 2021, 1:11 p.m. UTC
Hi All,

This series adds support for controlling spk/mic mute LEDs one some Bay-
and Cherry-Trail devices using the new snd_ctl_led kmod functionality.

This requires the latest alsa-lib and alsa-utils git code and when
running on Fedora it also requires putting selinux in permissive mode
for now. I've filed a bug against the selinux-policy to get this fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=1958210

Note the first patch is mostly unrelated, it is a resend of an earlier
patch which seems to have fallen through the cracks.

Regards,

Hans



Hans de Goede (3):
  cht-bsw-rt5672: Add support for the components string
  cht-bsw-rt5672: Add support for controlling speaker- and mic-mute LEDs
  bytcr-rt5640: Add support for controlling a speaker-mute LED

 ucm2/bytcr-rt5640/bytcr-rt5640.conf     |  6 ++++
 ucm2/cht-bsw-rt5672/HiFi.conf           | 37 +++++++++++++++++++++++--
 ucm2/cht-bsw-rt5672/cht-bsw-rt5672.conf |  6 ++++
 3 files changed, 47 insertions(+), 2 deletions(-)

Comments

Jaroslav Kysela May 18, 2021, 4:25 p.m. UTC | #1
Dne 07. 05. 21 v 15:11 Hans de Goede napsal(a):
> Hi All,
> 
> This series adds support for controlling spk/mic mute LEDs one some Bay-
> and Cherry-Trail devices using the new snd_ctl_led kmod functionality.
> 
> This requires the latest alsa-lib and alsa-utils git code and when
> running on Fedora it also requires putting selinux in permissive mode
> for now. I've filed a bug against the selinux-policy to get this fixed:
> https://bugzilla.redhat.com/show_bug.cgi?id=1958210
> 
> Note the first patch is mostly unrelated, it is a resend of an earlier
> patch which seems to have fallen through the cracks.

Hi,

	I applied all three patches with a minor correction for the latest alsa-lib -
I added the '-' prefix for the /sbin/modprobe to ignore errors when the
snd_ctl_led module does not exists.

				Thank you,
					Jaroslav