[alsa-devel] Event or signal for microphone connect/disconnect

Clemens Ladisch clemens at ladisch.de
Wed Jul 27 14:11:40 CEST 2011


Putinei Ionut wrote:
> Is there any way to receive events/signal that the microphone on the mic
> port is connected/disconnected.

If supported by the hardware and the driver, such jack connection
events are reported through an input device (/dev/input/*).  The
input device interface is somewhat documented at the end of
linux/Documentation/input/input.txt.


Regards,
Clemens


More information about the Alsa-devel mailing list