All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Putinei Ionut <putineiionut@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: Event or signal for microphone connect/disconnect
Date: Wed, 27 Jul 2011 14:11:40 +0200	[thread overview]
Message-ID: <4E30007C.2050709@ladisch.de> (raw)
In-Reply-To: <CAGTuRxMnK9xA2t=0vsqczteRu+bp5NxG9DTxUVxx9gK-htF6FA@mail.gmail.com>

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

      reply	other threads:[~2011-07-27 12:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27  7:51 Event or signal for microphone connect/disconnect Putinei Ionut
2011-07-27 12:11 ` Clemens Ladisch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E30007C.2050709@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=putineiionut@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.