Revert "ALSA: hda - Add mute-LED mode control to Thinkpad"
PATCH 1/1 Revert "ALSA: hda - Add mute-LED mode control to Thinkpad"
This reverts commit 7290006d8c0900c56d8c58428134f02c35109d17.
Through the regression report, it was revealed that the tpacpi_led_set() call to thinkpad_acpi helper doesn't only toggle the mute LED but actually mutes the sound. This is contradiction to the expectation, and rather confuses user.
According to Henrique, it's not trivial to judge which TP model behaves "LED-only" and which model does whatever more intrusive, as Lenovo's implementations vary model by model. So, from the safety reason, we should revert the patch for now.
--- sound/pci/hda/thinkpad_helper.c | 1 - 1 file changed, 1 deletion(-)
sound/pci/hda/thinkpad_helper.c +0 -1
@@ -72,7 +72,6 @@ static void hda_fixup_thinkpad_acpi(struct hda_codec *codec,if (led_set_func (TPACPI_LED_MUTE , false) >=0 ) { old_vmaster_hook = spec->vmaster_mute.hook; spec->vmaster_mute.hook = update_tpacpi_mute_led; - spec->vmaster_mute_enum =1 ; removefunc = false; }if (led_set_func (TPACPI_LED_MICMUTE , false) >=0 ) {
Signature · 6 lines
2.4.1 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 8 lines
This reverts commit
7290006d8c0900c56d8c58428134f02c35109d17.Through the regression report, it was revealed that the
tpacpi_led_set()call tothinkpad_acpihelper doesn't only toggle the mute LED but actually mutes the sound. This is contradiction to the expectation, and rather confuses user.
Quoted 4 lines
According to Henrique, it's not trivial to judge which TP model behaves "LED-only" and which model does whatever more intrusive, as Lenovo's implementations vary model by model. So, from the safety reason, we should revert the patch for now
Are there any ThinkPad which known to support mute led through ACPI SSMS ?
At Mon, 25 May 2015 14:44:04 +0800,
Quoted 9 lines · Raymond Yau
Quoted 9 lines
This reverts commit
7290006d8c0900c56d8c58428134f02c35109d17.Through the regression report, it was revealed that the
tpacpi_led_set()call tothinkpad_acpihelper doesn't only toggle the mute LED but actually mutes the sound. This is contradiction to the expectation, and rather confuses user.
Quoted 6 lines
Quoted 4 lines
According to Henrique, it's not trivial to judge which TP model behaves "LED-only" and which model does whatever more intrusive, as Lenovo's implementations vary model by model. So, from the safety reason, we should revert the patch for now
Are there any ThinkPad which known to support mute led through ACPI SSMS ?
The answer is "yes, but..."
There are known Thinkpads that do the audio mute together with LED. And judging the difference isn't trivial. It'd need a huge black/white list, which we want to avoid.
Takashi
Quoted 25 lines · On Sunday 24 May 2015 08:34:35 Takashi Iwai wrote:
This reverts commit
7290006d8c0900c56d8c58428134f02c35109d17.Through the regression report, it was revealed that the
tpacpi_led_set()call tothinkpad_acpihelper doesn't only toggle the mute LED but actually mutes the sound. This is contradiction to the expectation, and rather confuses user.According to Henrique, it's not trivial to judge which TP model behaves "LED-only" and which model does whatever more intrusive, as Lenovo's implementations vary model by model. So, from the safety reason, we should revert the patch for now.
Reported-by Martin Steigerwald <[email protected]>Cc Pali Rohár <[email protected]>Cc <[email protected]>Signed-off-by Takashi Iwai <[email protected]>--- sound/pci/hda/thinkpad_helper.c | 1 - 1 file changed, 1 deletion(-)sound/pci/hda/thinkpad_helper.c +0
-0
sound/pci/hda/thinkpad_helper.c static void hda_fixup_thinkpad_acpi(struct hda_codec *codec, · line 77
Quoted 7 lines
sound/pci/hda/thinkpad_helper.c +0
-1@@ -72,7 +72,6 @@ static void hda_fixup_thinkpad_acpi(struct hda_codec *codec,if (led_set_func (TPACPI_LED_MUTE , false) >=0 ) { old_vmaster_hook = spec->vmaster_mute.hook; spec->vmaster_mute.hook = update_tpacpi_mute_led; - spec->vmaster_mute_enum =1 ; removefunc = false; }if (led_set_func (TPACPI_LED_MICMUTE , false) >=0 ) {
Hello,
what about adding option to "do not touch led" like if thinkpad_helper.c cannot resolve symbol from kernel? It would at least allow us to disable led when mute is ON (when thinkpad_acpi.ko module is loaded).
Signature · 6 lines
Pali Rohár [email protected] _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel