On Tue, Dec 1, 2009 at 10:04 PM, Peter Harrison <> wrote:
On Wed, Dec 2, 2009 at 12:45 PM, Gonzalo A. de la Vega <> wrote:
Page 40 of the TS7260 manual... Thanks.
but no idea of how you do it with python, which on the other hand, I don't think is a good idea for an embedded system.
Why not? I had my software running on an OpenMoko phone. It works fine. Controlling power to the USB is a new function however. What could be useful is a very small C program which can turn the USB off and on by itself. I can then use ctypes to
interface it to python.
Now that I think about it, you can turn USB power on and off from the console (have a look at the ts7xxx.subr script).
The other approach I have seen involved recompiling Python itself - Yuk :)
__._,_.___
__,_._,___
|