Talk:Building Gadget USB Module

From Openmoko

Revision as of 23:01, 7 October 2007 by Dolfje (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

What is wrong when this error-message appears?

sudo insmod ./dummy_hcd.ko
insmod: error inserting './dummy_hcd.ko': -1 Invalid module format 

kind regards Daniel

---

I get the following error:

 make -C /lib/modules/2.6.22-13-generic/build SUBDIRS=/home/black/progie/gadgetfs/usb_module_dir/gadget modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.22-13-generic'
 make[2]: *** No rule to make target `/home/black/progie/gadgetfs/usb_module_dir/gadget/gadgetfs.c', needed by `/home/black/progie/gadgetfs/usb_module_dir/gadget/gadgetfs.o'.  Stop.
 make[1]: *** [_module_/home/black/progie/gadgetfs/usb_module_dir/gadget] Error 2
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-13-generic'
 make: *** [default] Error 2

Dolfje 00:01, 8 October 2007 (CEST)

Personal tools

What is wrong when this error-message appears?

sudo insmod ./dummy_hcd.ko
insmod: error inserting './dummy_hcd.ko': -1 Invalid module format 

kind regards Daniel

---

I get the following error:

 make -C /lib/modules/2.6.22-13-generic/build SUBDIRS=/home/black/progie/gadgetfs/usb_module_dir/gadget modules
 make[1]: Entering directory `/usr/src/linux-headers-2.6.22-13-generic'
 make[2]: *** No rule to make target `/home/black/progie/gadgetfs/usb_module_dir/gadget/gadgetfs.c', needed by `/home/black/progie/gadgetfs/usb_module_dir/gadget/gadgetfs.o'.  Stop.
 make[1]: *** [_module_/home/black/progie/gadgetfs/usb_module_dir/gadget] Error 2
 make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-13-generic'
 make: *** [default] Error 2

Dolfje 00:01, 8 October 2007 (CEST)