hello,
I'm try to use the g_ether.ko module in the kernel 4.1.15 but all the times I got problems like
# insmod g_ether.ko
g_ether: Unknown symbol usb_get_function_instance (err 0)
g_ether: Unknown symbol usb_string_ids_tab (err 0)
g_ether: Unknown symbol usb_get_function (err 0)
g_ether: Unknown symbol usb_composite_unregister (err 0)
g_ether: Unknown symbol gether_set_dev_addr (err 0)
g_ether: Unknown symbol usb_put_function (err 0)
g_ether: Unknown symbol rndis_borrow_net (err 0)
g_ether: Unknown symbol usb_add_function (err 0)
g_ether: Unknown symbol usb_composite_probe (err 0)
g_ether: Unknown symbol gether_register_netdev (err 0)
g_ether: Unknown symbol usb_composite_overwrite_options (err 0)
g_ether: Unknown symbol gether_set_qmult (err 0)
g_ether: Unknown symbol usb_otg_descriptor_alloc (err 0)
g_ether: Unknown symbol gether_set_gadget (err 0)
g_ether: Unknown symbol usb_put_function_instance (err 0)
g_ether: Unknown symbol gether_set_host_addr (err 0)
g_ether: Unknown symbol usb_otg_descriptor_init (err 0)
g_ether: Unknown symbol usb_add_config (err 0)
insmod: can't insert 'g_ether.ko': unknown symbol in module, or unknown parameter
Do you know why I got this symbols errors?
Thanks for all help.
Hi ping
g_ether usage can be found in unit tests:
mxc_usb_test\test - imx-test - i.MX Driver Test Application Software
kernel - What's the difference between insmod and modprobe? - Ask Ubuntu
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor
in the mxc_usb_test,i found it is need a .ko file named :arcotg_udc.ko
but when i use cmd "make modules" ,it can not create this file。
how can i get this file?
thanks
best regards
ping
Hi igor
I have use the cmd modprobe, found the depends of g_ether.ko and do like this:
insmod configfs.ko
insmod libcomposite.ko
insmod u_ether.ko
insmod usb_f_rnfs.ko
but it show only one error:
g_ether ci_hdrc.0: failed to start g_ether: -2
thanks for your help!