<feed xmlns='http://www.w3.org/2005/Atom'>
<title>feurig/libmaple/support/scripts/reset.py, branch master</title>
<subtitle>Working copy of Leaflabs libmaple</subtitle>
<id>https://git.suspectdevices.com/feurig/libmaple/atom?h=master</id>
<link rel='self' href='https://git.suspectdevices.com/feurig/libmaple/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/'/>
<updated>2012-08-22T16:48:37+00:00</updated>
<entry>
<title>reset.py: Not every Unix is Linux.</title>
<updated>2012-08-22T16:48:37+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-08-22T16:48:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=c98111eb25eabceb11368ae30c28b081fe1daa24'/>
<id>urn:sha1:c98111eb25eabceb11368ae30c28b081fe1daa24</id>
<content type='text'>
Move the sysfs tests for Maple out of unix_get_maple_path() and into a
new linux_get_maple_path(). This prevents unnecessary probing for a
nonexistent /sys on e.g. OS X.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Improve Maple device detection in reset.py on Linux</title>
<updated>2012-08-22T14:24:32+00:00</updated>
<author>
<name>David Kiliani</name>
<email>mail@davidkiliani.de</email>
</author>
<published>2012-08-22T13:49:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=74266c88d6ac02a5a347330df905acee38ed2d9d'/>
<id>urn:sha1:74266c88d6ac02a5a347330df905acee38ed2d9d</id>
<content type='text'>
Adds a function to lookup the USB vendor &amp; product id from
the udev info in the sysfs tree. This removes invalid choices
and reduces user queries for the correct ttyACM device.

Signed-off-by: David Kiliani &lt;mail@davidkiliani.de&gt;
</content>
</entry>
<entry>
<title>reset.py fixups for OS X 10.8.</title>
<updated>2012-08-20T21:06:34+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-08-20T21:06:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=82500d78136fe9c42177d7df712cd202d285971d'/>
<id>urn:sha1:82500d78136fe9c42177d7df712cd202d285971d</id>
<content type='text'>
As discussed on this forum thread:

http://forums.leaflabs.com/topic.php?id=2451

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>reset.py: Remove advisory for 64-bit Linux.</title>
<updated>2012-07-20T21:00:15+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-07-20T21:00:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=4cd72bbd5c5efe7254231f7f2aa2449941c724f6'/>
<id>urn:sha1:4cd72bbd5c5efe7254231f7f2aa2449941c724f6</id>
<content type='text'>
We test on that platform now, and it does work.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>reset.py: Use the real print function (requires Python 2.6+).</title>
<updated>2012-06-28T16:02:48+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2012-06-28T16:02:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=1c512b39ba4a05ff14cd346c2ae2fcc1beb6ecf3'/>
<id>urn:sha1:1c512b39ba4a05ff14cd346c2ae2fcc1beb6ecf3</id>
<content type='text'>
Use "from __future__ import print_function" so the recent py3k
compatibility patches to reset.py preserve the old output in Python 2.
This increases our minimum Python version to 2.6, but avoids ugly
output Python 2, where print statements with a tuple argument print
the tuple with parentheses etc.

Python 2.6 came out almost four years ago, and it's widely available:

- even on older Linux distros (e.g. Ubuntu 10.04 and Debian Squeeze
  have 2.6 default at time of writing),

- on OS X since 10.6,

- and Windows users will probably be installing from python.org
  anyway, so they've likely got a reasonably recent vintage.

Dropping 2.5 support thus doesn't seem likely to cause problems.

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title></title>
<updated>2012-06-28T08:42:20+00:00</updated>
<author>
<name>ventosus</name>
<email>ventosus@airpsot.net</email>
</author>
<published>2012-06-28T08:42:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=8f4d11a2a14a3439db100a83466217a15a1efead'/>
<id>urn:sha1:8f4d11a2a14a3439db100a83466217a15a1efead</id>
<content type='text'>
Make the reset script work for both python2 and python3

Make the reset script work for both python2 and python3 by putting brackets around print statements and properly encoding the string sent with ser.write

Signed-off-by: Hanspeter Portner &lt;agenthp@users.sf.net&gt;</content>
</entry>
<entry>
<title>reset.py: Hackishly silence DeprecationWarning.</title>
<updated>2011-10-07T18:39:07+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-10-05T20:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=ad153c3265f341c16bd3920fc7611f0290a2aec2'/>
<id>urn:sha1:ad153c3265f341c16bd3920fc7611f0290a2aec2</id>
<content type='text'>
Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Add Windows support to DFU installation tools.</title>
<updated>2011-09-26T19:50:12+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@leaflabs.com</email>
</author>
<published>2011-09-26T19:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=dcddff677ce2aa4cc5c1cb424fb83b5dcf44730d'/>
<id>urn:sha1:dcddff677ce2aa4cc5c1cb424fb83b5dcf44730d</id>
<content type='text'>
Tweak Makefile further for cs-make on Windows.  Add Windows support
to support/scripts/reset.py

Signed-off-by: Marti Bolivar &lt;mbolivar@leaflabs.com&gt;
</content>
</entry>
<entry>
<title>Improve reset reliability on OS X.</title>
<updated>2010-09-17T05:48:52+00:00</updated>
<author>
<name>Perry Hung</name>
<email>iperry@gmail.com</email>
</author>
<published>2010-09-17T05:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=bdb85a454917a6e875c77ae12f9fd67961aebfae'/>
<id>urn:sha1:bdb85a454917a6e875c77ae12f9fd67961aebfae</id>
<content type='text'>
The USB reset scheme on OS X is unreliable. Adding a little bit of sleep
seems to make it much more reliable. This will probably do until we get
a chance to rewrite the USB stack and redo the whole auto-reset
scheme...
</content>
</entry>
<entry>
<title>Toolchain improvements</title>
<updated>2010-08-30T00:29:31+00:00</updated>
<author>
<name>Marti Bolivar</name>
<email>mbolivar@mit.edu</email>
</author>
<published>2010-08-30T00:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/feurig/libmaple/commit/?id=42fd9fdf2db14f4f442c409c4fbd4ac6e9ce9a51'/>
<id>urn:sha1:42fd9fdf2db14f4f442c409c4fbd4ac6e9ce9a51</id>
<content type='text'>
Updated Makefile to read the directory where libmaple is from the
environment variable LIBMAPLE_PATH, if it exists, defaulting to the
current working directory otherwise.

Updated reset.py to look around in /dev for the Maple serial port,
prompting the user if there appear to be multiple possibilities and
complaining if there aren't any.
</content>
</entry>
</feed>
