[HTC One S] eabinsan:
even more strange: it seems that the gyro gets powered off by accident, and then the device becomes totally unresponsive. Sometimes it just reboots, sometimes it manages to power it on. This happens when multi-tasking. e.g.:

<6>[ 1494.150373] [TP] Total finger count: 0
<6>[ 1494.823134] [GYRO][PANASONIC] rv_status, -9544, -13401, -999708, 17690
<6>[ 1494.823134]
<6>[ 1495.247428] [GYRO][PANASONIC] a_status : gsensor data: -14, 22, -708<6>[ 1495.603875] [TP] Total finger count: 0
<6>[ 1496.343201] [GYRO][PANASONIC] rv_status, -9652, -11358, -999867, 6556
<6>[ 1496.343231]
<6>[ 1497.262413] [TP] Total finger count: 0
<6>[ 1497.863451] [GYRO][PANASONIC] rv_status, -13252, -12531, -999825, 4088
<6>[ 1497.863451]
<6>[ 1498.472790] [TP] Total finger count: 0
<6>[ 1499.251518] [BATT][CHG] eoc_worker: eoc_count: 0, eoc_count_by_curr:0, pj_chg_full: 0
<6>[ 1499.383152] [GYRO][PANASONIC] rv_status, -9007, -14975, -999416, 29353
<6>[ 1499.383152]
<6>[ 1499.877216] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
<6>[ 1499.882801] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x9
<6>[ 1499.889119] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=0, m_status=0,rv_status=1, la_status=0, gv_status=0,
<6>[ 1499.908591] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
<6>[ 1499.914817] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is times.
<6>[ 1499.938836] [COMP][AKM8975] ECS_IOCTL_APP_SET_MFLAG,(m, a, t, mv) = (0x0, 0x1, 0x0, 0x0), m_f_times 0
<6>[ 1499.952815] [GYRO][PANASONIC] ewtzmu2daemon_ioctl: EWDAE_IOCTL_GET_AKM_READY,akm_ready= 0x0<6>[ 1499.963802] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
<6>[ 1499.968838] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x9
<6>[ 1499.975552] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=0, m_status=0,rv_status=1, la_status=0, gv_status=0,
<6>[ 1499.987669] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=0
<6>[ 1499.994048] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is times.
<6>[ 1500.000732] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
<6>[ 1500.007019] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x1
<6>[ 1500.013123] [GYRO][PANASONIC] Gyro AP on:off_status_hal=0,g_status=0, o_status=0, m_status=0,rv_status=0, la_status=0, gv_status=0,
<6>[ 1500.025178] [GYRO][PANASONIC] Gyro power off:g_status=0off_status_hal=0
<6>[ 1500.031679] config_ville_gyro_diag_gpios 58 pull down
<6>[ 1500.046726] [GYRO][PANASONIC] EWTZMU2_Power_Off
<6>[ 1500.050419] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is times.
<6>[ 1500.495101] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
<6>[ 1500.501327] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x1
<6>[ 1500.507065] [GYRO][PANASONIC] Gyro AP on:off_status_hal=1,g_status=0, o_status=0, m_status=0,rv_status=0, la_status=0, gv_status=0,
<6>[ 1500.518937] [GYRO][PANASONIC] Gyro power off:g_status=0off_status_hal=1
<6>[ 1500.526720] [GYRO][PANASONIC] Release ewtzmu2hal, remainder is times.
<6>[ 1500.536456] [GYRO][PANASONIC] Open device node:ewtzmu2hal times.
<6>[ 1500.536547] [COMP][AKM8975] (m, a, t, mv) = (0x1, 0x1, 0x0, 0x0), set m_f_times 1<6>[ 1500.551044] [GYRO][PANASONIC] Gyro AP on: controldata_active_sensor=0x5
<6>[ 1500.556752] [GYRO][PANASONIC] Gyro AP on:off_status_hal=1,g_status=0, o_status=1, m_status=0,rv_status=0, la_status=0, gv_status=0,
<3>[ 1500.562093] qup_i2c qup_i2c.12: QUP: I2C status flags :0x1300c8, irq:228
<3>[ 1500.562123] qup_i2c qup_i2c.12: I2C slave addr:0x69 not connected
<3>[ 1500.562123] [GYRO][PANASONIC ERROR] Fail to read sensor data(I2C error): ret value=-107
<3>[ 1500.587455] qup_i2c qup_i2c.12: QUP: I2C status flags :0x1383c8, irq:228
<3>[ 1500.587486] qup_i2c qup_i2c.12: I2C slave addr:0x69 not connected
<3>[ 1500.587486] [GYRO][PANASONIC ERROR] Fail to read sensor data(I2C error): ret value=-107
<6>[ 1500.610254] [GYRO][PANASONIC] Gyro power on:g_status=0off_status_hal=1
<3>[ 1500.612665] qup_i2c qup_i2c.12: QUP: I2C status flags :0x1383c8, irq:228
<3>[ 1500.612665] qup_i2c qup_i2c.12: I2C slave addr:0x69 not connected<3>[ 1500.612696] [GYRO][PANASONIC ERROR] Fail to read sensor data(I2C error): ret value=-107
<6>[ 1500.637417] config_ville_gyro_diag_gpios 58 input none pull

addr:0x69 not connected
<3>[ 1611.503677] [GYRO][PANASONIC ERROR] Fail to read sensor data(I2C error): ret value=-107
<3>[ 1611.523637] qup_i2c qup_i2c.12: QUP: I2C status flags :0x1343c8, irq:228
<3>[ 1611.523637] qup_i2c qup_i2c.12: I2C slave addr:0x69 not connected

It outputs interleaved power-on/power-off messages, which is not good, i guess.

Looks a bit like a race condition.