USB SD card export not working

Reported by Zach Pfeffer on 2012-01-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
High
Kejun ZHOU

Bug Description

I see :

<6>android_usb gadget: high speed config #1: android
android_usb gadget: high speed config #1: android

on the console

and

[485430.223271] usb 2-1.4.2: new high speed USB device number 18 using ehci_hcd

in dmesg

but I can't access the SD card of

https://android-build.linaro.org/builds/~linaro-android/staging-origen-12.01-release/#build=2

Zach Pfeffer (pfefferz) on 2012-01-23
Changed in linaro-android:
importance: Undecided → Medium
Zach Pfeffer (pfefferz) wrote :

Clicking Storage > then Media device

Also did not work.

Zach Pfeffer (pfefferz) on 2012-01-30
Changed in linaro-android:
importance: Medium → High
assignee: nobody → Kejun ZHOU (kejun-zhou)
milestone: none → 12.02
Kejun ZHOU (kejun-zhou) on 2012-02-01
Changed in linaro-android:
status: New → In Progress
summary:
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

Zach Pfeffer (pfefferz) wrote :

I tried this on https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc46-samsunglt-stable-blob-12.02-release/#build=1.

Settings > Storage > Media device (MTP)

I see this in my dmesg log on the host computer:

[110747.634041] usb 2-1.1.1: USB disconnect, device number 26
[110748.862142] usb 2-1.1.1: new high speed USB device number 27 using ehci_hcd

and this on dmesg on target:

root@android:/ # <7>enter rt5625_hifi_codec_set_dai_fmt
<6>adb_release
adb_release
<7>RT5625: Powering on.
<7>RT5625: Powering on.
<3>android_usb: already disabled
android_usb: already disabled
<6>adb_bind_config
adb_bind_config
<6>adb_open
adb_open
<6>android_usb gadget: high speed config #1: android
android_usb gadget: high speed config #1: android
<7>RT5625: Powering down.
<7>RT5625: Powering down.

Zach Pfeffer (pfefferz) on 2012-02-22
tags: added: hardware-limitation
Changed in linaro-android:
milestone: 12.02 → 12.03
Kejun ZHOU (kejun-zhou) wrote :

This is hardware limit issue.
Tag: hardware_limit.

Changed in linaro-android:
status: In Progress → Fix Committed
Zach Pfeffer (pfefferz) wrote :

Released in 12.03.

Changed in linaro-android:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers