![]() |
2010-09-28
, 08:44
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#182
|
The Following 3 Users Say Thank You to Dousan For This Useful Post: | ||
![]() |
2010-09-28
, 13:40
|
Posts: 17 |
Thanked: 0 times |
Joined on Sep 2010
|
#183
|
Finally it worked for me allso
What i did was start up the bme script, plug in flashstick when 'starting bme' showed (no light in my flashstick at this point), waited to 'connect usb now' showed and waited about 5 secs, then unpluged and repluged the flashstick and now the light blimped on the flashstick, then checked in xterm: ls /dev/sd* and got /dev/sda + /dev/sda1, then pushed mount /dev/sda1 in bme ui... And there it was the flashstick in the N900 file browser
Thanks to all the devs and the ones posting there experience and tips in this thread
Here's my sylog (flashstick)...
Attachment 14122
e: Just did it with a external HDD powered by a netbook (i know not that OTG lol) and didn't need to unplug/replug to make it work
![]() |
2010-09-28
, 16:05
|
Posts: 35 |
Thanked: 14 times |
Joined on Apr 2010
@ Angers, France
|
#184
|
The Following 2 Users Say Thank You to nerfiaux For This Useful Post: | ||
![]() |
2010-09-29
, 02:01
|
|
Posts: 66 |
Thanked: 77 times |
Joined on Jul 2010
@ intheclouds
|
#185
|
[37722.812316] usb 1-1: new high speed USB device using musb_hdrc and address 6 [37722.812347] musb is_host_active 1 is_active 0 [37723.023284] musb is_host_active 1 is_active 0 [37723.234039] usb 1-1: device not accepting address 6, error -19 [37723.234100] musb_hub_control 280: clear feature 1 [37723.234191] hub 1-0:1.0: unable to enumerate USB device on port 1 [37723.234222] musb_hub_control 280: clear feature 1 [37723.234283] musb_hub_control 346: port status 00020501 [37723.234313] musb_hub_control 280: clear feature 17
The Following 4 Users Say Thank You to mveplus For This Useful Post: | ||
![]() |
2010-09-29
, 18:54
|
Posts: 19 |
Thanked: 6 times |
Joined on Sep 2010
|
#186
|
The Following 3 Users Say Thank You to Schriek For This Useful Post: | ||
![]() |
2010-09-30
, 02:12
|
|
Posts: 66 |
Thanked: 77 times |
Joined on Jul 2010
@ intheclouds
|
#187
|
Okay me Usb lights his LED up, but damn it won't mount, Syslog provided.
Also, i got an IOerror in your script, see attachement
dummy = os.popen('/root/vboost.sh &').read()
#!/bin/sh echo "Stopping bme and raising power output to 5V" stop bme; sleep 3; i2cset -y -m 0x07 2 0x6b 0x01 0x05; while true; do sleep 28; i2cset -y -m 0x80 2 0x6b 0x00 0x80; done
ls /dev/sd*
ls /usr/local/sbin/i2*
WARNING
i2cset can be extremely dangerous if used improperly. It can confuse your I2C bus, cause data loss, or have more serious side effects. Writing to a serial EEPROM on a memory DIMM (chip addresses between 0x50 and 0x57) may DESTROY your memory, leaving your system unbootable! Be extremely careful using this program.
The Following User Says Thank You to mveplus For This Useful Post: | ||
![]() |
2010-09-30
, 02:52
|
Posts: 96 |
Thanked: 80 times |
Joined on May 2010
|
#188
|
![]() |
2010-09-30
, 08:04
|
Posts: 19 |
Thanked: 6 times |
Joined on Sep 2010
|
#189
|
In hostmode.py on line 144 witch is executing thisbut reading back result gave error? MohammadAG?Code:#!/bin/sh echo "Stopping bme and raising power output to 5V" stop bme; sleep 3; i2cset -y -m 0x07 2 0x6b 0x01 0x05; while true; do sleep 28; i2cset -y -m 0x80 2 0x6b 0x00 0x80; done
I do not know python, but it seem that for some reason it can not reach the stage where you can mount your device.
can you reboot and click hostmode vbus,connect your USB and post the result from the fallowing commands in prompt:
Code:ls /dev/sd*and your full syslog, not only part of it.Code:ls /usr/local/sbin/i2*
Do not play with it , as MohammadAG said you can regret if you do so.
Also if you can measure the output voltage form your USB post value here?
The Following 2 Users Say Thank You to Schriek For This Useful Post: | ||
![]() |
2010-09-30
, 08:35
|
|
Posts: 1,161 |
Thanked: 1,707 times |
Joined on Jan 2010
@ Denmark
|
#190
|
The Following 2 Users Say Thank You to Dousan For This Useful Post: | ||
I've also noticed that hostmode.py sometimes gets stuck and doesn't respond at all, which I'm assuming is because of Python sucking at handling memory, so I've started doing the app again in Qt/C++ (god python is so much easier to code in...)