[PATCH] fix-jack-debounce.patch

Andy Green andy at openmoko.com
Fri Apr 11 17:16:59 CEST 2008

Hash: SHA1

Somebody in the thread at some point said:
| Andy Green wrote:
|> Nicely spotted... if it did happen that the interrupt came again after
|> 100ms of silence at exactly the wrong moment in a window of a couple of
|> us, he would have to replug his jack to get correct operation.  But I
|> guess it happens once per million times or less.
| Yeah, pretty unlikely and the intuitive corrective action would resolve
| the problem. The most likely scenario I could imagine where this would
| happen is if the plug is accidently removed, either following insertion,
| or followed by insertion, so that you get opposing user actions within a
| short period of time.

Well we can't perfect it, as the jack plug inserts different rings on
the plug touch different springs in the socket, it makes multiple false
connections.  If you insert or pull the jack slowly, it will make
multiple hits despite the care.  But nobody pulls their jack so slowly I

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org


More information about the openmoko-kernel mailing list