<div dir="ltr">When you power down or sleep the chip, it will disconnect from usb. It's your responsibility for restoring the usb connectivity when you wake up. You can probably look at the vusb project to see how one might do it, but it will differ since each teensy version uses a completely different mcu. <div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 10, 2013 at 1:44 PM, Glenn Wright <span dir="ltr"><<a href="mailto:infinite.perplexity@gmail.com" target="_blank">infinite.perplexity@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all, I have a question that I have not been able to solve on Google,
nor by tinkering-without-soldering-permanently, so I was wondering if
anyone knew the answer from experience. How do the Arduino sleep modes
(and libraries such as Narcoleptic) work on a Teensy, given that the
controller communicates directly with the USB port instead of using an
FTDI chip? Does putting the Teensy into low-power modes shut off power
to the USB port? If so, is there any way to subsequently reprogram the
board via USB? I noticed that the Narcoleptic library does *not* turn
off the power to the FTDI chip on a normal Arduino, but I'm not sure
what the implications would be on the Teensy. On the PJRC website,
there is this bit of incredibly useful information regarding turning off
power to the USB port on a Teensy:<br><br>"TODO: code samples"<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br>-Glenn
</font></span><br>_______________________________________________<br>
Noisebridge-discuss mailing list<br>
<a href="mailto:Noisebridge-discuss@lists.noisebridge.net">Noisebridge-discuss@lists.noisebridge.net</a><br>
<a href="https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss" target="_blank">https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Dean Mao<br><a href="mailto:dean.mao@hackerdojo.com">dean.mao@hackerdojo.com</a><br>Come visit us, we love new people!<br><a href="http://www.hackerdojo.com">www.hackerdojo.com</a>
</div>