Skip to content

Instantly share code, notes, and snippets.

@Nokius Nokius/dmsg swipe bottom to top Secret

Last active Oct 11, 2016
Embed
What would you like to do?
[SFOS] cancro debug dt2w
[ 186.645619] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 186.651930] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 186.659828] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 187.370227] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 187.370266] ~~~~ FOUND T81 MESSAGE
[ 187.370295] ~~~~ data->is_stopped 1
[ 201.098742] BMS: adjust_soc: s 100 i -135811 v 4350606 ocv 4300000 rbatt 158 uuc 60380 cc -4270 r 3019000 t 272 f 3019000
[ 202.431664] qpnp_chg_thermal_monitor_work: temp 272 lvl 0 0
[ 220.222134] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 220.222173] ~~~~ FOUND T81 MESSAGE
[ 220.222201] ~~~~ data->is_stopped 1
[ 221.099128] BMS: adjust_soc: s 100 i -130310 v 4350021 ocv 4300000 rbatt 158 uuc 60380 cc -5000 r 3019000 t 272 f 3019000
[ 222.432914] qpnp_chg_thermal_monitor_work: temp 271 lvl 0 0
[ 228.118092] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 228.118131] ~~~~ FOUND T81 MESSAGE
[ 228.118159] ~~~~ data->is_stopped 1
[ 241.099483] BMS: adjust_soc: s 100 i -129190 v 4350315 ocv 4300000 rbatt 159 uuc 60380 cc -5714 r 3019000 t 271 f 3019000
[ 242.434178] qpnp_chg_thermal_monitor_work: temp 271 lvl 0 0
[ 261.099264] BMS: adjust_soc: s 100 i -128068 v 4350900 ocv 4300000 rbatt 159 uuc 60380 cc -6423 r 3019000 t 270 f 3019000
[ 262.435449] qpnp_chg_thermal_monitor_work: temp 270 lvl 0 0
[ 274.533108] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 274.533148] ~~~~ FOUND T81 MESSAGE
[ 274.533177] ~~~~ data->is_stopped 1
[ 278.480672] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 278.480715] ~~~~ FOUND T81 MESSAGE
[ 278.480744] ~~~~ data->is_stopped 1
[ 281.099346] BMS: adjust_soc: s 100 i -126337 v 4350606 ocv 4300000 rbatt 159 uuc 60380 cc -7120 r 3019000 t 270 f 3019000
[ 282.255779] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 282.255816] ~~~~ FOUND T81 MESSAGE
[ 282.255843] ~~~~ data->is_stopped 1
[ 282.436685] qpnp_chg_thermal_monitor_work: temp 270 lvl 0 0
[ 286.650303] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 286.650342] ~~~~ FOUND T81 MESSAGE
[ 286.650370] ~~~~ data->is_stopped 1
[ 291.248531] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 291.248574] ~~~~ FOUND T81 MESSAGE
[ 291.248603] ~~~~ data->is_stopped 1
[ 301.139322] BMS: adjust_soc: s 100 i -125215 v 4351194 ocv 4300000 rbatt 159 uuc 60380 cc -7802 r 3019000 t 269 f 3019000
[ 302.437910] qpnp_chg_thermal_monitor_work: temp 269 lvl 0 0
[ 311.149010] atmel_mxt_ts_640t 2-004b: msg for t81 = 0x28 0x1
[ 311.149049] ~~~~ FOUND T81 MESSAGE
[ 311.149078] ~~~~ data->is_stopped 1
drwxr-xr-x 2 root root 0 Oct 6 22:14 DRV2604
drwxr-xr-x 2 root root 0 Oct 6 22:14 atmel_mxt_ts
drwxr-xr-x 2 root root 0 Oct 6 22:14 atmel_mxt_ts_640t
drwxr-xr-x 2 root root 0 Oct 6 22:14 bcm2079x-i2c
drwxr-xr-x 2 root root 0 Oct 6 22:14 bmp280
drwxr-xr-x 2 root root 0 Oct 6 22:14 bq28400
drwxr-xr-x 2 root root 0 Oct 6 22:14 camera
drwxr-xr-x 2 root root 0 Oct 6 22:14 cm36686
drwxr-xr-x 2 root root 0 Oct 6 22:14 cyttsp_streetfighter
drwxr-xr-x 2 root root 0 Oct 6 22:14 dummy
drwxr-xr-x 2 root root 0 Oct 6 22:14 fts_i2c
drwxr-xr-x 2 root root 0 Oct 6 22:14 i2c_hid
drwxr-xr-x 2 root root 0 Oct 6 22:14 imx132
drwxr-xr-x 2 root root 0 Oct 6 22:14 imx135
drwxr-xr-x 2 root root 0 Oct 6 22:14 imx214
drwxr-xr-x 2 root root 0 Oct 6 22:14 ir-kbd-i2c
drwxr-xr-x 2 root root 0 Oct 6 22:14 msm_eeprom
drwxr-xr-x 2 root root 0 Oct 6 22:14 ov4688
drwxr-xr-x 2 root root 0 Oct 6 22:14 qcom,led-flash
drwxr-xr-x 2 root root 0 Oct 6 22:14 smb350
drwxr-xr-x 2 root root 0 Oct 6 22:14 stm32_fwupdate
drwxr-xr-x 2 root root 0 Oct 6 22:14 synaptics_dsx_i2c
drwxr-xr-x 2 root root 0 Oct 6 22:14 tabla-i2c-core
drwxr-xr-x 2 root root 0 Oct 6 22:14 tas2552
drwxr-xr-x 2 root root 0 Oct 6 22:14 tpa6130a2
drwxr-xr-x 2 root root 0 Oct 6 22:14 wcd9xxx-i2c-core
sh-3.2# dmesg | grep atmel_mxt_ts
[ 1.177662] atmel_mxt_ts_640t 2-004b: reset gpio= 60
[ 1.177667] atmel_mxt_ts_640t 2-004b: irq gpio= 54
[ 1.177674] atmel_mxt_ts_640t 2-004b: power gpio= 48
[ 1.177682] atmel_mxt_ts_640t 2-004b: fw name = mxT640T10AA.fw
[ 1.177688] atmel_mxt_ts_640t 2-004b: config size = 6
[ 1.177693] atmel_mxt_ts_640t 2-004b: gpio mask = 0x1c
[ 1.177700] atmel_mxt_ts_640t 2-004b: cut off power = 0
[ 1.177705] atmel_mxt_ts_640t 2-004b: family_id = 0xa4
[ 1.177712] atmel_mxt_ts_640t 2-004b: variant_id = 0x7
[ 1.177718] atmel_mxt_ts_640t 2-004b: version = 0x5
[ 1.177723] atmel_mxt_ts_640t 2-004b: build = 0x12
[ 1.177730] atmel_mxt_ts_640t 2-004b: mxt_cfg_name = mxt_640t_config_revc.fw
[ 1.177737] atmel_mxt_ts_640t 2-004b: vendor_id = 0x1c
[ 1.177743] atmel_mxt_ts_640t 2-004b: rev_id = 0x22
[ 1.177749] atmel_mxt_ts_640t 2-004b: wakeup self adcx = 0x0
[ 1.177757] atmel_mxt_ts_640t 2-004b: family_id = 0xa4
[ 1.177764] atmel_mxt_ts_640t 2-004b: variant_id = 0x7
[ 1.177769] atmel_mxt_ts_640t 2-004b: version = 0x10
[ 1.177775] atmel_mxt_ts_640t 2-004b: build = 0xaa
[ 1.177781] atmel_mxt_ts_640t 2-004b: mxt_cfg_name = mxt_640t_config_revd.fw
[ 1.177787] atmel_mxt_ts_640t 2-004b: vendor_id = 0x1c
[ 1.177793] atmel_mxt_ts_640t 2-004b: rev_id = 0x32
[ 1.177799] atmel_mxt_ts_640t 2-004b: wakeup self adcx = 0x10
[ 1.177805] atmel_mxt_ts_640t 2-004b: family_id = 0xa4
[ 1.177812] atmel_mxt_ts_640t 2-004b: variant_id = 0x7
[ 1.177818] atmel_mxt_ts_640t 2-004b: version = 0x10
[ 1.177824] atmel_mxt_ts_640t 2-004b: build = 0xaa
[ 1.177829] atmel_mxt_ts_640t 2-004b: mxt_cfg_name = mxt_640t_config_revd.fw
[ 1.177834] atmel_mxt_ts_640t 2-004b: vendor_id = 0x14
[ 1.177838] atmel_mxt_ts_640t 2-004b: rev_id = 0x32
[ 1.177843] atmel_mxt_ts_640t 2-004b: wakeup self adcx = 0x10
[ 1.177848] atmel_mxt_ts_640t 2-004b: family_id = 0xa4
[ 1.177853] atmel_mxt_ts_640t 2-004b: variant_id = 0x7
[ 1.177857] atmel_mxt_ts_640t 2-004b: version = 0x10
[ 1.177862] atmel_mxt_ts_640t 2-004b: build = 0xaa
[ 1.177867] atmel_mxt_ts_640t 2-004b: mxt_cfg_name = mxt_640t_ofilm_config.fw
[ 1.177872] atmel_mxt_ts_640t 2-004b: vendor_id = 0x18
[ 1.177877] atmel_mxt_ts_640t 2-004b: rev_id = 0x32
[ 1.177886] atmel_mxt_ts_640t 2-004b: wakeup self adcx = 0x10
[ 1.177891] atmel_mxt_ts_640t 2-004b: family_id = 0xa4
[ 1.177895] atmel_mxt_ts_640t 2-004b: variant_id = 0x7
[ 1.177900] atmel_mxt_ts_640t 2-004b: version = 0x10
[ 1.177905] atmel_mxt_ts_640t 2-004b: build = 0xaa
[ 1.177909] atmel_mxt_ts_640t 2-004b: mxt_cfg_name = mxt_640t_biel_config.fw
[ 1.177914] atmel_mxt_ts_640t 2-004b: vendor_id = 0xc
[ 1.177919] atmel_mxt_ts_640t 2-004b: rev_id = 0x32
[ 1.177923] atmel_mxt_ts_640t 2-004b: wakeup self adcx = 0x10
[ 1.177929] atmel_mxt_ts_640t 2-004b: family_id = 0xa4
[ 1.177934] atmel_mxt_ts_640t 2-004b: variant_id = 0x7
[ 1.177939] atmel_mxt_ts_640t 2-004b: version = 0x10
[ 1.177946] atmel_mxt_ts_640t 2-004b: build = 0xaa
[ 1.177951] atmel_mxt_ts_640t 2-004b: mxt_cfg_name = mxt_640t_laibao_config.fw
[ 1.177956] atmel_mxt_ts_640t 2-004b: vendor_id = 0x0
[ 1.177961] atmel_mxt_ts_640t 2-004b: rev_id = 0x32
[ 1.177966] atmel_mxt_ts_640t 2-004b: wakeup self adcx = 0x10
[ 1.274863] atmel_mxt_ts_640t 2-004b: mxt_read_reg: i2c transfer failed (-107)
[ 1.274870] atmel_mxt_ts_640t 2-004b: Bootloader i2c addr: 0x27
[ 1.274956] atmel_mxt_ts_640t 2-004b: mxt_probe_bootloader: i2c recv failed
[ 1.275370] atmel_mxt_ts_640t 2-004b: Family ID: 164 Variant ID: 7 Version: 1.0.AA Object Num: 39
[ 1.304615] atmel_mxt_ts_640t 2-004b: read rev_id = 0x32
[ 1.346346] atmel_mxt_ts_640t 2-004b: T19: vendor_id & gpio_mask = 0xf & 0x1c = 0xc
[ 1.346354] atmel_mxt_ts_640t 2-004b: msg for t109 = 0x3 0x0
[ 1.346359] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 1.346601] atmel_mxt_ts_640t 2-004b: Choose config 4: mxt_640t_biel_config.fw, is_default = 0
[ 1.346983] atmel_mxt_ts_640t 2-004b: Got userdata info: 35 33 31 32 03 EB 01 00
[ 1.346995] atmel_mxt_ts_640t 2-004b: Config CRC 0xA75C5E: OK
[ 1.351714] atmel_mxt_ts_640t 2-004b: xrange = 1919, yrange = 1079
[ 1.351720] atmel_mxt_ts_640t 2-004b: Matrix Size X32Y20 Touchscreen size X1079Y1919
[ 1.351729] atmel_mxt_ts_640t 2-004b: report area
[ 1.351734] atmel_mxt_ts_640t 2-004b: report pressure
[ 1.352485] atmel_mxt_ts_640t 2-004b: T19: vendor_id & gpio_mask = 0x2f & 0x1c = 0xc
[ 1.361686] atmel_mxt_ts_640t 2-004b: msg for t109 = 0x3 0x0
[ 1.389667] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 15.212541] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 18.560115] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 18.586910] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 49.406658] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 49.420278] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 55.763241] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 55.770342] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 55.911531] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 94.449515] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 94.455356] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 108.554195] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 108.561362] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 108.702201] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 119.046480] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 119.053072] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 130.306449] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 130.314331] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 130.425421] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 141.714143] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 141.719342] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 145.322598] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 145.329676] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 145.440807] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 190.927583] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 190.933035] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 196.739819] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 196.747882] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 196.854386] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 210.693420] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 210.702052] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 216.517573] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 216.526355] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 216.634756] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 229.800619] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 235.505379] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 235.511612] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 1393.887327] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 1393.894533] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 1394.002685] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 1404.473967] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 1404.480689] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 1807.975103] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 1807.979510] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 1808.123434] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 1818.516078] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 1818.524218] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2050.519668] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2050.527581] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2050.668363] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 2061.067418] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2061.073700] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2110.286500] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2110.293319] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2110.407963] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 2114.688498] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2114.694933] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2171.151784] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2171.161136] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2171.269747] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 2199.690256] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2199.698549] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2267.221867] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2267.230295] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2267.340081] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 2269.709361] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2269.716337] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2287.423781] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2287.431311] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2287.541432] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 2328.525067] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2328.531837] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2562.256249] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2562.262546] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2562.372077] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 2641.515331] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2641.520659] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 2809.222733] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2809.229859] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 2809.338916] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 3264.824646] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 3264.831046] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 4415.589960] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 4415.595893] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[ 4415.688391] atmel_mxt_ts_640t 2-004b: Calibration start!
[ 4419.360446] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[ 4419.366211] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87078.263681] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87085.691757] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[87085.699826] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[87085.808888] atmel_mxt_ts_640t 2-004b: Calibration start!
[87085.905436] atmel_mxt_ts_640t 2-004b: Calibration start!
[87087.097156] atmel_mxt_ts_640t 2-004b: Calibration start!
[87091.374727] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87091.381021] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87170.665900] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87382.445393] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87493.331942] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87495.984750] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[87495.992400] atmel_mxt_ts_640t 2-004b: ##### UNBLANK SCREEN #####
[87496.111541] atmel_mxt_ts_640t 2-004b: Calibration start!
[87512.873145] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87512.878671] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
[87557.354197] atmel_mxt_ts_640t 2-004b: ##### BLANK SCREEN #####
sh-3.2# find /sys/bus/i2c/drivers/atmel_mxt_ts_640t/
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/bind
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/uevent
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/unbind
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b
sh-3.2# ls -R /sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/:
build chip_reset diagnostic hover_from_flash input mem_access name pause_driver self_tune sensitive_mode stylus uevent update_fw_flag wakeup_mode
chg_state debug_enable driver hover_tune keys_off modalias panel_color power selftest slowscan_enable subsystem update_fw version
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/input:
input2
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/input/input2:
capabilities device enabled event2 id modalias name phys power properties subsystem uevent uniq
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/input/input2/capabilities:
abs ev ff key led msc rel snd sw
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/input/input2/event2:
dev device power subsystem uevent
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/input/input2/event2/power:
autosuspend_delay_ms control runtime_active_time runtime_status runtime_suspended_time
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/input/input2/id:
bustype product vendor version
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/input/input2/power:
autosuspend_delay_ms control runtime_active_time runtime_status runtime_suspended_time
/sys/bus/i2c/drivers/atmel_mxt_ts_640t/2-004b/power:
autosuspend_delay_ms runtime_active_time runtime_suspended_time wakeup_abort_count wakeup_active_count wakeup_expire_count wakeup_max_time_ms wakeup_total_time_ms
control runtime_status wakeup wakeup_active wakeup_count wakeup_last_time_ms wakeup_prevent_sleep_time_ms
from ../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:16:
../../../../../../kernel/xiaomi/cancro/include/linux/kernel.h:323:5: note: expected 'char *' but argument is of type 'const char *'
int snprintf(char *buf, size_t size, const char *fmt, ...);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4078:12: error: invalid storage class for function 'mxt_chip_reset'
static int mxt_chip_reset(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4078:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
static int mxt_chip_reset(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4114:16: error: invalid storage class for function 'mxt_chip_reset_store'
static ssize_t mxt_chip_reset_store(struct device *dev,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4128:16: error: invalid storage class for function 'mxt_chg_state_show'
static ssize_t mxt_chg_state_show(struct device *dev,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4141:13: error: invalid storage class for function 'mxt_switch_mode_work'
static void mxt_switch_mode_work(struct work_struct *work)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_switch_mode_work':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4160:4: error: implicit declaration of function 'mxt_enable_gesture_mode' [-Werror=implicit-function-declaration]
mxt_enable_gesture_mode(data);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_sensitive_mode_switch':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4171:12: error: invalid storage class for function 'mxt_input_event'
static int mxt_input_event(struct input_dev *dev,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_input_event':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4190:5: error: expected ';' before 'dev_err'
dev_err(&data->client->dev,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_sensitive_mode_switch':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4200:16: error: invalid storage class for function 'mxt_mem_access_read'
static ssize_t mxt_mem_access_read(struct file *filp, struct kobject *kobj,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4217:16: error: invalid storage class for function 'mxt_mem_access_write'
static ssize_t mxt_mem_access_write(struct file *filp, struct kobject *kobj,
^
In file included from ../../../../../../kernel/xiaomi/cancro/include/linux/i2c.h:33:0,
from ../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:20:
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: initializer element is not constant
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4250:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(diagnostic, S_IWUSR | S_IRUSR, mxt_diagnostic_show, mxt_diagnostic_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: (near initialization for 'dev_attr_diagnostic.show')
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4250:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(diagnostic, S_IWUSR | S_IRUSR, mxt_diagnostic_show, mxt_diagnostic_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: initializer element is not constant
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4250:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(diagnostic, S_IWUSR | S_IRUSR, mxt_diagnostic_show, mxt_diagnostic_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: (near initialization for 'dev_attr_diagnostic.store')
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4250:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(diagnostic, S_IWUSR | S_IRUSR, mxt_diagnostic_show, mxt_diagnostic_store);
^
In file included from ../../../../../../kernel/xiaomi/cancro/include/linux/kobject.h:21:0,
from ../../../../../../kernel/xiaomi/cancro/include/linux/module.h:16,
from ../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:16:
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4251:55: error: 'mxt_sensitive_mode_show' undeclared (first use in this function)
static DEVICE_ATTR(sensitive_mode, S_IWUSR | S_IRUSR, mxt_sensitive_mode_show, mxt_sensitive_mode_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:72:10: note: in definition of macro '__ATTR'
.show = _show, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4251:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(sensitive_mode, S_IWUSR | S_IRUSR, mxt_sensitive_mode_show, mxt_sensitive_mode_store);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4251:80: error: 'mxt_sensitive_mode_store' undeclared (first use in this function)
static DEVICE_ATTR(sensitive_mode, S_IWUSR | S_IRUSR, mxt_sensitive_mode_show, mxt_sensitive_mode_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:73:11: note: in definition of macro '__ATTR'
.store = _store, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4251:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(sensitive_mode, S_IWUSR | S_IRUSR, mxt_sensitive_mode_show, mxt_sensitive_mode_store);
^
In file included from ../../../../../../kernel/xiaomi/cancro/include/linux/i2c.h:33:0,
from ../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:20:
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: initializer element is not constant
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4252:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(chip_reset, S_IWUSR, NULL, mxt_chip_reset_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: (near initialization for 'dev_attr_chip_reset.store')
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4252:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(chip_reset, S_IWUSR, NULL, mxt_chip_reset_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: initializer element is not constant
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4253:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(chg_state, S_IRUGO, mxt_chg_state_show, NULL);
^
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:501:9: error: (near initialization for 'dev_attr_chg_state.show')
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4253:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(chg_state, S_IRUGO, mxt_chg_state_show, NULL);
^
In file included from ../../../../../../kernel/xiaomi/cancro/include/linux/kobject.h:21:0,
from ../../../../../../kernel/xiaomi/cancro/include/linux/module.h:16,
from ../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:16:
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4254:52: error: 'mxt_wakeup_mode_show' undeclared (first use in this function)
static DEVICE_ATTR(wakeup_mode, S_IWUSR | S_IRUSR, mxt_wakeup_mode_show, mxt_wakeup_mode_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:72:10: note: in definition of macro '__ATTR'
.show = _show, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4254:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(wakeup_mode, S_IWUSR | S_IRUSR, mxt_wakeup_mode_show, mxt_wakeup_mode_store);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4254:74: error: 'mxt_wakeup_mode_store' undeclared (first use in this function)
static DEVICE_ATTR(wakeup_mode, S_IWUSR | S_IRUSR, mxt_wakeup_mode_show, mxt_wakeup_mode_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:73:11: note: in definition of macro '__ATTR'
.store = _store, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4254:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(wakeup_mode, S_IWUSR | S_IRUSR, mxt_wakeup_mode_show, mxt_wakeup_mode_store);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4255:51: error: 'mxt_hover_tune_show' undeclared (first use in this function)
static DEVICE_ATTR(hover_tune, S_IWUSR | S_IRUSR, mxt_hover_tune_show, mxt_hover_tune_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:72:10: note: in definition of macro '__ATTR'
.show = _show, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4255:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(hover_tune, S_IWUSR | S_IRUSR, mxt_hover_tune_show, mxt_hover_tune_store);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4255:72: error: 'mxt_hover_tune_store' undeclared (first use in this function)
static DEVICE_ATTR(hover_tune, S_IWUSR | S_IRUSR, mxt_hover_tune_show, mxt_hover_tune_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:73:11: note: in definition of macro '__ATTR'
.store = _store, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4255:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(hover_tune, S_IWUSR | S_IRUSR, mxt_hover_tune_show, mxt_hover_tune_store);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4256:53: error: 'mxt_hover_from_flash_store' undeclared (first use in this function)
static DEVICE_ATTR(hover_from_flash, S_IWUSR, NULL, mxt_hover_from_flash_store);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:73:11: note: in definition of macro '__ATTR'
.store = _store, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4256:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(hover_from_flash, S_IWUSR, NULL, mxt_hover_from_flash_store);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4257:42: error: 'mxt_panel_color_show' undeclared (first use in this function)
static DEVICE_ATTR(panel_color, S_IRUSR, mxt_panel_color_show, NULL);
^
../../../../../../kernel/xiaomi/cancro/include/linux/sysfs.h:72:10: note: in definition of macro '__ATTR'
.show = _show, \
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4257:8: note: in expansion of macro 'DEVICE_ATTR'
static DEVICE_ATTR(panel_color, S_IRUSR, mxt_panel_color_show, NULL);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4286:13: error: invalid storage class for function 'mxt_set_t7_for_gesture'
static void mxt_set_t7_for_gesture(struct mxt_data *data, bool enable)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_set_t7_for_gesture':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4300:12: error: 't7_gesture' undeclared (first use in this function)
t7_val = t7_gesture= 0; i < sizeof(t7_gesture_enable); i++) {
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4300:27: warning: statement with no effect [-Wunused-value]
t7_val = t7_gesture= 0; i < sizeof(t7_gesture_enable); i++) {
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4300:61: error: expected ';' before ')' token
t7_val = t7_gesture= 0; i < sizeof(t7_gesture_enable); i++) {
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4300:61: error: expected statement before ')' token
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4292:5: warning: unused variable 't7_gesture_disable' [-Wunused-variable]
u8 t7_gesture_disable[] = {
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_sensitive_mode_switch':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4310:13: error: invalid storage class for function 'mxt_set_gesture_wake_up'
static void mxt_set_gesture_wake_up(struct mxt_data *data, bool enable)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4368:13: error: invalid storage class for function 'mxt_start'
static void mxt_start(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4396:13: error: invalid storage class for function 'mxt_stop'
static void mxt_stop(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4418:12: error: invalid storage class for function 'mxt_input_open'
static int mxt_input_open(struct input_dev *dev)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4427:13: error: invalid storage class for function 'mxt_input_close'
static void mxt_input_close(struct input_dev *dev)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4434:13: error: invalid storage class for function 'mxt_clear_touch_event'
static void mxt_clear_touch_event(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4451:42: error: expected ';', ',' or ')' before '*' token
static int mxt_suspend(struct device ent *client = to_i2c_client(dev);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4527:12: error: invalid storage class for function 'mxt_resume'
static int mxt_resume(struct device *dev)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_resume':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4593:16: error: 'ts' undeclared (first use in this function)
mutex_unlock&ts->client->dev);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4593:31: error: expected ';' before ')' token
mutex_unlock&ts->client->dev);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4593:31: error: expected statement before ')' token
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4600:12: error: invalid storage class for function 'mxt_input_disable'
static int mxt_input_disable(struct input_dev *in_dev)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_input_disable':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4605:2: error: implicit declaration of function 'mxt_suspend' [-Werror=implicit-function-declaration]
error = mxt_suspend(&ts->client->dev);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_resume':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4600:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
static int mxt_input_disable(struct input_dev *in_dev)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4613:12: error: invalid storage class for function 'fb_notifier_cb'
static int fb_notifier_cb(struct notifier_block *self,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'fb_notifier_cb':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4625:4: error: implicit declaration of function 'mxt_input_enable' [-Werror=implicit-function-declaration]
mxt_input_enable(mxt_data->input_dev);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_resume':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4635:13: error: invalid storage class for function 'configure_sleep'
static void configure_sleep(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4655:12: error: invalid storage class for function 'mxt_initialize_input_device'
static int mxt_initialize_input_device(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_initialize_input_device':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4726:6: error: called object 'data' is not a function or function pointer
data(input_dev, data);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4655:57: note: declared here
static int mxt_initialize_input_device(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4742:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
static struct dentry *debug_base;
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4744:12: error: invalid storage class for function 'mxt_debugfs_object_show'
static int mxt_debugfs_object_show(struct seq_file *m, void *v)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4792:16: error: invalid storage class for function 'mxt_debugfs_object_store'
static ssize_t mxt_debugfs_object_store(struct file *file,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4810:12: error: invalid storage class for function 'mxt_debugfs_object_open'
static int mxt_debugfs_object_open(struct inode *inode, struct file *file)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4817:2: error: initializer element is not constant
.open = mxt_debugfs_object_open,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4817:2: error: (near initialization for 'mxt_object_fops.open')
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4819:2: error: initializer element is not constant
.write = mxt_debugfs_object_store,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4819:2: error: (near initialization for 'mxt_object_fops.write')
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4823:23: error: invalid storage class for function 'mxt_debugfs_init'
static void __devinit mxt_debugfs_init(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4838:13: error: invalid storage class for function 'mxt_update_fw_by_flag'
static void mxt_update_fw_by_flag(struct mxt_data *data)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4861:13: error: invalid storage class for function 'mxt_dump_value'
static void mxt_dump_value(struct device *dev, struct mxt_platform_data *pdata)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_dump_value':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4867:2: warning: too many arguments for format [-Wformat-extra-args]
dev_info(dev, "powern", pdata->power_gpio);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_initialize_input_device':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4886:12: error: invalid storage class for function 'mxt_parse_dt'
static int mxt_parse_dt(struct device *dev, struct mxt_platform_data *pdata)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_parse_dt':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4975:4: error: unknown type name 'devUnable'
devUnable to read vendor id\n");
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4975:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'read'
devUnable to read vendor id\n");
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4975:17: error: stray '\' in program
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4975:33: warning: missing terminating " character [enabled by default]
devUnable to read vendor id\n");
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4975:17: error: missing terminating " character
devUnable to read vendor id\n");
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_initialize_input_device':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5082:22: error: invalid storage class for function 'mxt_probe'
static int __devinit mxt_probe(struct i2c_client *client,
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_probe':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5101:3: error: implicit declaration of function 'rse_dt' [-Werror=implicit-function-declaration]
error =rse_dt(&client->dev, pdata);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5225:13: error: 'clie_object' undeclared (first use in this function)
dev_err(&clie_object;
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5225:24: error: expected ')' before ';' token
dev_err(&clie_object;
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5226:3: error: too few arguments to function 'dev_err'
}
^
In file included from ../../../../../../kernel/xiaomi/cancro/include/linux/i2c.h:33:0,
from ../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:20:
../../../../../../kernel/xiaomi/cancro/include/linux/device.h:906:5: note: declared here
int dev_err(const struct device *dev, const char *fmt, ...);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5226:3: error: expected ';' before '}' token
}
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5292:1: warning: label 'err_free_object' defined but not used [-Wunused-label]
err_free_object:
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_initialize_input_device':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5325:22: error: invalid storage class for function 'mxt_remove'
static int __devexit mxt_remove(struct i2c_client *client)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_remove':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5347:25: error: 'struct mxt_data' has no member named 're'
regulator_disable(data->re void mxt_shutdown(struct i2c_client *client)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5347:30: error: expected ')' before 'void'
regulator_disable(data->re void mxt_shutdown(struct i2c_client *client)
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: error: expected declaration or statement at end of input
MODULE_LICENSE("GPL");
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: warning: no return statement in function returning non-void [-Wreturn-type]
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_initialize_input_device':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: error: expected declaration or statement at end of input
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_resume':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: error: expected declaration or statement at end of input
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_sensitive_mode_switch':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: error: expected declaration or statement at end of input
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_stylus_store':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: error: expected declaration or statement at end of input
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: error: expected declaration or statement at end of input
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:5440:1: error: expected declaration or statement at end of input
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: At top level:
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:1234:13: warning: 'mxt_set_t7_for_gesture' used but never defined [enabled by default]
static void mxt_set_t7_for_gesture(struct mxt_data *data, bool enable);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:1995:12: warning: 'mxt_chip_reset' used but never defined [enabled by default]
static int mxt_chip_reset(struct mxt_data *data);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:1235:13: warning: 'mxt_set_gesture_wake_up' declared 'static' but never defined [-Wunused-function]
static void mxt_set_gesture_wake_up(struct mxt_data *data, bool enable);
^
CC drivers/input/touchscreen/atmel_mxt_ts_640t.o
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c: In function 'mxt_wakeup_mode_store':
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4147:76: error: 'i' undeclared (first use in this function)
printk(KERN_WARNING "~~~~~ wakeup self adcx = 0x%x\n", pdata->config_array[i].wake_up_self_adcx);
^
../../../../../../kernel/xiaomi/cancro/drivers/input/touchscreen/atmel_mxt_ts_640t.c:4147:76: note: each undeclared identifier is reported only once for each function it appears in
make[5]: *** [drivers/input/touchscreen/atmel_mxt_ts_640t.o] Error 1
make[4]: *** [drivers/input/touchscreen] Error 2
make[3]: *** [drivers/input] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/user/mer/android/droid/kernel/xiaomi/cancro'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (01:44 (mm:ss)) ####
mce: T+0.000 D: event-input.c: evin_iomon_touchscreen_cb(): type: EV_MSC, code: MSC_GESTURE, value: 4
mce: T+0.000 D: powerkey.c: pwrkey_datapipes_keypress_cb(): gesture(4)
mce: T+0.000 D: powerkey.c: pwrkey_mask_execute(): * exec(unblank)
mce: T+0.000 D: powerkey.c: pwrkey_action_unblank(): Requesting display=ON
mce: T+0.002 D: powerkey.c: pwrkey_datapipe_display_state_next_cb(): display_state_next = OFF -> ON
mce: T+0.003 D: event-input.c: evin_ts_grab_display_state_cb(): display_state=POWER_UP
mce: T+0.004 D: event-input.c: evin_input_grab_set_touching(): touching(ts) = yes
mce: T+0.004 D: event-input.c: evin_input_grab_set_touching(): touching(ts) = no
mce: T+0.005 D: event-input.c: evin_iomon_touchscreen_cb(): type: EV_SYN, code: SYN_REPORT, value: 0
mce: T+0.605 D: event-input.c: evin_input_grab_release_cb(): touching(ts) = released
mce: T+0.632 D: event-input.c: evin_ts_grab_display_state_cb(): display_state=ON
mce: T+0.644 D: event-input.c: evin_input_grab_iomon_cb(): UNGRABBED fd=16 path=/dev/input/event2
mce: T+8.000 END OF BURST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.