Arturo Veras
Arturo Veras

Reputation: 145

insmod: error inserting 'usb338x.ko': -1 Unknown symbol in module

I compiled a driver then tried to load de module and this is the return

insmod: error inserting 'usb338x.ko': -1 Unknown symbol in module

and dmesg

[ 8128.506098] usb338x: Unknown symbol usb_add_gadget_udc (err 0)
[ 8128.506116] usb338x: Unknown symbol usb_gadget_unmap_request (err 0)
[ 8128.506127] usb338x: Unknown symbol usb_del_gadget_udc (err 0)
[ 8128.506138] usb338x: Unknown symbol usb_gadget_map_request (err 0)

Upvotes: 0

Views: 970

Answers (2)

user2362956
user2362956

Reputation:

Or you can try this : MODULE_LICENSE("GPL") add to your kernel module file.

Upvotes: 0

Arturo Veras
Arturo Veras

Reputation: 145

reading other post i realized that i need to load the udc_core

modprobe udc_core

thats it!

Upvotes: 1

Related Questions