[Galaxy S Plus I9001 Android Development] Christopher83:
Hi guys,

good news regarding the phantom key presses.

After having successfully handled the unwanted pressures of the back and menu keys (that caused unexpected back, menu popup or Google Search popup), tonight I finally managed to find a well working possible workaround for the phantom home key presses (that caused unexpected returns to the launcher home / launcher app drawer, or the phone wake up if was in suspend mode).

This is an extract of the debug log messages I put to see if everything works fine (the debug messages will be silenced before release the fix), as you can see my phone, when in 2G mode and after a reboot, is flooded by bad irqs caused by antenna interference:

<6>[ 400.776885] sync done.
[COLOR="Red"]<6>[ 400.799316] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs[/COLOR]
<6>[ 400.872924] [msm7x30.c:msm_device_put] device speaker_rx set 0
<6>[ 400.873687] yda165:speaker off
<6>[ 400.909301] msm_snddev_poweramp_off_speaker: power off amplifier
<6>[ 400.911834] [adsp.c:msm_adsp_put] closing module AFETASK
<6>[ 400.912109] [msm7x30.c:msm_device_put] device speaker_tx set 0
<6>[ 400.912170] [audpp.c:audpp_dsp_event] DISABLE
<6>[ 400.912170] [audpp.c:audpp_disable] Received CFG_MSG_DISABLE from ADSP
<6>[ 400.912200] [adsp.c:msm_adsp_disable] disable interrupt
<6>[ 400.912200] [adsp.c:msm_adsp_put] closing module AUDPPTASK
[COLOR="Red"]<6>[ 400.939270] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 60 irqs
<6>[ 400.959320] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 50 irqs
<6>[ 401.069305] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 401.219329] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 401.379302] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 401.399322] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 6 irqs
<6>[ 401.429290] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 9 irqs
<6>[ 401.449310] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 6 irqs
<6>[ 401.469329] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 6 irqs
<6>[ 401.489288] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 7 irqs
<6>[ 401.509307] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 401.529327] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 401.549285] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 54 irqs
<6>[ 401.569305] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 80 irqs
<6>[ 401.589324] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 62 irqs
<6>[ 401.609283] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 85 irqs
<6>[ 401.629302] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 6 irqs
<6>[ 401.649322] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 6 irqs
<6>[ 401.669281] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 10 irqs
<6>[ 401.689300] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 5 irqs
<6>[ 401.849304] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 402.039276] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 53 irqs
<6>[ 402.059326] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 402.099273] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 56 irqs
<6>[ 402.159271] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 54 irqs[/COLOR]
<4>[ 402.876983] [diony] yas_acc_set_enable = 0.
[COLOR="Red"]<6>[ 402.999298] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 57 irqs
<6>[ 403.019256] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 49 irqs
<6>[ 403.079254] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 57 irqs
<6>[ 403.099243] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 46 irqs
<6>[ 403.119262] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 109 irqs
<6>[ 403.139251] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 49 irqs
<6>[ 403.409240] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 34 irqs
<6>[ 403.429260] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 29 irqs
<6>[ 403.479248] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 58 irqs
<6>[ 403.519256] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 48 irqs
<6>[ 403.539245] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 110 irqs
<6>[ 403.559265] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 66 irqs
<6>[ 403.579284] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 48 irqs
<6>[ 403.599243] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 76 irqs
<6>[ 404.859313] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 405.149322] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs
<6>[ 405.299316] pm8xxx-keypad pm8xxx-keypad: Ignoring possible phantom HOME key presses, received 4 irqs[/COLOR]
<4>[ 405.642852] [MAX17043] FGPureSOC = 9481 (94.81)	FGAdjustSOC = 9744	FGSOC = 97
<6>[ 405.644378] [BATT] msm_batt_update_psy_status: charger_status=0, charger_type=2, battery_status=0, battery_temp_adc=671, chg_current=449, wc_adc=0
<6>[ 405.644439] [BATT] msm_batt_update_psy_status: power_supply_changed !

in the next hours and tomorrow, I'll do further testings of this fix, let's see...