-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dell platform adding ucm2 conf with generic mic-mute LEDs feature #105
Comments
root@dell-Latitude-94xx:/sys/module/snd_ctl_led# ll |
snd_ctl_led 24576 0 |
Do I need to add any kernel option to enable the generic mute led ? |
You are doing a |
|
root@dell-Latitude-9420:/sys/devices/virtual/sound/ctl-led/mic# echo "follow mute" > mode did some testing with the ctl-led loaded, the brightsness value is not changed when switching mute/unmute state |
another problem is that the snd-ctl-led module is not loaded after i add the patch. |
@jwrdegoede @perexg
|
@GoPerry : You should add configuration like https://www.spinics.net/lists/alsa-devel/msg125821.html to the UCM card. It loads the kernel module and attaches the selected ALSA controls for the LED trigger. EDIT: The shell commands which are identical to the mentioned UCM config:
EDIT2: Changed |
root@dell-Latitude-xx0:/sys/class/sound/ctl-led/mic/card0# echo "ADC Capture Switch" > attach root@dell-Latitude-xx0:/sys/class/sound/ctl-led/mic/card0# ls It is weird that the attach file cannot be written by this command. |
Try |
Also, the control should exists. Use |
root@dell-Latitude-9420:/sys/class/sound/ctl-led/mic# ls It works for me now with right kcontrol. |
then the only prolem need to resolve is the ucm2 loading snd_ctl_led. FixedBootSequence [ I would like to check where the alsa code will call the FixedBootSequence ? |
Is it the alsa-lib will trigger the FixedBootSequence ? |
if alsa-lib trigger the FixedBootSequence, then i would need to upgrade the alsa-lib |
You need 1.2.5 alsa-lib and alsa-utils packages. The fixed boot sequence is called from the |
Typo? It should be |
Note there also is an selinux issue where selinux is blocking alsactl from doing the modprobe: https://bugzilla.redhat.com/show_bug.cgi?id=1958210 Try setting enforcing=0 on the kernel commandline as a workaround for now. |
Thank you Hans, let me try disable the selinux |
yeah, typo, the touchpad corrupting the input method. |
As the post-patch did, I would need to add one patch for the dell platform which has enabled the generic mic mute feature.
But I did not see the below paths.
/sys/class/sound/ctl-led/speaker
/sys/class/sound/ctl-led/mic
https://www.spinics.net/lists/alsa-devel/msg125821.html
The text was updated successfully, but these errors were encountered: