On Sat, 2005-03-19 at 20:38 +0700, Ross Golder wrote:
> When I get some time, I'll try to hack that code into a panel applet
> that can switch between the main speaker or the headphones. Although it
> begs the question - is the 5450 capable of recognising when there are
> headphones connected and trigger it automatically (no need for a manual
> user control)?
Yes. GPIO76 is the headphone detect input, and you can configure it to
generate an interrupt. Luca De Cicco did have a go at writing a kernel
patch to make use of that, but as far as I know he was never able to get
it working properly. You should be able to find his code in the
archives for this list, if you want to try to fix that yourself.
p.
Received on Sat Mar 19 2005 - 08:53:35 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT