Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Tsuushin
Old
#1  
Member - OP
Thanks Meter 1
Posts: 41
Join Date: Aug 2009
Default Trouble accessing SDCard via USB

I am using Myn's Warm Donut, but from what I can tell I've had this problem on most if not all distributions I tried.

When I connect my HTC Touch to my computer via USB (Win7 x64), I can't get windows to detect it, and so I can't access the SD Card.

However, I have found that I can successfully access it by using the replimenu when booting. It does take about a minute before it manages to connect though, but it always works.

Here's what happens when I select Start Recovery Mode:
Code:
USB Connected
Start Charging
msm_hsusb_set_vbus_state(1)
hsusb: OFFLINE -> ONLINE
hsusb: reset controller c5cccc00
usb: notify offline
set address to 1
usb_mass_storage usb_mass_storage: config #1

[About 15 seconds later]
tried to queue zero length request
set address to 2
usb_mass_storage usb_mass_storage: config #1

[About 15 seconds later]
tried to queue zero length request
set address to 1
usb_mass_storage usb_mass_storage: config #1

[About 15 seconds later]
tried to queue zero length request
set address to 2
usb_mass_storage usb_mass_storage: config #1
[USB finally connects and the sdcard is mounted in windows. Total time elapsed since USB was plugged in: about 60 secs]
It always starts working after the fourth try, at address 2.

Do you have any idea what is going on?

Any help would be greatly appreciated!

P.S. I have tried on two different Win7 x64 computers and one XP x86
 
incubus26jc
Old
#2  
incubus26jc's Avatar
Recognized Developer
Thanks Meter 3531
Posts: 4,056
Join Date: Feb 2009
Location: Illinois

 
DONATE TO ME
Quote:
Originally Posted by Tsuushin View Post
I am using Myn's Warm Donut, but from what I can tell I've had this problem on most if not all distributions I tried.

When I connect my HTC Touch to my computer via USB (Win7 x64), I can't get windows to detect it, and so I can't access the SD Card.

However, I have found that I can successfully access it by using the replimenu when booting. It does take about a minute before it manages to connect though, but it always works.

Here's what happens when I select Start Recovery Mode:
Code:
USB Connected
Start Charging
msm_hsusb_set_vbus_state(1)
hsusb: OFFLINE -> ONLINE
hsusb: reset controller c5cccc00
usb: notify offline
set address to 1
usb_mass_storage usb_mass_storage: config #1

[About 15 seconds later]
tried to queue zero length request
set address to 2
usb_mass_storage usb_mass_storage: config #1

[About 15 seconds later]
tried to queue zero length request
set address to 1
usb_mass_storage usb_mass_storage: config #1

[About 15 seconds later]
tried to queue zero length request
set address to 2
usb_mass_storage usb_mass_storage: config #1
[USB finally connects and the sdcard is mounted in windows. Total time elapsed since USB was plugged in: about 60 secs]
It always starts working after the fourth try, at address 2.

Do you have any idea what is going on?

Any help would be greatly appreciated!

P.S. I have tried on two different Win7 x64 computers and one XP x86
are you using free automount app or the paid dual mount app?

 
Tsuushin
Old
#3  
Member - OP
Thanks Meter 1
Posts: 41
Join Date: Aug 2009
I tried auto mount without any success. Maybe there's system logs I could fetch from somewhere?

Also, do you know if it is normal that it needs about one minute and 4 tries in order to successfully connect in Recovery Mode?
 
incubus26jc
Old
#4  
incubus26jc's Avatar
Recognized Developer
Thanks Meter 3531
Posts: 4,056
Join Date: Feb 2009
Location: Illinois

 
DONATE TO ME
Quote:
Originally Posted by Tsuushin View Post
I tried auto mount without any success. Maybe there's system logs I could fetch from somewhere?

Also, do you know if it is normal that it needs about one minute and 4 tries in order to successfully connect in Recovery Mode?
did you check the box in the app to enable it after installing it?

 
Tsuushin
Old
#5  
Member - OP
Thanks Meter 1
Posts: 41
Join Date: Aug 2009
Yes

What seems to happen is an endless loop of:
Code:
USB Connected...
Preparing SD Card...
[Wait 15 seconds and repeat]
In the same manner I described earlier.. except it doesn't end up connecting after 4 tries like in recovery mode

EDIT: Oh! I let it go a while longer and after something like 2-3 minutes it finally managed to connect.

Am I the only one experiencing this delay or is it "normal" for our device?
 
incubus26jc
Old
#6  
incubus26jc's Avatar
Recognized Developer
Thanks Meter 3531
Posts: 4,056
Join Date: Feb 2009
Location: Illinois

 
DONATE TO ME
just wait longer. walk away from it for like 5 mins. When im using eclair it takes alot longer than donut. It sems to connect and disconnect like 50 times before actually connecting. This is normal.

 
Tsuushin
Old
#7  
Member - OP
Thanks Meter 1
Posts: 41
Join Date: Aug 2009
It works indeed.

I would be interested in looking at the logs and trying to understand what is happening (and maybe even fix it!).

Does anyone know where I should be looking at?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Careers in Android: What Hiring Managers Won’t Tell You – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

Coloring Your Logcat World

Getting feedback for your app during development is as simple as adding logging info where necessary and looking … more

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more