[alsa-devel] Headset button mapping in the kernel

Mads Lønsethagen mads at ab3.no
Wed Nov 27 12:51:17 CET 2019


Hi!

Is this related to Android Wired Audio Headset Specification? Just 
wondering (I asked about it last month[1]).

Would be neat if it were possible to get headphone buttons working on 
Linux in general.

- Mads


On 25.11.2019 20:25, Curtis Malainey wrote:
> Hello ALSA Devs,
> 
> I am looking to get some feedback/ideas on a possible change to
> headset button mapping. Locally we are carrying patches that implement
> the mappings in the machine driver (which we understand you do not
> want upstream.) We are looking to see if we can add a new API
> (something like a sysfs path potentially) to have userspace pass in
> the mapping, if it chooses to, so the mapping can still be done in the
> kernel. That way we can carry just the config locally and remove some
> of the kernel patches we are carrying locally. Thanks.
> 
> Curtis
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 


More information about the Alsa-devel mailing list