Android Tablets Forum banner
1 - 1 of 1 Posts

·
Registered
Joined
·
14 Posts
Discussion Starter · #1 ·
Greetings everyone.

I'm looking for CP2526 (softkey touch controller) kernel module. Either compiled for kernel 3.0.8+ ARMv7, or sources.
Problem I have is with Texet TM-7022 tablet. It's russian OEM version of some chineese devices based on RK3066. OEM doesn't supplies ICS firmware for it, and their firmware is based on outdated Android 2.3.1 with ugly modified interface. Community has found a solution based on AndyPad AndyStrip mod firmware, which fits this device completely, cept for the soft keys.
I've looked into original 2.3.1 firmware and found that they are using CP2526 IC for these keys:
Code:
<br />
<4>[    4.952713] TouchKey CP2526 hardware init.<br />
<6>[    4.963128] input: cp2526 as /devices/virtual/input/input4<br />
<4>[    4.991402]  CP2526 I2C Touch Key init OK!<br />
There is no such module in firmware, it's built into kernel. And AndyStrip firmware has other module builtin instead:
Code:
<br />
<4>[    6.399839] TouchKey HA2605 hardware init.<br />
<6>[    6.404001] input: ha2605 as /devices/virtual/input/input4<br />
<6>[    6.410041] rk29_i2c rk29_i2c.2: addr: 0x62 receive no ack<br />
<3>[    6.415635] rk29_i2c rk29_i2c.2: i2c transfer err, client address is 0x62 [20110106]<br />
<4>[    6.442826] Touch key HA2605 power up setup try 0<br />
<6>[    6.449066] rk29_i2c rk29_i2c.2: addr: 0x62 receive no ack<br />
<3>[    6.454829] rk29_i2c rk29_i2c.2: i2c transfer err, client address is 0x62 [20110106]<br />
<4>[    6.472827] Touch key HA2605 power up setup try 1<br />
<6>[    6.479065] rk29_i2c rk29_i2c.2: addr: 0x62 receive no ack<br />
<3>[    6.484832] rk29_i2c rk29_i2c.2: i2c transfer err, client address is 0x62 [20110106]<br />
<4>[    6.502818] Touch key HA2605 power up setup try 2<br />
<3>[    6.508924] ha2605 2-0062: Touchkey powerup setup failed!<br />
<4>[    6.553402] Goodix HA2605 I2C Touch Key init Failed!<br />
<4>[    6.559792] ha2605: probe of 2-0062 failed with error -22
The only version of binary module cp2526.ko I've found was from some Allwinner A10 based device. I've unpacked it's firmware and extracted the module:
Code:
<br />
filename:       cp2526.ko<br />
license:        GPL<br />
description:    hv keypad driver<br />
author:         <[email protected]><br />
alias:          i2c:hv_keypad<br />
depends:        <br />
vermagic:       3.0.8 preempt mod_unload modversions ARMv7
But unfortunately it doesn't loads on my RK2918 based tablet:
insmod: can't insert 'cp2526.ko': invalid module format
Force loading doesn't works either.
Here is this module info with file tool and one of the module what works with AndyStrip:
Code:
<br />
$ /sbin/modinfo galcore.ko<br />
filename:       galcore.ko<br />
license:        GPL<br />
description:    Vivante Graphics Driver<br />
depends:<br />
staging:        Y<br />
vermagic:       3.0.8+ preempt mod_unload ARMv7<br />
<br />
$ file cp2526.ko<br />
cp2526.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), BuildID[sha1]=0xb1bdd27d7ad74fb216298f00f5edfed28772c18f, not stripped<br />
<br />
$ file galcore.ko<br />
galcore.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), BuildID[sha1]=0x17eacee435d4f555a734fe69c0cfb2bf62bc30ff, not stripped<br />
Anyone knows where to find cp2526.ko module or it's source would be greatly appreciated.
 
1 - 1 of 1 Posts
Top