D1s I2C1 PB4/PB5 已经接了上拉电阻,为什么还是会这个错误呢?
-
平台: D1s 官方开发板
board.dts 关于 I2C1部分:
&twi1 { clock-frequency = <400000>; pinctrl-0 = <&twi1_pins_a>; pinctrl-1 = <&twi1_pins_b>; pinctrl-names = "default", "sleep"; dmas = <&dma 44>, <&dma 44>; dma-names = "tx", "rx"; status = "disabled"; ctp@14 { compatible = "allwinner,goodix"; device_type = "ctp"; reg = <0x14>; status = "oaky"; ctp_name = "gt9xxnew_ts"; ctp_twi_id = <0x1>; ctp_twi_addr = <0x14>; ctp_screen_max_x = <0x320>; ctp_screen_max_y = <0x500>; ctp_revert_x_flag = <0x0>; ctp_revert_y_flag = <0x0>; ctp_exchange_x_y_flag = <0x0>; ctp_int_port = <&pio PB 6 GPIO_ACTIVE_HIGH>; /* ctp_wakeup = <&pio PG 15 GPIO_ACTIVE_HIGH>;*/ }; };
root@TinaLinux:/# i2cdetect -y 1 0 1 2 3 4 5 6 7 8 [ 3242.867148] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x3) 9 a b c d e f 00: [ 3242.879533] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4) -- -- [ 3242.891983] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x5) -- [ 3242.901784] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x6) -- [ 3242.911960] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x7) -- [ 3242.921672] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x8) -- [ 3242.931510] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x9) -- [ 3242.941949] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0xa) -- [ 3242.951676] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0xb) -- [ 3242.961543] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0xc) -- [ 3242.971487] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0xd) -- [ 3242.981275] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0xe) -- [ 3242.990967] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0xf) -- 10: [ 3243.001032] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x10) -- [ 3243.011542] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x11) -- [ 3243.021479] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x12) -- [ 3243.031601] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x13) -- [ 3243.041369] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) -- [ 3243.051316] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x15) -- [ 3243.061520] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x16) -- [ 3243.071495] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x17) -- [ 3243.081282] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18) -- [ 3243.091387] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19) -- [ 3243.101331] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a) -- [ 3243.111309] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1b) -- [ 3243.121203] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1c) -- [ 3243.131154] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1d) -- [ 3243.141050] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1e) -- [ 3243.151177] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1f) -- 20: [ 3243.160990] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x20) -- [ 3243.171459] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x21) -- [ 3243.181617] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x22) -- [ 3243.191524] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x23) -- [ 3243.201307] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x24) -- [ 3243.211569] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x25) -- [ 3243.221499] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x26) -- [ 3243.231454] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x27) -- [ 3243.241913] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x28) -- [ 3243.251888] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29) -- [ 3243.261685] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a) -- [ 3243.271774] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b) -- [ 3243.281720] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2c) -- [ 3243.291655] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2d) -- [ 3243.301618] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2e) -- [ 3243.312883] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2f) -- 30: [ 3243.322857] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x30) -- [ 3243.333569] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x31) -- [ 3243.343458] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x32) -- [ 3243.353258] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x33) -- [ 3243.363298] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x34) -- [ 3243.373259] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x35) -- [ 3243.383209] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x36) -- [ 3243.393165] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x37) -- [ 3243.403108] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x38) -- [ 3243.413178] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x39) -- [ 3243.423326] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x3a) -- [ 3243.433107] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x3b) -- [ 3243.443044] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x3c) -- [ 3243.453214] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x3d) -- [ 3243.463178] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x3e) -- [ 3243.472970] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x3f) -- 40: [ 3243.483138] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x40) -- [ 3243.493582] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x41) -- [ 3243.503456] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x42) -- [ 3243.513475] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x43) -- [ 3243.523415] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x44) -- [ 3243.533356] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x45) -- [ 3243.543900] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x46) -- [ 3243.553863] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x47) -- [ 3243.563677] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x48) -- [ 3243.573793] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x49) -- [ 3243.583693] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4a) -- [ 3243.593643] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4b) -- [ 3243.603625] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c) -- [ 3243.613653] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d) -- [ 3243.623632] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e) -- [ 3243.633850] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4f) -- 50: [ 3243.643814] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x50) -- [ 3243.654191] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x51) -- [ 3243.664277] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x52) -- [ 3243.674072] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x53) -- [ 3243.684005] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x54) -- [ 3243.694201] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x55) -- [ 3243.704149] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x56) -- [ 3243.714011] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x57) -- [ 3243.724117] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x58) -- [ 3243.734043] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x59) -- [ 3243.743797] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5a) -- [ 3243.753741] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5b) -- [ 3243.763899] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5c) -- [ 3243.773897] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5d) -- [ 3243.783839] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5e) -- [ 3243.793954] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x48, dev addr: 0x5f) -- 60: [ 3243.803807] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x60) -- [ 3243.814283] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x61) -- [ 3243.824450] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x62) -- [ 3243.834537] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x63) -- [ 3243.844323] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x64) -- [ 3243.854421] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x65) -- [ 3243.864803] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x66) -- [ 3243.874785] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x67) -- [ 3243.885010] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x68) -- [ 3243.894708] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x69) -- [ 3243.904655] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x6a) -- [ 3243.914818] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x6b) -- [ 3243.924789] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x6c) -- [ 3243.935399] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x6d) -- [ 3243.945588] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x6e) -- [ 3243.955588] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x6f) -- 70: [ 3243.965428] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x70) -- [ 3243.975976] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x71) -- [ 3243.985988] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x72) -- [ 3243.995966] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x73) -- [ 3244.005769] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x74) -- [ 3244.015928] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x75) -- [ 3244.025892] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x76) -- [ 3244.035863] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x77)
R78/R79 已上拉:
-
为了证明硬件是没问题的, 我把上面设备树board.dts的 twi1 disabled之后:
root@TinaLinux:/# echo 36 > /sys/class/gpio/export root@TinaLinux:/# root@TinaLinux:/# echo in > /sys/class/gpio/gpio36/direction root@TinaLinux:/# root@TinaLinux:/# cat /sys/class/gpio/gpio36/value 1 root@TinaLinux:/# root@TinaLinux:/# root@TinaLinux:/# echo 37 > /sys/class/gpio/export root@TinaLinux:/# echo in > /sys/class/gpio/gpio37/direction root@TinaLinux:/# cat /sys/class/gpio/gpio37/value 1 root@TinaLinux:/#
然后我把 J16脚 TWI1-SCL SDA 短路到GND, 读出电压:
root@TinaLinux:/# root@TinaLinux:/# cat /sys/class/gpio/gpio37/value 0 root@TinaLinux:/# cat /sys/class/gpio/gpio36/value 0
说明硬件没有问题。
-
咨询了大佬,原来上面的驱动输出信息只是一个超时提示而已,
然后我用adb进去试了一下 twi3:
-
[ 10.596069] procd: - init - Please press Enter to activate this console. [ 12.402126] file system registered [ 12.486089] fuse: init (API version 7.31) [ 12.685528] configfs-gadget 4100000.udc-controller: failed to start g1: -19 [ 12.699037] usbcore: registered new interface driver uvcvideo [ 12.731980] USB Video Class driver (1.1.1) [ 13.100902] get ctp_power is fail, -22 [ 13.115102] get ctp_power_ldo_vol is fail, -22 [ 13.140852] sunxi_ctp_startup: ctp_power_io is invalid. [ 13.162444] sunxi_ctp_startup: wakeup_gpio is invalid. [ 13.187175] get ctp_gesture_wakeup fail, no gesture wakeup [ 13.214155] gt9xxnew_ts 1-0014: 1-0014 supply ctp not found, using dummy regulator [ 13.245711] ------------[ cut here ]------------ [ 13.256400] read descriptors [ 13.259671] read strings [ 13.272968] invalid GPIO -2 [ 13.283301] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 13.313975] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 13.344519] CPU: 0 PID: 177 Comm: kmodloader Not tainted 5.4.61 #107 [ 13.365117] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f890 [ 13.394018] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 13.415098] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f8c0 [ 13.433804] sunxi_set_cur_vol_work()394 WARN: get power supply failed [ 13.451336] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 13.480312] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 13.504028] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000065 [ 13.520274] android_work: sent uevent USB_STATE=CONNECTED [ 13.535164] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffdf809a9a10 [ 13.559743] s5 : ffffffdf809a9a60 s6 : ffffffdf809a9498 s7 : 0000000000000021 [ 13.588484] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 13.614598] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000001 [ 13.625502] configfs-gadget gadget: high-speed config #1: c [ 13.631950] android_work: sent uevent USB_STATE=CONFIGURED [ 13.644089] t5 : 0000000000000000 t6 : 0000000000040000 [ 13.660396] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 13.689623] ---[ end trace f695b437ffe04eaf ]--- [ 13.705132] ------------[ cut here ]------------ [ 13.720672] invalid GPIO -2 [ 13.723859] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 13.764423] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 13.795130] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 13.824549] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8b0 [ 13.845141] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe0008f2e88 [ 13.873973] t1 : 0000000000000064 t2 : 0000000000000000 s0 : ffffffe000b0f8e0 [ 13.895127] s1 : 0000000000000000 a0 : 000000000000000f a1 : 000000000000000a [ 13.923962] a2 : 00000000000000b5 a3 : ffffffe000850ea0 a4 : ffffffe000850e08 [ 13.945145] a5 : 0000000000000000 a6 : 0000000000000168 a7 : 0000000000000000 [ 13.974053] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffdf809a9a10 [ 13.995120] s5 : ffffffdf809a9a60 s6 : ffffffdf809a9498 s7 : 0000000000000021 [ 14.023931] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 14.045136] s11: ffffffdf809a9710 t3 : ffffffe0008ecb00 t4 : 0000000000000a38 [ 14.073886] t5 : 0000000000000a38 t6 : ffffffe0008ed076 [ 14.095144] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 14.125160] ---[ end trace f695b437ffe04eb0 ]--- [ 14.135141] ------------[ cut here ]------------ [ 14.155181] invalid GPIO -2 [ 14.163610] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 14.193728] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 14.224175] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 14.248879] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 14.275129] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 14.298688] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 14.325138] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 14.348842] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 14.377692] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000065 [ 14.405192] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffdf809a9a10 [ 14.425118] s5 : ffffffdf809a9a60 s6 : ffffffdf809a9498 s7 : 0000000000000021 [ 14.454313] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 14.478064] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000101 [ 14.486329] [ 14.486329] rmmod_device_driver [ 14.486329] [ 14.503558] rmmod_device_driver()222 WARN: get power supply failed [ 14.515097] t5 : 0000000000000000 t6 : 0000000000040000 [ 14.531499] android_work: sent uevent USB_STATE=DISCONNECTED [ 14.544400] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 14.574337] ---[ end trace f695b437ffe04eb1 ]--- [ 14.589872] ------------[ cut here ]------------ [ 14.605909] invalid GPIO -2 [ 14.609133] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 14.649382] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 14.674671] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 14.704160] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8b0 [ 14.725114] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe0008efad8 [ 14.753952] t1 : 0000000000000064 t2 : 0000000000000000 s0 : ffffffe000b0f8e0 [ 14.775100] s1 : 0000000000000000 a0 : 000000000000000f a1 : 000000000000000a [ 14.803991] a2 : 00000000000000cd a3 : ffffffe000850ea0 a4 : ffffffe000850e08 [ 14.825110] a5 : 0000000000000000 a6 : 000000000000018f a7 : 0000000000000000 [ 14.854054] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffdf809a9a10 [ 14.875108] s5 : ffffffdf809a9a60 s6 : ffffffdf809a9498 s7 : 0000000000000021 [ 14.903911] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 14.925131] s11: ffffffdf809a9710 t3 : ffffffe0008ecb00 t4 : 0000000000003de8 [ 14.953981] t5 : 0000000000003de8 t6 : ffffffe0008ed076 [ 14.967279] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 14.997235] ---[ end trace f695b437ffe04eb2 ]--- [ 15.065130] ------------[ cut here ]------------ [ 15.080638] invalid GPIO -2 [ 15.083863] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 15.119100] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 15.145178] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 15.174675] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8b0 [ 15.195131] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe0008f0098 [ 15.224383] t1 : 0000000000000064 t2 : 0000000000000000 s0 : ffffffe000b0f8e0 [ 15.248033] s1 : 0000000000000000 a0 : 000000000000000f a1 : 000000000000000a [ 15.275162] a2 : 00000000000000d9 a3 : ffffffe000850ea0 a4 : ffffffe000850e08 [ 15.298905] a5 : 0000000000000000 a6 : 00000000000001a1 a7 : 0000000000000000 [ 15.325125] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffdf809a9a10 [ 15.348657] s5 : ffffffdf809a9a60 s6 : ffffffdf809a9498 s7 : 0000000000000021 [ 15.375129] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 15.398856] s11: ffffffdf809a9710 t3 : ffffffe0008ecb00 t4 : 0000000000003828 [ 15.425123] t5 : 0000000000003828 t6 : ffffffe0008ed076 [ 15.445105] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 15.475209] ---[ end trace f695b437ffe04eb3 ]--- [ 15.585386] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 15.610494] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 15.640981] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 15.671255] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 15.696048] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 15.725125] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 15.755164] ------------[ cut here ]------------ [ 15.775105] invalid GPIO -2 [ 15.778363] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 15.808469] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 15.839338] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 15.866561] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 15.895420] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 15.915265] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 15.944120] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 15.967836] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 15.995141] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000000 [ 16.015152] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 16.044087] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 16.067850] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 16.095124] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000101 [ 16.115116] t5 : 0000000000000000 t6 : 0000000000040000 [ 16.135158] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 16.170561] ---[ end trace f695b437ffe04eb4 ]--- [ 16.245116] ------------[ cut here ]------------ [ 16.255573] invalid GPIO -2 [ 16.258802] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 16.295098] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 16.325147] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 16.354617] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 16.375145] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe0008f0e58 [ 16.403960] t1 : 0000000000000064 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 16.425140] s1 : 0000000000000000 a0 : 000000000000000f a1 : 000000000000000a [ 16.448904] a2 : 00000000000000ff a3 : ffffffe000850ea0 a4 : ffffffe000850e08 [ 16.475110] a5 : 0000000000000000 a6 : 00000000000001cb a7 : 0000000000000000 [ 16.504004] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 16.527616] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 16.555143] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 16.575151] s11: ffffffdf809a9710 t3 : ffffffe0008ecb00 t4 : 0000000000002a68 [ 16.605128] t5 : 0000000000002a68 t6 : ffffffe0008ed076 [ 16.625119] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 16.649892] ---[ end trace f695b437ffe04eb5 ]--- [ 16.765202] <<-GTP-ERROR->> GTP i2c test failed time 1. [ 16.805674] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 16.835382] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 16.865333] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 16.895321] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 16.920666] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 16.948161] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 16.978299] ------------[ cut here ]------------ [ 16.991584] invalid GPIO -2 [ 17.000049] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 17.024314] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 17.052561] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 17.074770] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 17.093721] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 17.130365] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 17.191313] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 17.204626] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 17.223173] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000065 [ 17.236481] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 17.255090] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 17.276573] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 17.340342] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000101 [ 17.355093] t5 : 0000000000000000 t6 : 0000000000040000 [ 17.366385] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 17.385068] ---[ end trace f695b437ffe04eb6 ]--- [ 17.455091] ------------[ cut here ]------------ [ 17.470814] invalid GPIO -2 [ 17.474002] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 17.505133] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 17.532094] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 17.554153] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 17.574184] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe0008f1c58 [ 17.599005] t1 : 0000000000000064 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 17.620626] s1 : 0000000000000000 a0 : 000000000000000f a1 : 000000000000000a [ 17.639380] a2 : 0000000000000126 a3 : ffffffe000850ea0 a4 : ffffffe000850e08 [ 17.668404] a5 : 0000000000000000 a6 : 00000000000001f6 a7 : 0000000000000000 [ 17.695108] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 17.721268] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 17.745499] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 17.769275] s11: ffffffdf809a9710 t3 : ffffffe0008ecb00 t4 : 0000000000001c68 [ 17.787726] t5 : 0000000000001c68 t6 : ffffffe0008ed076 [ 17.803293] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 17.826315] ---[ end trace f695b437ffe04eb7 ]--- [ 17.935101] <<-GTP-ERROR->> GTP i2c test failed time 2. [ 17.975294] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 18.005161] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 18.025522] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 18.047346] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 18.075119] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 18.099192] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 18.125708] ------------[ cut here ]------------ [ 18.145134] invalid GPIO -2 [ 18.158829] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 18.185174] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 18.215103] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 18.238684] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 18.265197] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 18.285195] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 18.305563] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 18.327347] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 18.351076] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000000 [ 18.373222] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 18.397112] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 18.425509] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 18.454410] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000101 [ 18.473045] t5 : 0000000000000000 t6 : 0000000000040000 [ 18.494544] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 18.524489] ---[ end trace f695b437ffe04eb8 ]--- [ 18.595257] ------------[ cut here ]------------ [ 18.604055] invalid GPIO -2 [ 18.612379] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 18.645108] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 18.675115] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 18.704610] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 18.725517] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 18.754432] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 18.775130] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 18.796378] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 18.817667] a5 : 0000000000000000 a6 : 0000000000010203 a7 : ffffffe001da8000 [ 18.841869] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 18.862606] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 18.883825] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 18.918564] s11: ffffffdf809a9710 t3 : 0000000000000000 t4 : 0000000043840000 [ 18.945121] t5 : 0000000043840010 t6 : 0000000000000000 [ 18.961431] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 18.993094] ---[ end trace f695b437ffe04eb9 ]--- [ 19.105118] <<-GTP-ERROR->> GTP i2c test failed time 3. [ 19.145291] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 19.176119] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 19.205320] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 19.235557] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 19.265337] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 19.295129] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 19.320490] ------------[ cut here ]------------ [ 19.336185] invalid GPIO -2 [ 19.339431] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 19.374537] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 19.405185] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 19.435176] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 19.458760] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe0008f3298 [ 19.485110] t1 : 0000000000000064 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 19.508900] s1 : 0000000000000000 a0 : 000000000000000f a1 : 000000000000000a [ 19.532759] a2 : 0000000000000174 a3 : ffffffe000850ea0 a4 : ffffffe000850e08 [ 19.545148] a5 : 0000000000000000 a6 : 000000000000023a a7 : 0000000000000000 [ 19.563733] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 19.582159] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 19.595066] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 19.613540] s11: ffffffdf809a9710 t3 : ffffffe0008ecb00 t4 : 0000000000000628 [ 19.632084] t5 : 0000000000000628 t6 : ffffffe0008ed076 [ 19.643628] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 19.663250] ---[ end trace f695b437ffe04eba ]--- [ 19.725100] ------------[ cut here ]------------ [ 19.735081] invalid GPIO -2 [ 19.743440] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 19.758019] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 19.778048] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 19.797151] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 19.815066] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 19.833607] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 19.846933] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 19.865079] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 19.878401] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000065 [ 19.895063] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 19.913486] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 19.932113] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 19.945096] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000001 [ 19.963612] t5 : 0000000000000000 t6 : 0000000000040000 [ 19.974773] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 19.994406] ---[ end trace f695b437ffe04ebb ]--- [ 20.085089] [ 20.085089] insmod_host_driver [ 20.085089] [ 20.095071] <<-GTP-ERROR->> GTP i2c test failed time 4. [ 20.105071] [ehci0-controller]: sunxi_usb_enable_ehci [ 20.115071] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe00090fb60, 0x:ffffffd004b7e000, irq_no:2e [ 20.135254] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 20.155690] sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller [ 20.163228] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 20.177959] sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 [ 20.193022] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 20.207941] sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 [ 20.221037] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 20.241201] sunxi_i2c_do_xfer()1816 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x14) [ 20.255091] sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 [ 20.268474] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 20.285750] hub 3-0:1.0: USB hub found [ 20.300386] hub 3-0:1.0: 1 port detected [ 20.304806] ------------[ cut here ]------------ [ 20.322641] [ohci0-controller]: sunxi_usb_enable_ohci [ 20.333571] invalid GPIO -2 [ 20.338817] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 20.348451] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0009106a0 [ 20.379655] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 20.399902] sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller [ 20.416239] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 20.425831] sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 [ 20.455137] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 20.463437] debugfs: Directory 'sunxi-ohci' with parent 'ohci' already present! [ 20.485130] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 20.503647] sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 [ 20.525143] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 20.543086] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 20.561703] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 20.580695] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000000 [ 20.594011] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 20.615839] hub 4-0:1.0: USB hub found [ 20.630452] hub 4-0:1.0: 1 port detected [ 20.635120] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 20.664047] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 20.685182] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000001 [ 20.714693] t5 : 0000000000000000 t6 : 0000000000040000 [ 20.735189] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 20.762936] ---[ end trace f695b437ffe04ebc ]--- [ 20.835073] ------------[ cut here ]------------ [ 20.845106] invalid GPIO -2 [ 20.853493] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 20.873672] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 20.888613] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 20.907770] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f8e0 [ 20.925091] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : 0000000000000000 [ 20.943620] t1 : 0000000001806000 t2 : 0000000000000000 s0 : ffffffe000b0f910 [ 20.956883] s1 : 0000000000000000 a0 : 000000000000000f a1 : ffffffe000a8eb80 [ 20.975060] a2 : 0000000000000890 a3 : ffffffe00084ff40 a4 : ffffffe000850e08 [ 20.993459] a5 : 0000000000000000 a6 : 00000000000100d3 a7 : 0000000000000065 [ 21.006916] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffe000b0f940 [ 21.025076] s5 : ffffffe000b0f9a8 s6 : 0000000000000001 s7 : 0000000000000021 [ 21.038534] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 21.055070] s11: ffffffdf809a9710 t3 : 0000003fda4bfcc0 t4 : 0000000000000101 [ 21.073716] t5 : 0000000000000000 t6 : 0000000000040000 [ 21.084854] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 21.104435] ---[ end trace f695b437ffe04ebd ]--- [ 21.205078] <<-GTP-ERROR->> GTP i2c test failed time 5. [ 21.245072] I2C communication ERROR! [ 21.245090] ------------[ cut here ]------------ [ 21.259521] invalid GPIO -2 [ 21.262708] WARNING: CPU: 0 PID: 177 at drivers/gpio/gpiolib.c:126 gpio_to_desc+0x94/0x10a [ 21.282363] Modules linked in: gt9xxnew_ts(+) uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 21.302557] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 21.321705] sepc: ffffffe00024c792 ra : ffffffe00024c792 sp : ffffffe000b0f980 [ 21.335046] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe0008f1408 [ 21.353573] t1 : 0000000000000064 t2 : 0000000000000000 s0 : ffffffe000b0f9b0 [ 21.372064] s1 : 0000000000000000 a0 : 000000000000000f a1 : 000000000000000a [ 21.385104] a2 : 00000000000001dd a3 : ffffffe000850ea0 a4 : ffffffe000850e08 [ 21.403635] a5 : 0000000000000000 a6 : 000000000000029c a7 : 0000000000000000 [ 21.422027] s2 : fffffffffffffffe s3 : 0000000000000002 s4 : ffffffdf809a9a10 [ 21.435079] s5 : ffffffdf809a9a60 s6 : ffffffdf809a9498 s7 : 0000000000000021 [ 21.453456] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 21.466924] s11: ffffffdf809a9710 t3 : ffffffe0008ecb00 t4 : 00000000000024b8 [ 21.485070] t5 : 00000000000024b8 t6 : ffffffe0008ed076 [ 21.496748] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003 [ 21.515087] ---[ end trace f695b437ffe04ebe ]--- [ 21.525484] regulator-dummy: Underflow of regulator enable count [ 21.543179] gt9xxnew_ts: probe of 1-0014 failed with error -1 [ 24.215289] ======== XRADIO WIFI OPEN ======== [ 24.221095] [XRADIO] Driver Label:XR_V02.16.84_P2P_HT40_01.31 [ 24.228207] [XRADIO] Allocated hw_priv @ (____ptrval____) [ 24.234378] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 24.244302] Oops [#1] [ 24.246836] Modules linked in: xr829(+) iptable_filter ipt_REJECT uvcvideo videobuf2_vmalloc videobuf2_memops fuse [ 24.258404] CPU: 0 PID: 177 Comm: kmodloader Tainted: G W 5.4.61 #107 [ 24.267036] sepc: ffffffe00031a0d6 ra : ffffffe00031a206 sp : ffffffe000b0fa80 [ 24.275086] gp : ffffffe0008e3578 tp : ffffffe000a8eb80 t0 : ffffffe000a6f408 [ 24.283135] t1 : 0000000000000000 t2 : 0000000000000000 s0 : ffffffe000b0fab0 [ 24.291183] s1 : 0000000000000001 a0 : 0000000000000001 a1 : 0000000000000000 [ 24.299233] a2 : 0000000000000001 a3 : ffffffe000a6f408 a4 : 0000000000000000 [ 24.307281] a5 : 0000000000000004 a6 : 00000000000100d3 a7 : 0000000000000065 [ 24.315330] s2 : ffffffe000896f10 s3 : ffffffe000896f10 s4 : ffffffe000a6e668 [ 24.323379] s5 : ffffffdf80a18e08 s6 : 0000000000000003 s7 : 0000000000000001 [ 24.331428] s8 : 0000000000000100 s9 : 0000000000000013 s10: ffffffe000081496 [ 24.339477] s11: ffffffdf80a2a590 t3 : 0000003fda4bfcc0 t4 : 0000000000000101 [ 24.347526] t5 : 0000000000000000 t6 : 0000000000040000 [ 24.353446] sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 000000000000000d [ 24.363036] ---[ end trace f695b437ffe04ebf ]--- Trying to connect to SWUpdate... [ 27.500313] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0 BusyBox v1.27.2 () built-in shell (ash)
上面的问题解决了,现在加载GT911驱动出了这个错误。
-
遇到一个大坑, 主板的上拉电阻有点小,导致总是把I2C总线出错,后来把电容触摸屏排线上面的上拉电阻取消,暂时解决了这个问题。
-
初步测试没有问题了,触摸屏是 GT5688
-
此回复已被删除! -
到最后,还是搞定了,追溯其实原因就在一楼的 dts 上面,敲错了一个单词。
因为一个单词水了一个帖子:
oaky => okay
手抖了,手抖了。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号