View Single Post
Posts: 310 | Thanked: 383 times | Joined on Jan 2010
#686
Originally Posted by joerg_rw View Post
well, let's call it the day hostmode-0.0.1 was put to work.

I got a usb hub with a red power-LED and 4 green action LEDs for the 4 downstream ports.

The cmdline
Code:
'killall -SIGSTOP bme_RX-51; ./i2cset -y -m 0x07 2 0x6b 0x01 0x05; sleep 10;  killall -SIGCONT bme_RX-51'
makes the red LED shine for 10 sec, and the moment BME starts again, it obviously talks to the hub chip so all the 4 green LED flash up for <0.5s, then VBUS is disabled.

This clearly indicates to me BME or whatever friggin driver (musb_hdrc?) is *talking* to the hub, and that's hostmode basically.
It just needs to stop talking gibberish, and act like a serious host -> decent driver support is all that's missing

[edit]
Q: maybe the green LEDs just flash because voltage drop?
A: fired the sleep10 cmdline, plugged power wallwart to hub while still powered from N900 -> red powerLED continues shining, but still the green LEDs flash when bme kicks in
Just curious; did you try running lsusb while the hub was powered? Is anything registered?
 

The Following 3 Users Say Thank You to nightfire For This Useful Post: