Re: GPIO control from ALSA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 20.04.2016 11:06, Lars-Peter Clausen wrote:
On 04/20/2016 10:51 AM, Petr Kulhavy wrote:

Thanks, Lars, for the good pointers! I will check that out.

Is there also a way to map GPIO to a control which then appears e.g. in
alsamixer? That would be useful for the mic/line selection.
Rather than exposing the GPIO itself you'd expose the logical function of
the GPIO. E.g. in your case a ENUM control that allows to switch between
microphone and capture and in the background this sets the GPIO according to
the selection.

I understand that, my question was more how to hook the enum to a function rather to a codec register?

Thanks
Petr
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux