My Samsung Galaxy S2 kernel version is

*Linux version 3.0.31-889555 (dpi@DELL228) (gcc version 4.4.3 (GCC) ) #3 
SMP PREEMPT Thu Jan 31 14:48:54 KST 2013*

I have to build a kernel module to enable VCP support on my android phone 
(following 
this<http://www.ftdichip.com/Support/Documents/TechnicalNotes/TN_132_Adding_FTDI_Devices_VCP_Driver_Support_to_Android.pdf>tutorial).
Because I wasn't able to find the kernel source for *3.0.31-889555* I used 
the *3.0.31 *sources to build the kernel module.

The build succeed and I copied the kernel module to my sdcard and executed 
*insmod* just as like the whitepaper says and I ran into the *"version 
magic should be”*  problem, which was totally OK because the module was 
indeed compiled under a different kernel.

Then I changed the *EXTRAVERSION* in the Makefile to *-**889555* to allow 
the module to be injected, even if the injection was successful the module 
won't work. Does changing the *EXTRAVERSION* field of the Makefile has any 
effect on the module behavior, for example, can cause the model to function 
improperly, if the the answer is yes, should I:

   1. change the kernel on my phone to *3.0.31* so the compiled module will 
   match the actual kernel version
   2. find and download the *3.0.31-889555* kernel and build the kernel 
   module with that kernel
   
Any help appreciated!

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to