Hello all,

 

I'm trying to enable the USB slave support. I changed the kernel
configuration and the relevant part of my .config file looks like this:

 

#

# USB support

#

CONFIG_USB=y

# CONFIG_USB_DEBUG is not set

 

#

# Miscellaneous USB options

#

CONFIG_USB_DEVICEFS=y

# CONFIG_USB_BANDWIDTH is not set

# CONFIG_USB_DYNAMIC_MINORS is not set

# CONFIG_USB_OTG is not set

CONFIG_USB_ARCH_HAS_HCD=y

# CONFIG_USB_ARCH_HAS_OHCI is not set

 

#

# USB Host Controller Drivers

#

# CONFIG_USB_SL811_HCD is not set

CONFIG_USB_MUSB_HDRC=y

CONFIG_USB_MUSB_SOC=y

 

#

# DaVinci 644x USB support

#

# CONFIG_USB_MUSB_HOST is not set

CONFIG_USB_MUSB_PERIPHERAL=y

# CONFIG_USB_MUSB_OTG is not set

# CONFIG_USB_GADGET_MUSB_HDRC is not set

CONFIG_USB_INVENTRA_FIFO=y

CONFIG_USB_INVENTRA_STATIC_CONFIG=y

CONFIG_USB_INVENTRA_HCD_LOGGING=0

 

#

# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' may also be
needed; see USB_STORAGE Help for more information

#

CONFIG_USB_STORAGE=m

# CONFIG_USB_STORAGE_DEBUG is not set

# CONFIG_USB_STORAGE_RW_DETECT is not set

# CONFIG_USB_STORAGE_DATAFAB is not set

# CONFIG_USB_STORAGE_FREECOM is not set

# CONFIG_USB_STORAGE_ISD200 is not set

# CONFIG_USB_STORAGE_DPCM is not set

# CONFIG_USB_STORAGE_HP8200e is not set

# CONFIG_USB_STORAGE_SDDR09 is not set

# CONFIG_USB_STORAGE_SDDR55 is not set

# CONFIG_USB_STORAGE_JUMPSHOT is not set

 

#

# USB Input Devices

#

CONFIG_USB_HID=m

CONFIG_USB_HIDINPUT=y

# CONFIG_HID_FF is not set

# CONFIG_USB_HIDDEV is not set

 

 

#

# USB Gadget Support

#

CONFIG_USB_GADGET=y

# CONFIG_USB_GADGET_DEBUG_FILES is not set

# CONFIG_USB_GADGET_NET2280 is not set

# CONFIG_USB_GADGET_PXA2XX is not set

# CONFIG_USB_GADGET_PXA27X is not set

# CONFIG_USB_GADGET_GOKU is not set

# CONFIG_USB_GADGET_SA1100 is not set

# CONFIG_USB_GADGET_LH7A40X is not set

CONFIG_USB_GADGET_DUMMY_HCD=y

CONFIG_USB_DUMMY_HCD=y

# CONFIG_USB_GADGET_OMAP is not set

# CONFIG_USB_GADGET_MPC885ADS is not set

# CONFIG_USB_GADGET_MPC8272ADS is not set

# CONFIG_USB_GADGET_MUSBHSFC is not set

CONFIG_USB_GADGET_DUALSPEED=y

# CONFIG_USB_ZERO is not set

# CONFIG_USB_ETH is not set

# CONFIG_USB_GADGETFS is not set

CONFIG_USB_FILE_STORAGE=m

CONFIG_USB_FILE_STORAGE_TEST=y

# CONFIG_USB_G_SERIAL is not set 

 

I rebuild the kernel, copied the g_file_storage.ko into my file system,
but when trying to insert it with "insmod g_file_storage.ko
file=/dev/had" command, I'm getting the following errors:

 

g_file_storage: disagrees about version of symbol
usb_gadget_register_driver

g_file_storage: Unknown symbol usb_gadget_register_driver

g_file_storage: disagrees about version of symbol
usb_gadget_unregister_driver

g_file_storage: Unknown symbol usb_gadget_unregister_driver

 

What's wrong?

 

Thanks,

Kim Klaiman

 

 

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to