[Bada Software and Hacking General] adfree:
Maybe you can answer your question self...

Check only your 2 other posts... :D

And your amazing very helpfull first post, 3 months ago...

http://xdaforums.com/showpost.php?p=53249582&postcount=334

:D

Maybe you can help me to be faster as 2, 3 years or more or never...

I have only 1 little brain...

_______________________________________________________ - - - ...

To mix easily defconfig from I9001 with I847 sources seems to lead to other problems... no zImage compiled...

:rolleyes:

I will wait my second result with second sources or someone could check...

Maybe my mistake...

Maybe we could try this idea:

Maybe we can rename few files, easier as edit defconfig ?

:confused:

I will start with these 2 files from oleg_k sources...

atmel_mxt_ts.c
atmel_mxt_ts.h

https://github.com/Oleg-k/kernel_source_s8600/tree/master/drivers/input/touchscreen

Because SECOND needed file is here:

https://github.com/Oleg-k/kernel_source_s8600/tree/master/include/linux/i2c

/*
* Atmel maXTouch Touchscreen driver
*
* Copyright (C) 2010 Samsung Electronics Co.Ltd
* Author: Joonyoung Shim <jy0922.shim@samsung.com>
* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
*/

[B]#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/firmware.h>
#include <linux/i2c.h>
#include <linux/i2c/atmel_mxt_ts.h>
#include <linux/input/mt.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/regulator/consumer.h>
#include <linux/string.h>[/B]

#if defined(CONFIG_HAS_EARLYSUSPEND)
[B]#include <linux/earlysuspend.h>[/B]
/* Early-suspend level */
#define MXT_SUSPEND_LEVEL 1
#endif

/* Family ID */
#define MXT224_ID	0x80
#define MXT224E_ID	0x81
#define MXT1386_ID	0xA0

Then check "include" files... and then rename into I9001 filenames...

qt602240_ts.c
qt602240_ts.h

More then my S8600 explode... :D

Best Regards

Edit 1.

Checklist...

#include I can count 15 files in atmel_mxt_ts.c...

[B]#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/firmware.h>
#include <linux/i2c.h>[/B]
[COLOR="Red"]#include <linux/i2c/atmel_mxt_ts.h>[/COLOR]
[B][COLOR="Red"]#include <linux/input/mt.h>[/COLOR][/B]
[B]#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/gpio.h>
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/regulator/consumer.h>
#include <linux/string.h>[/B]

[B]#include <linux/earlysuspend.h>[/B]

Now I will check if they are all in I9001 kernel sources... if names are correct...

Edit 2.

Marked files found...

Edit 3.

Red marked files not available in I9001 Kernel source...

https://github.com/Oleg-k/kernel_source_s8600/blob/master/include/linux/input/mt.h

So I will copy 3 files into I9001 Kernel source for test 1.

https://github.com/Oleg-k/kernel_source_s8600/blob/master/include/linux/input/mt.h

This as mt.h... no rename...

These 2 files I will rename:

https://github.com/Oleg-k/kernel_source_s8600/blob/master/drivers/input/touchscreen/atmel_mxt_ts.c

Into qt602240_ts.c

https://github.com/Oleg-k/kernel_source_s8600/blob/master/include/linux/i2c/atmel_mxt_ts.h

Into qt602240_ts.h

Need some time to copy and to compile...

Edit 4.

CC drivers/input/touchscreen/qt602240_ts.o
drivers/input/touchscreen/qt602240_ts.c:20:36: fatal error: [B][COLOR="Red"]linux/i2c/atmel_mxt_ts.h: No such file or directory[/COLOR][/B]
compilation terminated.
make[3]: *** [drivers/input/touchscreen/qt602240_ts.o] Fehler 1
make[3]: Das Target Â»__buildÂ« wurde wegen Fehlern nicht aktualisiert.
make[2]: *** [drivers/input/touchscreen] Fehler 2
CC [M] drivers/input/evbug.o
make[2]: Das Target Â»__buildÂ« wurde wegen Fehlern nicht aktualisiert.
make[1]: *** [drivers/input] Fehler 2

Noob test, will try to add same files under original filenames... :o

Because no idea how many text I have to rename then...

Maybe this would be enough that Compiler spit out zImage or more Errors...

Edit 5.

CC drivers/input/touchscreen/qt602240_ts.o
In file included from drivers/input/touchscreen/qt602240_ts.c:21:0:
include/linux/input/mt.h:23:10: error: 'ABS_MT_LAST' undeclared here (not in a function)
include/linux/input/mt.h:23:24: error: 'ABS_MT_FIRST' undeclared here (not in a function)
include/linux/input/mt.h: In function 'input_mt_new_trkid':
include/linux/input/mt.h:43:12: error: 'struct input_dev' has no member named 'trkid'
include/linux/input/mt.h: In function 'input_mt_slot':
include/linux/input/mt.h:48:27: error: 'ABS_MT_SLOT' undeclared (first use in this function)
include/linux/input/mt.h:48:27: note: each undeclared identifier is reported only once for each function it appears in
include/linux/input/mt.h: In function 'input_is_mt_axis':
include/linux/input/mt.h:53:17: error: 'ABS_MT_SLOT' undeclared (first use in this function)
drivers/input/touchscreen/qt602240_ts.c: In function 'strtobyte':
drivers/input/touchscreen/qt602240_ts.c:1492:2: error: implicit declaration of function 'kstrtou8'
drivers/input/touchscreen/qt602240_ts.c: In function 'reg_set_optimum_mode_check':
drivers/input/touchscreen/qt602240_ts.c:1795:2: error: implicit declaration of function 'regulator_count_voltages'
make[3]: *** [drivers/input/touchscreen/qt602240_ts.o] Fehler 1
make[3]: Das Target Â»__buildÂ« wurde wegen Fehlern nicht aktualisiert.
make[2]: *** [drivers/input/touchscreen] Fehler 2

:o :eek: