View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#855
Originally Posted by twoboxen View Post
I'm sure it goes without saying... but you are the man. Well, you and all the other people who helped are the collective man. Any chance the requisite fixes can be folded into titan's kernel?
Titan just booted a hostmode-only kernel this very moment.
[2010-05-13 16:33:17] <t-tan> it continues !!!
[2010-05-13 16:33:50] <t-tan> I'm running a hostmode-only kernel
[2010-05-13 16:35:07] <DocScrutinizer> t-tan: what coninues?? the kernel booted up to full system?
[2010-05-13 16:35:18] <t-tan> yes. success!
Egoshin's method implies conecting the N900 to a PC prior to switching to hostmode, and that won't help a lot out in the field, will it?
http://talk.maemo.org/showpost.php?p...&postcount=835
1. plug to PC, answer "PC suite"
2. echo host >/sys/devices/platform/musb_hdrc/mode
3. echo H >/proc/driver/musb_hdrc
4. /bin/sh -c 'killall -SIGSTOP bme_RX-51 && sleep 3 && /usr/local/i2cset -y -m 0x07 2 0x6b 0x01 0x05 && while sleep 28; do /usr/local/i2cset -y -m 0x80 2 0x6b 0x00 0x80; done &
5. disconnect USB from PC and connect to USB memory stick or extrnal hard disk or HUB.
6. lsusb -- or just wait
7. Look into /var/log/syslog for messages.
See 1. to 5. For the answer "PC suite" part see also http://talk.maemo.org/showthread.php...357#post635357

So we still struggle to get GENERIC hostmode, not a tricky way to put OTG statemachine into a pathological state by fiddling with VBUS timings, where it detects a drive as another OTG peer.
[2010-05-13 14:52:07] <DocScrutinizer> let me put it this way: it's insane to trick a potentially
flawed OTG statemachine into a certain state by fiddling with VBUS timings, while
a plain vanilla generic hostmode doesn't care about VBUS at all
Stay calm and patient and wait what's going on, all the smart people know you want hostmode as soon as possible, and neither Titan nor anybody else will hesitate to ship whatever is needed to put it to work for everybody, once we figured how to implement a reliable useful thing. At the moment this is still bleeding edge R&D, and surely it's strongly discourraged for non-developers to try and put it to use, as there's no evaluation whatsoever about risks, and it's simply not yet working for the intended usecases.

cheers
jOERG

[edit] titan beat me on posting speed ;-) so please excuse if this sounds a bit weird, as I wasn't aware of his previous post when I hit the "reply" button

Last edited by joerg_rw; 2010-05-13 at 15:14.
 

The Following 16 Users Say Thank You to joerg_rw For This Useful Post: