Hi Enrico!

I started to investigate a bit more and I found out to use it, for both
GTA01 and GTA02 :-D

On Sun, 07 Jun 2009 03:09:41 +0200, Enrico Zini wrote:
> On Fri, Jun 05, 2009 at 06:36:45PM +0200, Enrico Zini wrote:
>
>> Of course nothing shows up in xev when pressing the button.
>> 
>> I also tried to see if any widget changed in alsamixer when pressing the
>> button: nope.
>> 
>> Other options?
>
> For example this one could be an option:
> https://docs.openmoko.org/trac/ticket/695
>
> The bug has been closed as WORKSFORME. The explanation however is
> extremely obscure, and doesn't even try to help other people making it
> WORKFORTHEM as well: "worked here but not sure what other settings have
> to be enabled there" is not a way to close a bug. And anyway, how do I
> enable MICBIAS?
>
> And even then, that bug seems to be about GTA01Bv4. Does that obscure
> explanation make any sense for GTA02 at all?

As you, I am lost with that explanation, but further investigation
revealed a probably better one:

  http://thread.gmane.org/gmane.comp.handhelds.openmoko.devel/964

Here the mixer settings you need to change (values in brackets):

- Playback
    (GTA01) Neo Mode [GSM Handset | GSM Headset]
    (GTA02) DAPM Headset Mic Switch [ON]
    (both) one of
             Left Mixer Sidetone Playback Sw [ON]
             Right Mixer Sidetone Playback S [ON]

- Capture
    (both) ALC Mixer Mic 1 [ON]

With this configuration, however, the problem is that xev reports the
following event if the headset button is not pressed:

  KeyRelease event, serial 30, synthetic NO, window 0x1000001,
      root 0x3d, subw 0x0, time 1856476, (236,274), root:(240,320),
      state 0x0, keycode 127 (keysym 0xff13, Pause), same_screen YES,
      XLookupString gives 0 bytes:
      XFilterEvent returns: False

Should not be the contrary, i.e. reporting a Play event when the button
is kept pressed?  Anyway, I think I would stop here and go back to other
issues, now ;-)

Thx, bye,
Gismo / Luca

Attachment: pgpmxGiXkOTgb.pgp
Description: PGP signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to