[alsa-devel] [pulseaudio-discuss] ThinkPad T-510 audio output mute LED non-workingness
Takashi Iwai
tiwai at suse.de
Tue Apr 28 08:06:50 CEST 2015
At Mon, 27 Apr 2015 18:02:06 -0600,
Glenn Golden wrote:
>
> Takashi Iwai <tiwai at suse.de> [2015-04-27 19:12:21 +0200]:
> >
> > Below is a debug patch, and now you should see messages like "XXX ..."
> > in kernel log at loading the driver. If there is no such a message,
> > it means that the thinkpad hook isn't built in at all. Please check
> > the kernel log again with the patch.
> >
>
> Here are the XXX messages:
>
> [ 13.722755] sound hdaudioC0D0: XXX hda_fixup_thinkpad_acpi init...
> [ 13.724366] sound hdaudioC0D0: XXX ok, this is thinkpad
> [ 13.724373] sound hdaudioC0D0: XXX mute LED NOT WORKING!
> [ 13.724374] sound hdaudioC0D0: XXX ok, mic LED is hooked
>
> Smoking gun?
It's the call:
led_set_func(TPACPI_LED_MUTE, false)
and this returns an error. led_set_func is a function pointer to
tpacpi_led_set:
led_set_func = symbol_request(tpacpi_led_set);
So the above indicates that the call in thinkpad_acpi.c failed.
Could you check what value is returned from
led_set_func(TPACPI_LED_MUTE, false)?
My wild guess is that it's -ENODEV.
Takashi
More information about the Alsa-devel
mailing list