Re: IMEI changing kit for GTA02

2014-02-19 Thread rhn
On 19 Feb 2014 09:09:00 +0100
openm...@pulster.de (Christoph Pulster) wrote:

 Michael, this is great work !  AFAIK this is the first toolkit allowing  
 easy change of IMEI, impressive.
 The applaus is very limited here, it seems most people left are hardcore  
 Linux/FOSS geeks which do not understand the concept of your semi-legal  
 activities...
 
 from my side, BIG thanks !
 Chris
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


I'm impressed - I didn't think Michael would have gotten to that point.
For me, it would be super nice if IMEI changed at evey SIM change as I'm not 
very comfortable with the tracking aspect of cellular.
If my FR still worked, I'd have tried it for sure.

Cheers,
rhn

PS. I wonder how many government tracking programs have I just been subscribed 
to.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: USB networking Win7

2014-01-17 Thread rhn
On Fri, 17 Jan 2014 18:25:24 +0100
Matthias Apitz g...@unixarea.de wrote:

 El día Friday, January 17, 2014 a las 05:07:22PM +, Michael Spacefalcon 
 escribió:
 
  dmatthews.org m...@dmatthews.org wrote:
  
   PuTTY is quite a decent (free as in beer) ssh client for windows
  
  PuTTY is free as in speech too, i.e., it is bona fide free software -
  not just free as in beer.  Of course Windows isn't, but we are talking
  about PuTTY, right?
 
 I know PuTTY very well. But, I was talking about how to bring up the
 USB network interface in Win7
 
 Thanks
 
   matthias

The Freerunner works as a USB Ethernet gadget (RNDIS).
You need to install an .inf file (some kind of a description?) or else Windows 
will not work with it.

[1] is describing how to do it. I did it a long time ago myself with the 
Freerunner, but I'm not sure if I used this exact guide.

Cheers,
rhn

[1]http://wiki.openmoko.org/wiki/Neo_1973_and_Windows#USB_Ethernet_emulation

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: offtopic / help needed from anyone in poland

2013-03-02 Thread rhn
On Sat, 2 Mar 2013 13:58:32 + (UTC)
robin spielr...@web.de wrote:

 thanks a lot anyway. Maybe there is someone on the list who lives
 somewhat closer ... 
 
 br
 
 robin
 
 

Hi,

I'm in Kraków at the moment and I can help you out. Please send me a
private message if you're interested.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GTA02 boot without screen

2013-01-02 Thread rhn
On Wednesday 02 of January 2013 07:30:44 Benjamin Deering wrote:
 My gta02, or possibly the bare board I removed to convert my GTA04 is 
 getting a new job as a wifi audio forwarder to let me play music over my 
 hifi wirelessly.  I would like to remove the battery from this phone 
 once it is set up to prevent damage to the battery and to free up 
 another battery for long trips.
 
 Both of my GTA02s are A5 with buzzfix.  It sounds like A7 had a change 
 to allow it to boot without a battery.  Does anyone know what the change 
 is and if it is something I could apply myself?   I am going to be doing 
 the bass-fix and it would be nice to fix this at the same time.
 
 Thanks,
 
 Ben
 

Hi Ben,

I'm interested in how you got the board to boot and be accessible from outside 
without a screen.
Some time ago my GTA02 was dunked in water and that broke its screen. After 
reflashing SHR, I wasn't able to access it in any way because the screen was 
required to finish setup.
What distribution did you use?

Cheers,
rhn

P.S. If anyone's interested in the device, feel free to contact me.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Discussion: what are your dreams for the Openmoko Community

2012-05-02 Thread rhn
 It has become a little quiet here in the last weeks so that I
 really fear about the spirit and status of this community.
 
 So what are your dreams with respect to open mobile handhelds?
 What would you like as future hardware? What to see in software
 distros? Anything else? What missing piece are you waiting for?

Let me list the hopes I had when buying the Freerunner. They're mostly related 
to middleware, and start with the idea of a programmable phone, not a wireless 
computer.

- tracking of billing in real-time, using a set of user-provided rules. In 
practice, telling me how many text messages I have left out of my monthly limit

- programmable reactions to different calls - reject some callers, voicemail 
others, record unknown, set custom ringtones

- compound communication model - most of the time I don't want to pay attention 
whether I'm sending a message via mail, XMPP or SMS, whether I call using GSM 
or VOIP, whether I connect the Internet via WiFi or GSM - what I care about are 
properties of the connection: reliability, security and cost. When I call 
someone, I usually want to just get connected, no to think about which program 
I need to run. Also, this approach lets store all communication history in one 
place.

- a geolocation API (combining GPS, GSM and WiFi information) that will be able 
wake me up when I reach my train station. Potentially useful for determining 
reliability of communication (see above).

These days what I care about is much more humble: reliable GPS (SHR + tangogps 
were the best combo I've seen so far), full communication logging (SHR was 
pretty good at this too), alarm (SHR alarm was wonderful) and PIM: calendar, 
some form of note making and todo list.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to bring forward the community?

2012-02-27 Thread rhn
  Hi all,
  while I am still fiddling with GTA04 production yield issues, I think it
  is important to reason about the big view.
 
  So I would like to encourage to share what you are working on
  (kernel? driver? user space?) and what you think would bring forward
  the Openmoko community a small or big step.. Any idea is welcome
  (even if you think we already know about it).
 
 If anything is welcome then...
 
 I've left OpenMoko commutiny long ago, but I'm really disapponted by 
 today's devices and I want to return. Unfortunately N900 changed my mind 
 and now I consider hardware qwerty keyboard not an option but a must.
 
 I will immediately order any GTA04 successor that will have qwerty 
 keyboard.
 

My personal view is largely the same, as is my story. A hardware keyboard is 
necessary for me, although I would be equally happy with qwerty or numbers only.

What kept me contributing to Openmoko was mostly lack of motivation. When I 
wanted to contribute, there was a lot of trouble with the basic services - GPS, 
WiFi, telephony. Those elements of the stack have high entry levels for 
contribution, and at the same time they drain a lot of patience when they don't 
work.
So instead of using my Freerunner for tasks like PIM, finding rough edges there 
and contributing back (or packaging programs that rely on base functionality), 
I was struggling with things like custom WiFi scripts and similar that are only 
of any use for me.

I think that a necessary prerequisite for community growth is to have a 
rock-solid phone stack, but everyone already knows that :) Having an easy way 
to build and share programs (without the need of an entire distribution 
checkout like SHR needed if I remember right) would also help. Native 
compilation perhaps?

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Broken Freerunner - repairable?

2011-08-05 Thread omcomali . rhn
On Fri, 05 Aug 2011 12:45:51 +0200
Patryk Benderz patryk.bend...@esp.pl wrote:

 [cut]
  True! You have to open it, unplug each internal cable (display unit,
  maybe something more) and clean everything with alcohol, flux remover or
  something similar.
 While using alcohol on LCD screen be careful. AFAIR LCD module is
 one-piece type, which means it is not designed for disassembly, so if
 water got between layers of LCD module, it might be difficult to clean
 it. Also LCD is most sensitive for high temperature. First clean all
 electronics, and check if that helps. If not, then start cleaning LCD.
 Just search this list archives. There were many topics about
 disassembling LCD module.
 

Thanks for the info, I cleaned the little residue that was inside, but it 
didn't help.
I'm going to try alcohol on the mainboard soon, but for the LCD I might go to 
some phone repair shop... Didn't know that LCD was sensitive to temperature, so 
you might have just saved me trouble :)

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Broken Freerunner - repairable?

2011-08-04 Thread omcomali . rhn
On Thu, 04 Aug 2011 06:43:10 +0200
Hrabosh zbyne...@volny.cz wrote:

 omcomali@porcupinefactory.org píše v St 03. 08. 2011 v 19:04 +0200:
  Hi all,
  
  Last week I was unfortunate enough to have my Freerunner submerged in a 
  lake for a short moment. While I took out the battery immediately, it 
  doesn't quite work any more.
  It spent about 10 secs underwater, and after a few days of drying, it seems 
  to boot properly both from NAND menu and plain power-button method.
 
 How were you drying it? 
 
 
 Hrabosh

I left it on the windowsill with battery removed (but was too afraid to open 
the case). Do yoy think it was enough?

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Broken Freerunner - repairable?

2011-08-03 Thread omcomali . rhn
Hi all,

Last week I was unfortunate enough to have my Freerunner submerged in a lake 
for a short moment. While I took out the battery immediately, it doesn't quite 
work any more.
It spent about 10 secs underwater, and after a few days of drying, it seems to 
boot properly both from NAND menu and plain power-button method.

The problem is, the screen goes gradually white at some points during boot (but 
not on the SHR-Today screen, where the screen shows distorted copies of the 
screen). I tried reflashing a newer SHR version, but apparently the drawing 
methods are still the same.

There's a video of the boot process here: 
http://porcupinefactory.org/data/brokenFR.avi (5 MB).
After the video ends, the screen goes white again. It doesn't show NAND boot 
menu which works fine.

Can anyone point me to which replaceable part may be broken? Is it the whole 
screen module that needs to be replaced?

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Broken Freerunner - repairable?

2011-08-03 Thread omcomali . rhn
On Wed, 03 Aug 2011 19:26:04 +0200
Ed Kapitein e...@kapitein.org wrote:

 On 08/03/2011 07:04 PM, omcomali@porcupinefactory.org wrote:
  Hi all,
 
  Last week I was unfortunate enough to have my Freerunner submerged in a 
  lake for a short moment. While I took out the battery immediately, it 
  doesn't quite work any more.
  It spent about 10 secs underwater, and after a few days of drying, it seems 
  to boot properly both from NAND menu and plain power-button method.
 
  The problem is, the screen goes gradually white at some points during boot 
  (but not on the SHR-Today screen, where the screen shows distorted copies 
  of the screen). I tried reflashing a newer SHR version, but apparently the 
  drawing methods are still the same.
 
  There's a video of the boot process here: 
  http://porcupinefactory.org/data/brokenFR.avi (5 MB).
  After the video ends, the screen goes white again. It doesn't show NAND 
  boot menu which works fine.
 
  Can anyone point me to which replaceable part may be broken? Is it the 
  whole screen module that needs to be replaced?
 
  Cheers,
  rhn
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 Hi Rhn,
 
 It doesn't seem to be that broken, it boots, but it shows no splash screen.
 Did you try to leave it on for 10/15 minutes and see what happens?
 The freerunner has three (?) splash screens, did you try to reflash them
 as well?
 [1]
 
 I hope the FR will come to live again.
 
 Kind regards,
 Ed
 
 PS
 i was not able to reflash my splash screens, so if it doesn't work as
 per wiki, don't dispair. if you are able to reflash the splash screen,
 please correct the wiki if it was incorrect.
 
 
 [1] http://wiki.openmoko.org/wiki/Splash_screen

Hi Ed,

Actually, it boots through the kernel and into Illume. I'm quite sure it's not 
related to any splash screens - I could switch between SHR-Today (visible) and 
Illume (broken).
I suspect that the screen (?) reacts differently to different video modes.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Broken Freerunner - repairable?

2011-08-03 Thread omcomali . rhn
Thanks for your answer, Lukas!

Now I suspect that SHR-Today worked better because it's much darker than Illume 
desktop. Similar things happened to me when working on monochrome LCD displays 
with broken capacitors.

rhn

On Wed, 03 Aug 2011 20:17:07 +0200
Lukas Märdian lukasmaerd...@googlemail.com wrote:

 Hey!
 
 As developer of SHR-Today/idle_screen I can say, that idle_screen is
 just a fullscreen window above the illume desktop. =
 It shouldn't change any mode of the screen/Shouldn't treat the screen
 any other than the illume desktop.
 
 BR,
 Lukas
 
 On 03.08.2011 19:56, omcomali@porcupinefactory.org wrote:
  On Wed, 03 Aug 2011 19:26:04 +0200
  Ed Kapitein e...@kapitein.org wrote:
  
  On 08/03/2011 07:04 PM, omcomali@porcupinefactory.org wrote:
  Hi all,
 
  Last week I was unfortunate enough to have my Freerunner submerged in a 
  lake for a short moment. While I took out the battery immediately, it 
  doesn't quite work any more.
  It spent about 10 secs underwater, and after a few days of drying, it 
  seems to boot properly both from NAND menu and plain power-button method.
 
  The problem is, the screen goes gradually white at some points during 
  boot (but not on the SHR-Today screen, where the screen shows distorted 
  copies of the screen). I tried reflashing a newer SHR version, but 
  apparently the drawing methods are still the same.
 
  There's a video of the boot process here: 
  http://porcupinefactory.org/data/brokenFR.avi (5 MB).
  After the video ends, the screen goes white again. It doesn't show NAND 
  boot menu which works fine.
 
  Can anyone point me to which replaceable part may be broken? Is it the 
  whole screen module that needs to be replaced?
 
  Cheers,
  rhn
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
  Hi Rhn,
 
  It doesn't seem to be that broken, it boots, but it shows no splash screen.
  Did you try to leave it on for 10/15 minutes and see what happens?
  The freerunner has three (?) splash screens, did you try to reflash them
  as well?
  [1]
 
  I hope the FR will come to live again.
 
  Kind regards,
  Ed
 
  PS
  i was not able to reflash my splash screens, so if it doesn't work as
  per wiki, don't dispair. if you are able to reflash the splash screen,
  please correct the wiki if it was incorrect.
 
 
  [1] http://wiki.openmoko.org/wiki/Splash_screen
  
  Hi Ed,
  
  Actually, it boots through the kernel and into Illume. I'm quite sure it's 
  not related to any splash screens - I could switch between SHR-Today 
  (visible) and Illume (broken).
  I suspect that the screen (?) reacts differently to different video modes.
  
  Cheers,
  rhn
  
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] release candidate 1 for new SHR-testing 2011.1

