View Single Post
Posts: 992 | Thanked: 995 times | Joined on Dec 2009 @ California
#684
Originally Posted by joerg_rw View Post
5V VBUS supply WORKS!


./i2cset -y -m 0x07 2 0x6b 0x01 0x05

lights up all the fancy LEDs on a connected USB hub.

BEWARE: this is an intermediate result and not yet tested to be safe for anything. Also bme intercepts the boost mode setting of bq24150 and stops 5V after ~0.5..1sec

So this is just meant to let you know the chances getting better for USB hostmode every day. We need someone to fix the obviously broken musb_hdrc driver (http://mxr.maemo.org/fremantle/sourc...sb_core.c#2010)

/jOERG

The bme assumption seems correct:
Code:
killall -SIGSTOP bme_RX-51; \
./i2cset -y -m 0x07 2 0x6b 0x01 0x05; sleep 10; \
 killall -SIGCONT bme_RX-51
which gives 10 seconds of VBUS power.

alas we need bme to tickle the system watchdog, otherwise reboot after a short time


Also bq24150 itself has a watchdog timer that'll stop boostmode if not reset properly on a regular schedule. To check this, you may replace sleep 10 by sleep 40 in above cmdline, and watch VBUS 5V drop after 32s on bq24150 watchdog timeout, even though bme still stopped
Say me what to do with chip. I tried to follow up this thread but I lost.
 

The Following User Says Thank You to egoshin For This Useful Post: