Compile hid-multitouch driver for current 3.0.36+ kernel?

robert
Posts: 1
Joined: Wed May 22, 2013 11:37 am

Compile hid-multitouch driver for current 3.0.36+ kernel?

Postby robert » Wed May 22, 2013 12:11 pm

Hi!

I own a Iiyama Touchscreen Monitor using the eGalax Chipset. VID is 0x0eef and PID is 0x7224. Unfortunately, this specific chipset is not included in /drivers/hid/hid-ids.h (but similar ones). I just tried to Change one of them to use the PID and recompile the module.

The kernel is from https://github.com/omegamoon/rockchip-rk30xx-mk808.git. I installed all necessary dependencies and used the toolchain supplied. I am able to build the kernel as well as the modules (which are only a few, as the rest is built into the kernel).

On the MK808, I use the Finless 2.1 ROM.

When I adb push/Shell insmod the hid-multitouch.ko to /system/lib/modules I get

Code: Select all

insmod: init_module '/system/lib/modules/hid-multitouch.ko' failed (Exec format error)


I checked the ko using "file": hid-multitouch.ko: ELF 32-bit LSB relocatable, ARM, version 1 (SYSV), not stripped
Both kernels are based on the same source as well I guess.

Any hints? I "just" need to recompile the usb-multitouch.ko I guess to get everything working... Is there another way to force the multitouchdriver to react to the chipset?

Best regards,
Robert

User avatar
lewy20041
Posts: 250
Joined: Wed Oct 17, 2012 6:40 am

Re: Compile hid-multitouch driver for current 3.0.36+ kernel

Postby lewy20041 » Wed May 22, 2013 2:20 pm

sorce you are using is for 3.0.8 kernel.
use this sources for 3.0.36 https://github.com/crewrktablets/rk3x_kernel_3.0.36 or ask leolas to compile it for you heare:
http://www.freaktab.com/showthread.php? ... ices/page4
Everything is possible if we work together!
Image


Return to “Development”

Who is online

Users browsing this forum: No registered users and 1 guest