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
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 USB_MUSB_ HDRC=y USB_MUSB_ UX500=y USB_MUSB_ OTG=y USB_GADGET_ MUSB_HDRC= y USB_STORAGE= y USB_LIBUSUAL= y USB_GADGET= y USB_GADGET_ VBUS_DRAW= 500 USB_FILE_ STORAGE= m USB_MASS_ STORAGE= m USB_G_SERIAL= m USB_CDC_ COMPOSITE= m USB_G_MULTI= m USB_G_MULTI_ RNDIS is not set USB_G_ANDROID= y USB_ANDROID_ PHONET= y
CONFIG_
CONFIG_
+CONFIG_
+CONFIG_
CONFIG_USB_ACM=y
CONFIG_
CONFIG_
CONFIG_
CONFIG_
-CONFIG_USB_ZERO=m
-CONFIG_USB_ETH=m
-CONFIG_
-CONFIG_
-CONFIG_
-CONFIG_
-CONFIG_
-# CONFIG_
-CONFIG_USB_G_HID=m
+CONFIG_
+CONFIG_