Trouble accessing SDCard via USB

Search This thread

Tsuushin

Member
Aug 11, 2009
48
3
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

Inactive Recognized Developer
Feb 12, 2009
4,094
3,569
Illinois
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

Member
Aug 11, 2009
48
3
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

Inactive Recognized Developer
Feb 12, 2009
4,094
3,569
Illinois
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

Member
Aug 11, 2009
48
3
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

Inactive Recognized Developer
Feb 12, 2009
4,094
3,569
Illinois
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

Member
Aug 11, 2009
48
3
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?