2010-12-14 Thread omcomali . rhn
On Sun, 12 Dec 2010 16:37:02 +0100
omcomali@porcupinefactory.org wrote:
 
 After a reboot, the filesystem on my SD card (4 GB Verbatim class 4) lost its 
 shape, requiring a destructive fsck, so this might be the end of testing for 
 me.
 
 cheers,
 rhn
 

Fortunately, only root folder's metadata were lost. Everything important was 
recovered and backed up :)

More tests: the pim database, keyboards and dictionaries worked after I found 
the correct paths.
To replace pim, I stopped phoneui, put it in the right place, started phoneui 
again, worked great.

After 2 days of uptime, something broke and neither wlan or modem work. I tried 
disabling and enabling the modem (it was pretty common for it to fail like that 
with my SIM), but the logs say something about operation not permitted while 
modem is suspended. When trying to access wifi via the Connectivity dialog or 
fsoraw the respective program freezes for a few minutes, and I'm getting some 
DBus timeouts.

That's it for today.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] release candidate 1 for new SHR-testing 2011.1

2010-12-14 Thread omcomali . rhn
On Tue, 14 Dec 2010 20:32:50 +0100
Thomas Zimmermann m...@vdm-design.de wrote:

 Am Dienstag 14 Dezember 2010, 19:15:37 schrieb 
 omcomali@porcupinefactory.org:
  Fortunately, only root folder's metadata were lost. Everything important
  was recovered and backed up :)
  
  More tests: the pim database, keyboards and dictionaries worked after I
  found the correct paths. To replace pim, I stopped phoneui, put it in the
  right place, started phoneui again, worked great.
  
  After 2 days of uptime, something broke and neither wlan or modem work. I
  tried disabling and enabling the modem (it was pretty common for it to
  fail like that with my SIM), but the logs say something about operation
  not permitted while modem is suspended. When trying to access wifi via the
  Connectivity dialog or fsoraw the respective program freezes for a few
  minutes, and I'm getting some DBus timeouts.
  
  That's it for today.
  
  Cheers,
  rhn
 
 Can you provide some logs about this issue?
 
 Regards
 Thomas
 

Sorry, I didn't save them, since the logfiles I know about had only the few 
entries I told you about. When it happens next time, I'm going to do that.

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] release candidate 1 for new SHR-testing 2011.1

2010-12-12 Thread omcomali . rhn
On Sat, 11 Dec 2010 13:47:16 +0100
Thomas Zimmermann m...@vdm-design.de wrote:

 Hi,
 i want announce the RC1 for the upcomming SHR-testing release in 2011.
 
 http://build.shr-project.org/tests/shr-testing/images/om-gta02/
 
 So please test these images and report the bugs so that we can release a 
 really working SHR-testing.
 
 The image is based on the 2010.12 release of OpenEmbedded and has latest 
 versions of E, SHR and FSO apps.
 
 Since last testing a lot has changed:
 * Switch to illume2 as illume(1) isn't maintained anymore
 * Switch from ogsmd to much faster fsogsmd
 * Switch to 2.6.34 kernel (without KMS because this causes some problems with 
 SD-cards for some SHR-u users)
 * Everything faster ;)
 * And much more i don't remember
 
 Known Bugs:
 * There is a problem with the autostart of applications in E, because of that 
 the shr_elm_softkey is not always started.
 * The wizard is only working if you wait until FSO is fully started (When FSO 
 is started the display started dimming). If you don't want to wait that long 
 you can exit the wizard with the Exit button and do the configurations in 
 shr-settings afterwards.
 
 Untested:
 * All feed packages not in the full image.
 * All day usage (so GPRS/GPS after several suspends) 
 
 Because of a missunderstanding this SHR-testing version was synced to the 
 normal shr-testing feed and some users have already upgraded theire old SHR-
 testing to this version. We reverted this for now and moved the old SHR-
 testing files back in it's place.
 
 Those and all Tester should change the package feeds from:
 http://build.shr-project.org/shr-testing/ipk/...
 to:
 http://build.shr-project.org/tests/shr-testing/ipk/...
 to get the corresponding feed packages.
 
 An upgrade from older SHR-testing seems to be broken, so for first tests you 
 should flash a new image.
 If you backup your homefolder and copy it back then you should remove ~/.e 
 from this backup as the shr-wizard won't run if this folder exists. And the 
 wizard is responsible for the creation of some important files.
 
 The future plans are to release another RC this year and then release the 
 final 
 image in the first week of 2011.
 
 I hope that i said everything and a lot of people will test these images :)
 
 Regards
 Thomas
 

Hey,
The moment I read this email, I forced myself to do a reinstall.
So far, so good. The switch from Illume to Illume2 was a bit confusing, but I 
got used to the interface. The first impression: it's so fast! Scrolling is 
finally smooth! And it doesn't have problems with my SIM card any more (old 
shr-testing always complained that no sim card is present but sometimes managed 
to start GSM). The speed after 1 day of usage is rather good.

Now on to the bugs:
TangoGPS was having trouble displaying the correct time from GPS the first time 
I ran it. It stayed at ~epoch, while position was more or less correct.
The top shelf and home screen clocks don't update after resume (I noticed this 
only today, after the alarm clock set off), until the minute changes.
There are some trouble with resizing windows properly when a new window is 
shown and the keyboard was visible. The keyboard hides, but the new window is 
not fully sized. Try showing the keyboard and pressing AUX.
Eve crashes with illegal instruction.

Soon I will restore my custom settings (PIM, maps, keyboards) and report again.

Thanks for restoring SHR-t to life!

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ANNOUNCE] release candidate 1 for new SHR-testing 2011.1

2010-12-12 Thread omcomali . rhn
On Sun, 12 Dec 2010 14:50:43 +0100
Thomas Zimmermann m...@vdm-design.de wrote:

 Am Sonntag 12 Dezember 2010, 13:54:33 schrieb 
 omcomali@porcupinefactory.org:
  Hey,
  The moment I read this email, I forced myself to do a reinstall.
  So far, so good. The switch from Illume to Illume2 was a bit confusing, but
  I got used to the interface. The first impression: it's so fast! Scrolling
  is finally smooth! And it doesn't have problems with my SIM card any more
  (old shr-testing always complained that no sim card is present but
  sometimes managed to start GSM). The speed after 1 day of usage is rather
  good.
  
  Now on to the bugs:
  TangoGPS was having trouble displaying the correct time from GPS the first
  time I ran it. It stayed at ~epoch, while position was more or less
  correct. The top shelf and home screen clocks don't update after resume (I
  noticed this only today, after the alarm clock set off), until the minute
  changes. There are some trouble with resizing windows properly when a new
  window is shown and the keyboard was visible. The keyboard hides, but the
  new window is not fully sized. Try showing the keyboard and pressing AUX.
  Eve crashes with illegal instruction.
  
  Soon I will restore my custom settings (PIM, maps, keyboards) and report
  again.
  
  Thanks for restoring SHR-t to life!
  
  rhn
 
 The bug with the keyboard resizing is known too, i forgot to mention this. 
 Bug 
 it is just ugly and i don't know if i will switch to a newer E just for this, 
 because newer E means often more new Bugs :)
 
 For eve and ewebkit i have to take a look there were some more problems and i 
 thought i included the working version :)
 
 For the other bugs i will have a look too in the next days.
 
 Thomas
 

Some more bugs for you.

ventura doesn't install:
r...@om-gta02 /media/card # opkg install ventura
Installing ventura (0.2+svnr16-1.4) to root...
Downloading 
http://build.shr-project.org/shr-testing/ipk//armv4t/ventura_0.2+svnr16-1.4_armv4t.ipk.
Installing edbus (2:0.5.0.060+svnr48935-r1.4) to root...
Downloading 
http://build.shr-project.org/shr-testing/ipk//armv4t/edbus_0.5.0.060+svnr48935-r1.4_armv4t.ipk.
Installing efreet (2:0.5.0.060+svnr48935-r3.4) to root...
Downloading 
http://build.shr-project.org/shr-testing/ipk//armv4t/efreet_0.5.0.060+svnr48935-r3.4_armv4t.ipk.
Configuring edbus.
Collected errors:
 * check_data_file_clashes: Package efreet wants to install file 
/usr/lib/efreet/efreet_desktop_cache_create
But that file is already provided by package  * libefreet1
 * opkg_install_cmd: Cannot install package ventura.


After a reboot, the filesystem on my SD card (4 GB Verbatim class 4) lost its 
shape, requiring a destructive fsck, so this might be the end of testing for me.

cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Coto - a clone of openalchemist

2010-11-19 Thread omcomali . rhn
Hey,

Lately, that evil game took many precious hours of my life again, so I decided 
to refresh an old project of mine to be able to play it on the Freerunner.
3 years ago I wrote a clone of openalchemist in Python + GTK (openalchemist 
used way too much CPU), but it used keyboard only. This week I cleaned up the 
code somewhat and made it compatible with a touchscreen.

I couldn't be bothered making the sizes proper (packing widgets properly), but 
the game itself is playable (but the lack of animations makes it more difficult 
to understand).

The screen is split into 4 parts touch-wise: upper third rotates the pair, 
bottom part drops it, left and right parts move it to the side.
Arrows work, F5 is undo.

A screenshot of a game that will soon be over:
http://scap.linuxtogo.org/files/db5977aa398daa44f52d1e7a3ab87368.png

I hope someone likes it!

Cheers,
rhn


coto.py
Description: Binary data
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: When is the next and more powerful openmoko releasing

2010-08-17 Thread omcomali . rhn
I might be the other person who likes the bezel. It's a little too close to the 
screen, but it prevents the screen from accidental scratches and misclicks. The 
resistive screen is quite soft, and I'd be afraid to put it face-down on uneven 
surfaces or put it in my pocket in fear that the screen changes shape 
permanently.
If it was a capacitative touchscreen, I would prefer no bezel.

To answer the original question: I think I wouldn't buy a phone without a 
physical keyboard again. My main phone use is messages, so tactile feedback 
makes me many times faster and less frustrated.

Cheers,
rhn

On Mon, 16 Aug 2010 20:14:35 -0400
Benjamin Deering ben_deer...@swissmail.org wrote:

 I would pre-order in the $300 us range.  500 euro is a little steep for 
 a board with no case, speakers, touch screen, etc.
 
 It seems like the biggest problems on the GTA-02 were all with closed 
 modules (wifi, glamo, calypso).  It sounds like a UMTS module would have 
 to be closed, but if it were loosely coupled to the device (4 usb traces 
 and an antenna) I think we could work with it.
 
 Since my FR is getting better all the time (2.6.32 speedups have been 
 great, thanks) I can wait quite a while for a replacement.  I can't 
 imaging using a closed phone now.
 
 I may be the only person who likes the screen bezel on the freerunner.  
 I have taken my phone on canoeing and backpacking trips just wrapped in 
 a dry-bag and only cracked one screen (which is how I ended up with a 
 second phone).
 
 As for expansion ports, an internal usb hub and some solder pads would 
 probably meet my needs.  I would think the new device would need a 
 second usb controller anyways (one in host mode for UMTS and internal 
 expansion, one in gadget/host mode with an external connector).
 
 Ben
 
 On 08/15/2010 06:06 AM, Ed Kapitein wrote:
  Hi Nikolaus,
 
  I would prefer pre orders to finance the next FR.
  and with a discount for the pre-order i think it is possible to raise
  the money for the development.
  lets say 400 Euro with pre-order and 500 euro without pre ordering?
 
  I might be one of the people who will preorder.
  ( or just buy a 50 euro nokia... :-) )
 
  Kind regards,
  Ed
 
  On 08/13/2010 07:18 PM, Dr. H. Nikolaus Schaller wrote:
 
 
 
  Am 13.08.2010 um 12:35 schrieb Neil Brown:
 
 
   
  On Fri, 13 Aug 2010 11:22:02 +0200
  Dr. H. Nikolaus Schallerh...@computer.org  wrote:
 
 
 
  Am 12.08.2010 um 14:12 schrieb RANJAN:
 
 
   
  Hi,
 
  When is the next and more powerful openmoko (capable of seamless 3D 
  video and faster processor) is going to be released???
 
 
  Assume, you could get a motherboard upgrade board that fits into the 
  Freerunner (or Neo1973) case. Based on the TI OMAP3 SoC (OMAP3530 or 
  DM3730) and UMTS.
 
  Let me ask two questions to everybody:
  * How long could you be willing to wait for it to really become 
  available?
  * How much would you think you could afford to pay for such a board?
 
 
   
  Is there a serious possibility of this?
 
 
  I wasn't open enough, intentionally :) Yes, there is a serious possibility.
 
  The Openmoko Beagle Hybrid Board is a first step for those who want to be 
  early participants of this new era.
 
  In addition, we (a small project team in Munich, Germany) have mostly 
  finished our homework (i.e. doing prototypes and experiments like the OM 
  Beagle Hybrid, doing PCB layout) to be sure that it *can* be done. Really 
  building such boards will still cost a significant amount of money (for 
  paying components, professional PCB manufacturing and SMD soldering) and 
  time (therefore: my question how long you would wait).
 
 
   
  I'm willing to wait a couple of years at least.  And the 500 Euro number 
  that
 
 
  It will definitively not take several years.
 
 
   
  people are throwing around seems OK.
 
 
  To finance the next phase, we are thinking about asking for donations or 
  to hold an auction for the first 5 or 10 prototype units. What would you 
  think of such an approach?
 
 
   
  Would this be re-using the case, display and touch screen and replacing
  everything else?
 
 
  Yes, that is the idea. More information (e.g. complete feature list) and 
  openness (as suggested by arne anka) is to come soon. Please watch out for 
  announcements in the next couple of weeks...
 
  Nikolaus
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 
   
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Re: Create personal Maps for tangogps or similar

