Comment 2 for bug 920550

Revision history for this message
Kejun ZHOU (kejun-zhou) wrote :

We have a issue of using the USB mouse and USB SD export feature (USB mass storage) at same time.
Because there is only one USB port on Snowball.
1. The USB mass storage feature needs the phone to be a USB device and the PC is the USB host.
2. The USB mouse or USB hub(for connect the USB mouse and USB keyboard) needs the phone to be a USB host.
So these two kinds of feature are conflict.

If we have a touch screen, we can use the USB mass storage feature,
1. Changing the kernel config file like following can enable the USB mass storage feature.

 CONFIG_USB_MON=y
 CONFIG_USB_MUSB_HDRC=y
 CONFIG_USB_MUSB_UX500=y
+CONFIG_USB_MUSB_OTG=y
+CONFIG_USB_GADGET_MUSB_HDRC=y
 CONFIG_USB_ACM=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_LIBUSUAL=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_VBUS_DRAW=500
-CONFIG_USB_ZERO=m
-CONFIG_USB_ETH=m
-CONFIG_USB_FILE_STORAGE=m
-CONFIG_USB_MASS_STORAGE=m
-CONFIG_USB_G_SERIAL=m
-CONFIG_USB_CDC_COMPOSITE=m
-CONFIG_USB_G_MULTI=m
-# CONFIG_USB_G_MULTI_RNDIS is not set
-CONFIG_USB_G_HID=m
+CONFIG_USB_G_ANDROID=y
+CONFIG_USB_ANDROID_PHONET=y