Re: Recording from headset when pressing headset button

2009-06-08 Thread Enrico Zini
On Mon, Jun 08, 2009 at 10:40:36AM +0400, Paul Fertser wrote: > Enrico Zini writes: > > [here I press it] > > 18:12:48.971987: EV_KEY KEY_PAUSE released > > 18:12:48.972274: EV_SYN code=0 value=0 > > > > [here I release it] > > 18:12:51.817171: EV_KEY KEY_PAUSE pressed > > 18:12:51.817396: EV_SYN

How to turn off handset mic leaving the headset mic on

2009-06-08 Thread Enrico Zini
Hello, I'm working on improving audiomap[1] and since it is designed to record voice from the headset while the handset is in the pocket, it makes sense to disable the headset microphone to avoid recording heartbeats and rubbing clothes. I have tried fiddling with alsamixer for an hour or so, but

Re: [Debian] Missing battery management with 2.6.29

2009-06-08 Thread Luca Capello
Hi there! On Thu, 19 Mar 2009 14:18:45 +0100, Luca Capello wrote: > On Thu, 19 Mar 2009 02:03:35 +0100, Luca Capello wrote: >> Same here, it seems that the battery driver is not properly working. >> This should be reported to smartphones-kernel@, at least. > > With 2.6.29: > = > debian-gta02:~

Re: Recording from headset when pressing headset button

2009-06-08 Thread Luca Capello
Hi Paul! On Mon, 08 Jun 2009 17:09:53 +0200, Enrico Zini wrote: > On Mon, Jun 08, 2009 at 10:40:36AM +0400, Paul Fertser wrote: >> Enrico Zini writes: >> > [here I press it] >> > 18:12:48.971987: EV_KEY KEY_PAUSE released >> > 18:12:48.972274: EV_SYN code=0 value=0 >> > >> > [here I release it] >

Re: [Debian] Missing battery management with 2.6.29

2009-06-08 Thread Christian Adams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 08.06.2009 um 19:31 schrieb Luca Capello: Hi there! [..] Finally, I found it: http://git.openmoko.org/? p=kernel.git;a=commitdiff;h=1f06c28eaa6e77384a366c3d2ab1ccdbb8a807e0 And the config.* files were changed with: http://git.openmok

Re: Recording from headset when pressing headset button

2009-06-08 Thread Paul Fertser
Hi, On Mon, Jun 08, 2009 at 07:39:43PM +0200, Luca Capello wrote: > Note that in that case it is no more consistent with the KEY_PAUSE > behavior: when you press the headset button, you want to PLAY, thus you > release PAUSE, which is exactly the behavior we have now. Thus I think > the best woul

Re: Recording from headset when pressing headset button

2009-06-08 Thread Enrico Zini
On Mon, Jun 08, 2009 at 07:39:43PM +0200, Luca Capello wrote: > Should I go directly with the above one or do you think that the headset > button behavior will be fixed soon? I would prefer to wait for that, it > this means a short time... At the xev level I don't mind. At the /dev/input level,

Re: Recording from headset when pressing headset button

2009-06-08 Thread Luca Capello
Hi Enrico! On Mon, 08 Jun 2009 21:44:09 +0200, Enrico Zini wrote: > On Mon, Jun 08, 2009 at 07:39:43PM +0200, Luca Capello wrote: > >> Should I go directly with the above one or do you think that the headset >> button behavior will be fixed soon? I would prefer to wait for that, it >> this means