spent the last few days trying to get the drivers loaded. MXC622X.ko and ft5206_ts.ko are loaded but nothing is happening. I've done a DMESG on boot and here is what it looks like:
Code:
4 0660
<6>[ 3.959000] init: fixup /sys/devices/virtual/input/input1/event1/enable 0
1004 0660
<6>[ 3.959000] init: fixup /sys/devices/virtual/input/input1/event1/poll_delay 0 1004 0660
<6>[ 3.959000] init: fixup /sys/devices/virtual/input/input2/enable 0 1004 0660
<6>[ 3.959000] init: fixup /sys/devices/virtual/input/input2/poll_delay 0 1004 0660
<6>[ 3.960000] init: fixup /sys/devices/virtual/input/input2/event2/enable 01004 0660
<6>[ 3.960000] init: fixup /sys/devices/virtual/input/input2/event2/poll_delay 0 1004 0660
<6>[ 3.976000] init: command 'wait_for_coldboot_done' r=0
<6>[ 3.977000] init: processing action 0x2ecb8 (property_init)
<6>[ 3.977000] init: property init
<6>[ 3.977000] init: command 'property_init' r=0
<6>[ 3.977000] init: processing action 0x2ed08 (keychord_init)
<6>[ 3.977000] init: command 'keychord_init' r=0
<6>[ 3.977000] init: processing action 0x2ed58 (console_init)
<4>[ 3.977000] serial_open tty addr = 0xce17f000, filp = 0xce1a18c0, port = 0xc4aaf1c8
<4>[ 3.978000] serial_close tty addr = 0xce17f000, filp = 0xce1a18c0, port->count=0x1
<6>[ 3.978000] init: command 'console_init' r=0
<6>[ 3.978000] init: processing action 0x2eda8 (set_init_properties)
<6>[ 3.978000] init: ###: set ro.calibration 0.
<6>[ 3.994000] init: command 'set_init_properties' r=0
<6>[ 3.994000] init: processing action 0x29508 (init)
<6>[ 4.004000] init: command 'sysclktz' r=0
<4>[ 4.098000] SDIO1: sdhci_sprd_set_ahb_clock, set ahb clk:0
<6>[ 4.098000] mmc1: Re-scan card rc = -110 (retries = 1)
<4>[ 4.098000] SDIO1: sdhci_sprd_set_ahb_clock, set ahb clk:0
<4>[ 4.099000] mmc1, clock_control:0x8007
<6>[ 4.102000] yaffs: dev is 32505867 name is "mtdblock11" rw
<6>[ 4.102000] yaffs: passed flags ""
<7>[ 4.102000] yaffs: Attempting MTD mount of 31.11,"mtdblock11"
<7>[ 4.130000] yaffs: restored from checkpoint
<7>[ 4.131000] yaffs_read_super: isCheckpointed 1
<6>[ 4.169000] yaffs: dev is 32505868 name is "mtdblock12" rw
<6>[ 4.169000] yaffs: passed flags ""
<7>[ 4.169000] yaffs: Attempting MTD mount of 31.12,"mtdblock12"
<7>[ 4.188000] yaffs: restored from checkpoint
<7>[ 4.201000] yaffs_read_super: isCheckpointed 0
<4>[ 4.295000] SDIO1: sdhci_sprd_set_ahb_clock, set ahb clk:0
<4>[ 4.296000] === mmc0: no requests, auto suspend host ===
<4>[ 4.296000] SDIO0: sdhci_sprd_set_ahb_clock, set ahb clk:0
<4>[ 4.296000] === mmc: host auto-suspend done ===
<6>[ 4.301000] yaffs: dev is 32505876 name is "mtdblock20" rw
<6>[ 4.301000] yaffs: passed flags ""
<7>[ 4.301000] yaffs: Attempting MTD mount of 31.20,"mtdblock20"
<7>[ 4.311000] yaffs_read_super: isCheckpointed 0
<6>[ 4.318000] yaffs: dev is 32505869 name is "mtdblock13" rw
<6>[ 4.318000] yaffs: passed flags ""
<7>[ 4.318000] yaffs: Attempting MTD mount of 31.13,"mtdblock13"
<7>[ 4.319000] yaffs: restored from checkpoint
<7>[ 4.319000] yaffs_read_super: isCheckpointed 1
<6>[ 4.324000] yaffs: dev is 32505864 name is "mtdblock8" rw
<6>[ 4.324000] yaffs: passed flags "no-checkpoint,tags-ecc-off,no-rest-block"
<7>[ 4.324000] yaffs: Attempting MTD mount of 31.8,"mtdblock8"
<7>[ 4.342000] yaffs_read_super: isCheckpointed 0
<6>[ 4.345000] yaffs: dev is 32505862 name is "mtdblock6" rw
<6>[ 4.345000] yaffs: passed flags "no-checkpoint,tags-ecc-off,no-rest-block"
<7>[ 4.345000] yaffs: Attempting MTD mount of 31.6,"mtdblock6"
<7>[ 4.350000] yaffs_read_super: isCheckpointed 0
<6>[ 4.353000] yaffs: dev is 32505873 name is "mtdblock17" rw
<6>[ 4.353000] yaffs: passed flags "no-checkpoint,tags-ecc-off,no-rest-block"
<7>[ 4.353000] yaffs: Attempting MTD mount of 31.17,"mtdblock17"
<7>[ 4.353000] block 1 is bad
<7>[ 4.362000] yaffs_read_super: isCheckpointed 0
<6>[ 4.365000] yaffs: dev is 32505861 name is "mtdblock5" rw
<6>[ 4.365000] yaffs: passed flags "no-checkpoint,tags-ecc-off,no-rest-block"
<7>[ 4.365000] yaffs: Attempting MTD mount of 31.5,"mtdblock5"
<7>[ 4.365000] block 1 is bad
<7>[ 4.366000] block 15 is bad
<7>[ 4.373000] yaffs_read_super: isCheckpointed 0
<3>[ 4.396000] init: !!!!!!! run -> /etc/rc.local0
<4>[ 4.533000] ------------[ cut here ]------------
<4>[ 4.533000] WARNING: at /root/xing/project/H66XHX_A/idh.code/kernel/drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x4c/0xfc()
<4>[ 4.533000] autorequest GPIO-59
<4>[ 4.533000] Modules linked in: ft5206_ts(+) snd_dummy
<4>[ 4.534000] [<c4533128>] (unwind_backtrace+0x0/0xfc) from [<c455eb7c>] (warn_slowpath_common+0x4c/0x64)
<4>[ 4.534000] [<c455eb7c>] (warn_slowpath_common+0x4c/0x64) from [<c455ec28>] (warn_slowpath_fmt+0x30/0x40)
<4>[ 4.534000] [<c455ec28>] (warn_slowpath_fmt+0x30/0x40) from [<c46a6990>] (gpio_ensure_requested+0x4c/0xfc)
<4>[ 4.534000] [<c46a6990>] (gpio_ensure_requested+0x4c/0xfc) from [<c46a6bec>] (gpio_direction_output+0xa8/0x140)
<4>[ 4.534000] [<c46a6bec>] (gpio_direction_output+0xa8/0x140) from [<bf00e040>] (ft5x0x_ts_init+0x40/0x130 [ft5206_ts])
<4>[ 4.534000] [<bf00e040>] (ft5x0x_ts_init+0x40/0x130 [ft5206_ts]) from [<c452c2f0>] (do_one_initcall+0x30/0x1b8)
<4>[ 4.534000] [<c452c2f0>] (do_one_initcall+0x30/0x1b8) from [<c458e4f8>] (sys_init_module+0xac/0x1c0)
<4>[ 4.534000] [<c458e4f8>] (sys_init_module+0xac/0x1c0) from [<c452df60>] (ret_fast_syscall+0x0/0x5c)
<4>[ 4.534000] ---[ end trace 183419fecdc2f7f7 ]---
<4>[ 4.534000] ------------[ cut here ]------------
<4>[ 4.534000] WARNING: at /root/xing/project/H66XHX_A/idh.code/kernel/drivers/gpio/gpiolib.c:103 gpio_ensure_requested+0x4c/0xfc()
<4>[ 4.534000] autorequest GPIO-60
<4>[ 4.534000] Modules linked in: ft5206_ts(+) snd_dummy
<4>[ 4.534000] [<c4533128>] (unwind_backtrace+0x0/0xfc) from [<c455eb7c>] (warn_slowpath_common+0x4c/0x64)
<4>[ 4.534000] [<c455eb7c>] (warn_slowpath_common+0x4c/0x64) from [<c455ec28>] (warn_slowpath_fmt+0x30/0x40)
<4>[ 4.535000] [<c455ec28>] (warn_slowpath_fmt+0x30/0x40) from [<c46a6990>] (gpio_ensure_requested+0x4c/0xfc)
<4>[ 4.535000] [<c46a6990>] (gpio_ensure_requested+0x4c/0xfc) from [<c46a6d28>] (gpio_direction_input+0xa4/0x138)
<4>[ 4.535000] [<c46a6d28>] (gpio_direction_input+0xa4/0x138) from [<bf00e04c>] (ft5x0x_ts_init+0x4c/0x130 [ft5206_ts])
<4>[ 4.535000] [<bf00e04c>] (ft5x0x_ts_init+0x4c/0x130 [ft5206_ts]) from [<c452c2f0>] (do_one_initcall+0x30/0x1b8)
<4>[ 4.535000] [<c452c2f0>] (do_one_initcall+0x30/0x1b8) from [<c458e4f8>] (sys_init_module+0xac/0x1c0)
<4>[ 4.535000] [<c458e4f8>] (sys_init_module+0xac/0x1c0) from [<c452df60>] (ret_fast_syscall+0x0/0x5c)
<4>[ 4.535000] ---[ end trace 183419fecdc2f7f8 ]---
<6>[ 4.607000] input: ft5x0x_ts as /devices/virtual/input/input3
<6>[ 4.608000] init: fixup /sys/devices/virtual/input/input3/enable 0 1004 0660
<6>[ 4.608000] init: fixup /sys/devices/virtual/input/input3/poll_delay 0 1004 0660
<6>[ 4.608000] init: fixup /sys/devices/virtual/input/input3/event3/enable 01004 0660
<6>[ 4.608000] init: fixup /sys/devices/virtual/input/input3/event3/poll_delay 0 1004 0660
<4>[ 4.682000] UMP<2>: Inserting UMP device driver. Compiled: Jul 25 2013, time: 16:10:36
<4>[ 4.682000] UMP<2>: Using OS memory backend, allocation limit: 268435456
<4>[ 4.682000] UMP: UMP device driver r3p0 loaded
<4>[ 4.727000] Mali<2>:
<4>[ 4.727000] Mali<2>: Inserting Mali v14 device driver.
<4>[ 4.727000] Mali<2>: Compiled: Jul 25 2013, time: 16:10:40.
<4>[ 4.727000] Mali<2>: Driver revision: -rr3p0
<4>[ 4.728000] Mali<2>: Memory system initializing
<4>[ 4.728000] Mali<2>: Mali OS memory allocator created with max allocationsize of 0x10000000 bytes, cpu_usage_adjust 0x00000000
<4>[ 4.728000] Mali<2>: Mali PMU: Creating Mali PMU core
<4>[ 4.728000] Mali<2>: Mali PP: Creating Mali PP core: Mali-300 PP
<4>[ 4.728000] Mali<2>: Mali PP: Base address of PP core: 0xa0018000
<4>[ 4.729000] Mali<2>: Found Mali GPU Mali-300 r0p0
<4>[ 4.729000] Mali<2>: Mali L2 cache: Creating Mali L2 cache: Mali-300 L2 cache
<4>[ 4.729000] Mali<2>: Mali MMU: Creating Mali MMU: Mali-300 MMU for GP
<4>[ 4.729000] Mali<2>: Mali GP: Creating Mali GP core: Mali-300 GP
<4>[ 4.729000] Mali<2>: Mali MMU: Creating Mali MMU: Mali-300 MMU for PP
<4>[ 4.729000] Mali<2>: Mali PP: Creating Mali PP core: Mali-300 PP
<4>[ 4.729000] Mali<2>: Mali PP: Base address of PP core: 0xa0018000
<4>[ 4.730000] Mali: Mali device driver loaded
<6>[ 4.737000] init: fixup /sys/devices/virtual/input/input4/enable 0 1004 0660
<6>[ 4.737000] init: fixup /sys/devices/virtual/input/input4/poll_delay 0 1004 0660
<6>[ 4.737000] input: headset-keyboard as /devices/virtual/input/input4
<6>[ 4.738000] init: fixup /sys/devices/virtual/input/input4/event4/enable 01004 0660
<6>[ 4.738000] init: fixup /sys/devices/virtual/input/input4/event4/poll_delay 0 1004 0660
<1>[ 4.738000] eic_irq_table eic_id:13,irq_num:51
<6>[ 4.738000] headset_gpio_irq_enable [ irq=0 ] --- do action headset button
<1>[ 4.738000] eic_irq_table eic_id:14,irq_num:52
<6>[ 4.749000] mxc622x accelerometer driver: init
<6>[ 4.749000] mxc622x: probe start.
<4>[ 4.749000] I2C error:ack was not received
<4>[ 4.750000] I2C:sc8810_i2c_stop!
<4>[ 4.750000] incomplete xfer (-121)
<4>[ 4.750000] I2C:Retrying transmission (1)
<4>[ 4.750000] I2C error:ack was not received
<4>[ 4.750000] I2C:sc8810_i2c_stop!
<4>[ 4.750000] incomplete xfer (-121)
<4>[ 4.750000] I2C:Retrying transmission (2)
<4>[ 4.750000] I2C error:ack was not received
<4>[ 4.750000] I2C:sc8810_i2c_stop!
<4>[ 4.750000] incomplete xfer (-121)
<4>[ 4.750000] I2C:Retrying transmission (3)
<4>[ 4.750000] I2C error:ack was not received
<4>[ 4.751000] I2C:sc8810_i2c_stop!
<4>[ 4.751000] incomplete xfer (-121)
<4>[ 4.751000] I2C:transmission failed!
<6>[ 4.751000] I2C driver not registered! Device unknown 0xffffff87
<3>[ 4.751000] mxc622x: Driver Init failed
<4>[ 4.751000] mxc622x: probe of 2-0015 failed with error -1
<3>[ 4.751000] init: !!!!!!! run -> /etc/rc.local
<3>[ 4.900000] init: !!!!!!! run -> /etc/rc.local1
<6>[ 4.919000] warning: `adbd' uses 32-bit capabilities (legacy support in use)
<6>[ 4.920000] enabling adb
<6>[ 4.920000] usb: product_id=0x5d04
<6>[ 4.920000] USB:shutdown udc
<3>[ 4.923000] init: start all services now.
<6>[ 4.924000] init: ####: DON'T start [logcat] services!
<6>[ 4.936000] USB:startup udc
<6>[ 4.986000] adb_open
<3>[ 4.996000] init: cannot find '/system/bin/calibration', disabling 'calibration'
<6>[ 5.122000] charge:
<6>[ 5.122000] charge start
<3>[ 5.123000] charge: batteryTemperaturePath not foundwrite test data battery_capcity
<0>[ 5.133000] copy battery_capcity to the user space
<6>[ 5.150000] android_usb gadget: high speed config #1: android
<6>[ 5.249000] charge:
<6>[ 5.249000] charge detecting
<6>[ 5.249000] charge: charge_prop: unknown
<3>[ 5.249000] charge: exit 1
<4>[ 5.267000] serial_open tty addr = 0xce2d4000, filp = 0xce1beb60, port = 0xc4aaf474
<4>[ 5.267000] =========serial_for_mux_tty=ce2d4000========
<6>[ 5.524000] enable function :gser
<6>[ 5.524000] enable function :vser
<6>[ 5.538000] vser_open 1 times
<6>[ 5.538000] vser_open 2 times
<6>[ 5.558000] alarm: alarm start
<6>[ 5.558000] alarm: alarm_prop: unknown
<3>[ 5.558000] alarm: not power off alarm
<3>[ 5.560000] init: cannot find '/system/bin/testhardware', disabling 'testhardware'
<6>[ 5.569000] init: ####: Start [zygote] services normally.
<3>[ 5.608000] init: cannot find '/system/bin/memsicd', disabling 'memsicd'
<3>[ 5.625000] init: cannot find '/system/xbin/rtkcheck', disabling 'rtkcheck'
<6>[ 5.667000] dcdc: @@@do_dcdc_work efuse flag 0x00000000, mpll 0079a0fa
<6>[ 5.667000] dcdc: @@@do_dcdc_work 1 60
<6>[ 5.676000] dcdc: @@@adc chan 11, value 803
<6>[ 5.676000] dcdc: @@@dcdc_calibrate default 1200mv, from 1207mv to 1200mv
<6>[ 5.676000] dcdc: @@@dcdc_calibrate is ok
<4>[ 5.727000] mali: clock down done
<3>[ 5.732000] init: no such service 'ric'
<6>[ 5.742000] dcdc: @@@adc chan 10, value 864
<6>[ 5.742000] dcdc: @@@dcdc_calibrate default 1300mv, from 1298mv to 1300mv
<6>[ 5.742000] dcdc: @@@dcdc_calibrate is ok
<4>[ 5.878000] Kill logs4modem, no /system/bin/vhub
<3>[ 5.934000] init: untracked pid 166 exited
<3>[ 5.934000] init: untracked pid 172 exited
<4>[ 6.144000] logs4android is waiting for /sdcard being mounted
<4>[ 6.448000] MUX: mux[0] opened!
<4>[ 6.448000]
<4>[ 6.448000] cmux receive:<
<4>[ 7.456000] ts mux receive 6 charsts mux receive 5 chars
<4>[ 7.456000]
<4>[ 7.456000] ts mux receive 4 chars
<4>[ 7.456000] Ots mux receive 3 chars
<4>[ 7.456000] Kvbc reset start...
<4>[ 8.566000] vbc waiting modem stable setting audio codec ...... start ......
<4>[ 8.776000] vbc waiting modem stable setting audio codec ...... done ......
<4>[ 8.797000] ---- vbc do power on ----
<4>[ 8.797000] vbc_buffer_clear_all to avoid vbc hardware noise!
<4>[ 9.227000] vbc_buffer_clear_all to avoid vbc hardware noise!
<4>[ 9.227000] vbc reset finish...
<4>[ 9.279000] vbc_param have store!
<4>[ 9.340000] vbc dma memory allocated: phy=0xdd6c000, virt=0xffcc6000, index=0
<4>[ 9.340000] vbc_buffer_clear_all to avoid vbc hardware noise!
<4>[ 9.343000] vbc Sample Rate is [44100]
<4>[ 9.343000] ---- vbc ch_max=101 ----
<4>[ 9.402000] vbc power to 0x00000004
<4>[ 9.402000] ---- vbc mute all pa ----
<4>[ 9.466000]
<4>[ 9.466000] cmux receive>
<4>[ 9.467000] MUX: mux[1] opened!
<4>[ 9.467000] MUX: mux[2] opened!
<4>[ 9.467000] MUX: mux[3] opened!
<4>[ 9.467000] MUX: mux[4] opened!
<4>[ 9.467000] MUX: mux[5] opened!
<4>[ 9.468000] MUX: mux[6] opened!
<4>[ 9.468000] MUX: mux[7] opened!
<4>[ 9.468000] MUX: mux[8] opened!
<4>[ 9.468000] MUX: mux[9] opened!
<4>[ 9.468000] MUX: mux[10] opened!
<4>[ 9.469000] MUX: mux[11] opened!
<4>[ 9.469000] MUX: mux[12] opened!
<4>[ 9.469000] MUX: mux[13] opened!
<4>[ 9.469000] MUX: mux[14] opened!
<4>[ 9.469000] MUX: mux[0] opened!
<4>[ 9.470000] MUX: mux[1] opened!
<4>[ 9.470000] MUX: mux[2] opened!
<4>[ 9.470000] MUX: mux[3] opened!
<4>[ 9.470000] MUX: mux[4] opened!
<4>[ 9.470000] MUX: mux[5] opened!
<4>[ 9.470000] MUX: mux[6] opened!
<4>[ 9.470000] MUX: mux[7] opened!
<4>[ 9.470000] MUX: mux[8] opened!
<4>[ 9.470000] MUX: mux[9] opened!
<4>[ 9.470000] MUX: mux[10] opened!
<4>[ 9.470000] MUX: mux[11] opened!
<4>[ 11.204000] logs4android is waiting for /sdcard being mounted
In the logs I have this error which is preventing me from using the
mxc622x.ko Code:
<6>[ 4.749000] mxc622x accelerometer driver: init
<6>[ 4.749000] mxc622x: probe start.
<4>[ 4.749000] I2C error:ack was not received
<4>[ 4.750000] I2C:sc8810_i2c_stop!
<4>[ 4.750000] incomplete xfer (-121)
<4>[ 4.750000] I2C:Retrying transmission (1)
<4>[ 4.750000] I2C error:ack was not received
<4>[ 4.750000] I2C:sc8810_i2c_stop!
<4>[ 4.750000] incomplete xfer (-121)
<4>[ 4.750000] I2C:Retrying transmission (2)
<4>[ 4.750000] I2C error:ack was not received
<4>[ 4.750000] I2C:sc8810_i2c_stop!
<4>[ 4.750000] incomplete xfer (-121)
<4>[ 4.750000] I2C:Retrying transmission (3)
<4>[ 4.750000] I2C error:ack was not received
<4>[ 4.751000] I2C:sc8810_i2c_stop!
<4>[ 4.751000] incomplete xfer (-121)
<4>[ 4.751000] I2C:transmission failed!
<6>[ 4.751000] I2C driver not registered! Device unknown 0xffffff87
<3>[ 4.751000] mxc622x: Driver Init failed
<4>[ 4.751000] mxc622x: probe of 2-0015 failed with error -1
ft5206_ts.ko is properly loaded and linked. Any thoughts on how to get that module to load?