linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* muteing speakers if headphones were plugged in?
@ 2002-04-16 17:05 Matthias Grimm
  2002-04-16 17:30 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Grimm @ 2002-04-16 17:05 UTC (permalink / raw)
  To: PPC-Dev Mailingliste


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/

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

end of thread, other threads:[~2002-04-17 18:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-16 17:05 muteing speakers if headphones were plugged in? Matthias Grimm
2002-04-16 17:30 ` Benjamin Herrenschmidt
2002-04-17 15:23   ` Matthias Grimm
2002-04-17 18:56     ` benh

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).