Re: List archive broken / H5450 headphone socket

From: bedboi <bedboi_at_gmx.net>
Date: Sat, 26 Mar 2005 11:15:37 +0100

On Sat, 2005-03-26 at 09:28 +0000, Phil Blundell wrote:
> Jim,
>
> The iPAQ_H5400_System_Programming_Information.doc document describes
> this gpio as "HP_Detect", but this is not completely authoritative.
> Also, my recollection is that Luca's original patch was successfully
> using this gpio to generate interrupts when the headphones were inserted
> and removed.
>
Yep, this is correct. I was able to cacth interrupt signals on that GPIO
but i was just not able to handle the interrupt in a correct way (this
was my first approach to kernel space programming). So it should be
rather simple for an experienced kernel hacker to write an interrupt
handler (the buggy code is included in the patch, you should see in
dmesg debug messages when the headphones are plugged/unplugged).

Cheers,
Luca
Received on Sat Mar 26 2005 - 05:18:29 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:20:11 EDT