2010-08-05 Thread omcomali . rhn
On Thu, 5 Aug 2010 11:16:31 +0200
Kevin Zuber openm...@knet.eu wrote:

 Dear Openmoko Community,
 
 I want to create some personal maps for viewing on the freerunner GPS
 application (like tangogps).
 
 All available maps (open streetmap and google maps etc.) does not meet
 my demands, so I want to create one myself.
 The map I need shows the depth of a lake. (In Germany it's called a
 Tiefenkarte - depth map)
 
 An example can be found here:
 http://www.mueritz-fisch.de/downloads/Tiefenkarten/Müritz.pdf
 or
 http://www.mueritz-fisch.de/downloads/Tiefenkarten/Feisnecksee.pdf
 
 After looking at the map cache of tangogps, I assume that I need to
 create a picture of the map and then split this pictures into smaller
 ones (.png) and put them into numbered directories in connection with
 the GPS coordinates. I need to do this for different zoom levels.
 
 I'm very happy about _every_ hint how I can get this done most easily.
 I guess that doing all that manual it would need a very long time.
 
 Thank you very much.
 
 Kev
 
I can help you with the splitting part. A few weeks ago I wrote a script to 
render OSM data to svg, convert it to png and split the files into directories. 
It renders a specific subset of OSM data, but it can be used to split PNG 
images.

You would probably be interested in the most basic version which contains only 
files I made or moified [1], but if you want to see the whole thing running, 
check out the version with external tools in it [2].

There's a small readme in it, but I'll be happy to help if it's not enough.

Cheers,
rhn

[1] http://porcupinefactory.org/data/tilerender.tar.gz
[2] http://porcupinefactory.org/data/osma+tile-render.tar.gz

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Create personal Maps for tangogps or similar

2010-08-05 Thread omcomali . rhn
On Thu, 5 Aug 2010 12:31:14 +0200
Kevin Zuber openm...@knet.eu wrote:

  I can help you with the splitting part. A few weeks ago I wrote a script to 
  render OSM data to svg, convert it to png and split the files into 
  directories. It renders a specific subset of OSM data, but it can be used 
  to split PNG images.
 
  You would probably be interested in the most basic version which contains 
  only files I made or moified [1], but if you want to see the whole thing 
  running, check out the version with external tools in it [2].
 
  There's a small readme in it, but I'll be happy to help if it's not enough.
 
  Cheers,
  rhn
 
  [1] http://porcupinefactory.org/data/tilerender.tar.gz
  [2] http://porcupinefactory.org/data/osma+tile-render.tar.gz
 
 That's really great!
 I'm really overwhelmed that this exist already, so I will have a look
 into this now :).
 Thank you!
 How can I achieve the gps calibration of my file with your script?
 

Well, you can't :)

I read your other post. To make it all work, you need to:
a) rectify your image - there are services like 
http://labs.metacarta.com/rectifier/ , but be careful, they publish your maps 
by default. They are open source, but difficult to set up. This will calibrate 
the scanned map with OSM overlay.
b) find the coordinates of the edges - should not be very hard
c) modify my set of scripts to accept the rectified image and edges' 
coordinates - I'll have to take a look at it if you need help here
d) run the script

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Create personal Maps for tangogps or similar

2010-08-05 Thread omcomali . rhn
On Thu, 5 Aug 2010 17:53:45 +0200
Kevin Zuber openm...@knet.eu wrote:

 
  Well, you can't :)
 
  I read your other post. To make it all work, you need to:
  a) rectify your image - there are services like 
  http://labs.metacarta.com/rectifier/ , but be careful, they publish your 
  maps by default. They are open source, but difficult to set up. This will 
  calibrate the scanned map with OSM overlay.
  b) find the coordinates of the edges - should not be very hard
  c) modify my set of scripts to accept the rectified image and edges' 
  coordinates - I'll have to take a look at it if you need help here
  d) run the script
 
 Ok I make progress. What I meant with gps calibration is Image
 Rectification[1] as you described but I didn't know about this before
 :).
 
 Shouldn't be the geo and coordinate information inside the GeoTiff
 Image after rectification? So step b) may be skipped?
 
 Your script require an osm file or zoom-12, so I just need a way to
 convert a geotiff file to osm, right?
 
 [1] 
 http://en.wikipedia.org/wiki/Image_rectification#Geographic_information_system
 [2] http://en.wikipedia.org/wiki/GeoTIFF
 

My script doesn't read GeoTIFF, so you still need step b). It takes raw OSM 
data and converts it to image, so it does one step too much. You can't convert 
it the other way round, so the script can't be used without modification. The 
rendering and svg-png conversion must be removed.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: T-mobile even more plus

2010-08-03 Thread omcomali . rhn
On Tue, 03 Aug 2010 11:55:13 +0200
Ed Kapitein e...@kapitein.org wrote:

 On Tue, 2010-08-03 at 00:07 +0200, omcomali@porcupinefactory.org
 wrote:
  On Mon, 02 Aug 2010 21:47:18 +0200
  Ed Kapitein e...@kapitein.org wrote:
  
   On 08/02/2010 09:18 PM, omcomali@porcupinefactory.org wrote:
Hi Ed,
   
Congratulations for capturing the beautiful GPS track. Could you share 
how you managed to do it? Did you wait for the plane to start or did 
you get on the plane with a GPS fix?
   
Both times I tried, the Freerunner lost fix just before the start.
   
Cheers,
rhn
   
On Mon, 02 Aug 2010 20:36:23 +0200
Ed Kapitein e...@kapitein.org wrote:
   
  
   SNIP
   
   Sure,
   
   Actually i took two approaches, on the trip from holland to the USA i
   used an external gps receiver [1] and used gpsd  on the FR with an
   bluetooth connection.
   I did had a fix just prior to take off.
   ( i did not hear the announcement all electronic equipment must be
   switched off now, a sudden attack of deafness i guess... ;-) )
   The log is simply gpspipe -r  /some/file , nothing fancy there.
   I do switch log files every 500Mb, so the files don't get too big for
   rsync to be transfered over a not so reliable gprs connection at a later
   time.
   
   At the very end of our holiday i lost my gps receiver ( i left it in an
   rental RV...)
   so on the trip from the USA to holland i jammed my fr between the window
   and the shade ( a plastic curtain that covers the window to make it 
   dark )
   if you remove the back cover of the FR it fits even better.
   I had a fix prior to take off, but i lost it after take off when i
   checked the FR.
   It seems the FR really needs to be close to the window to obtain and
   keep a fix
   But it did get a new fix after i put the FR against the window again and
   after studying the GPX logs at home is noticed that i had a dgps fix
   most of the time, so WAAS or EGNOS are really working on the FR.
   
   I also noticed that  the elevation seems to be working too, i was on +/-
   1
   meter and that seems right.
   ( holland is flat and i never could use the elevation before ;-) )
   
   Hope this answers your question?
   
   Kind regards,
   Ed
   
   [1]
   http://www.gpsshop.nl/product/49515/haicom-hi-408bt-bluetooth-gps-ontvanger.html
   
   
  
  Thanks, this was a really exhaustive reply. I forgot to ask whether it's 
  possible to get a fix after takeoff, but you answered even that question ;)
  
  It seems that my problem was hiding the Freerunner underneath some cover on 
  my lap. Next time I'm going to try the shade trick and a deafness strike 
  (they didn't mind me taking photos, so I guess it's safe). I'll also try to 
  see if losing the fix is related to the start of the engines.
  
  What program did you use to capture the log files? I'm always using 
  TangoGPS, and I never saw any DGPS information in it. I didn't even know 
  SHR (am I guessing right?) supported DGPS!
  
  Cheers,
  rhn
  
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
  
 The log is simply gpspipe -r  /some/file , nothing fancy there.
 I am using gentoo, with the framework fso-gpsd. the nmea log can be
 converted later with gpsbabel into a gpx format. the gpx file will show
 the kind of fix you have 2d, 3d or dgps.
 
 Kind regards,
 Ed 
 
 
Thank you!

I thought gpspipe was only used for external GPS units, that's why I asked.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: T-mobile even more plus

2010-08-02 Thread omcomali . rhn
Hi Ed,

Congratulations for capturing the beautiful GPS track. Could you share how you 
managed to do it? Did you wait for the plane to start or did you get on the 
plane with a GPS fix?

Both times I tried, the Freerunner lost fix just before the start.

Cheers,
rhn

On Mon, 02 Aug 2010 20:36:23 +0200
Ed Kapitein e...@kapitein.org wrote:

 Hi All,
 
 I just came home from a wonderful trip trough the USA.
 Lots of beautiful scenery and animals.
 I also used my european FR to make calls and to have internet access.
 The even more plus unlimited data plan was not available for my SIM
 card, i would have needed a new sim card, but because i was traveling
 this was not an option.
 So i went with the prepaid sidekick plan, unlimited internet access
 for 1 dollar per day.
 It worked very well in california and was usable in the other states.
 don't expect miracles, it is gprs and thus a bit slow, and in states
 like nevada, you only have coverage near big cities.
 This might be due to the fact that i have a European FR, i am not sure.
 It worked well enough to send my gps logs back home while i was driving.
 
 I also used my FR to track my transatlantic flight, from holland to
 San francisco,  see [1] [2]
 (with an external battery pack to cover the ten hour flight)
 
 Kind regards,
 Ed
 
 [1] http://www.kapitein.org/thumb/1278065110.jpg
 [2] http://www.kapitein.org/thumb/1278099770.jpg
 
 
 On 06/22/2010 11:50 PM, Jim Ancona wrote:
 
 
  On Tue, Jun 22, 2010 at 4:37 PM, Ed Kapitein e...@kapitein.org
  mailto:e...@kapitein.org wrote:
 
  Hi,
 
  I want to get a t-mobile even more plus unlimited data plan in
  the USA.
  Is there anyone with hands on experience with this plan?
  It says, unlimited web access, does that mean unlimited access to web
  sites, or can i use ssh/scp/rsync to offload my pictures and videos to
  my server at home?
 
 
  I have a T-Mobile Even More Plus plan with Unlimited Web for Phones.
  I just successfully ssh'd from my phone to an internet host, so they
  don't block port 22. I know common protocols like POP and IMAP work in
  addition to web, and with ssh, I guess you could tunnel anything else
  you might need. If you're going to be rsync'ing your video library,
  you may want to ask about data caps on a mobile forum site
  like howardforums.com http://howardforums.com, but it's hard to
  imagine you'll have a problem at GPRS speed with the Freerunner.
 
  Good luck!
 
  Jim
 
 
  Kind regards,
 
  Ed
 
 
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org mailto:community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: T-mobile even more plus

2010-08-02 Thread omcomali . rhn
On Mon, 02 Aug 2010 21:47:18 +0200
Ed Kapitein e...@kapitein.org wrote:

 On 08/02/2010 09:18 PM, omcomali@porcupinefactory.org wrote:
  Hi Ed,
 
  Congratulations for capturing the beautiful GPS track. Could you share how 
  you managed to do it? Did you wait for the plane to start or did you get on 
  the plane with a GPS fix?
 
  Both times I tried, the Freerunner lost fix just before the start.
 
  Cheers,
  rhn
 
  On Mon, 02 Aug 2010 20:36:23 +0200
  Ed Kapitein e...@kapitein.org wrote:
 

 SNIP
 
 Sure,
 
 Actually i took two approaches, on the trip from holland to the USA i
 used an external gps receiver [1] and used gpsd  on the FR with an
 bluetooth connection.
 I did had a fix just prior to take off.
 ( i did not hear the announcement all electronic equipment must be
 switched off now, a sudden attack of deafness i guess... ;-) )
 The log is simply gpspipe -r  /some/file , nothing fancy there.
 I do switch log files every 500Mb, so the files don't get too big for
 rsync to be transfered over a not so reliable gprs connection at a later
 time.
 
 At the very end of our holiday i lost my gps receiver ( i left it in an
 rental RV...)
 so on the trip from the USA to holland i jammed my fr between the window
 and the shade ( a plastic curtain that covers the window to make it dark )
 if you remove the back cover of the FR it fits even better.
 I had a fix prior to take off, but i lost it after take off when i
 checked the FR.
 It seems the FR really needs to be close to the window to obtain and
 keep a fix
 But it did get a new fix after i put the FR against the window again and
 after studying the GPX logs at home is noticed that i had a dgps fix
 most of the time, so WAAS or EGNOS are really working on the FR.
 
 I also noticed that  the elevation seems to be working too, i was on +/-
 1
 meter and that seems right.
 ( holland is flat and i never could use the elevation before ;-) )
 
 Hope this answers your question?
 
 Kind regards,
 Ed
 
 [1]
 http://www.gpsshop.nl/product/49515/haicom-hi-408bt-bluetooth-gps-ontvanger.html
 
 

Thanks, this was a really exhaustive reply. I forgot to ask whether it's 
possible to get a fix after takeoff, but you answered even that question ;)

It seems that my problem was hiding the Freerunner underneath some cover on my 
lap. Next time I'm going to try the shade trick and a deafness strike (they 
didn't mind me taking photos, so I guess it's safe). I'll also try to see if 
losing the fix is related to the start of the engines.

