[Gta04-owner] Headset detection bouncing during calls in A3

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Mon Sep 10 13:08:57 CEST 2012


Hi,

If I do evtest /dev/input/jack during a call in SHR, I've that:
root at om-gta04:~# evtest /dev/input/jack 
Input driver version is 1.0.1
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "gta04 Headset Jack"
Supported events:
  Event type 0 (Sync)
  Event type 5 (?)
    Event code 2 (?)
    Event code 4 (?)
Testing ... (interrupt to exit)
Event: time 946691723.367524, type 5 (?), code 2 (?), value 0
Event: time 946691723.367524, type 5 (?), code 4 (?), value 0
Event: time 946691723.367555, -------------- Report Sync ------------
Event: time 946691723.867401, type 5 (?), code 2 (?), value 1
Event: time 946691723.867432, type 5 (?), code 4 (?), value 1
Event: time 946691723.867432, -------------- Report Sync ------------
Event: time 946691735.390319, type 5 (?), code 2 (?), value 0
Event: time 946691735.390350, type 5 (?), code 4 (?), value 0
Event: time 946691735.390350, -------------- Report Sync ------------
Event: time 946691735.895355, type 5 (?), code 2 (?), value 1
Event: time 946691735.895385, type 5 (?), code 4 (?), value 1
Event: time 946691735.895385, -------------- Report Sync ------------
Event: time 946691738.903381, type 5 (?), code 2 (?), value 0
Event: time 946691738.903381, type 5 (?), code 4 (?), value 0
Event: time 946691738.903381, -------------- Report Sync ------------
Event: time 946691739.397674, type 5 (?), code 2 (?), value 1
Event: time 946691739.397705, type 5 (?), code 4 (?), value 1
Event: time 946691739.397705, -------------- Report Sync ------------
Event: time 946691743.426055, type 5 (?), code 2 (?), value 0
Event: time 946691743.426086, type 5 (?), code 4 (?), value 0
Event: time 946691743.426086, -------------- Report Sync ------------
Event: time 946691743.938018, type 5 (?), code 2 (?), value 1
Event: time 946691743.938049, type 5 (?), code 4 (?), value 1
Event: time 946691743.938079, -------------- Report Sync ------------
Event: time 946691744.437347, type 5 (?), code 2 (?), value 0
Event: time 946691744.437347, type 5 (?), code 4 (?), value 0
Event: time 946691744.437377, -------------- Report Sync ------------
Event: time 946691745.436767, type 5 (?), code 2 (?), value 1
Event: time 946691745.436767, type 5 (?), code 4 (?), value 1
Event: time 946691745.436798, -------------- Report Sync ------------
Event: time 946691746.444915, type 5 (?), code 2 (?), value 0
Event: time 946691746.444915, type 5 (?), code 4 (?), value 0
Event: time 946691746.444946, -------------- Report Sync ------------
Event: time 946691746.946441, type 5 (?), code 2 (?), value 1
Event: time 946691746.946472, type 5 (?), code 4 (?), value 1
Event: time 946691746.946472, -------------- Report Sync ------------
Event: time 946691748.960266, type 5 (?), code 2 (?), value 0
Event: time 946691748.960266, type 5 (?), code 4 (?), value 0
Event: time 946691748.960296, -------------- Report Sync ------------
Event: time 946691749.463317, type 5 (?), code 2 (?), value 1
Event: time 946691749.463317, type 5 (?), code 4 (?), value 1
Event: time 946691749.463348, -------------- Report Sync ------------
Event: time 946691753.474090, type 5 (?), code 2 (?), value 0
Event: time 946691753.474121, type 5 (?), code 4 (?), value 0
Event: time 946691753.474121, -------------- Report Sync ------------
Event: time 946691753.976470, type 5 (?), code 2 (?), value 1
Event: time 946691753.985229, type 5 (?), code 4 (?), value 1
Event: time 946691753.985229, -------------- Report Sync ------------
Event: time 946691757.997680, type 5 (?), code 2 (?), value 0
Event: time 946691757.997711, type 5 (?), code 4 (?), value 0
Event: time 946691757.997711, -------------- Report Sync ------------
Event: time 946691758.492431, type 5 (?), code 2 (?), value 1
Event: time 946691758.492462, type 5 (?), code 4 (?), value 1
Event: time 946691758.492462, -------------- Report Sync ------------

it bounces between 0 and 1, it doesn't do it during regular music
playing...

That prevents me from adding a gsmheadset scenario which would make
possible to redirect the sound and recording of the call to the
headset...which is good for the health(else you keep the phone close to
your head which is a very bad idea).

Denis.


More information about the Gta04-owner mailing list