It appears that the RC3 image of Chaos Calmer includes LUCI now? So people should be able to go straight from wing’s Factory Image to RC3 (just make sure you un-tick the “Keep Settings” box).
Also, an update on my probing of the TM04’s battery circuit: Sadly, there is no communication between the SoC and MCU as I originally thought (the MCU does have two lines coming from it with pull down resistors in place, but it’s not I2C data and doesn’t appear to be going to the main SoC; most likely some sort of open drain logic related to the battery circuit).
The good news is, if one did want to implement a gas gauge, you could easily tap the two GPIO that control the network status LEDs and bit bang I2C. (Add a I2C GPIO expander along with an I2C coulomb counter and you could even retain the LEDs.)
yxalag wrote:Anyone know about the feasibility of using one of these as a USB device via the microUSB port? It'd be nice if it could present itself as an USB Ethernet interface. (I have a TM03, like the TM04 with a smaller battery)
At some point between unboxing and flashing OpenWRT, I had a microSD card inserted, and plugging the device into my laptop presented the SD card as a UMS device. I think this might be the behavior when the router is powered off and the device is plugged in to a USB host.
There’s a generic SD to USB Bridge chip in there that’s connected to the SoC’s USB lines. From what you’re describing they’ve either got the same bridge chip wired into the micro USB charging port too. I can’t imagine they’d have them wired up together directly (as USB is pretty specific when it comes to trace impedance, etc.) so my guess is they’ve got a MUX chip on the USB data lines from the SD to USB bridge, controlled by the little MCU that handles battery charging/power button duties. When the router is off, the MCU toggles the MUX to direct the USB data lines to the micro USB port instead of the main SoC.
Even if it was all directly connected together, you still couldn’t use it to directly hook a computer up to the router’s SoC, as the SoC is acting as a USB host, not a device. (Though I’d guess these Ralink SoCs support USB OTG, but that almost always requires a hardware connection which in this case isn’t exposed.)
TL;DR: No, not feasible.
(Last edited by timb on 28 Jul 2015, 09:21)