AnsweredAssumed Answered

imx6 - USB OTG device testing

Question asked by Abdul Raseeth Ansari on Sep 7, 2014
Latest reply on Aug 19, 2015 by Bertrand Marquis

Dear support team,

We are using imx6Q sabresd platform for our development with Linux 3.10.17_1.0.0-GA BSP.
 
We need to test the USB OTG as a device.  For the same we tried to insert the mass storage driver in the kernel.   We are not able to test the USB OTG as device.
I have copied the error log here for your reference.

root@imx6qsabresd:~# insmod g_mass_storage.ko file=/dev/mmcblk1p1
g_mass_storage: Unknown symbol usb_interface_id (err 0)
g_mass_storage: Unknown symbol usb_assign_descriptors (err 0)
g_mass_storage: Unknown symbol usb_string_id (err 0)
g_mass_storage: Unknown symbol usb_string_ids_tab (err 0)
g_mass_storage: Unknown symbol usb_composite_unregister (err 0)
g_mass_storage: Unknown symbol config_ep_by_speed (err 0)
g_mass_storage: Unknown symbol usb_add_function (err 0)
g_mass_storage: Unknown symbol usb_composite_probe (err 0)
g_mass_storage: Unknown symbol usb_composite_overwrite_options (err 0)
g_mass_storage: Unknown symbol usb_composite_setup_continue (err 0)
g_mass_storage: Unknown symbol usb_ep_autoconfig (err 0)
g_mass_storage: Unknown symbol usb_add_config (err 0)
g_mass_storage: Unknown symbol usb_free_all_descriptors (err 0)
insmod: ERROR: could not insert module g_mass_storage.ko: Unknown symbol in module



Please help us to test the same.  In case, If we do wrong suggest us.



Thank You,
Regards,
Ansari

Outcomes