문제

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)
도움이 되었습니까?

해결책

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

modprobe udc_core

thats it!

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top