From: Matthias Grimm <joker@cymes.de>
To: PPC-Dev Mailingliste <linuxppc-dev@lists.linuxppc.org>
Subject: muteing speakers if headphones were plugged in?
Date: Tue, 16 Apr 2002 19:05:04 +0200 [thread overview]
Message-ID: <3CBC59C0.7000505@cymes.de> (raw)
Hi,
I was asked to built a new feature into pbbuttons: To mute the speakers
if headphones are plugged in.
I don't know where to get the information if headphones are plugged in
or not, so I had a look into the recent kernel and I saw some code (for
eg. headphone_intr() ) that seems to do what I am asked for. On the
other hand the code seems very experimental and not really complete as I
could see at some comments.
What is the status? Should this feature (muting the speakers ...) be
part of the kernel or was it only a fast shot to get it work?
I saw the most headphone code within the Tumbler section so I assume
that it would only work on new TiBooks and iBooks?
Nevertheless is there a method to get the information of the line-in
jack status from user space?
Thanks for your help and best regards
Matthias
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2002-04-16 17:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-16 17:05 Matthias Grimm [this message]
2002-04-16 17:30 ` muteing speakers if headphones were plugged in? Benjamin Herrenschmidt
2002-04-17 15:23 ` Matthias Grimm
2002-04-17 18:56 ` benh
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=3CBC59C0.7000505@cymes.de \
--to=joker@cymes.de \
--cc=linuxppc-dev@lists.linuxppc.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).