Reply
Thread Tools
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#161
Thanks Pali for your advice. Now I read my HD. Great application!!!
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#162
@emotion: Where was problem?
 
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#163
the problem was I very fast between vbus to enumerate. Now I wait 10 seconds, then press mount, maybe twice between 5 seconds and works for me...
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#164
Note that automouting in usbmode does not working if you do not have CSSU installed.
 
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#165
Yes I have installed kernel power v51(r1), CSSU stable, mecledpattern and deb package usb mode
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#166
@emotion:

Can you provide output of dmesg when using usmode?

And can you play more with usbmode? I'd like to set working timeouts between enumerate, vbus & mount.

All timeouts (in seconds) are in script /usr/sbin/usbmode.sh

You can find this part in that that file:
Code:
		charger_mode none
		sleep 1

  ...

		charger_mode boost
		sleep 4

		usb_enum
		sleep 1
Try to increase sleep timeouts if that helps.
 

The Following User Says Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#167
Now I changed sleep timeout after usb_enum from 1 to 3. This should fix some problems. New deb package is on same location.
 

The Following 2 Users Say Thank You to pali For This Useful Post:
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#168
Originally Posted by pali View Post
@emotion:

Can you provide output of dmesg when using usmode?

And can you play more with usbmode? I'd like to set working timeouts between enumerate, vbus & mount.

All timeouts (in seconds) are in script /usr/sbin/usbmode.sh

You can find this part in that that file:
Code:
		charger_mode none
		sleep 1

  ...

		charger_mode boost
		sleep 4

		usb_enum
		sleep 1
Try to increase sleep timeouts if that helps.
this is my output of dmesg when using usmode...
Attached Files
File Type: txt dmesg.txt (15.3 KB, 89 views)
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#169
So your HDD is correctly detected.

Code:
[  368.207550] scsi 0:0:0:0: Direct-Access     OEM      Ext Hard Disk    0000 PQ: 0 ANSI: 5
[  373.025085] sd 0:0:0:0: [sda] 244008886 4096-byte hardware sectors: (999 GB/930 GiB)
[  373.046905] sd 0:0:0:0: [sda] Write Protect is off
[  373.046966] sd 0:0:0:0: [sda] Mode Sense: 10 00 00 00
[  373.046997] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  373.085449] sd 0:0:0:0: [sda] 244008886 4096-byte hardware sectors: (999 GB/930 GiB)
[  373.107543] sd 0:0:0:0: [sda] Write Protect is off
[  373.107604] sd 0:0:0:0: [sda] Mode Sense: 10 00 00 00
[  373.107635] sd 0:0:0:0: [sda] Assuming drive cache: write through
 
Posts: 41 | Thanked: 5 times | Joined on Aug 2011 @ Lima, Peru
#170
yes pali, only I should wait 10 seconds between vbus and enumerate
 
Reply

Tags
usbmode


 
Forum Jump


All times are GMT. The time now is 09:26.