View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#685
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

Last edited by joerg_rw; 2010-04-30 at 18:25.
 

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