Results 1 to 7 of 7
I build the kernel "linux-2.6.20.1" under FC4 by using command as follows:
- make menuconfig
- make
After finished building, it generates "usbhid.ko" in /drivers/usb/input/.
I use "insmod usbhid.ko", but ...
- 05-07-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 9
Insert Modules Problem~
I build the kernel "linux-2.6.20.1" under FC4 by using command as follows:
- make menuconfig
- make
After finished building, it generates "usbhid.ko" in /drivers/usb/input/.
I use "insmod usbhid.ko", but it produces the error message "insmod: error inserting 'usbhid.ko': -1 Invalid module format"
Do someone can tell me why? thanks!
- 05-07-2008 #2I know the module it has to be something like this, for example:insmod: error inserting 'usbhid.ko': -1 Invalid module format
I don`t get it...your usb it`s not working or what?Code:usb-uhci.o
You can use:
to list the loaded modules!Code:lsmod
Cheers!
- 05-07-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 9
I have already used "lsmod" before, I can't see "usbhid" module in FC4.
So I hope to add "usbhid" module to it and use HID to write the programme for my usb device.
Any suggestion how can I add HID module to it?
Thanks!
- 05-07-2008 #4
- 05-08-2008 #5Just Joined!
- Join Date
- May 2008
- Posts
- 9
The output of "uname -r" is
"2.6.11-1.1369_FC4"
- 05-08-2008 #6
this is the problem I expected, you have to actually boot up your system and use the kernel that you compiled in order to load modules for it
- 05-08-2008 #7Just Joined!
- Join Date
- May 2008
- Posts
- 9
Thanks for your help.


Reply With Quote
