<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos, branch 1.2.1</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=1.2.1</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=1.2.1'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-05-21T15:32:22+00:00</updated>
<entry>
<title>update Changelog for 1.2.1 release, again</title>
<updated>2013-05-21T15:32:22+00:00</updated>
<author>
<name>Bdale Garbee</name>
<email>bdale@gag.com</email>
</author>
<published>2013-05-21T15:32:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a261bdbba3301cd29c1be7ba85f695f7b434cb03'/>
<id>urn:sha1:a261bdbba3301cd29c1be7ba85f695f7b434cb03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'branch-1.2' of ssh://git.gag.com/scm/git/fw/altos into branch-1.2</title>
<updated>2013-05-21T15:31:48+00:00</updated>
<author>
<name>Bdale Garbee</name>
<email>bdale@gag.com</email>
</author>
<published>2013-05-21T15:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5a329c7f588334df7443b47c8f478ebadf312f62'/>
<id>urn:sha1:5a329c7f588334df7443b47c8f478ebadf312f62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update changelog for 1.2.1 release</title>
<updated>2013-05-21T15:29:30+00:00</updated>
<author>
<name>Bdale Garbee</name>
<email>bdale@gag.com</email>
</author>
<published>2013-05-21T15:29:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9b138221283f0b8e8df5a799f75d73fd456028a0'/>
<id>urn:sha1:9b138221283f0b8e8df5a799f75d73fd456028a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update configure.ac to reflect version 1.2.1</title>
<updated>2013-05-21T15:28:53+00:00</updated>
<author>
<name>Bdale Garbee</name>
<email>bdale@gag.com</email>
</author>
<published>2013-05-21T15:28:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=6f51726b1c04940c5be3b6f320d6aa529afff9ca'/>
<id>urn:sha1:6f51726b1c04940c5be3b6f320d6aa529afff9ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc: Update description of graph window to note new tabs (config and map)</title>
<updated>2013-05-21T04:41:01+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-21T04:41:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=03fe10efd307da10e35c5f6a46f0c8b1a3888c57'/>
<id>urn:sha1:03fe10efd307da10e35c5f6a46f0c8b1a3888c57</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Create release notes for 1.2.1</title>
<updated>2013-05-21T04:37:20+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-21T04:37:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=db9ea188aebe5299f46bbd4fca5317c1bc95f3f5'/>
<id>urn:sha1:db9ea188aebe5299f46bbd4fca5317c1bc95f3f5</id>
<content type='text'>
Move most of the 1.2 content to the 1.2.1 block

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/telemega: The last two igniters are apogee and main</title>
<updated>2013-05-21T04:16:25+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:35:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=51f2c4ce2692ee3e898b4e94232c45a608932c15'/>
<id>urn:sha1:51f2c4ce2692ee3e898b4e94232c45a608932c15</id>
<content type='text'>
Not the first two. TeleMega v0.3 has these marked on the silk

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>libaltos: Build the linux library targets when doing a 'fat' build</title>
<updated>2013-05-17T10:51:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-17T10:27:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8d40c37bae0c58037f267e54de40071cd19c931d'/>
<id>urn:sha1:8d40c37bae0c58037f267e54de40071cd19c931d</id>
<content type='text'>
These are necessary for the fat release, so make sure they're built then.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>libaltos: use PurgeComm in Windows altos_close to abort in-progress ops</title>
<updated>2013-05-17T10:51:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-17T10:34:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=fbe7857e371fa8ffa726fda2b43d4eddd551eaa4'/>
<id>urn:sha1:fbe7857e371fa8ffa726fda2b43d4eddd551eaa4</id>
<content type='text'>
Instead of manually signalling the related events, use PurgeComm which
can then abort the operations itself. Also make sure all of the
relevant handles are set to INVALID before closing them to avoid race conditions.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/cc1111: Hack on USB driver to make Windows happy</title>
<updated>2013-05-17T10:51:16+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-17T10:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=3b457ff8d43630c04e0cb22bb3a2765be5e188bd'/>
<id>urn:sha1:3b457ff8d43630c04e0cb22bb3a2765be5e188bd</id>
<content type='text'>
The Windows modem driver is quite chatty at startup time, getting and
setting the comm parameters each time the device is opened. Sometimes,
when setting the parameters, the cc1111 would STALL EP0.

Most of the time, Windows would happily pass this as an error back to
AltosUI which would then re-try the open (and succeed, most of the
time).

Sometimes, Windows would stall for 30 seconds before passing the error
back. This made the whole UI freeze, and I suspect most people assumed
our app had died.

A bit of analysis with the beagle USB sniffer and I discovered the
STALL settings, but there wasn't any correlation between the data on
the wire and when the STALL would be generated.

So, I found a couple of other cc1111 USB stacks on the net and just
looked to see how our driver differed. There wasn't anything clearly
related, but there were a list of small differences:

 1) Other drivers didn't bother waiting for the hardware to
    ack the USBADDR setting; doing it this way means we can set
    the address *before* acking the setup packet. It'll get
    set eventually, at which point the device will start responding to
    packets again.

    Easy to fix, and saves a bit of code space too.

 2) The other drivers set the STALL bit for setup packets which aren't
    understood. This shouldn't have any effect on 'good' systems as
    those shouldn't ever be generating bogus setup packets anyways.

    The driver already handled the STALL state in the interrupt
    handler, the only requirement was to figure out when to explicitly
    set the STALL bit.

    That required moving the state updating code from the start of the
    ep0 setup handling to the end, after the setup packet had been
    examined and data queued in or out as appropriate.

 3) Our driver explicitly queued an IN packet for any setup request
    that wasn't waiting for an OUT pack. This appears to tie in with
    the USBADDR change above as before I made that change, this change
    caused the driver to fail to respond to most setup packets.

    This was simple once the above change was made, just move the
    generation of the IN packet inside the code that switched to the
    IN state.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
