Forum switched to read-only as of 2020/06/01
|Latest product reviews|
I have ereader from onyx C67S running on rk3026.
Unfortunately this reader does not have a touch screen, so I replaced the C67S screen (eink and touchscreen) with C65HD screen. This screen have cypress touchscreen working with the driver cyttsp-i2c. The board on C65HD and C67S have similar design and is possible to connect the touchscreen to the device.
But the C67S did no recognize the device (no loaded module in /proc, no mention in dmesg).
Is there a way how to list build-in drivers in the kernel and enable it?
I was also trying to build cyttsp-i2c module from the source but after the insmod, dmesg complain
<1>[ 411.069022] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
<1>[ 411.077156] pgd = d723c000
<1>[ 411.079866] [0000000c] *pgd=00000000
<0>[ 411.083474] Internal error: Oops: 5 [#1] PREEMPT SMP
<4>[ 411.088450] CPU: 1 Tainted: G C (3.0.36+ #2853)
<4>[ 411.094125] PC is at sys_init_module+0x11ec/0x18dc
<4>[ 411.098923] LR is at sys_init_module+0x11e4/0x18dc
<4>[ 411.103721] pc : [<c04c64b4>] lr : [<c04c64ac>] psr: a0000013
<4>[ 411.103732] sp : cea1bf00 ip : 00000000 fp : 00000028
<4>[ 411.115222] r10: c08caddc r9 : 00000000 r8 : 00000000
<4>[ 411.120453] r7 : fffffff8 r6 : bf2878a8 r5 : bf28786c r4 : bf287860
<4>[ 411.126988] r3 : 00000000 r2 : bf2879a4 r1 : 00000000 r0 : c0a7fa78
<4>[ 411.133525] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
<4>[ 411.140670] Control: 10c5387d Table: 7723c04a DAC: 00000015
The same error is every time I want to load my own cross-compiled module so I think there is something with the compilation configuration.
I was unable to get the original source code so used this repo from github
For the cyttsp-i2c module I patched the source with nook drivers.
the prebuilt toolchain was downloaded form google sourcecode and it was the same as the kernel show on boot
gcc version 4.6.x-google 20120106 (prerelease)
I manage to config the kernel source and the vermagic is the same as the other original modules in /system/lib/modules
vermagic: 3.0.36+ SMP preempt mod_unload ARMv7
but as i said after the insmod the device freeze and reboots.
What am I doing wrong? What else should I try?
Thank you in advance
and try to load hubenable.ko and the system did not crash.
What source code, config and toolchain did you use to build the image?
Most Users Ever Online: 749
Currently Browsing this Page:
Devices in use: Desktop (72), Phone (8)
Guest Posters: 43
Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech