All of lore.kernel.org
 help / color / mirror / Atom feed
* Event or signal for microphone connect/disconnect
@ 2011-07-27  7:51 Putinei Ionut
  2011-07-27 12:11 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: Putinei Ionut @ 2011-07-27  7:51 UTC (permalink / raw)
  To: alsa-devel

Hi,

I have 2 microphones on my laptop: 1 pluggable on the mic port and 1 on the
surface .
Is there any way to receive events/signal that the microphone on the mic
port is connected/disconnected.

I want to implement this feature in a recording program.

Thank you

Ionut Putinei

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Event or signal for microphone connect/disconnect
  2011-07-27  7:51 Event or signal for microphone connect/disconnect Putinei Ionut
@ 2011-07-27 12:11 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2011-07-27 12:11 UTC (permalink / raw)
  To: Putinei Ionut; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-27 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27  7:51 Event or signal for microphone connect/disconnect Putinei Ionut
2011-07-27 12:11 ` Clemens Ladisch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.