What program did you use to capture the log files? I'm always using TangoGPS, 
and I never saw any DGPS information in it. I didn't even know SHR (am I 
guessing right?) supported DGPS!

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: script for batch conversion of tango track log to gpx

2010-07-25 Thread omcomali . rhn
On Sun, 25 Jul 2010 21:45:37 +0100
Tim Abell t...@timwise.co.uk wrote:

 here's one I just wrote
 
 http://gist.github.com/489870
 
 Tim Abell
 

Here's a script to cut/fix invalid data points I wrote some time ago.

rhn



gpslogcrop.py
Description: Binary data
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Shr-User] [SHR-T] Images from 29th of May

2010-07-18 Thread omcomali . rhn
On Sun, 18 Jul 2010 08:45:37 +0300
Risto H. Kurppa ri...@kurppa.fi wrote:

 Hi there!
 
 The latest SHR-testing images are available at
 http://build.shr-project.org/tests/shr-testing/images/om-gta02/
 
 Martin Jansa / JaMa prepared them in the end of May but it wasn't
 announced anywhere - so here you go.
 DISCLAIMER: The images have not actually been tested so if you have a
 working setup  don't want to risk, wait for some others to first test
 these..
 
 I had something weird happening during the first run wizard, with the
 keylock - I wasn't able to close it. Restarting helped.
 
 Flashing instructions here:
 http://wiki.openmoko.org/wiki/Flashing_the_Neo_FreeRunner#Flashing_the_Kernel
 
 We're waiting for spaetz to return..
 
 
 
 r

Are these new images the same as old ones, just with updates from the feed? Or 
do they include something I can't get from the feed?

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Introducing the Freerunner Navigation Board

2010-05-01 Thread omcomali . rhn
On Sat, 1 May 2010 13:48:58 +0200
Christoph Mair m...@chonyota.net wrote:

 Dear community,
 
 we are proud to release a hardware extension for our beloved Freerunner: a 
 navigation board!
 
 What is it?
 The Freerunner Navigation Board is a small PCB which is able to measure 
 rotations as well as the magnetic field in 3D respectively (i.e. compass and 
 gyroscopes integrated). The navigation board can be integrated in the 
 existing 
 Freerunner case.
 
 How can we test it?
 In order to test the functionality of the sensors we developed a monitor 
 application for sensors written completely in Vala. For more detailed 
 information on both, Freerunner Navigation Board and Sensor Monitor, please 
 refer to http://wiki.openmoko.org/wiki/Freerunner_Navigation_Board
 
 What can we do with it?
 No idea. Perhaps someone of you can find an appropriate use :p
 
 We are looking forward to get feedback and comments.
 
 Cheers,
   Christoph  Michele
 

Great work!

Are you going to distribute it? If yes, what's the price of one? If no, what's 
the cost of the modules needed to assemble one (pardon me if this question is 
stupid)?

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - issues

2010-02-20 Thread omcomali . rhn
Thanks for the responses! I thought the debug-disabled kernel gave only ~20% 
speedup, that's a nice surprise!

I guess I'm going to wait for a new kernel as Timo suggested.

By the way, can any of the Debian gurus suggest an easy way to rebuild a Debian 
package with different build options? And would a shared library built this way 
work on SHR?

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - issues

2010-02-20 Thread omcomali . rhn
On Sat, 20 Feb 2010 15:13:37 +0100
Sebastian Reichel elektra...@gmail.com wrote:

 On Sat, Feb 20, 2010 at 02:04:03PM +0100, omcomali@porcupinefactory.org 
 wrote:
  I guess I'm going to wait for a new kernel as Timo suggested.
 
 I guess I will upload one later today. It will require loading more
 modules @ boot time. I hope this will ease migration to the normal
 Debian kernel once it's ready :)
 
  By the way, can any of the Debian gurus suggest an easy way to rebuild a 
  Debian
  package with different build options? And would a shared library built this 
  way
  work on SHR?
 
 roughly said it can be done like this:
 
 apt-get source $package
 edit the debian/rules file according to your needs
 dpkg-buildpackage
 
 I'm not sure what you mean by the last sentence. If you change e.g.
 libphone-ui you just have to make sure, that the ABI remains the
 same. Btw. which build options are you talking about?
 
 -- Sebastian
 

Thanks, I'm going to give it a try.

Well, I meant mostly the ABI, processor type and possible incompatibilities I 
have no idea about.
The reason behind it: I've had trouble building a package on SHR or 
openembedded cross-toolchain, so I tried to hack the problem away using 
LD_LIBRARY_PATH with Debian /usr/lib, but it resulted in illegal instructions.
I don't know the exact reason (different ABI? incompatible library versions?), 
so I was asking just in case.

The package is mrpt-libs, and the build options are its dependencies on various 
big packages I don't need or want, e.g. OpenCV.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - issues

2010-02-20 Thread omcomali . rhn
On Sat, 20 Feb 2010 19:12:17 +0100
Sebastian Reichel elektra...@gmail.com wrote:

 I just guessed he meant the software stack of them because their
 distribution uses openembedded and not *.deb files ;)
 
 -- Sebastian

That's right, SHR as in the distribution. I hope my other post cleared that up 
;)

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-U] WiFi-related memory leak

2010-02-19 Thread omcomali . rhn
On Thu, 18 Feb 2010 16:18:32 -0800 (PST)
vancel35 van...@thespazcat.com wrote:

 
 I don't know if what I saw was the same problem, but I left mine on my wifi
 ovenight and when I woke up, it wasn't responding very quickly, but as far
 as I know, nothing had been killed.
 
 I didn't even think about the Wifi being the problem.  If it's data-related,
 I probably didn't have enough data passing to cause a problem.
 
 -Laura

I've had something similar, compiling a big project on the Freerunner with swap 
enabled, wifi on.
Before I started, some RAM was free, after it finished (about 6h), and I closed 
all programs to match the previous state, the system was much less responsive, 
RAM was nearly full and 50MB of swap was used. All programs seemed to have 
normal reserved memory footprints.

The above details are not to be trusted, I could have overlooked something 
important.

Maybe it has something to do with memory fragmentation? Or maybe it's 
sd-related?

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Debian - issues

2010-02-19 Thread omcomali . rhn
Hi,

I just installed Debian to be able to use some packages from the repos, and I 
need help to get it to behave.

It's installed on SD card with multiple partitions, but how to mount the other 
partitions? I couldn't find the relevant device files in /dev, except for mtdX, 
which are character devices and probably related to builtin NAND anyway.

Another issue: wlan. I'm using a 2.6.29 kernel (I don't know if it's the kernel 
I use on my primary SHR or Debian-installed one). I know there are some WiFi 
problems with it, but my research suggested people were able to use it 
sometimes. In my case, the network device is not even present... Can I do 
something about this?

Bonus question: why does Debian feel (and compile stuff) so much faster than 
SHR?

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - issues

2010-02-19 Thread omcomali . rhn
On Fri, 19 Feb 2010 21:35:30 +0200
Timo Juhani Lindfors timo.lindf...@iki.fi wrote:

 omcomali@porcupinefactory.org writes:
  It's installed on SD card with multiple partitions, but how to mount
  the other partitions? I couldn't find the relevant device files in
  /dev, except for mtdX, which are character devices and probably
  related to builtin NAND anyway.
 
 uname -r?
 dpkg -l udev?
 zgrep SYSFS /proc/config.gz | grep DEPRECATED?
 
 My guess is that you have too old kernel which does not work with your
 udev.
Here are the results:

debian uname -r
2.6.29-20100118.gita15608f2
debian dpkg -l udev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  udev   151-2  /dev/ and 
hotplug management daemon
debian zgrep SYSFS /proc/config.gz | grep DEPRECATED
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y

Doesn't Debian install its own kernel? uname -r on SHR gives 2.6.29-rc3

 
  Another issue: wlan. I'm using a 2.6.29 kernel (I don't know if it's
  the kernel I use on my primary SHR or Debian-installed one). I know
  there are some WiFi problems with it, but my research suggested
  people were able to use it sometimes. In my case, the network device
  is not even present... Can I do something about this?
 
 We need to first know which kernel you have.
 
  Bonus question: why does Debian feel (and compile stuff) so much
  faster than SHR?
 
 No idea, you need to come up with some objective benchmarks :-)

The thing I noticed first is the 6MB smaller memory footprint in Debian. As 
openembedded is specifically designed for devices with less memory, I expected 
it to be better...
Compiling a program (peak memory usage during compilation 70MB) took twice the 
amount of time on SHR, but I don't think the swapping alone was the reason.
I can post the time g++ and free output for both systems.

A synthetic benchmark (only the ending for brevity):
shr openssl speed
  signverifysign/s verify/s
rsa  512 bits 0.023652s 0.00s 42.3450.1
rsa 1024 bits 0.134795s 0.007125s  7.4140.3
rsa 2048 bits 0.884167s 0.025219s  1.1 39.7
rsa 4096 bits 6.15s 0.092828s  0.2 10.8
  signverifysign/s verify/s
dsa  512 bits 0.021685s 0.024925s 46.1 40.1
dsa 1024 bits 0.070863s 0.083551s 14.1 12.0
dsa 2048 bits 0.254737s 0.304000s  3.9  3.3

debian openssl speed
  signverifysign/s verify/s
rsa  512 bits 0.008735s 0.000819s114.5   1220.9
rsa 1024 bits 0.041125s 0.002088s 24.3478.9
rsa 2048 bits 0.237857s 0.006484s  4.2154.2
rsa 4096 bits 1.604286s 0.022031s  0.6 45.4
  signverifysign/s verify/s
dsa  512 bits 0.007156s 0.007992s139.7125.1
dsa 1024 bits 0.019780s 0.023389s 50.6 42.8
dsa 2048 bits 0.063590s 0.075344s 15.7 13.3

Turns out Debian is over twice as fast as SHR! What's the status of fso and 
shr-apps compared to SHR?

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: elm_browser initial release

2010-02-15 Thread omcomali . rhn
On Mon, 15 Feb 2010 10:49:16 +0100
Patryk Benderz patryk.bend...@esp.pl wrote:

 [cut]
  Not everyone uses the card all the time, so ~/Downloads would be
  better. You can symlink that to whatever you wish (like it used to be
  in TangoGPS).
 Symlink is a good idea - I use it since ages but wouldn't ~/Maps
 folder fit better for this?

Sorry, I didn't make it clear: ~/Maps works for TangoGPS, ~/Download would work 
for files downloaded with Ventura.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: elm_browser initial release

2010-02-14 Thread omcomali . rhn
On Sun, 14 Feb 2010 11:39:18 +0100
Lars Hennig n...@el-hennig.de wrote:

 Am Sonntag 14 Februar 2010 schrieb Petr Vanek:
  How about ~ by default but having it as a configurable string? And the
  downloader perhaps too? wget. Some might change it to
  wget -c  (continue downloading)
 
 Even better would be /media/card as there is usually more space...
 
Not everyone uses the card all the time, so ~/Downloads would be better. You 
can symlink that to whatever you wish (like it used to be in TangoGPS).
Also, wget -c sometimes gives up, I think it was 10 retries.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: OT: Re: gender-neutral English usage

2010-01-20 Thread omcomali . rhn
On Tue, 19 Jan 2010 17:55:18 +0100
arne anka openm...@ginguppin.de wrote:

  And I can't see
  the need for gender-specific pronouns at all.
 
 well, since a lot of (most?) languages have those, there's certainly a  
 need for that :-)
 
I think it could be just historical. Nowadays, you should act the same 
regardless of the gender of the person you're talking to or about except in 
some situations. At least in a perfect world, where a worker/colleague of 
either gender is considered the same value.
That could push the relationship zone back in the perfect world's internet age, 
though, because it would be the only reason to ask about someone's gender. Some 
people prefer no one to know they are interested in someone. The solution is to 
be gender-specific from the very beginning :)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: OT: Re: gender-neutral English usage

2010-01-20 Thread omcomali . rhn
On Wed, 20 Jan 2010 14:30:13 +0100
Krister Svanlund adsumm...@gmail.com wrote:

 On Wed, Jan 20, 2010 at 2:12 PM, arne anka openm...@ginguppin.de wrote:
  I think it could be just historical. Nowadays, you should act the same
  regardless of the gender of the person you're talking to or about except
  in some situations. At least in a perfect world, where a
  worker/colleague of either gender is considered the same value.
 
  what exactly has one's value to do with the gender or the pronoun you are
  using to refer to him or her?
  your proposition is based on the assumption that one gender is less
  valueable than the other, hence, using the male or female pronoun would
  express a judgement.
In different situations, I myself assign different values to people of 
different genders, yes. This is usually backed up by statistics - for example, 
I assume more men than women are capable of heavy lifting ;) Other people are 
likely to do the same. Aren't you?

 
 To me it seems obvious that ones own impression of something is
 heavily based on the language you use (see
 http://en.wikipedia.org/wiki/Linguistic_relativity and the Sapir-Whorf
 hypothesis).
 If you make a difference between two persons (by assigning them
 different genders) you will also put values on the difference even if
 it isn't your intention.
 
That is what I meant. Moreover, I believe that all people impose different 
behavior on themselves depending on whether they're talking to a male or a 
female.
Someone might unintentionally treat women more lightly or try to compete with 
men... these are only guesses, but I think that it's impossible to treat both 
males and females exactly the same in all situations.

