insmod module

Vito Corleone
I can't insert module on mini2440.

I command 'insmod filename.ko' while I'm a root.

There is a error message


insmod: cannot insert 'filename.ko' : File exists


I've checked in /dev and there's no a file that have the same name.

How can I solve this problem?

thank you

Regards

Philipp Karbach
are you sure you have the rights on the file set? Try chmod 777 on the
file!

Paul
Also, ensure its not already loaded 
lsmod 

and if it is, remove it with
rmmod

good luck!

Vito Corleone
Hi 

I'm sorry.  

It's my mistake. I did't change "DEVICE_NAME" in the sourcecode.

I thought the module's name in /dev will be the same with the
soucrecode'name.

so I can insert module now.

Thank you everyone.

Regards