Im not sure if this is more of a stack overflow question but ill see how we go here first.
I have been trying for the past few days to compile my own kernel for the GS3 (without any modifications just to prove it works) and have finally succeeded in both compiling and flashing to my phone.
The whole reason i attempted this was i was aiming to get the phone to act as a HID keyboard so that it could be used for text entry on a PC (My backup idea was an Arduino borad with a NFC chip on it so i could transmit what is typed to it and it could be the HID device, but this isn't as neat as just plugging the phone in).
Anyway, after successfully compiling the kernel i ran make menuconfig and started looking threw the options. When i found
Device Drivers -> USB Support -> USB Gadget Support -> USB Gadget Drivers (HID Gadget) I got my hopes up that the device may support this right away, but after enabling this and attempting to compile the kernel i received the following error :
arch/arm/mach-exynos/built-in.o: In function `midas_machine_init': <PATH_REMOVED>/GS3/Kernel/arch/arm/mach-exynos/mach-midas.c:2756: undefined reference to `s3c_device_android_usb'
I have attempted to research this but can find no one that has experienced this error (just searching for s3c_device_android_usb with just about any other key words returns 0 results on google).
So my question to you is firstly, does HID Gadget do what is expect or is it a wast of time straight away (if so can you suggest which USB driver to compile with to allow HID functionality or if that is not available, the best one to be able to expand and add the functionality). Second if this is the correct driver then any help with the above error would be greatly appreciated. The third and final question is, if i get all this to work (HID keyboard support) to allow others to use this will they have to flash this kernel (or a similar one depending on the device) or can the modifications done in order to get it to work be compiled into a ROM to extend the users current kernel?
Thanks for you time