As for the influence of language, I think it's not the only influence. Most of 
the contacts people have are personal, and there is no reason not to 
differentiate genders. This should make people approach different genders 
differently regardless of the language they use.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: OT: Re: gender-neutral English usage

2010-01-20 Thread omcomali . rhn
On Wed, 20 Jan 2010 23:28:11 +0100
arne anka openm...@ginguppin.de wrote:

   what exactly has one's value to do with the gender or the pronoun you  
  are
   using to refer to him or her?
   your proposition is based on the assumption that one gender is less
   valueable than the other, hence, using the male or female pronoun  
  would
   express a judgement.
  In different situations, I myself assign different values to people of  
  different genders, yes. This is usually backed up by statistics - for  
  example, I assume more men than women are capable of heavy lifting ;)  
  Other people are likely to do the same. Aren't you?
 
 i don't really see, inhowfar difference necessarily must impose a  
 hierarchy.
 my laptop's screen is certainly different from my parents tv -- but that  
 doesn't mean one is better than the other.
 
I think you missed my point - it was only to stress that people see and treat 
genders differently. The difference in value I was referring to was suitability 
for some things.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: OT: Re: gender-neutral English usage

2010-01-19 Thread omcomali . rhn
On Tue, 19 Jan 2010 12:14:43 +0100
arne anka openm...@ginguppin.de wrote:

  AFAIK, German has a neutral gender in addition to masculine and
  feminine, but I know even less about German than Spanish.
 
 german neutral pronoun es is very similar to english it (and not only  
 etymologically), ie it is only used for nouns not being either mal or  
 female (and diminutives like Mädchen which is a d'v of Maid/Magd,  
 girl).
 it certainly is not applicable for the case in question.
 

I know for sure that Estonian language has a gender-neutral pronoun. In 
exchange, it doesn't have any gender-specific pronouns, what I find strange, 
being used to Polish, in which you can't virtually say anything without being 
gender-specific.

 as in almost any other language the issue of male vs female came up not  
 until the 60s/70s and there's no viable solution (if it is possible to  
 find any).
 we use er/sie which equaly he/she but german even uses male vs femal  
 in nouns like Schaffner (conductor) or Maurer (mason) -- which get a  
 suffix in/innen (sing/pl) for the female form.
 thus, in most texts paying attention to gender it is written Maurer/in  
 or MaurerIn (and now, zealots try to dinstinguish themselves by writing  
 Maurer_in ... )
 

It's been an issue in Polish language and culture recently, too - some of the 
functions in society had been traditionally assigned to one or the other 
gender, and some to both. The words not having other-gendered counterparts have 
to be coped with.
Doktor is normally male, but can be used as (implicitly) female, and the 
use is widely accepted. However, most words can be made explicitly female - 
doktor would become doktorka.
The most famous example of the latter is psycholog and psycholożka 
(psychologist), which are accepted by the Polish Language Board, but sound 
extremely cheesy in my opinion.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Happy New Year from FSO

2010-01-14 Thread omcomali . rhn
On Thu, 14 Jan 2010 18:31:16 +0100
Michal Brzozowski ruso...@poczta.fm wrote:

 2010/1/14 Michael 'Mickey' Lauer mic...@vanille-media.de
 
  In the last 6 months, I worked roughly 60 hours per week on FSO2. Thanks
  to my wife having a full-time-job, I could do this without causing any
  financial trouble.
 
 
 Wow! You are amazing. Thanks for doing this, I'm sure it will pay off in the
 future.
 

I agree with Michał - your commitment is amazing!

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: OT: Where can I meet a female companion with similar interests and personality /in person/?

2010-01-07 Thread omcomali . rhn
On Wed, 6 Jan 2010 23:00:19 +0100
Fabian Schölzel fabian.schoel...@googlemail.com wrote:

---snip---

 You also said, that he could run into trouble because of the things he writes 
 here. Well, that may be. Myself i think, only people, that are not able to 
 deal with that amount of info and openness, would generate trouble out of 
 this 
 writings. I don't really see, where one can be too open and honest about 
 himself. Is that really possible? We are all human beings, why would we want 
 to hide parts of our existence? Why would we want to let taboos about what to 
 say and what not to say stay? If someone don't want to read some specific 
 stuff, then he should go on and do not read it. If someone (in 10 years for 
 example) will make decisions or estimations on the basis of Brolins writings 
 here and now - well, as i said, that may happen. Often people say imagine 
 they google you and don't give you a job. I would say: Gladly, Brolin don't 
 have to work and talk with people, who are just lost in the age of 
 information.
 

I approach this in a slightly differrent manner.
I believe that one should not be completely open to strangers and should leave 
some knowledge about him/her only to people he/she cares about. Being able to 
know someone more than others do is a gift you could give your colleagues (they 
know more then a stranger), your friends (you know some of your thoughts), your 
relatives (they know your daily life) and so on. I personally find it nice if 
someone shows that I'm important to her/him by sharing more of that knowledge 
with me.

That are also a few other reasons to not talk about oneself that I won't share 
with Google's caches as Google is not someone I know ;)

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] getting an USB dongle to work

2009-10-20 Thread rhn
EdorFaus wrote:
 On Monday 12 October 2009 17:39:23 rhn wrote:
 Today, I became an owner of a new shiny USB network device. Due to poor
 WiFi reception indoors, this is a wired Ethernet adapter.

 On to the point - the device uses the dm9601 driver, which happens to be
 packaged in the SHR feeds. However, the driver is not loaded automatically,
 and doesn't work after manual modprobe  depmod. Some research on the
 desktop showed that dm9601 depends on usb_net and mii. However, these two
 are not present in SHR feeds.
 
 I've got one of those too, except that mine uses the pegasus driver, which 
 appears to be included by default. For me, it is loaded automatically.
 
 A bit of looking tells me that pegasus too depends on the mii driver, and 
 since that doesn't show up in the module list on the FR, yet the device 
 works, 
 I assume that the mii driver is compiled into the kernel instead of being a 
 separate module. (Compiled-in drivers don't show up in lsmod.)
 
Thanks for the info, I didn't know how compiled-in modules behave.
 What else should I do to make it work? I'd prefer to avoid recompiling the
 kernel, but if nothing else works...
 
 Did you remember to switch the FR into USB Host mode? By default it's in USB 
 Device mode, at least on mine (SHR-U). This is done under Settings-
 Connectivity, and has to be switched when you want to use the FR as the host 
 (PC) side of the USB connection, instead of connecting the FR to a PC.
 
Sure, I wouldn't forget that.
I also accidentally checked the FR's resistance to stupidity by connecting it 
to a wall charger in host mode. I expected it would switch back to device mode 
after reboot. Luckily, it still works.
 Did you try using lsusb? It should show that a device is connected even if 
 the 
 FR doesn't have the driver for it, so if it doesn't show anything new (only 
 the line for the FR itself) then the problem is probably not with the driver.
It shows both the line for USB hub and the device. I'd be in trouble if it 
didn't.

Cheers
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] getting an USB dongle to work

2009-10-18 Thread rhn
Rask Ingemann Lambertsen wrote:
 On Mon, Oct 12, 2009 at 05:39:23PM +0200, rhn wrote:
 Today, I became an owner of a new shiny USB network device. Due to poor WiFi 
 reception indoors, this is a wired Ethernet adapter.

 On to the point - the device uses the dm9601 driver, which happens to be 
 packaged in the SHR feeds. However, the driver is not loaded automatically, 
 and doesn't work after manual modprobe  depmod.
 Some research on the desktop showed that dm9601 depends on usb_net and mii. 
 However, these two are not present in SHR feeds.
 
That would be a packaging bug, because drivers/net/usb/Kconfig lists
 the correct dependencies:
 
 config USB_USBNET
 tristate Multi-purpose USB Networking Framework
 select MII
 [...]
 config USB_NET_DM9601
 tristate Davicom DM9601 based USB 1.1 10/100 ethernet devices
 depends on USB_USBNET
 select CRC32
 [...]
 
So try bugging the person doing the SHR kernel package.
 
Thanks for the hint.
I tried to do the necessary changes myself trial-and-error method, but couldn't 
get the kernel to compile. I'm going to ask more about that in shr-devel list.
Cheers
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[SHR] getting an USB dongle to work

2009-10-12 Thread rhn
Today, I became an owner of a new shiny USB network device. Due to poor WiFi 
reception indoors, this is a wired Ethernet adapter.

On to the point - the device uses the dm9601 driver, which happens to be 
packaged in the SHR feeds. However, the driver is not loaded automatically, and 
doesn't work after manual modprobe  depmod.
Some research on the desktop showed that dm9601 depends on usb_net and mii. 
However, these two are not present in SHR feeds.

What else should I do to make it work? I'd prefer to avoid recompiling the 
kernel, but if nothing else works...

Cheers!
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Where do I discuss these Ideas??

2009-10-09 Thread rhn
Aditya Gandhi wrote:

 * Eyes for Robot*
 
 7) Use a webcam and a base robot , to guide through obstacles. (just for 
 fun)

I'm starting a project doing just about that - using a Freerunner to control a 
robot via Bluetooth.
As I'm a programmer and not a hardware guy, the robot of choice is the Lego NXT.
Currently, I'm working on communication between those two parts.
Will start posting when I have some results!

Cheers
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Where do I discuss these Ideas??

2009-10-09 Thread rhn
Hi Aditya

Actually, that's even closer to what I'm going to do. The main part of the 
project is discovering ways to detect objects autonomously, with the FR riding 
the vehicle. I'd use GPS if I had a bigger robot, but I'm afraid that's not an 
option :)
I have little experience in handling camera input, too, and I'm not concerned 
about Freerunner's computing power.
Thanks for your offer. I'd be happy if I could share my new experiences, too.

Cheers
rhn

Aditya Gandhi wrote:
 Hi rhn,
 I'm trying something a little bit different, I plan to make it 
 autonomous, with neo controlling it while sitting on it.
 Eg:. Using gps and a usb cam deliver tea for me from one room to other 
 in a big appartment
 Something of that sort... Anyways any help needed in your project please 
 do ask, will try and  help you
 
 On Fri, Oct 9, 2009 at 8:00 PM, rhn omcomali@porcupinefactory.org 
 mailto:omcomali@porcupinefactory.org wrote:
 
 Aditya Gandhi wrote:
 
   * Eyes for Robot*
  
   7) Use a webcam and a base robot , to guide through obstacles.
 (just for
   fun)
 
 I'm starting a project doing just about that - using a Freerunner to
 control a robot via Bluetooth.
 As I'm a programmer and not a hardware guy, the robot of choice is
 the Lego NXT.
 Currently, I'm working on communication between those two parts.
 Will start posting when I have some results!
 
 Cheers
 rhn
 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Problems compiling the example project with OM toolchain

2009-09-17 Thread rhn
Hi,
I'm trying to set up the toolchain to get to hack some code, but I encountered 
a problem during the om-conf phase:

configure:3041: checking for C compiler default output file name
configure:3063: ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t 
-mtune=arm920t 
-isystem/mnt/stor/rhn/play/openmoko/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os 
-isystem/mnt/stor/rhn/play/openmoko/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/include
 
-L/mnt/stor/rhn/play/openmoko/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
 
-Wl,-rpath-link,/mnt/stor/rhn/play/openmoko/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/lib
 -Wl,-O1 conftest.c  5
