I had written an simple USB driver module and compiled it and created *.o object file, but while registering the module using "insmod *.o" I am getting error like

"insmod:-1 invalid module format"

and if I open the log it is

" No module found in the object"

Actually, the object file created by me is with extn *.o, while the object files already registered inside the kernel are with extn *.ko.

can any one please help me out

Jagadish R