Today I released omnewrotate 0.5.3, which fixes issue 4.
As I was starting to investigate libframeworkd-glib, that dependency was a problem for usage in the recently released Om2008.12 (basically, it wouldn’t run at all).
As such, I added a “–without-frameworkd” to the ./configure script, which I used for building the ipk of this release (OpenPGP sig).
Another good thing about this release, is that its tar ball (OpenPGP sig) is now the result of make dist. This should be a great bonus for integration with hackable:1, which is still using a pretty old version of omnewrotate. Just don’t forget to include “–without-frameworkd” in the configure process (I plan to have this detection done automatically in the future).
Enjoy!
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
I’ve just release a new version of OMNewRotate (source, it’s OpenPGP signature, an ipkg tested against FSO M4.1 and it’s OpenPGP signature).
Solved in this release, with the help of Kumar, is issue 1, suspend. It’s a solution based on apm suspend/resume scripts, so I expect that to be temporary until a better solution comes along.
Issue 2 is also solved, since it resulted from a typo in the previous releases.
Enjoy!
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
Hi,
I’ve just release a new version of OMNewRotate (source, it’s OpenPGP signature, an ipkg tested agains FSO M4.1 and it’s OpenPGP signature), the ‘Automagically Lazy Edition’ because it’s just like the ‘Lazy Edition’ but with Autotools magic. Yes, I know it doesn’t work well with suspend. I’ve just gotter suspend to work on my OpenMoko, so expect that it is fixed by 0.6.0.
From the ChangeLog:
2008-12-09 - 0.5.1 - Automagically lazy
* same as 0.5.0 plus auto tools magic
* desktop icon
* places a starter script
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
Hi,
I’ve just release a new version of omnewrotate (OpenPGP signature), the ‘Lazy Edition’ because it uses so much less CPU than any version I did before. Oh, I forgot to mention it in the release commit, but at least with FSO M4 I’m getting a very stable rotation BUT if the screen looks garbled, please wait a few seconds until the graphic user interface adjusts to the screen changes. I don’t think I can do much about that…
From the ChangeLog:
2008-11-19 - 0.5.0 - Lazy edition
* uses a second thread for reading the accellerometer packets
* drops Fabian's changes (not that they weren't good, just not
needed any more)
* adds flags (look at display_help() or ./rotate -h)
* drops packets with 0 value coordinates (I got bogus packets
like that so I decided to drop them, if you feel you get good
packets with 0 value, you can use '-0' as an argument to take
them in account).
* top -d 1 -p PID shows 0.0% CPU usage (of omnewrotate) even
during rotation
* seems to waste a little too much memory (some stuff could be
done with one number and bitwise operations instead of several
numbers, I wonder how much that will improve and if it's worth
the effort...)
* only output outside of debug mode are real errors
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
Tim Dobson fez uma apresentação de introdução do OpenMoko que eu traduzi. Para já, fica aqui, mas em breve deverá ir para o Wiki.
Tim Dobson made an OpenMoko introduction presentation which I have translated into Portuguese. For the time being it’s here, but it should soon be at the Wiki.
Temas:
OpenMoko,
Software Livre
Oscar Casamitja patched the old rotate program to change brightness on rotate in order to better hide xrandr’s artifacts. That’s actually a very good idea.
This new version reads from actual_brightness and set into brightness, which you can find in /sys/class/backlight/pcf50633-bl/ , in order to skip packet reading when the screen is dimmed, which is the next best thing to checking wether the screen is locked.
I run into a problem, though: it seems that if I open() actual_brightness once, I never again read an updated value, which makes me have to read on every loop
Enough talk, get it here: rotate-0.3.0.tar.gz (ascii sig) [now, if only this bug was fixed on projects.openmoko.org...]
Hope you’re enjoying it…
$ head -2 ChangeLog
2008-10-14 - 0.3.0
* dims while rotating and doesn't rotate if dimmed, sleeping for 5s
$ cat KNOWN_ISSUES
Known Issues:
* I'm not getting updated results if I only open
/sys/class/backlight/pcf50633-bl/actual_brightness once
which means I need to open it on every cycle.
Since it's in memory and not an actual file, wast should
not be too much
* some heuristic values may need fine tunning
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
Yes, it’s out, release early, release often, yadada yadada. I’m grumpy because of less sleep time than usual, and a whole day of ITIL Foundation V3 lesson (3 more days of it, plus an exam later on).
Get it here: rotate-0.2.1.tar.gz (signature)
Anyway, here’s the good news:
$ head -5 ChangeLog
2008-09-22 - 0.2.1
* more heuristic fixes (hopefully really fix when laying around, and
turned up)
* workaround with alarm() for the accelerometer read-hang problem
* sleeping for 100ms seems to get cpu usage quite low (0% to 0.9%)
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
Woke up 2h earlier because of a problem, solved quickly, took the extra time to greatly improve the heuristics.
If you haven’t tried it before, now it’s the time to try. If you did, NOW is the time to try again
Fetch it now: rotate-0.2.0.tar.gz (signature)
$ head -3 ChangeLog
2008-09-22 - 0.2.0
* greatly improves heuristics
* fixed heuristics when laying around, and turned up
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
Oops, heuristics were bad, very bad. Still has quirks, but at least now they’re not so shameful.
There’s a new release: 0.1.1 (signature)
$ head -2 ChangeLog
2008-09-21 - 0.1.1 - First brown paper bag release
* improves heuristics
$ cat KNOWN_ISSUES
Known Issues:
* reading from the accelerometer hangs after X time/reads
* some heuristic values may need finetunning (specially when
laying around, turned up)
Temas:
Code,
OpenMoko,
Rotate,
Software Livre
As said before, since I’m not entirely happy with the previous version of Rotate for OpenMoko, also using it as a way to learn how to write programs for it, I’m writing a new version of Rotate for OpenMoko.
I’m now announcing the first results: release 0.1.0 is out (signature)! The tar.gz file contains both source and a binary suited to run on Om200x.y (at least 2008.9 should work).
Be careful, it bytes..
$ cat ChangeLog
2008-09-21 - 0.1.0 - First release.
Current Features:
* makes some rotations
Known Issues:
* reading from the accelerometer hangs after X time/reads
* some heuristic values may need finetunning (specially when
laying around, turned up)
Near Future:
* don't rotate when screen is locked
* change profile to silent/meeting when phone is turned down
and revert when it is turned back up
Temas:
Code,
OpenMoko,
Rotate,
Software Livre