Assembler messages:
Fatal error: Invalid -march= option: `armv4t'

I'm not sure what causes this message, and don't know what to do about that. 
Could that be the as version included in my distro?
The toolchain version is the x86_64 version from 2008-09.
I'm using the script as an unprivileged user, having installed the toolchain in 
/home/user/openmoko (after updating files referring to /usr/local/openmoko to 
use this path instead).

Thanks for help

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Dbus api for gta2 accelerometers

2009-09-15 Thread rhn
Rask Ingemann Lambertsen wrote:
 On Sat, Sep 12, 2009 at 07:50:26PM +0200, Ivo van den Maagdenberg wrote:
 
 The use case is as follows: take the openmoko and make it a cycleway shock
 measuring platform, utilizing the accelerometers. So, direct reads from the
 are going to be needed. The gps unit is of course of interest to make the
 measurements location-based.
 
I've had an idea along the same lines: Use accelerometer data to log the
 position of points during a train ride. Only, I'd need GPS readings that are
 accurately timestamped, i.e. not rounded to whole seconds.
 
Another idea for the list - determining road surface smoothness from 
accelerometer data. I'm quite sure OSM mappers would appreciate taking some 
work off their memory (I would for sure).

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Freerunner in real world

2009-09-14 Thread rhn
Michael Pilgermann wrote:
 Dear all,
 
 last weekend I went for a small cycling tour and I thought, with gps in my 
 Freerunner and track load capabilities of tangogps there is no need anymore 
 for physical maps - I took the Freerunner with me.
 
 I was really impressed, how smoothly the whole thing was working. No problems 
 with the GPS; no problems with tangogps either.
 However, two small problems:
 - I could not attach the phone properly to my bike; had to put it in a front 
 bag and this was somehow a pain; also with some troubles with the sun making 
 the reading from the display rather hard
 - The power capacity was just enough to bring me from A to B; another 
 (longer) trip might result in troubles / me getting lost :(
 
 So my question: has anybody got any experiences with
 - attaching a Freerunner to a bike (maybe even incl. sun protection)
 - using some additional batteries?
 
 Thx in advance for you input; greetings
 Michael
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
Once, I used a USB battery v2 from Hackaday (4 AA batteries) that I soldered 
myself. It made the FR work twice as long, but the main battery was drained to 
0%, what doesn't sound healthy.
My not-so-new batteries seemed not to be able to provide the phone with enough 
power for it to boot.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR-unstable] screen flickering

2009-07-06 Thread rhn
On Mon, 6 Jul 2009 10:58:52 -0700 (PDT), mqy meng.qing...@gmail.com
wrote:
 hi:
 
 SHR unstable version is 20090624. I've seen this problem for several
times
 when omgps running.
 I often switch current page to menu which avoid refreshing views -- to
 save power.
 
 The whole screen gets blur. Fortunately in this case I can click the
'exit'
 button, but have to restart.
 
 Each time I saw the problem the only thing I'm sure that 
 1) the outdoor air temperature is high (30 centi degrees)
 2) the phone was put in a portable bag, I have to say the color is black
:)
 
 I'm wondering it is caused by high temperature? Anybody has similar
 problem?

I saw two incarnations of that.

The first one I encountered was the screen flickering, but not getting
blurred. It happened several times, each time (save one or two) the FR was
charging and feeling a bit hot. On powering off, the screen was black at
first, then, slowly, grey vertical bars appeared in various shades of gray.

The other one seemed more like a software failure - half of the screen was
blurred. It seemed like the image was being shifted a feww pixels in some
direction and then back to normall all the time.

-- 
Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: tango and the missing map tiles

2009-06-25 Thread rhn
On Thu, 25 Jun 2009 10:17:59 +0200, Rask Ingemann Lambertsen
r...@sygehus.dk wrote:
 On Thu, Jun 25, 2009 at 12:08:54PM +1200, Robin Paulson wrote:
 2009/6/25 Tim Abell t...@timwise.co.uk:
  I've found that if tango doesn't have a working net connection
  available
  when you pan around it will generate empty files for the map images
and
  then never attempt to re-download them leaving nasty gaps in your
  coverage.
 [snip}
 
  Feel free to stick this on the wiki or something. I don't know if this
  needs a bug report.
 
IMHO it does.
  
 will yaouh perform a similar task? i assume even though they are
 blank, they will have a date and time, thus when yaouh is run, it will
 see they are old/the hash is wrong, and replace them?
 
No, Yaouh! (version 0.5.1) doesn't update empty map tiles.

Some time ago, I posted a Python script (needs python-netclient) that
performs a similar task to what Yaouh! did. Including updating the empty
files. Just search for Yaouh! clone or fill_gaps in the archives.

In the following weeks, I should have enough time to clean it up and add
the functionality some people requested - namely, updating also tiles with
lower zoom levels if one with higher was updated, and symlinking empty
tiles to one file.

-- 
Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[SHR-unstable]Blinking AUX button LED

2009-04-29 Thread rhn
The battery died earlier today. I connected my FR to the wall charger. It
started upon connecting.
After a while, I noticed that the GUI is up, the red AUX LED is blinking
and the GUI does not respond to input. The usual orange charging LED was
still on.

What does the blinking mean? Are the codes for each distro explained
somewhere?

-- 
Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Command-line Yaouh! clone

2009-04-26 Thread rhn
On Thu, 23 Apr 2009 10:40:19 +0200, Carlo Minucci ge...@napodano.com
wrote:
 rhn ha scritto:
 This program was started before Yaouh! was published. Initially, it only
 downloaded the empty tiles, so I called it fill_gaps.py. For a long
time,
 I
 felt it's sufficient, so I didn't change it. Recently, I decided that I
 need something smarter - I tried out Yaouh!, which didn't have some of
 the
 funcionaltiy I wanted. The code was a bit messy, too.
   
 
 which funcionality do you want on yaouh? :)
 
The features I listed in the original post... Falling back to other mirrors
when a file can't be downloaded, removing old files and command-line
operation. I think merging both programs would be the best. I'd do it
myself, but I couldn't find my way through the code...

-- 
Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Command-line Yaouh! clone

2009-04-23 Thread rhn
This program was started before Yaouh! was published. Initially, it only
downloaded the empty tiles, so I called it fill_gaps.py. For a long time, I
felt it's sufficient, so I didn't change it. Recently, I decided that I
need something smarter - I tried out Yaouh!, which didn't have some of the
funcionaltiy I wanted. The code was a bit messy, too.

I improved my program instead.
Now it includes:
* lists of fallback URLs,
* If-Modified-Since HTTP headers,
* removal of files unused for a specified time
* skipping files modified recently
* forcing download empty tiles
* customizing the fallback rules (currently, the fallback lists are
different for diffferent zoom levels)

It doesn't:
* take any command-line parameters
* have a GUI
* check md5 (it's not really needed with If-Modified-Since
* download in multiple threads

It's written in Python, so it could be used to improve Yaouh!. It requires
urllib for downloading, which might not be installed by default in some
distributions.

-- 
Cheers,
rhn#!/usr/bin/env python
import os
import os.path
import sys
#sys.path.pop(0)
import urllib2
import time


first_uri = 'http://b.andy.sandbox.cloudmade.com/tiles/cycle/%d/%d/%d.png'
#path = 'http://127.0.0.1:/tiles/cycle/%d/%d/%d.png'
fallback_uri = 'http://c.tile.openstreetmap.org/%d/%d/%d.png'
fallback_uri = 'http://c.tah.openstreetmap.org/Tiles/tile/%d/%d/%d.png'
age_threshold = 60 * 60 * 24
delete_threshold = 60 * 60 * 24 * 30


lowzoom = [first_uri, fallback_uri]
highzoom = [fallback_uri, fallback_uri]


class InvalidPathException(Exception):
pass


def get_file(full_path, url, force=False):
if force:
hdrs = {}
else:
hdrs = {'If-Modified-Since': time.strftime(%a, %d %b %Y %H:%M:%S GMT, time.gmtime(os.stat(full_path)[-2]))}
request = urllib2.Request(url, headers=hdrs)
o = urllib2.urlopen(request)

a = o.read()
if len(a) == 0:
raise Exception('Downloaded empty file.')
outp = open(full_path, 'w')
outp.write(a)
outp.close()


def download(file_path, uri_list, params, force=False):
a, b, c = params
stats = os.stat(file_path)

for uri in uri_list:
try:
get_file(file_path, uri % (a, b, c), force)
os.utime(file_path, (stats.st_atime, time.time())) # is this needed?
return
except urllib2.HTTPError, e:
if e.code == 304:
os.utime(file_path, (stats.st_atime, time.time()))
print 'Up to date'
return
print e, 'falling back'
except Exception, e:
print e, 'falling back'


for dir_, subdirs, files in os.walk('.'):
for file_ in files:
file_path = os.path.join(dir_, file_)
try:
root, a, b, c = file_path[:-4].split('/') #TOSO: change to sys.path
a, b, c = int(a), int(b), int(c)
except:
print file_path, 'omitted'
continue
if a  14:
uris = highzoom
else:
uris = lowzoom

stats = os.stat(file_path)
if time.time() - stats.st_atime  delete_threshold:
print 'DELETE', file_path
os.unlink(file_path)
elif stats.st_size == 0:
print 'NULL', file_path
download(file_path, uris, (a, b, c), True)
elif time.time() - stats.st_mtime  age_threshold:
print 'FULL', file_path
download(file_path, uris, (a, b, c), False)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Command-line Yaouh! clone

2009-04-23 Thread rhn
On Thu, 23 Apr 2009 15:45:28 +0200, Helge Hafting helge.haft...@hist.no
wrote:
 Risto H. Kurppa wrote:
 On Thu, Apr 23, 2009 at 4:11 PM, Helge Hafting helge.haft...@hist.no
 wrote:
 These here sound good to me to have around (in Yaouh, too)
 * skipping files modified recently
 How recent would that be?
 I run yaouh to get the latest tiles where I have updated the map. Of
 course, this is often the same tiles as I refreshed a couple of days
 earlier. So I think this has to be optional. Some kind of uses need to
 check fairly new tiles.

I use the program in exactly the same way. Skipping files is not for sake
of less transfer, but for less time spent on contacting remote servers
(that's the same reason why I believe deleting files long unused is
necessary). As of now, skipping files one day old is completely sufficient
for me. Unless you do many updates every day and the tile server gets
updated quicker than in my area.
The value should be adjustable (including 0) in my opinion.

 
 * forcing download empty tiles
 What does that mean?
 

The current version treats the empty files (size 0) left by tangoGPS as
ones needed to download by force, that is, not checking for the server
modification date.

 For example download every tile that has 2 (or 3 or four) neighbors
 downloaded to 'fill the gaps' in the map.
 

That's an interesting idea... unfortunately, the program would need to be
rewritten because it uses recursive traversal of dictionaries now (and I
think Yaouh! does so, too).

 Ah, excellent!
 It'd also be nice to have an option for automatically zooming out.
 That is, if I have a bunch of tiles at zoom 15 (downloaded using 
 tangogps perhaps) then I want the zoom 14 tiles covering the same area, 
 as well as the zoom 13 tiles, and so on all the way up to the top.
 
 Of course, the number of tiles quickly gets lower as one goes up, and 
 usually hits a tile that is there already after a few levels.
 

I think this will be the next thing I implement when I get some free time.

 Another thing that'd be nice to have, is duplicate tile detection.
 There are a lot of sea tiles, empty land tiles, and probably some 
 tiles containing only forest or similiar. This could save lots of space, 
 but not download time. It'd still be necessary to check if empty land 
 suddenly isn't empty anymore.

Is it really that good? Thousands of tiles wold be necessary to make any
real difference, even if the internal storage of a Freerunner is used. A
few megabytes saved when a few hundred is laying there isn't worth the
trouble. Imagine storing modify dates for each sea tile independently when
they are all symlinked to the same file (if you want to use the skipping
functionality mentioned above to save time).

-- 
Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Fso Python binding

2009-02-16 Thread rhn
 Wiadomość Oryginalna 
Od: Michele Renda michele.re...@gmail.com

 Hello to all
 
 I am writing here to show something I was working today, and I'd like to
 know your opinions.
 I try to explain with a few of words. How someone of you know, I wrote
 Sephora. In lastest day I lost some time to trying to fix sephora with
 the new fso milestone. Where I was working I realized that I hate dbus
 :) Ok, I know it is very important, it is cross language compatibile,
 but I program in python, and I don't like to write too much code. If I
 want to turn on a led I want to do something like:
 
 device = ODeviced()
 device.getLED().getGta02AuxRed().setBlinking(2, 3)
 
 Or if I want to react to a function I want to do something like this:
 
 gps = OGpsd()
 def myfunc(i):
  # I do something here
 gps.connect('fixStatusChanged', myfunc)
 
 So, I studied a bit how to use reflection in Python and the source code
 written by Michael Lauer, and I wrote a Python binding for FSO, and I
 called with a lot of fantasy PyFso (It is only a transitory name,
 because I think this name is already used for another project).
 
 You can have a look here: [1]
 
 To help the navigation, it also print the structure of the object I
 created [2].
 
 For now it is only a proof of concept. I would like to know if someone
 else have the same feeling with dbus.
 
 Thank you
 Michele Renda
 
 [1] http://dl.getdropbox.com/u/562269/PyFso/pyfso.py
 [2] /home/michele/Dropbox/Public/PyFso/structure.txt
 

I used to play with dbus and FSO a while ago, and I came to a similar 
conclusion - writing something simple takes too much time.

Instead of wrapping the interesting methods of FSO, I made a simple dbus object 
wrapper.
To use it, one would pass the dbus bus name and object name. The resulting 
object would be a python object with method names corresponding to the dbus 
method names (I made my own, much simpler parser based on the one in mdbus), 
while completely ignoring signals.

I used it to get GPS data from Gypsy, worked like a charm.
I could dig it up again and explain, if anyone's interested.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR - Latest unstable] Alarm

2009-02-10 Thread rhn
 Wiadomość Oryginalna 
Od: Tony Berth tonybe...@googlemail.com
Dear List,

When the Alarm gets triggered appears a message only but no sound.
Found some 'answers' in the archives but none of them did
work! Is something else I'm missing?

Thanks

Tony

I had this, too, but not on the very latest version.
The alarm tries to play the wav file at

/usr/share/elementary_alarm/sounds/phone.wav

I've made this directory and copied my file there.
You might also find a folder named (notice the hyphen):

/usr/share/elementary-alarm/

you could rename it to the version with underscore:

mv /usr/share/elementary-alarm/ /usr/share/elementary_alarm/

or make a symlink:

cd /usr/share; ln -s elementary-alarm elementary_alarm


Cheers
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: Someone stole my Neo Freerunner... :(

2009-01-26 Thread rhn
 Wiadomość Oryginalna 
Od: Helge Hafting helge.haft...@hist.no

 Also, a stolen phone could wait for a special message. If you give it up 
   because the telco and police won't bother - have the phone brick 
 itself by wiping out its flash memory. Or better, change the boot to display
 This phone is stolen from . . . The thief throws it away - with luck, 
 someone else finds and returns it.
 
Another idea of the like:
The phone is about to be stolen by muggers, the owner uses some button combo 
(both buttons for 3 sec?) to enable a special lock mimicking a broken screen - 
displaying some colorful strips, changing when the phone is being tilted 
(that's about what it looks like when the connector strip is damaged). This 
should not go away with a reboot - random text scrolling through the screen may 
even help with the illusion of the phone being broken.
It's likely that the phone will get thrown away (or destroyed...).
It might be difficult to retrieve it, though, when the battery becomes empty.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[SHR] disabling suspend

2009-01-11 Thread rhn
How to disable suspending?

I'd like to have it off when I'm listening to music or using GPS, but not 
interacting with my FR.
Is there some DBus method for that? Or a /sys/ switch?
I think it should be listed on the Wiki somewhere (there are many possible 
reasons why people would like their device to stay awaken, regardless of 
their distro).

A suggestion to frameworkd developers - (if this is not already done) 
preventing the device from going into suspend after an application has 
requested GPS resource would make sense if a fix is not acquired yet.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [SHR] disabling suspend

2009-01-11 Thread rhn
Od: Leonti Bielski prishe...@gmail.com
 In FSO you can request Display or CPU resources for preventing
 going into suspend:
 
 http://git.freesmartphone.org/?p=framework.git;a=commit;h=4fecf8d41e900c02bb1cd1d9e783c494059c8299
 
 http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Usage.html;hb=f77848094654b56348b0fd0d57054846c2e7074a#RequestResource
 
 Leonti
 
 On Sun, Jan 11, 2009 at 7:37 PM, rhn r...@o2.pl wrote:
  How to disable suspending?
 
  I'd like to have it off when I'm listening to music or using GPS, but not 
  interacting with my FR.
  Is there some DBus method for that? Or a /sys/ switch?
  I think it should be listed on the Wiki somewhere (there are many possible 
  reasons why people would like their device to stay awaken, regardless of 
  their distro).
 
  A suggestion to frameworkd developers - (if this is not already done) 
  preventing the device from going into suspend after an application has 
  requested GPS resource would make sense if a fix is not acquired yet.
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Thanks!
I'm trying it out right now.
Is anyone willing to add this to the Wiki? If not, I'll add this to GPS section 
- users of GPS are most likely to ask it again.



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: GPG for SMS?

2008-11-10 Thread rhn
 Wiadomość Oryginalna 
Od: Vinzenz Hersche [EMAIL PROTECTED]

 http://wiki.thc.org/gsm#head-1d4386f26b54c1890bdb6b181b6293c3b9b5af62
 i read a article about this group. they could crack gsm-connection's
 in 2 hours without some cleartext. another issue in my eyes is the
 possibility of the provider to listen all calls, read all sms.

That's an interesting project!

 i think, it isn't so much work to make a symetric crypt-possibility
 for special peoble as example (person a say's person b the code
 directly, so both ore more invited peoble's know the key and could
 encode/decode the messenges)..

I believe this could work in a public key architecture - the symmetric key 
would be sent using GPG beforehand, symmetric key used later.

 in my eyes, security is very important, and privacy in the
 mobile-phone-world doesn't exist. if i had enough time and expirience,
 i would programm by myself, but until i had this, it's could been 1-3
 years later. :/

There's Paroli in its early stages of development, needing developers, I guess 
they should be asked whether someone wants to implement this. I have more or 
less the same problem - not having enough time to do everything I would like 
to. But if there's enough people wanting to implement this (as a part of paroli 
or anything else), I will switch my priorities to be able to help.

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: GPG for SMS?

2008-11-08 Thread rhn
Od: Timo Juhani Lindfors [EMAIL PROTECTED]
 rhn [EMAIL PROTECTED] writes:
  About calls - I remember I saw a documentary in which the calls
  interfered with TV sets, which allowed to hear the
  conversations. That would imply unencrypted.
 
 That sounds quite unlikely, even if you had configured your GSM to
 send the data without encryption how would your analog TV set
 decompress the digital (and compressed) audio stream?
 

It might have been a hoax as well. If I remember it right, it was the 
operator's fault. From the video footage, only some words were understandable.
On the other hand, I remember watching encoded audio + video from a locked 
channel with a satellite tuner. The quality is *very* poor, but it can be 
understood at times.

I believe nowadays TV sets are sold with the circuitry to decode digital data 
(the switching to digital land infrastructure), but I don't remember if it was 
the case there.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: GPG for SMS?

2008-11-08 Thread rhn

 Vinzenz Hersche [EMAIL PROTECTED] writes:
  because they are uncrypt. and the gsm-connection isn't secure, some
 
 I thought they are encrypted just like calls. I asked this on
 #gnuradio too:
 
 18:36  lindi- hi, i looked at the openbts SMS stack to figure out if
 SMS messages are encrypted or not but could not figure it out. Any
 idea if they are?
 20:06  gamma__ lindi-: they are
 
  there is a programm, wich could crypt sms, but it's not gpl. it is
  open source, but just the demo-version is free for downloads and use.
 
 http://sites.google.com/site/smscrypt/files/SMSCryptLiteDemo.zip?attredirects=0
 
 does not seem to contain any source code or copyright information.
 
 

If they are encrypted, they probably are encrypted on the way to the operator 
only, so the operator can probably see the content.

About calls - I remember I saw a documentary in which the calls interfered with 
TV sets, which allowed to hear the conversations. That would imply unencrypted.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


direct SMS sending?

2008-10-29 Thread rhn
Hi
I've came up with an idea which might be completely useless or very convenient, 
but I don't know enough about GSM to be able to judge it properly.
As far as I know, the SMS messages are sent to a message center number (which 
can be edited by the user on some devices) provided by the operator using some 
lossless data transfer method.
Would it be possible pass the number of another device and send messages 
directly?
I suspect it wouldn't be possible to use an unmodified device to receive 
messages sent that way.

The whole idea was based on the fact that a voice connection over the time of 
sending a message costs less than sending a message to a different operator (at 
least around here). I don't know how would they charge for that kind of 
connections, though.

Does this even make sense?

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: GTA03 - buttons or touchscreen

2008-10-25 Thread rhn
 Wiadomość Oryginalna 
Od: JW [EMAIL PROTECTED]
Do: community@lists.openmoko.org
Data: 25 października 2008 18:39
Temat: GTA03 - buttons or touchscreen

 Ok Community,
 
 vote and tell OM what you want for the next phone
 
 [also realise this is still a long time away and Freerunner is available to 
 buy
 now!]
 
 1) touchscreen (no qwerty buttons) - freerunner, HTC Orbit, iphone
 2) qwerty keyboard and tracker ball - blackberry curve
 3) combination touchscreen plus qwerty - G1
 
 ***
 Please don't write endless pages about why - just indicate which one YOU want.
 ***
 
 For myself my vote is
 
 1) no, my HTC orbit experience was horrible (yes, i realise there are better)
 2) yes, my preferred user input method - intuitive, fast, flexible
 3) no, i think combo is too much to ask from OM right now
 
 ciao
 JW
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

In order of preference:
combo
keyboard
touchscreen

Tactile feedback doesn't need so much focus on the things done and is also more 
accurate in the most common phone use cases. Not all, though.

I think you should also specify whether it'd be a qwerty keyboard and 
multitouch screen.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: Alternative Case Designs

2008-10-25 Thread rhn

  I made a little tutorial about how you can change the look of your
  Freerunner's Case.
  It's available at http://www.opkg.org/specials/.

Just on a side note: please make those text in frames colored rather than 
leaving it default... it ruins the look of the page when using black-on-white 
themes (but don't change the whole page to be black-on-white, I like everything 
except that bug ;)).

rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: (Another) New rotate version

2008-10-14 Thread rhn
Yet another one - this time in Python. Should be easy to port, though.
Features:
- no dimming
- no stopping if backlight not lit
- badly adjusted timers
- reopening the file at every check
- able to set the right position even if device is nearly lying
- does not switch if on verge of two modes
...and the two latter things are what I like in it.
The timers are really bad - it takes up to 10 seconds to adjust (checking 
position every 3 seconds, 1.5 second to make sure plus some unidentified delay).#!/usr/bin/env python
import struct
import subprocess
from time import sleep

secondsensorfile = /dev/input/event3
#int, int, short, short, int
fmt = 'iihhi'



def get_data(path):
sensor = open(path, 'rb')
ret = [0, 0, 0]
while True:
pass
event = sensor.read(16)
if not event:
break
(time1, time2, type_, code, value) = struct.unpack(fmt, event)
if type_ == 0 and code == 0:
break
if type_ == 2:
ret[code] = value
sensor.close()
return ret

def get_direction():
ind = None
di = None
for i in range(3):
data = get_data(secondsensorfile)
print data
a = map(abs, data)
max_val = max(a[:2])
if max_val * 4  sum(a):
return
index = a.index(max_val)
if index  2 and a[index]  a[-index + 1] * 2:
return
if ind is None:
ind = index
elif not ind == index:
return
   
direction = data[index]  0
if di is None:
di = direction
elif not di == direction:
return
sleep(0.5)
#print data, index
return ind, di

def rotate(name):
subprocess.Popen(['/usr/bin/xrandr', '-o', name])

def rotation(index, direction):
d = ['', 'v^', '.o']
r = [['right', 'left'], ['normal', 'inverted']] 
print d[index][int(direction)]
if index  len(r):
pass
#subprocess.Popen(['/usr/bin/xrandr', '-o', r[index][int(direction)]])
return r[index][int(direction)]
last = 'normal'
while True:
print 'vGet'
d = get_direction()
if d:
print 'got'
index, direction = d
r = rotation(index, direction)
if r:
if not r == last:
last = r
rotate(r)
sleep(3)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [FSO] latest upgrade disabled my phone

2008-10-11 Thread rhn
 Wiadomość Oryginalna 
Od: Michael 'Mickey' Lauer [EMAIL PROTECTED]
Do: List for Openmoko community discussion community@lists.openmoko.org
Data: 11 października 2008 7:47
Temat: Re: [FSO] latest upgrade disabled my phone

 Dear Rhn,
 
 I don't know what's wrong, but let me suggest that you do not
 unconditionally opkg update  opkg update when you're on an unstable
 distribution. In contrast to Debian, where millions of eyes are looking,
 an Openmoko unstable distribution is _really_ unstable.
 
 I suggest individually updating packages if you think there's
 interesting fixes for you.
 
 Sorry I can't be of more help.
 
 Mickey.
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Hi
Thanks for the reply.
I think I just got used to flawless updates of the testing branch until now.
From my personal point of view, updating only selected packages isn't exactly 
the right thing to do because of the dependencies that exist but are not 
described in the package (most notably GNOME being packed that way on my 
testing desktop distro).

The other reason I wrote this post was to inform the package maintainers that 
something went wrong and the Home app doesn't see the .desktop files or 
something during the update destroyed them.

Cheers
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[FSO] latest upgrade disabled my phone

2008-10-10 Thread rhn
Hi
Today, opkg upgrade behaved wildly from the very beginning.
After issuing the command the first time, the screen went blank (major 
downloading had taken place, ut I was not paying attention to it); I thought it 
maybe stalled so I did opkg upgrade once more - it upgraded fso-gpsd among 
other things.

I hoped that I'd receive a new batch of fixes (notably for gps which couldn't 
get a fix after previous upgrade), but the result is a bit different.

I didn't have a chance to check it out, because the device locked all the doors 
and windows from me - leaving me with zhone, Illume taskbar and the Home 
application with no icons.

I can't open a terminal (no icons), I can't log in through SSH (usb0 doesn't 
show up on the desktops as it previously did).

What other trick should I try to be able to fix it? I don't really want to 
flash the device again...

Cheers
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: one day usage of qtextended

2008-10-06 Thread rhn
A short sneak peek on qtExtended. Disclaimer: I downloaded the image from main 
page of wiki.openmoko.org and the kernel image from SDK package advertised on 
qtextended website.

 - I have been unable to get wifi at home working (WPA2) despite
 several attempts.
 
I made asuccesful connection to unsecured network at home, but since then the 
deice began stopping responding for ~5 secs every ~20 secs. Very annoying.
 - feed address is wrong; changing it to 4.3.2 connects but finds no
 packages (browsing there shows several).
I tried to downloaded packages, but it stalled somewhere before showing any 
relevant info.
 
 - browser doesn't see USB network
It didn't want to cooperate with the wlan connection; after trying any website, 
either http://; was replaced by file:/// or just file:/// prepended to the 
address.

Some of the games require pressing select to start and there's no hint as to 
what the select is.

Also, the handwriting recognition doesn't work terribly well - the input fields 
are too smal and the touchscreen input is too inaccurate to make handwriting 
comfortable. Switching back from the keyboard to handwirting was a bit 
confusing, too.

I hope this helps improving the distro!
Cheers
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: [FSO] losetup trouble

2008-10-04 Thread rhn
 Wiadomość Oryginalna 
Od: Alex Osborne [EMAIL PROTECTED]
Do: List for Openmoko community discussion community@lists.openmoko.org
Data: 4 października 2008 4:24
Temat: Re: [FSO] losetup trouble

 Hello,
 
 On 04/10/2008, at 2:51 AM, rhn wrote:
 
  [EMAIL PROTECTED]:/media/card# touch /dev/loop0
  [EMAIL PROTECTED]:/media/card# losetup /dev/loop0 bigfile
  losetup: /dev/loop0
  [EMAIL PROTECTED]:/media/card# ls -l /dev/loop0
  -rw-r--r--1 root root0 Oct  3 16:31 /dev/loop0
 
 I'm surprised losetup didn't complain. There's not much point in  
 making loop0 a regular file.  I have not tried usb storage but:
 
 pico:~# ls -la /dev/loop0
 brw--- 1 root root 7, 0 Oct  4 12:08 /dev/loop0
 pico:~# dd if=/dev/zero of=foo bs=1k count=1k
 1024+0 records in
 1024+0 records out
 1048576 bytes (1.0 MB) copied, 0.208113 s, 5.0 MB/s
 pico:~# mke2fs foo
 mke2fs 1.41.1 (01-Sep-2008)
 [...]
 pico:~# mkdir /mnt/tmp
 pico:~# mount -o loop foo /mnt/tmp/
 pico:~# ls -la /mnt/tmp/
 total 17
 drwxr-xr-x 3 root root  1024 Oct  4 12:12 .
 drwxr-xr-x 5 root root  4096 Oct  4 12:12 ..
 drwx-- 2 root root 12288 Oct  4 12:12 lost+found
 pico:~# mount | grep foo
 /root/foo on /mnt/tmp type ext2 (rw,loop=/dev/loop0)
 
 I imagine normally /dev/loop* should be created by udev.  The fact  
 that it doesn't exist might indicate that you don't have loopback  
 device support in your kernel.  Check this:
 
 pico:~# grep loop /proc/devices
7 loop
 
 If it's not there try modprobe loop.
 
 If it is there, delete your bogus /dev/loop0 and recreate it like this:
 
 mknod /dev/loop0 b 7 0
 
 Cheers,
 
 Alex
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

Thanks!

It seems I didn't have the loop module in the kernel. I was sure the device 
files are created by losetup and the loop support was compiled in the kernel 
(it was not shown in lsmod).

As soon as the repo is back online, I'm going to retry and post the results 
here.

Cheers,
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [FSO] FSO repositories

2008-10-04 Thread rhn
 Wiadomość Oryginalna 
Od: Luca [EMAIL PROTECTED]
Do: List for Openmoko community discussion community@lists.openmoko.org
Data: 4 października 2008 14:14
Temat: [FSO] FSO repositories

 I finally installed the FSO on my FR.
 
 First of all It seems that the repositories called when I run the opkg
 update aren't correct. I need to change those as I did for the ASU
 release?
 
 URL used are something like:
 http://my-distribution.org/remote-feed//om-gta02/Packages.gz
 
 I need some fix?
 
 -- 
 -- luca
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


The testing repo seems to be down at the moment. Does anyone know why?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[FSO] losetup trouble

2008-10-03 Thread rhn
Hi
I've encountered trouble trying to create a loopback device to use with 
usb_storage module instead of the card.
Here are my problems:


[EMAIL PROTECTED]:/media/card# losetup /dev/loop0 bigfile 
losetup: /dev/loop0: No such file or directory
[EMAIL PROTECTED]:/media/card# touch /dev/loop0
[EMAIL PROTECTED]:/media/card# losetup /dev/loop0 bigfile 
losetup: /dev/loop0
[EMAIL PROTECTED]:/media/card# ls -l /dev/loop0
-rw-r--r--1 root root0 Oct  3 16:31 /dev/loop0


bigfile is the file I wanted to mount.
I also tried to mknod /dev/loop0 with the major and minor guessed from the 
desktop's ones:


[EMAIL PROTECTED]:/media/card# mknod /dev/loop2 b 7 1
[EMAIL PROTECTED]:/media/card# losetup /dev/loop2 bigfile 
losetup: /dev/loop2: No such device or address


What can be done about it? Or maybe some usb storage module supports exposing 
directories instead of devices?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problems building a sample project

2008-09-30 Thread rhn
 Wiadomość Oryginalna 
Od: lorena san vicente lt;[EMAIL PROTECTED]gt;
Do: List for Openmoko community discussion 
lt;community@lists.openmoko.orggt;
Data: 30 września 2008 16:26
Temat: Problems building a sample project
Hi list,
I  am new at this I am proving step by step all that is
commenting in openmoko wiki, but when I create a build
configuration for this application with
om-conf openmoko-sample2
it gives me an error:
bash: om-conf: orden no encontrada
why can it be??what can I do???
thanks very much
Try running /usr/local/openmoko/arm/setup-env before. You need to use this 
command after every boot when you wish to use the toolchain.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[FDOM] dfu-error -71

2008-09-27 Thread rhn
Hi
I've just tried to flash my freerunner with the newest FDOM and ran into a 
problem with dfu-util.
Long story short, here's the console output:


[EMAIL PROTECTED] files]# ./dfu-util -a rootfs -R -D 
Fat_and_Dirty_OM.200809_20080927.rootfs.jffs2 
dfu-util - (C) 2007 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x:0x...
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Opening USB Device...
Found Runtime: [0x1d50:0x5119] devnum=13, cfg=0, intf=0, alt=6, name=rootfs
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x1000
bytes_per_hash=2589982
Starting download: [###dfu_download error -71
Error during download


The device used to flash without errors and I can't find any explanation to 
this error code.
The file's checksum is correct and it breaks always at the same place.

I hope the FDOM team will be able to do something about it because I can't wait 
to try it out :)

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: dfu-error -71

2008-09-27 Thread rhn
Thanks for your answer.
After some additional research (fairly chaotic, it appeared I can't flash 
anything), I managed to shed some more light on the problem:
 - It cut the download at some 50 MB no matter what image I was using
 - after connecting the cable to another computer (no intermediate cables) it 
flashed
o it went faster than ever (maybe because I didn't use root account on that 
computer before as normal user could run it just fine)
o it was a stable version of a distro I'm using (the other computer has 
*some* stability issues)

Regards
rhn


 I have had bad experience with the dfu_util before. It appeared almost
 the same as your problem. It would download part way and show up as an
 error.
 
 I originally had a USB extension cable to the back of my computer. Bad
 idea. I ended up using the (fairly short) cable that came out of the box
 and it worked perfectly. My connections are sometimes loose though.
 Maybe this will help.
 
 -Boris
 
 
 On Sat, 2008-09-27 at 13:42 +0200, rhn wrote:
  Hi
  I've just tried to flash my freerunner with the newest FDOM and ran into a 
  problem with dfu-util.
  Long story short, here's the console output:
  
  
  [EMAIL PROTECTED] files]# ./dfu-util -a rootfs -R -D 
  Fat_and_Dirty_OM.200809_20080927.rootfs.jffs2 
  dfu-util - (C) 2007 by OpenMoko Inc.
  This program is Free Software and has ABSOLUTELY NO WARRANTY
  
  Opening USB Device 0x:0x...
  Claiming USB DFU Runtime Interface...
  Determining device status: state = appIDLE, status = 0
  Device really in Runtime Mode, send DFU detach request...
  Resetting USB...
  Opening USB Device...
  Found Runtime: [0x1d50:0x5119] devnum=13, cfg=0, intf=0, alt=6, 
  name=rootfs
  Claiming USB DFU Interface...
  Setting Alternate Setting ...
  Determining device status: state = dfuIDLE, status = 0
  dfuIDLE, continuing
  Transfer Size = 0x1000
  bytes_per_hash=2589982
  Starting download: [###dfu_download error -71
  Error during download
  
  
  The device used to flash without errors and I can't find any explanation to 
  this error code.
  The file's checksum is correct and it breaks always at the same place.
  
  I hope the FDOM team will be able to do something about it because I can't 
  wait to try it out :)
  
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: FSO toolchain?

2008-09-23 Thread rhn
On Mon, Sep 22, 2008 at 7:54 PM, rhn rhn at o2.pl wrote:

 Hello
 This question may be terribly out of place, but I haven't found a definite
 answer on the Openmoko or freesmartphone wiki.

 I'd like to be able to develop on my main box some programs to use with FSO
 on the phone (and package them), but I have found only the Openmoko
 toolchain via the wiki. It seems to be 2007.4 based.
 There was nothing relevant on freesmartphone.org, so I think there is a
 way to use the aforementioned toolchain to make software compliant to FSO.
 Currently, my guess is that I need to set up the repositories list in the
 toolchain to point the FSO repos.
 Would this suffice?


You may use the Makefile at http://shr.bearstech.com/ , this will setup the
entire openembedded environment to build toolchain and fso
images/applications. This is the best solution if your application has
dependencies on the fso tree. You should write a bitbake recipie for your
application, or use some other tricks to use the toolchain.

  Nicola

Thanks, I will try it soon.
I'm just going to port some apps to FSO for now, so I don't expect any 
dependencies on the FSO tree that I would know about.
What I was afraid of was that maybe the OM toolchain used with FSO would give 
me headache because of errors that have origins unknown to me.
Regards
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


FSO toolchain?

2008-09-22 Thread rhn
Hello
This question may be terribly out of place, but I haven't found a definite 
answer on the Openmoko or freesmartphone wiki.

I'd like to be able to develop on my main box some programs to use with FSO on 
the phone (and package them), but I have found only the Openmoko toolchain via 
the wiki. It seems to be 2007.4 based.
There was nothing relevant on freesmartphone.org, so I think there is a way to 
use the aforementioned toolchain to make software compliant to FSO.
Currently, my guess is that I need to set up the repositories list in the 
toolchain to point the FSO repos.
Would this suffice?

Regards
rhn

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: Tichy and pygame on OM2008.8 update

2008-08-30 Thread rhn
The problem is solved by:

opkg install cpp

as stated on some mailing list I found yesterday

 Wiadomość Oryginalna 
Od: yves mahe [EMAIL PROTECTED]
Do: community@lists.openmoko.org
Data: 29 sierpnia 2008 19:43
Temat: Re: Tichy and pygame on OM2008.8 update

 I tried to use cython for the tichy's GUI because it's  really slow:
 
 opkg install gcc make gcc-symlinks
 
 and the make fails :
 
 [EMAIL PROTECTED]:~/tichy/tichy/guic# make
 cc -c -fPIC -I. -I/usr/include/python2.5/ 
 -L/usr/local/openmoko/arm/usr/lib/ -O3 -fno-strict-aliasing geo.c -o geo.o
 cc: error trying to exec 'cc1': execvp: No such file or directory
 make: *** [geo.o] Error 1
 
 
 I will investigate later.
 Yves Mahé
 
 
 yves mahe wrote:
  Hi,
  
  I finally install pygame and tichy on OM2008.8 update (27/08/2008)
  
  I used
  
  - opkg install 
  http://www.angstrom-distribution.org/unstable/armv4t/base/libsmpeg-0.4-0_0.4.4+0.4.5cvs20040311-r0_armv4t.ipk
  - opkg install 
  http://www.angstrom-distribution.org/unstable/armv4t/python/python-pygame_1..7.1-ml2_armv4t.ipk
  
  I lazily patch tichy here in tichy/tichy/timeservice/timeservice.py
  line 45
   # self.event_id = gobject.timeout_add_seconds(1, 
  self.time_changed)
   self.event_id = gobject.timeout_add(1, self.time_changed)
  
  Yves Mahé
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: community Digest, Vol 94, Issue 109

2008-08-30 Thread rhn
 Wiadomość Oryginalna 
Od: [EMAIL PROTECTED]
Do: community@lists.openmoko.org
Data: 30 sierpnia 2008 12:00
Temat: community Digest, Vol 94, Issue 109

 Send community mailing list submissions to
   community@lists.openmoko.org
 
 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.openmoko.org/mailman/listinfo/community
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]
 
 You can reach the person managing the list at
   [EMAIL PROTECTED]
 
 When replying, please edit your Subject line so it is more specific
 than Re: Contents of community digest...


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


FSO - GPSD problem

2008-08-30 Thread rhn
Hi
I'm using the testing branch of FSO and was unable to get GPS working right yet.
The version is 2.34-r9, so I think it's somewhat current.

The first problem was the antenna not seated well (resolved, obviously).
The other problem is that the gpsd itself (?) is behaving odd.
I was trying to troubleshoot using the GPSD FAQ. I found out that

gpsd -D 4 -N /dev/ttySAC1

provides some useful output and I can try to connect to the gpsd via telnet.
Trying that, I noticed that most of the time the connection is accepted but 
stalled... sometimes I get to the GPSD console and the daemon prints:

gpsd: client connect on 6

but usually telnet just prints nothing.
This occurs regardless of the IP I'm using (loopback or ethernet), and port 
(tried 998), dropbear's ssh also can listen properly.

Is there anything I can do to make sure it's not my fault before filing a bug 
report?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Re: FSO - DPI issues (remote X clients)

2008-08-29 Thread rhn
 Wiadomość Oryginalna 
Od: Michael 'Mickey' Lauer [EMAIL PROTECTED]
Do: community@lists.openmoko.org
Data: 28 sierpnia 2008 22:22
Temat: Re: FSO - DPI issues (remote X clients)

 Am Donnerstag 28 August 2008 22:13:24 schrieb rhn:
  How do I change the DPI so that any GTK X client knows what is right for
  me?
 
 Please don't. It is set correctly.
 
 Instead you might want to change the default size to something reasonable:
 
 [EMAIL PROTECTED]:/local/pkg/fso/framework/framework# cat /etc/gtk-2.0/gtkrc
 gtk-font-name = Sans 5
 
 -- 
 :M:

Thanks for the info, but that's already set in the image I use (one of 
yesterday's daily builds).

The local applications seem to know about this setting because TangoGPS has 
correct sizes.
Is there any way to make remote applications aware of it (or anything similar)?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


FSO - DPI issues (remote X clients)

2008-08-28 Thread rhn
Hello
I've just put my hands on the new shiny (GTA02) and been trying to set it up in 
a workable manner.
So far so good - GPS tested, wifi has a startup script, I can connect (as 
usually with desktops) to a remote host to run common apps on it (i.e. instant 
messenger, Firefox).

Everything seems to be working fine, except of the GTK applications. They all 
have oversized fonts, taking up a significant part of the screen without a good 
reason. The scrollbars seem to be the same on a pixel-per-pixel basis as on big 
screens.
Firefox's rendering pages well, but the UI elements suffer the same problem.

I've tried to make this go away by creating an entry in gconf: 
/desktop/gnome/font_rendering/dpi, but it didn't seem to change anything.
The X server reports a normal (small) resolution.

Or maybe I'm missing the fact that those fonts are already scaled?

How do I change the DPI so that any GTK X client knows what is right for me?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community