Hi! > > I'd like to get detection of headset button presses to work in recent > > kernels, but could not figure it out :-(. > > > My vague memory doesn't tell how basic button press detection was > implemented in Maemo kernel. Was it codec, same voltage detection > circuit than ECI or some another GPIO? I don't even remember did we > implement it for the MeeGo N900 developer edition :-( Another GPIO, as far as I can tell. There was some delay logic in 2.6 kernel (it removed false events happening when jack was inserted), other that that it should be quite simple. (But I did not yet figure it out in 4.x kernel). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html