Re: [QtMoko] Navit package

2013-02-13 Thread Christian Schwamborn

Am 13.02.2013 10:25, schrieb Benedikt Bär | Relamp.tk:

On 02/13/2013 10:18 AM, robin wrote:

maybe have a look here:

Hi,


http://wiki.navit-project.org/index.php/User:Cs

Nice skin!


and

http://article.gmane.org/gmane.comp.handhelds.openmoko.community
/62878/match=navit


Thanks, I guess I'll use something like this then.



br

robin

Thanks,
Ben




Hi guys,

please don't use the sandbox on my users page at the navit wiki. Use 
instead:


http://wiki.navit-project.org/index.php/OSD_Layouts#neo-cs

this is intended to be the up-to-date info.
I'm currently moving my stuff into my new repository and I tested the 
upload with a more recent build (svn5358) of navit for squeeze amd64 and 
armel and wheezy armhf I made. I updated the links in the navit wiki 
just now and you can find my stuff in my there:


http://ftp.architektur.tu-darmstadt.de/

Cheers, Christian

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


Re: Sandisk 16GB SDHC not mountable

2010-10-04 Thread Christian Rüb
On Sunday, 3. October 2010 14:11:25 Gennady Kupava wrote:
 В Вск, 03/10/2010 в 14:38 +0200, Christian Rüb пишет:
 
[  244.995000] mmcblk0: error -110 sending read/write command, response 
0x0, card status 0x400b00
[  244.995000] end_request: I/O error, dev mmcblk0, sector 170
[  245.01] glamo-mci glamo-mci.0: Error after cmd: 0x8120
   
   You can try to add something like glamo_mci.sd_max_clk=1500 to you
   kernel options. Try different values until your card will start working.
  
  Tried these and also showing results:
  1500 - partition skipped (led + vib)
  500 - red led forever
  16373000 - red led forever
 
 Strange. Are you booting from usd or NAND? if from nand how can it
 hang? 

Trying to boot from SD here.

Experiments with running system have been when booting from NAND though 
(otherwise I could not boot at all).


 Would be interesting to see kernel logs. 

indeed, it would be interesting what is happening here at all, seems Qi tries 
to read partition and kernel, but I get no output :(

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


Re: Sandisk 16GB SDHC not mountable

2010-10-03 Thread Christian Rüb
Thanks for offering help.

2010-10-02 01:28:02 Alfa21:
 2010-10...@20:04 Christian Rüb
 
  I partitioned my 16GB SDHC (class 2) card
 
 have you tried to use it as raw storage? (no filesystem)
 
 cat plaintextfile.txt  /dev/mmcblk0p1
 less -f /dev/mmcblk0p1

I could not read it back, but using /dev/mmcblk0 it showed up somewhere near 
the beginning (it was cat to /dev/mmcblk0p1 though)

 you should be able to read your contents of the original input file.
 if you fail to less it on the FR, try the second command on your PC.

showed up at partition start

 
 try the same directly on /dev/mmcblk0 but this will destroy all your data on 
 uSD (partition table Co.)

I saw the contents only once and about at the same place when catting it to 
/dev/mmcblk0p1 (Freerunner)
Once at the beginning and once about where 1 partitions starts (PC).


 have you tried with a whole different fs, like fat32?

same result :( (Freerunner)
On my PC FAT32 and ext3 work ...

Note that I booted using Qi and system is on NAND (kernel 2.6.29)

Christian

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


Re: Sandisk 16GB SDHC not mountable

2010-10-03 Thread Christian Rüb
 Thanks for offering help.
 
 2010-10-02 01:28:02 Alfa21:
  2010-10...@20:04 Christian Rüb
  
   I partitioned my 16GB SDHC (class 2) card
  
  have you tried to use it as raw storage? (no filesystem)
  
  cat plaintextfile.txt  /dev/mmcblk0p1
  less -f /dev/mmcblk0p1
 
 I could not read it back, but using /dev/mmcblk0 it showed up somewhere near 
 the beginning (it was cat to /dev/mmcblk0p1 though)
 
  you should be able to read your contents of the original input file.
  if you fail to less it on the FR, try the second command on your PC.
 
 showed up at partition start
 
  
  try the same directly on /dev/mmcblk0 but this will destroy all your data 
  on uSD (partition table Co.)
 
 I saw the contents only once and about at the same place when catting it to 
 /dev/mmcblk0p1 (Freerunner)
 Once at the beginning and once about where 1 partitions starts (PC).
 
 
  have you tried with a whole different fs, like fat32?
 
 same result :( (Freerunner)
 On my PC FAT32 and ext3 work ...
 
 Note that I booted using Qi and system is on NAND (kernel 2.6.29)
 
 Christian

I now get all sort of weird behaviour:
I created ext2 on 1st partition on FR, then tried a fsck and got many short 
read errors, after that the partition table was gone.
I repartioned, created ext3 and after that could not even access SD card in any 
way.
dmesg gave a lot of:
[  244.985000] end_request: I/O error, dev mmcblk0, sector 169
[  244.995000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
[  244.995000] mmcblk0: error -110 sending read/write command, response 0x0, 
card status 0x400b00
[  244.995000] end_request: I/O error, dev mmcblk0, sector 170
[  245.01] glamo-mci glamo-mci.0: Error after cmd: 0x8120
[  245.01] mmcblk0: error -110 sending read/write command, response 0x0, 
card status 0x400b00

Now even fdisk does not find the card anymore. As from the wiki I thought the 
card would work :(

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


Re: Sandisk 16GB SDHC not mountable

2010-10-03 Thread Christian Rüb
Hi Gennady,

thanks for your suggestions.

  [  244.995000] mmcblk0: error -110 sending read/write command, response 
  0x0, card status 0x400b00
  [  244.995000] end_request: I/O error, dev mmcblk0, sector 170
  [  245.01] glamo-mci glamo-mci.0: Error after cmd: 0x8120
 
 You can try to add something like glamo_mci.sd_max_clk=1500 to you
 kernel options. Try different values until your card will start working.

Tried these and also showing results:
1500 - partition skipped (led + vib)
500 - red led forever
16373000 - red led forever

Now I got newest Qi from SHR-U and tried these settings which also gave me 
nothing but a red LED :(

I already read in some of the older ML threads, but I am getting really 
frustrated here.

Christian

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


Re: Sandisk 16GB SDHC not mountable

2010-10-03 Thread Christian Rüb
forgot one line im my last mail...


  [  244.995000] mmcblk0: error -110 sending read/write command, response 
  0x0, card status 0x400b00
  [  244.995000] end_request: I/O error, dev mmcblk0, sector 170
  [  245.01] glamo-mci glamo-mci.0: Error after cmd: 0x8120
 
 You can try to add something like glamo_mci.sd_max_clk=1500 to you
 kernel options. Try different values until your card will start working.

Tried these and also showing results:
1500 - partition skipped (led + vib)
500 - red led forever
16373000 - red led forever

Now I got newest Qi from SHR-U and tried these settings which also gave me 
nothing but a red LED :(

glamo_mci.sd_max_clk=500 rootwait loglevel=8

I already read in some of the older ML threads, but I am getting really 
frustrated here.

Christian

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


Re: Sandisk 16GB SDHC not mountable

2010-10-03 Thread Christian Rüb
Alfa21:
 2010-10...@11:16 Christian Rüb
 
   cat plaintextfile.txt  /dev/mmcblk0p1
   less -f /dev/mmcblk0p1
  
  I could not read it back, but using /dev/mmcblk0 it showed up somewhere 
  near the beginning (it was cat to /dev/mmcblk0p1 though)
 
 mmh... maybe less is not installed by default, sorry :P
 ok, near the beginning maybe after the 512 stuff of mbr and the partition 
 table if p1 is at the beginning of your device, it's ok and regular thing.
 (you'd imagine your device as a long tape with one thing after each other)

less is installed ;-) I just could not read back what I wrote in. I.e. i catted 
/etc/hosts but got back only garbage. But as i catted it into the device (not 
the partition) I could read the contents back from somewhere near (but not at!) 
the beginning.
So this differs from my PC results

 
 strange you are not able to read the p1 but only the whole device
 
  
   you should be able to read your contents of the original input file.
   if you fail to less it on the FR, try the second command on your PC.
  
  showed up at partition start
 
 right
 
  I saw the contents only once and about at the same place when catting it to 
  /dev/mmcblk0p1 (Freerunner)
  Once at the beginning and once about where 1 partitions starts (PC).
 
 right, once at the beginning of the whole device and one where was the 
 beginning of the old p1
 (data remains there until overwritten with new data, usually it's never 
 cleared)
 
  same result :( (Freerunner)
  On my PC FAT32 and ext3 work ...
 
 also with fat32 directly on whole device? (no partition table)
 
  Note that I booted using Qi and system is on NAND (kernel 2.6.29)
 
 sorry but I do not know if 2-4-2 or default change anything, I use qi too but 
 the plain one and with 8GB uSD.
 
  Now even fdisk does not find the card anymore. As from the wiki I thought 
  the card would work :(
 
 me too.. I was about to buying a 16GB one! :P
 btw, maybe you should clear your uSD...
 
 dd if=/dev/zero of=/dev/mmcblk0 bs=512 count=2048

cleared

 WARNING: THIS COMMAND IS REALLY DESTRUCTIVE!!!
 (this will totally blank the first 1MB on your device, so mbr, partitions, 
 some data Co.)
 double check the of= value before return!!!
 
 try to build all your tables on a real PC instead of FR

Trying a fs on the whole device did not help either.

It seems like writing onto the card works (partitioning, creating fs) but 
reading does not (fsck, mount).

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


Sandisk 16GB SDHC not mountable

2010-10-02 Thread Christian Rüb
Hi,

I partitioned my 16GB SDHC (class 2) card, so I had a 512MB ext3 primary 
partition as /dev/mmcblk0p1, but Qi would not boot from it.
So I booted my NAND system (older SHR-U, 1.6.29 kernel) which shows me correct 
partition with fdisk -l but would not mount it.

I recreated the filesystem with mkfs.ext3 on freerunner but it still would not 
mount it. fsck could not even check the fs:
e2fsck -f -C0 /dev/mmcblk0p1 
e2fsck 1.41.9 (22-Aug-2009)
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/mmcblk0p1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

Trying the fsck suggestion to use an alternate superblock did not help either.

I then created a partition and filesystem over the whole disk, but same result. 
No chance to even check the filesystem.

I also tried to switch back from Qi with glamo 242 to the old one - still no 
success.

In my 2 card readers the card does work though.

Does anyone of you have any ideas?

Thanks,
 Christian

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


Re: 2+4+2 timing seemed to disrupt access to the sdcard

2010-07-26 Thread Christian Rüb
On Monday, 26. July 2010 11:50:15 Fox Mulder wrote:
 Am 26.07.2010 11:15, schrieb Xavier Cremaschi:
  Le 26/07/2010 10:58, Helge Hafting a écrit :
  First, lots of WSODs. This required lots of suspending (or reboot)
  without seeing the screen. This is not always possible, so
  lots of battery removal.
  
  I think the power button is a standard ATX button, if you keep it
  pressed for few seconds (5 ?) it should power off your Freerunner :)
 
 Sadly this function doesn't work with the 2.6.32 anymore. Or at least
 for me it doesn't work since change from 2.6.29 to 2.6.32.
 
 Ciao,
  Rainer

I think there was a kernel patch, that did a shutdown on 8sec power button 
press, which I desperatley miss on 2.6.32...

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


org.freesmartphone.Events AddRule fromat?

2010-07-23 Thread Christian Rüb
Hi,

can someone please help me how to add a rule to oeventsd on the fly?
Currently I have put them into /etc/freesmartphone/oevents/rules.yaml but would 
like to dynamically add/remove rules, just I could not find the format of how 
they have to look like and [1] has not given me a clue either. A simple example 
would be very helpful.

Thanks.

Christian

[1] 
http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Events.html;hb=HEAD

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


Re: My guess about the WSOD

2010-07-23 Thread Christian Rüb
On Friday, 23. July 2010 10:21:49 Helge Hafting wrote:
 On 21. juli 2010 10:25, Petr Vanek wrote:
  With the 2+4+2 qi, WSOD seems to happen more often. And curiously
  enough, removing power (as in pulling the battery out), doesn't help.
  It is then guaranteed to reboot into WSOD. Strange that the phone is
  capable of keeping this state over poweroff - do qi and uboot write
  state into flash?
 
  The solution is to boot into NOR flash, and then select Poweroff
 from the menu. After that, I get a normal reboot without the WSOD.
  Graphics indeed seems a bit faster with this qi. :-) I hope the WSOD
  problems can be fixed in the kernel and/or the xserver. It happens
  without this qi too - perhaps not as often.
 
  i can confirm exactly the same findings. as JaMa stated, perhaps this
  will help to find the cause of WS altogether...
 
 A WSOD was always a possibility. But in older images, it was rare.
 I saw it occationally with duke nukem - Duke changes resolution and 
 orientation of the screen.
 
 The 2.6.32 kernel brought nice speedups. But WSODs happens now and then.
 
 The qi that changes glamo timing from 4+4+4 to 2+4+2 brings even more 
 speed, and much more WSOD trouble too. At least when combined with 
 2.6.32, I haven't tried it with 2.6.29 or older kernels.
 
 It seems to me that the WSOD happen only when the display is turned on, 
 or the resolution and/or orientation is changed.
 
 So I guess the programming of resolution and/or orientation is 
 timing-sensitive. Existing code worked reasonably well with old kernels 
 and 4+4+4  timing. But speedups break it.
 
 Maybe someone with a compiler could try adding delays between hardware 
 operations in the modesetting code?  (Preferably both the kernel 
 modesetting, and any screen-on operation the bootloader might do. And if 
 there is any modesetting left in Xorg these days.) Extra delays (or 
 longer delays) should compensate for unknown timing sensitivities in the 
 hardware. Maybe evn 1+4+2 timing can be used eventually.
 
 The video mode change is a rare operation - it won't matter much
 if it gets slower. Not if graphics painting operations gets faster. :-)
 
 Helge Hafting

I had tested qi with 2+4+2 and got heaps of WSOD on new SHR-U (2.6.32):
about only every 3rd boot worked (screen was white from beginning otherwise)
about every 2nd display lock caused WSOD

With same qi I did not get any WSOD on my other installations on the same 
Freerunner (Android on SD and SHR-U old (2.6.29) in NAND).

I switched back to regular qi and do not see real WSODs anymore, meaning 
that sometimes when dimming the screen turns white but comes back immediately. 
With 2+4+2 it sometimes came back after suspend (too bad if you have an app 
running requesting CPU and thus not being able to suspend).

Christian

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


Re: Glamo slowness question. Glamo transfer speed improvements (+33%). Video sofdecoding playing profile. Glamo dma transfer.

2010-07-20 Thread Christian Rüb
On Monday, 19. July 2010 21:04:54 Petr Vanek wrote:
 I prepared u-boot to set new timings by default:
 www.bsdmn.com/openmoko/glamo/242/u-boot_glamo242.udfu
 
 
 sounds great! is there a qi version setting up these parameters?
 running system from uSD is much easier with qi...
 
 no qi? too bad :(
 
 Petr

I would also like to test this with qi - any chance to get this?

Christian

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


Re: Two queries about Android installation

2010-04-25 Thread Christian Rüb
Neil Jerram wrote:
 On 24 April 2010 21:59, James Ancona j...@anconafamily.com wrote:
 
  The installer puts all of Android in NAND. After installation the SD card is
  only used for extra storage (web downloads, media, etc.) Any FAT formatted
  SD card will do. You can run with no SD card in there, but as I recall, some
  things don't work.
 
  It should boot other distributions from SD. The modification is because
  Andoid uses a different NAND partition layout. If you want to replace
  Android with a different distribution in NAND, you should reflash Qi.
  Hope that helps!
 
 Yes thanks, it does.  It tells me that I can't switch between Debian
 and Android completely seamlessly - but that I can at least do it by
 swapping SD cards.  Which is probably OK for now.
 
 FWIW, my reason for asking is that I'm now hoping to find something a
 bit more swishy and impressive than just basic phone function.  Debian
 has been fine for me for basic phone function for some time now, and I
 expect to keep that as my mainstay.  But I'd love to be able to
 demonstrate how cool the FR is by saying but look, it can also run
 Android, here
 
 Regards,
  Neil

I had similar reasons to try Android - another being is the browser ;-)
You can use an SD only version, which is documented in this thread [1] and 
mirrored here [2].
I have _normal_ Qi as bootloader and Android + SHR on my SD which looks like 
this:
p[FAT, for Android data] p[ext3, Androit rootfs] p[ext3, SHR rootfs] e[ext3 
data] e[swap]
NAND holds an SHR-U of known state that is functional for basic calling - just 
in case...

What I really miss though are easy updates for Android on SD.

Cheers,
 Christian

[1] http://code.google.com/p/android-on-freerunner/issues/detail?id=7
[2] http://openmoko.senfdax.de/android/

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


Re: Help with buzz fix/SMD soldering in Hamburg, Germany

2010-03-01 Thread Christian Weßel
Hello Jan,

that sound good. Let's go on and see whats happen, I will partizipate.

christian (wesse...@gmx.net)

Am Montag, den 01.03.2010, 18:54 +0100 schrieb Jan Girlich:
 Am Freitag, den 26.02.2010, 20:33 +0100 schrieb Christian Weßel:
  Hi folks,
  
  I am living also near Hamburg and I am also looking for contacts and
  help.
 
 I found someone at the Chaos Computer Club chapter in Hamburg who has
 experience with SMD soldering and is willing to change the resistor for
 me. I also found a dealer in Hamburg selling the resistor I need.
 
 BUT, he never did this form factor 0402 before nor a buzz fix. And I'm
 only getting one of two parts needed.
 
 So if you, Christian, or anyone else in or around Hamburg wants some
 soldering done on his phone this is the time to speak up and I see what
 I can get organized.
 
 Cheers
 Jan
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
-- 

Flurstraße 14
29640 Schneverdingen
Tel.: +49 171 357 59 57
eMail: wesse...@gmx.net
Web: http://wesselch.homelinux.org
Skype: wesselch


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Help with buzz fix/SMD soldering in Hamburg, Germany

2010-02-26 Thread Christian Weßel
Hi folks,

I am living also near Hamburg and I am also looking for contacts and
help.

Is there someone for helping next to Hamburg?

christian

Am Freitag, den 26.02.2010, 18:31 +0100 schrieb Jan Girlich:
 Hi,
 
 since I got my OM debuzzed the mic volume went very soft and I just
 found out that it's due to the 2k2 resistor at pads R4303 being either
 short circuited or the wrong part (just the bridge it was before?).
 
 If you are living in Hamburg, Germany, have the appropriate tools and
 skills and maybe have the right resistor at hand or know someone who
 does, please drop me a message.
 
 I'll compensate the effort accordingly.
 Thanks
 Jan
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
-- 

Flurstraße 14
29640 Schneverdingen
Tel.: +49 171 357 59 57
eMail: wesse...@gmx.net
Web: http://wesselch.homelinux.org
Skype: wesselch


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QGPSLog to be released

2010-01-29 Thread Christian Rüb
On Friday, 29. January 2010 07:16:54 Risto H. Kurppa wrote:
 On Fri, Jan 29, 2010 at 1:27 AM, Christian Rüb christian.r...@gmx.net wrote:
  Hi,
 
  I wrote a GPS logging GUI that uses FSO for GPS and power control. It's 
  simple and never supposed to get a map.
 ...
  [1] 
  http://openmoko.senfdax.de/shr-new-unstable/qgpslog_0.1.99-r0.4_armv4t.ipk
  [2] http://git.senfdax.de/?p=qgpslog;a=summary
  [3] http://openmoko.senfdax.de/screenshots/QGPSLog.png
  [4] http://wiki.openmoko.org/wiki/QGPSLog
 
  I found a little issue with correctly detecting chrging status which is 
  fixed in 0.1.99.1 - anyone else testing?
 
 I tried to have a look at it but I have some issues with SSH on my SHR
 so I'll test it later. However it looks interesting to me.
 
 How hard would it be to implement an 'auto gpx converter' that'd
 convert unconverted tracks to GPX every time one presses stop or
 split? I think I know the reasons for custom file format but it'd be
 very nice to be able to directly upload the files somewhere, not
 having to first need to convert them to GPX.

Doable - but not before my vacation ;-) Only bug fixes for final release 
(tomorrow or so).

 Thanks for the app! Could you upload it to opkg.org?

No. I prefer having it in our repository which makes it easily installable and 
shows it is built for a specific distribution.
When I have released v0.2 I'll send bb recipe to shr-devel, so it might get 
integrated...

Cheers,
 Christian

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


Re: QGPSLog to be released

2010-01-29 Thread Christian Rüb
On Friday, 29. January 2010 10:53:24 Christ van Willegen wrote:
 On 1/29/10, Christian Rüb christian.r...@gmx.net wrote:
  Hi,
 
  I wrote a GPS logging GUI that uses FSO for GPS and power control. It's
  simple and never supposed to get a map.
  My main target was to do  track logging (start,stop,split) and be avoid
  supsend when logging.
 
 That sounds very useful for logging OSM-data!

Part of the idea (thus split function), but I mainly wrote it for tracking 
whilst device is in pocket (for later photo correlation, etc.)

 What would be a killer addition is:
 - Listen for headset button event
 - Record audio whilst button held
 - Save audio next to track file.
 
 That way, you can easily do audio annotation of tracks (street name,
 road type, etc.). Would you consider adding this?
 
 Christ van Willegen

Sounds interesting - cannot guess right now how much work this would be. I'll 
have a look once I am back (March).
Currently I only use Qt and talk to FSO via dbus.
Do you know of some recording API that can easily be integrated - without too 
many dependencies?

Cheers,
 Christian

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


Re: QGPSLog to be released

2010-01-28 Thread Christian Rüb
 Hi,
 
 I wrote a GPS logging GUI that uses FSO for GPS and power control. It's 
 simple and never supposed to get a map.
 My main target was to do  track logging (start,stop,split) and be avoid 
 supsend when logging. You can specify a minimum battery capacity needed to 
 log (otherwise it will stop logging).
 
 You can find an ipk here [1], source here [2] and screenshot here [3]. There 
 is also a wiki page [4].
 
 Please report bugs - otherwise this version will become 0.2 (0.1 was only 
 used by me ;-)).
 
 Cheers,
  Christian
 
 [1] http://openmoko.senfdax.de/shr-new-unstable/qgpslog_0.1.99-r0.4_armv4t.ipk
 [2] http://git.senfdax.de/?p=qgpslog;a=summary
 [3] http://openmoko.senfdax.de/screenshots/QGPSLog.png
 [4] http://wiki.openmoko.org/wiki/QGPSLog

I found a little issue with correctly detecting chrging status which is fixed 
in 0.1.99.1 - anyone else testing?

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


QGPSLog to be released

2010-01-26 Thread Christian Rüb
Hi,

I wrote a GPS logging GUI that uses FSO for GPS and power control. It's simple 
and never supposed to get a map.
My main target was to do  track logging (start,stop,split) and be avoid supsend 
when logging. You can specify a minimum battery capacity needed to log 
(otherwise it will stop logging).

You can find an ipk here [1], source here [2] and screenshot here [3]. There is 
also a wiki page [4].

Please report bugs - otherwise this version will become 0.2 (0.1 was only used 
by me ;-)).

Cheers,
 Christian

[1] http://openmoko.senfdax.de/shr-new-unstable/qgpslog_0.1.99-r0.4_armv4t.ipk
[2] http://git.senfdax.de/?p=qgpslog;a=summary
[3] http://openmoko.senfdax.de/screenshots/QGPSLog.png
[4] http://wiki.openmoko.org/wiki/QGPSLog

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


Which FSO interface is best to get battery state

2010-01-24 Thread Christian Rüb
Hi,

after reading docs here [1] I implemented some function in my program to 
release all resources if battery capacity drops below a user defined value.
The docs say a wall charger reports 100, but looking at dbus it reports the 
current capacity of the battery while charging, see here:

r...@om-gta02 ~ $ mdbus -s org.freesmartphone.odeviced 
/org/freesmartphone/Device/PowerSupply 
org.freesmartphone.Device.PowerSupply.GetCapacity
31
r...@om-gta02 ~ $ mdbus -s org.freesmartphone.odeviced 
/org/freesmartphone/Device/PowerSupply/3 
org.freesmartphone.Device.PowerSupply.GetCapacity
32

supplies 0-2 always report -1

So which way is best to check my battery is discharging and below requested 
level? Do I have to always also ask for GetPowerStatus and make sure it is not 
charging?
Also, is it certain Freerunner battery is always supply nr. 3? Or shall I use 
aggregate one?

[1] 
http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.PowerSupply.html;hb=HEAD#GetCapacity

Cheers,
 Christian

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


Re: Which FSO interface is best to get battery state

2010-01-24 Thread Christian Rüb
Hi Mickey,

thanks for your fast reply.

On Sunday, 24. January 2010 Michael 'Mickey' Lauer wrote:
 Hi Christian,
 
 I'm afraid I didn't update the docs after changing the semantics
 slightly for FSO2. These days, for most applications, I advise to use
 the aggregated power supply instance, which will provide what you need.
 
 The individual supply objects are merely there for monitoring
 applications.

Thought so about docs ;-).

So I need to use both - Get Capacity and GetPowerStatus - to make sure I do not 
release a resource just because capacity is low as the device might be charging?

Cheers,
 Christian

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


Re: QCurrency - simple currency calculator

2010-01-14 Thread Christian Rüb
Am Donnerstag, 14. Januar 2010 schrieb jeremy jozwik:
 On Wed, Jan 13, 2010 at 3:06 PM, Christian Rüb christian.r...@gmx.net wrote:
  Hi,
 
  I made a simple currency calculator as I could not find any.
  Feature:
   * can save excahnge rate :-)
 
 looks good so far. i like the big buttons, nice for punching numbers
 when walking.
 only one thing that is pointing its self out. now that i can save the
 rate i wish i could save multiple rates. 2-4 maybe...  perhaps
 accessible through one button that you hit multiple times to cycle
 through the saved rates.
 
 really nice application though. this will be used!

Thanks. I knew this question would come up ;-)

I have different ideas (store and select different exchange rates, get rates 
over internet, ...).

The reason I wrote it - I am travelling in Febuary. So new features will not 
come until March...

Cheers,
 Christian

PS: does anyone know a good API for C++ to get exchange rates?

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


Re: QCurrency - simple currency calculator

2010-01-14 Thread Christian Rüb
  The reason I wrote it - I am travelling in Febuary. So new features will 
  not come until March...
 
 february you say...  hope your not taking cathay pacific! [traveling
 then too, hence my sudden extreme interest in this application]

No, different airline ;-)

If you need to change the rate, you can edit .config/QCurrency/QCurrency.conf, 
or write a simple script (sed...) to set your value there...
You could even use coordinates to set proper rate for the country you are in ;-)

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


Re: [SHR] Podboy 1.2.0

2010-01-13 Thread Christian Rüb
 Hi,
 
 A new version of Podboy is available.
 
 Changes in 1.2.0:
 * New feature: show details of episodes in page Downloads (like in
 page Episodes).
 
 * New feature: update only the selected podcast in page Downloads.
 
 * New feature: episodes can now be tagged as Ignore in page
 Downloads. All episodes with status ignore will be skip when the
 downloading of all episodes of a podcast will be requested.
 
 * New feature: import of a list of podcasts via an OPML file (new button
 Import in the page Podcasts)
 
 * Fixed occasionnaly incorrect display size of podcasts covers.
 
 Package: http://podboy.googlecode.com/files/podboy_1.2.0-r0_all.ipk
 
 
 
 Podboy is a podcast aggregator/player written in Python/Elementary.
 
 Its interface aims to be easy and finger friendly.
 It uses Feedparser Python module for download/parsing of podcast feeds,
 Gstreamer for playing of episodes and SQLite for storing data.
 
 Features
 * Simple and finger friendly interface
 * Subscription, unsubscription to podcasts
 * Check for new episodes
 * Download of a single episode or all available episodes
 * Delete of a single episode or all episodes
 * Player: play/pause/stop, mute, sliders for playing position of
episodes and volume
 * Volume and playing positions of episodes are saved
 * Auto-suspend is disabled during playing
 * Playing is stopped on incoming GSM call
 * Bluetooth A2DP support
 * Import from OPML file
 
 Suggestions/feedback/bug reports are welcome.
 
 Homepage: http://code.google.com/p/podboy/
 
 Screenshots: http://code.google.com/p/podboy/wiki/Screenshots
 
 Happy listening,
 

Hi,

I just wanted to try it and after importing a podcast I wanted to download 1 
episode but get No folder defined for media - where can I define a folder?

Thanks,
 Christian

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


Re: [SHR] Podboy 1.2.0

2010-01-13 Thread Christian Rüb
  Hi,
 
  I just wanted to try it and after importing a podcast I wanted to download
  1 episode but get No folder defined for media - where can I define a
  folder?
 
  Thanks,
   Christian
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 
 settings ;-)
 d

Ah, scrolling further to the right revealed what I needed :D
Downloading episodes did not work until I manually created a direcotry for the 
feed though...

Christian

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


Calendar app supporting 2 or more ICS files?

2010-01-13 Thread Christian Rüb
Hi,

does anyone know a calendar application - preferably for SHR - that does 
support more than 1 calendar and stores in ICS files?
dates (from pimlico) seems to support only one.

Thanks.

Cheers,
 Christian

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


Interactive password for PISI?

2010-01-13 Thread Christian Rüb
Hi,

what about making passwords also interactive (e.g. if set to @interactive as 
for VCF file selection), so one can enter the password before sync and it does 
not need to be stored in clear text on the phone?

Another question about PISI - if I got it right it only copies contacts during 
sync and does not delete them, right? At least that was my experience using VCF 
- opimd.

It already is a great app - keep on the good work :)

Cheers,
 Christian

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


QCurrency - simple currency calculator

2010-01-13 Thread Christian Rüb
Hi,

I made a simple currency calculator as I could not find any.
Feature:
 * can save excahnge rate :-)

Source:
http://git.senfdax.de/?p=qcurrency;a=summary

Package (SHR):
http://openmoko.senfdax.de/shr-new-unstable/qcurrency_0.1-r1.4_armv4t.ipk

Wiki:
http://wiki.openmoko.org/wiki/QCurrency

Screenshot:
http://openmoko.senfdax.de/screenshots/qcurrency.png

Cheers,
 Christian

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


Re: QT and dbus - no such signal

2010-01-10 Thread Christian Rüb
 [...]
  Thanks for this. Where exactly did you change it? I grepped 'Os' and 'O2' 
  in openembedded/recipes/qt4/* but found neither.
  -O seems no to be set in CFLAGS under qt4/
 
 I do not know if this is the right way, just digged in bitbake sources
 and added to local.conf the line:
 
 FULL_OPTIMIZATION_pn-qt4-x11-free = -fexpensive-optimizations
 -fomit-frame-pointer -frename-registers -O2
 
   Niko

Hi Niko!

Thanks a lot, that did it! I wonder why it is not integrated by default though.

...definition and registration of FSOResourceStatus struct ...

I also try to connect to the ResourceChanged signal from ousaged which has a 
more complex signature and it reports that signal would not exist.
I use the following code to display all signals/methods on ousaged interface:
usageInterface = new QDBusInterface(org.freesmartphone.ousaged, 
/org/freesmartphone/Usage, org.freesmartphone.Usage, 
QDBusConnection::systemBus(), this);
if(usageInterface-isValid()) {
const QMetaObject* metaObject = usageInterface-metaObject();
qDebug()  \norg.freesmartphone.Usage methods:;
for(int i = metaObject-methodOffset(); i  
metaObject-methodCount(); ++i)
qDebug()  
QString::fromLatin1(metaObject-method(i).signature())  [  
(metaObject-method(i).methodType()==1?signal:method)  ];
connect(usageInterface, 
SIGNAL(ResourceChanged(FSOResourceStatus)), this, 
SLOT(handleStatusChange(FSOResourceStatus)));
}

output is:

org.freesmartphone.Usage methods:
GetResourcePolicy(QString) [ method ]
GetResourceState(QString) [ method ]
GetResourceUsers(QString) [ method ]
ListResources() [ method ]
Reboot() [ method ]
RegisterResource(QString,QDBusObjectPath) [ method ]
ReleaseResource(QString) [ method ]
RequestResource(QString) [ method ]
ResourceAvailable(QString,bool) [ signal ]
SetResourcePolicy(QString,QString) [ method ]
Shutdown() [ method ]
Suspend() [ method ]
SystemAction(QString) [ signal ]
UnregisterResource(QString) [ method ]
initResources() [ method ]
Object::connect: No such signal 
org::freesmartphone::Usage::ResourceChanged(FSOResourceStatus)

As you can see, the ResourceChanged signal is not listed (neither on my FR nor 
on my PC), but with qdbusviewer I can connect to it and receive the signal:

Received signal from :1.17, path /org/freesmartphone/Usage, interface 
org.freesmartphone.Usage, member ResourceChanged
  Arguments: GPS, true, [Argument: a{sv} {policy = [Variant(QString): 
auto], refcount = [Variant(int): 1]}]

Any ideas how I can investigate further?

Thanks.

Christian

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


Re: QT and dbus - no such signal

2010-01-10 Thread Christian Rüb
 [...]
  As you can see, the ResourceChanged signal is not listed (neither on my FR 
  nor on my PC), but with qdbusviewer I can connect to it and receive the 
  signal:
 
 It seems the signature is wrong.
 In a my working snippet I used (with QDBusConnection::connect):
 
 dbus-connect(OUSAGED_SERVICE,OUSAGED_PATH,OUSAGED_INTERFACE,ResourceChanged,this,SLOT(resourceChanged(QString,bool,QVariantMap)));
 
 where resourceChanged has the following signature:
 
 void resourceChanged(QString name, bool state, QVariantMap attributes);
 
 Hoping it helps.
 
  Niko

Thanks. Using QDBusConnection did it. Using this signature 
(QString,bool,QVariantMap) with my dbus interface does not work though.

My struct (FSOResourceStatus) was defined as QString,bool,MapQVariant but did 
not work.

Nevertheless, using only a connection and no struct but Qt datatypes directly 
as you stated above does the job. But it still makes me wonder why it does not 
work with a QDBusInterface...

Cheers,
 Christian

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


fake nmea device

2010-01-09 Thread Christian Rüb
Hi

as I am still debugging my Qt dbus problem I installed DSO packages from [1] on 
my local Debian box.
But I do not have a real GPS and no blueetooth. So, is there a way to fake a 
GPS device (something like cat'ing a NMEA log to a FIFO) to trick frameworkd?

Thanks for your help.

Cheers,
 Christian

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


Re: fake nmea device

2010-01-09 Thread Christian Rüb
Am Samstag, 9. Januar 2010 schrieb Thomas Zimmermann:
 Am Samstag 09 Januar 2010 12:44:36 schrieb Christian Rüb:
  Hi
  
  as I am still debugging my Qt dbus problem I installed DSO packages from
   [1] on my local Debian box. But I do not have a real GPS and no
   blueetooth. So, is there a way to fake a GPS device (something like
   cat'ing a NMEA log to a FIFO) to trick frameworkd?
  
  Thanks for your help.
  
  Cheers,
   Christian
 
 What about gpsfake[1].? Should be part of gpsd-clients in debian.
 
 Thomas
 
 
 [1] http://gpsd.berlios.de/gpsfake.html

Thanks, I tried it but it starts a gpsd and I have found no way to tell 
frameworkd from gpsd.

What I need is something that writes to a (pseudo) serial line that I 
frameworkd could read from.

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


Re: QT and dbus - no such signal

2010-01-09 Thread Christian Rüb
Am Freitag, 8. Januar 2010 schrieb Christian Rüb:
 Hi,
 
 I am about to write my own little GPS application in Qt and try to connect to 
 FixStatusChanged signal from Gypsy but have the following problem
 
 Code snippet:
 ...
 deviceInterface = new QDBusInterface(org.freedesktop.Gypsy, 
 /org/freedesktop/Gypsy/default, org.freedesktop.Gypsy.Device, 
 QDBusConnection::systemBus(),this);
 ...
 connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
 SIGNAL(fixChanged(int)));
 
 I want to pass the signal on to use it somewhere else in my application...
 
 now when starting my application I get:
 
 Object::connect: No such signal 
 org::freedesktop::Gypsy::Device::FixStatusChanged(int)
 
 but  mdbus -s org.freedesktop.Gypsy /org/freedesktop/Gypsy
 lists:
 [SIGNAL]org.freedesktop.Gypsy.Device.FixStatusChanged( i:fixstatus )
 
 Do you have any idea what is going wrong?
 
 You can find the full code here:
 
 http://git.senfdax.de/?p=qgpslog;a=blob;f=src/gypsy.cpp;h=27014f72b3705c6439e10d9130c8c03f8cd9bfdf;hb=HEAD
 
 Thanks for any help.
 
 Cheers,
  Christian

Sorry for replying to myself, but after installing fso on my laptop and 
starting my application there the signal connection DOES work. So I guess it's 
related with Qt on my Freerunner...

I tested it with GPS Dummy device and received the FixStatusChanged signal. 
Also dbusviewer showed objects paths and signals/methods there.

I built Qt4 for SHR-unstable with SHR Makefile, Qt 4.5.2.

Does anyone have a Qt version running on SHR where connection signals DOES work?

Thanks,
 Christian

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


Re: QT and dbus - no such signal

2010-01-09 Thread Christian Rüb
 [...]
  I built Qt4 for SHR-unstable with SHR Makefile, Qt 4.5.2.
 
  Does anyone have a Qt version running on SHR where connection signals DOES 
  work?
 
 Just a shot in the dark.
 Building Qt on shr some time ago (but already on the shr/merge branch)
 resulted in unstable behaviour, I had to replace -Os with -O2 as
 suggested from a gentle guy having the same issue on gentoo.
 I reported that on oe.dev, but do not know if it was applyed, and
 above all if it's related to your problem.
 Anyway I'm using a lot dbus with qt and got no problem, cannot help
 much with QDBusInterface, I use QDBusConnection::connect directly.
 Finally you may use QMetaObject to retrieve the full list of signals
 exported by the QDBusInterface, this may help in debugging.
 
 Regards
 
  Niko

Thanks for this. Where exactly did you change it? I grepped 'Os' and 'O2' in 
openembedded/recipes/qt4/* but found neither.
-O seems no to be set in CFLAGS under qt4/

Cheers,
 Christian


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


Re: New significant speedups coming to FreeRunner

2010-01-09 Thread Christian Rüb
Am Samstag, 9. Januar 2010 schrieb Michal Brzozowski:
 2010/1/9 Radek Polak pson...@seznam.cz
 
  Btw if someone wants to try here is new kernel with modules:
 
  http://activationrecord.net/radekp/qtmoko/download/experimental/
 
 
 
 Is this going to work with SHR or only with Qtmoko?
 
I used the kernel from first post by Timo and just booted successfully my SHR 
with it :)
in less time though ...

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


QT and dbus - no such signal

2010-01-08 Thread Christian Rüb
Hi,

I am about to write my own little GPS application in Qt and try to connect to 
FixStatusChanged signal from Gypsy but have the following problem

Code snippet:
...
deviceInterface = new QDBusInterface(org.freedesktop.Gypsy, 
/org/freedesktop/Gypsy/default, org.freedesktop.Gypsy.Device, 
QDBusConnection::systemBus(),this);
...
connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
SIGNAL(fixChanged(int)));

I want to pass the signal on to use it somewhere else in my application...

now when starting my application I get:

Object::connect: No such signal 
org::freedesktop::Gypsy::Device::FixStatusChanged(int)

but  mdbus -s org.freedesktop.Gypsy /org/freedesktop/Gypsy
lists:
[SIGNAL]org.freedesktop.Gypsy.Device.FixStatusChanged( i:fixstatus )

Do you have any idea what is going wrong?

You can find the full code here:

http://git.senfdax.de/?p=qgpslog;a=blob;f=src/gypsy.cpp;h=27014f72b3705c6439e10d9130c8c03f8cd9bfdf;hb=HEAD

Thanks for any help.

Cheers,
 Christian

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


Re: QT and dbus - no such signal

2010-01-08 Thread Christian Rüb
On Friday, 8. January 2010 13:01:40 Christophe M wrote:
  Hi,
 
  I am about to write my own little GPS application in Qt and try to connect
  to FixStatusChanged signal from Gypsy but have the following problem
 
  Code snippet:
  ...
  deviceInterface = new QDBusInterface(org.freedesktop.Gypsy,
  /org/freedesktop/Gypsy/default, org.freedesktop.Gypsy.Device,
  QDBusConnection::systemBus(),this);
  ...
  connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this,
  SIGNAL(fixChanged(int)));
 
  I want to pass the signal on to use it somewhere else in my application...
 
  now when starting my application I get:
 
  Object::connect: No such signal
  org::freedesktop::Gypsy::Device::FixStatusChanged(int)
 
  but  mdbus -s org.freedesktop.Gypsy /org/freedesktop/Gypsy
  lists:
  [SIGNAL]org.freedesktop.Gypsy.Device.FixStatusChanged( i:fixstatus )
 
  Do you have any idea what is going wrong?
 
  You can find the full code here:
 
 
  http://git.senfdax.de/?p=qgpslog;a=blob;f=src/gypsy.cpp;h=27014f72b3705c6439e10d9130c8c03f8cd9bfdf;hb=HEAD
 
  Thanks for any help.
 
  Cheers,
   Christian
 
 
 
 Hi!
 Quick response, I don't have a lot of time, here is an example of connection
 to fso in Qt :
 
 m_db_ressourceManager = new QDBusInterface(org.freesmartphone.ogpsd,
 /org/freedesktop/Gypsy,, QDBusConnection::systemBus());
 
 connect 
 (m_db_ressourceManager,SIGNAL(FixStatusChanged(int)),this,SLOT(fixStatusChanged(int)));
 
 
 Try :
 
 new QDBusInterface(org.
 
  freedesktop.Gypsy, /org/freedesktop/Gypsy/default, ,
  QDBusConnection::systemBus());
 
 
 Then connect to the signal.
 
 Many dbus examples are in the Qalee tree :
 http://think-free83.homelinux.org/project/qalee/trunk/
 And on the wiki there is some informations : http://www.qalee.org

Thanks for this - so you are using a different object path - will try this 
later.

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


Re: QT and dbus - no such signal

2010-01-08 Thread Christian Rüb
Hi,

thanks for your reply, but it is possible to connect a signal to a signal [1] 
and that is exactly what I want.

It is even possible to connect a signal directly to another signal.

[1] http://doc.trolltech.com/4.6/signalsandslots.html

On Friday, 8. January 2010 13:27:32 Mickael Labrousse wrote:
 In Qt you must connect a signal to a slot.
 Looking your code :
 connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
 SIGNAL(fixChanged(int)));
 
 You try to connect a signal to a signal ! It should be :
 connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
 SLOT(fixChanged(int)));
 
 Be careful you fixChanged(int) method is declared as  slot in your header

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


Re: QT and dbus - no such signal

2010-01-08 Thread Christian Rüb
Am Freitag, 8. Januar 2010 schrieb Christophe M:
  Hi,
 
  I am about to write my own little GPS application in Qt and try to connect
  to FixStatusChanged signal from Gypsy but have the following problem
 
  Code snippet:
  ...
  deviceInterface = new QDBusInterface(org.freedesktop.Gypsy,
  /org/freedesktop/Gypsy/default, org.freedesktop.Gypsy.Device,
  QDBusConnection::systemBus(),this);
  ...
  connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this,
  SIGNAL(fixChanged(int)));
 
  I want to pass the signal on to use it somewhere else in my application...
 
  now when starting my application I get:
 
  Object::connect: No such signal
  org::freedesktop::Gypsy::Device::FixStatusChanged(int)
 
  but  mdbus -s org.freedesktop.Gypsy /org/freedesktop/Gypsy
  lists:
  [SIGNAL]org.freedesktop.Gypsy.Device.FixStatusChanged( i:fixstatus )
 
  Do you have any idea what is going wrong?
 
  You can find the full code here:
 
 
  http://git.senfdax.de/?p=qgpslog;a=blob;f=src/gypsy.cpp;h=27014f72b3705c6439e10d9130c8c03f8cd9bfdf;hb=HEAD
 
  Thanks for any help.
 
  Cheers,
   Christian
 
 
 
 Hi!
 Quick response, I don't have a lot of time, here is an example of connection
 to fso in Qt :
 
 m_db_ressourceManager = new QDBusInterface(org.freesmartphone.ogpsd,
 /org/freedesktop/Gypsy,, QDBusConnection::systemBus());
 
 connect 
 (m_db_ressourceManager,SIGNAL(FixStatusChanged(int)),this,SLOT(fixStatusChanged(int)));
 
 
 Try :
 
 new QDBusInterface(org.
 
  freedesktop.Gypsy, /org/freedesktop/Gypsy/default, ,
  QDBusConnection::systemBus());
 
 
 Then connect to the signal.
 
 Many dbus examples are in the Qalee tree :
 http://think-free83.homelinux.org/project/qalee/trunk/
 And on the wiki there is some informations : http://www.qalee.org

I tried:

QDBusInterface *m_db_ressourceManager = new 
QDBusInterface(org.freedesktop.Gypsy, /org/freedesktop/Gypsy,, 
QDBusConnection::systemBus());
QDBusMessage message = m_db_ressourceManager-call(GetPosition);
qDebug()  message  message;
connect 
(m_db_ressourceManager,SIGNAL(FixStatusChanged(int)),this,SLOT(showFix(int)));

but get:
 message QDBusMessage(type=Error, service=, error 
name=org.freedesktop.DBus.Error.AccessDenied, error message=Rejected send 
message, 4 matched rules; type=method_call, sender=:1.42 (uid=0 pid=2202 
comm=./qgpslog) interface=(unset) member=GetPosition error name=(unset) 
requested_reply=0 destination=org.freedesktop.Gypsy (uid=0 pid=1554 
comm=python)), signature=, contents=([]) )
Object::connect: No such signal QDBusInterface::FixStatusChanged(int)

I also tried to to change my interface to use org.freesmartphone.ogpsd as 
service name and tried different settings for object path:

/default
/org/freedesktop/Gypsy
/org/freedesktop/Gypsy/default

None with success.

Note I am using SHR unstable and compiled qt 4.5.2 from OE without 
modifications.

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


Re: QT and dbus - no such signal

2010-01-08 Thread Christian Rüb
Am Freitag, 8. Januar 2010 schrieb Michael Zanetti:
 On Friday 08 January 2010 12:52:14 Christian Rüb wrote:
  Hi,
  
  I am about to write my own little GPS application in Qt and try to connect
   to FixStatusChanged signal from Gypsy but have the following problem
  
  Code snippet:
  ...
  deviceInterface = new QDBusInterface(org.freedesktop.Gypsy,
   /org/freedesktop/Gypsy/default, org.freedesktop.Gypsy.Device,
   QDBusConnection::systemBus(),this); ...
  connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this,
   SIGNAL(fixChanged(int)));
  
 
 
 try this:
 ...
 deviceInterface = new QDBusInterface(org.freedesktop.Gypsy, /default, 
 org.freedesktop.Gypsy.Device, QDBusConnection::systemBus(),this);
 
 Qt doesn't need the full path for the node again. 
 
 
 Here you find some very useful QtDBus examples:
 http://techbase.kde.org/Development/Tutorials#D-Bus
 
 Not sure if you know about qdbusviewer. It comes with your Qt4 installation 
 and helps you a lot debugging and understanding DBus.
 
 Hope this helps.
 Michael

Thanks Michael,

tried your suggestion:
deviceInterface = new QDBusInterface(org.freedesktop.Gypsy, 
/default, org.freedesktop.Gypsy.Device, QDBusConnection::systemBus(),this);
connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
SIGNAL(fixChanged(int)));
qDebug()  testcall  deviceInterface-call(GetFixStatus);

the result was the same :(
Object::connect: No such signal 
org::freedesktop::Gypsy::Device::FixStatusChanged(int)

I already came across the page you mentioned - that's where I got connect to a 
dbus signal from...

Yes, I know qdbusviewer, I tried it on my Freerunner but it does not dispaly 
anything but the service names :(
same for qdbus

Calling a method on the above interface also gives an error:
testcall QDBusMessage(type=Error, service=, error 
name=org.freedesktop.DBus.Error.UnknownMethod, error message=Method 
GetFixStatus with signature  on interface org.freedesktop.Gypsy.Device 
doesn't exist
, signature=, contents=([]) )

trying with
deviceInterface = new QDBusInterface(org.freedesktop.Gypsy, 
/org/freedesktop/Gypsy, org.freedesktop.Gypsy.Device, 
QDBusConnection::systemBus(),this);
connect(deviceInterface, SIGNAL(FixStatusChanged(int)), this, 
SIGNAL(fixChanged(int)));
qDebug()  testcall  deviceInterface-call(GetFixStatus);

I get:
Object::connect: No such signal 
org::freedesktop::Gypsy::Device::FixStatusChanged(int)
testcall QDBusMessage(type=MethodReturn, service=:1.15, signature=i, 
contents=(1) )

So at least the function call works here - but not the signal.

Any ideas?

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Christian Rüb
  I didn't try bluetooth, but WiFi just works here with plain
  wpa_supplicant, with open, WPA and WEP networks.
 
 Is plain wpa_supplicant the default SHR setup?  Last time I checked,
 I thought it wasn't.  I've always wondered why not, as none of the
 other options (Mofi, wicd etc.) have ever worked as well for me as
 plain wpa_supplicant.


+1 for plain wpa_supplicant in SHR
I tried several GUIs but none of them was sufficient - now I use wpa_supplicant 
(in roaming mode with config file, not dbus) and wpa_gui to configure my 
wpa_supplicant.conf.

Plain wpa_supplicant has been working for me for many months now (no 
encryption, WPA(2) PSK, WEP).

Christian

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


Re: [SHR-U] Wifi?

2010-01-04 Thread Christian Rüb
  Plain wpa_supplicant has been working for me for many months now (no
  encryption, WPA(2) PSK, WEP).
 
 Can you post a quick howto here on how you do that?
 
 http://wiki.openmoko.org/wiki/WiFi#Using_wpa_supplicant_manually
 
 P.

I use it in conjunction with a wpa_action script (from Debian), so also IP 
configuration depends on the wireless network and does not have to be dhcp 
always.
Setting a lower metric for your default gateway on USB (e.g. 100) also makes 
your traffic go through wireless and not USB...

Once configured, all you have to do is turn wifi on and off...

I have a README and scripts tared here:
http://openmoko.senfdax.de/shr-new-unstable/wpa-roaming.tar
http://openmoko.senfdax.de/shr-new-unstable/wpa-roaming.README

Christian

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


pimlico dates with multiple calendars

2010-01-02 Thread Christian Rüb
Hi,

is it possible to use more calendars (i.e. ics files) in pimlico dates?

Cheers,
 Christian

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


Re: QNavitCtl - Navit Bookmarks via dbus

2010-01-01 Thread Christian Rüb
Hi Ed,

Happy New Year as well!

I found the path by looking at the newer wiki page example at the bottom [1] 
and the source [2].

Meanwhile I built a newer version of qnavitctl for SHR-U, you can find a 
package here [3] and source here [4].
I also enabled flickcharm kinetic scrolling [5].

I also noticed, that on my Frerunner navit was started automatically if it was 
not running yet, when passing a dbus call via qnavitctl...

Cheers,
 Christian

[1] http://wiki.navit-project.org/index.php/Dbus
[2] 
http://navit.svn.sourceforge.net/viewvc/navit/trunk/navit/navit/binding/dbus/binding_dbus.c?view=markup
[3] http://openmoko.senfdax.de/shr-new-unstable/
[4]http://git.senfdax.de/?p=qnavitctl;a=summary
[5] http://labs.qt.nokia.com/blogs/2009/07/19/kinetic-scrolling-on-any-widgets/

 Hi Christian,
 
 Thanks a million, it works like a charm!
 
 How did you come to use default_navit ?
 I took a look at the source code, but i couldn't find out how to use it.
 
 Happy new-year, my has started perfectly ;-)
 
 Kind regards,
 Ed
 
 
 
 Christian Rüb wrote:
  Hi Ed,
 
  try this:
 
  dbus-send --print-reply --dest=org.navit_project.navit 
  /org/navit_project/navit/default_navit 
  org.navit_project.navit.navit.set_center string:12.1906 48.999
 
  I had a look at [1] and after several tries this worked (on my PC). I will 
  update qnavitcl soon - New Year's Eve is too close right now ;-)
  Not sure if this is the correct way though - no reply on navit user ML 
  yet...
 
  Cheers,
   Christian
 
  [1] 
  http://navit.svn.sourceforge.net/viewvc/navit/trunk/navit/navit/binding/dbus/binding_dbus.c?view=markup
 
  Am Mittwoch, 30. Dezember 2009 schrieb Ed Kapitein:

  Hi Christian,
 
  Thanks a lot for your explanation!
  I think i had the same problem you had, i can't set a destination with
  the current version of navit.
  (Dbus is enabled)
  So, i will ask the people from the navit team on how to use dbus with
  the current version.
 
  Thanks again and happy new year everybody.
  Kind regards,
 
  Ed
 
  Christian Rüb wrote:
  
  Hi Ed,
 
  to build it on your PC, you need to have qmake (from Qt) installed.
  Then simply run
  #qmake
  (the name may differ, liket qmake-qt4 or something)
  This will create your Makefile, then simply run
  #make
  and you are done, you will get one binary called qnavitcl - that's it.
 
  If you want to build for your Openmoko phone, use my bitbake recipe here 
  (simply copy to your OE tree) and it will build the package for you.
 
  If you want a prebuilt binary - get it from here [1] (you'll also get 
  dependencies from there). It is built for SHR-U.
 
  Have you enabled dbus in navit.xml? This is essential.
 
  Use dbus-send to get a navit instance and then you can control it through 
  the path you get back. Have a look at [2] how I did it in Qt:
  registerNavitInstance() and setCenter() will be of most interest for you.
 
  If you use dbus-send, you also need to print the replies - otherwise you 
  cannot use them ;-) - see man page for futher details
 
  BUT - with current version of navit I could not get it to work as the 
  dbus interface seems to have changed - iter does not exist anymore and 
  I have not found a way yet to get an instance and set destination :(
 
  Cheers,
   Christian
 
  [1] http://openmoko.senfdax.de/shr-new-unstable/
  [2] 
  http://git.senfdax.de/?p=qnavitctl;a=blob;f=src/mainwindow.cpp;h=a7b076db790971245b2d4c6769f13ba92b194b3e;hb=a3d4e3ea1506321d09a735e69810e3be01ccc860
 


  Hi Christian,
 
  i am trying to use navit and dbus, but so far i haven't find out how to
  do it.
  I did download your source, but how do i build it?
  ( real noob here...)
  Could you explain how to build it from source?
  I am used to ./configure, make, make install
 
  Can you give an example of dbus-send to set a destination in navit?
  i want, like you, to have a list of waypoints and i want to set waypoint
  2 as destination, as soon as i am near waypoint 1.
 
  Thanks a lot in advance.
 
  Kind regards,
  Ed
 
  Christian Rüb wrote:
  
  
  I wrote a little Qt app to send destination or position to Navit via 
  dbus (needs to be activated in navit.xml first) or center the map.
  package [1]
  source [2]
  screenshot [3]
 
  How to use it:
  create a file with name;lat;lon per line and start the program. If the 
  file is named bookmarks.csv and placed in $HOME or the directory where 
  qnavitctl is started this file is automatically loaded.
 
  Why a program that does what Navit already can do?
   - for me it is a quick fix for #352 in navit
   - for my 1k+ trip I have to prepare intermdeiate stops as otherwise 
  route calculation would take very long (if it would succeed at all), so 
  I can have my navit window and another window to set next destination 
  easily
   - it is an example how to talk to navit via dbus and could be used for 
  other apps (e.g. litephone) to get coordinates (e.g. from opimd) and 
  start navigation in navit

Re: QNavitCtl - Navit Bookmarks via dbus

2009-12-31 Thread Christian Rüb
Hi Ed,

try this:

dbus-send --print-reply --dest=org.navit_project.navit 
/org/navit_project/navit/default_navit org.navit_project.navit.navit.set_center 
string:12.1906 48.999

I had a look at [1] and after several tries this worked (on my PC). I will 
update qnavitcl soon - New Year's Eve is too close right now ;-)
Not sure if this is the correct way though - no reply on navit user ML yet...

Cheers,
 Christian

[1] 
http://navit.svn.sourceforge.net/viewvc/navit/trunk/navit/navit/binding/dbus/binding_dbus.c?view=markup

Am Mittwoch, 30. Dezember 2009 schrieb Ed Kapitein:
 Hi Christian,
 
 Thanks a lot for your explanation!
 I think i had the same problem you had, i can't set a destination with
 the current version of navit.
 (Dbus is enabled)
 So, i will ask the people from the navit team on how to use dbus with
 the current version.
 
 Thanks again and happy new year everybody.
 Kind regards,
 
 Ed
 
 Christian Rüb wrote:
  Hi Ed,
 
  to build it on your PC, you need to have qmake (from Qt) installed.
  Then simply run
  #qmake
  (the name may differ, liket qmake-qt4 or something)
  This will create your Makefile, then simply run
  #make
  and you are done, you will get one binary called qnavitcl - that's it.
 
  If you want to build for your Openmoko phone, use my bitbake recipe here 
  (simply copy to your OE tree) and it will build the package for you.
 
  If you want a prebuilt binary - get it from here [1] (you'll also get 
  dependencies from there). It is built for SHR-U.
 
  Have you enabled dbus in navit.xml? This is essential.
 
  Use dbus-send to get a navit instance and then you can control it through 
  the path you get back. Have a look at [2] how I did it in Qt:
  registerNavitInstance() and setCenter() will be of most interest for you.
 
  If you use dbus-send, you also need to print the replies - otherwise you 
  cannot use them ;-) - see man page for futher details
 
  BUT - with current version of navit I could not get it to work as the dbus 
  interface seems to have changed - iter does not exist anymore and I have 
  not found a way yet to get an instance and set destination :(
 
  Cheers,
   Christian
 
  [1] http://openmoko.senfdax.de/shr-new-unstable/
  [2] 
  http://git.senfdax.de/?p=qnavitctl;a=blob;f=src/mainwindow.cpp;h=a7b076db790971245b2d4c6769f13ba92b194b3e;hb=a3d4e3ea1506321d09a735e69810e3be01ccc860
 

  Hi Christian,
 
  i am trying to use navit and dbus, but so far i haven't find out how to
  do it.
  I did download your source, but how do i build it?
  ( real noob here...)
  Could you explain how to build it from source?
  I am used to ./configure, make, make install
 
  Can you give an example of dbus-send to set a destination in navit?
  i want, like you, to have a list of waypoints and i want to set waypoint
  2 as destination, as soon as i am near waypoint 1.
 
  Thanks a lot in advance.
 
  Kind regards,
  Ed
 
  Christian Rüb wrote:
  
  I wrote a little Qt app to send destination or position to Navit via dbus 
  (needs to be activated in navit.xml first) or center the map.
  package [1]
  source [2]
  screenshot [3]
 
  How to use it:
  create a file with name;lat;lon per line and start the program. If the 
  file is named bookmarks.csv and placed in $HOME or the directory where 
  qnavitctl is started this file is automatically loaded.
 
  Why a program that does what Navit already can do?
   - for me it is a quick fix for #352 in navit
   - for my 1k+ trip I have to prepare intermdeiate stops as otherwise 
  route calculation would take very long (if it would succeed at all), so I 
  can have my navit window and another window to set next destination easily
   - it is an example how to talk to navit via dbus and could be used for 
  other apps (e.g. litephone) to get coordinates (e.g. from opimd) and 
  start navigation in navit through a button (e.g. you receive a text 
  containing coordinates, press take me there and the coordinates are 
  send as destination to navit via dbus)
   - I am still learning Qt :)
 
  That's all
 
  [1] http://openmoko.senfdax.de/shr-unstable/
  [2] http://git.senfdax.de/?p=qnavitctl;a=summary
  [3] http://openmoko.senfdax.de/screenshots/qnavitctl.png
 
  ___
  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: Quick e-mail poll: Still using your Freerunner?

2009-12-30 Thread Christian Rüb
 Do you use FR as your daily/primary phone?

not yet

 Do you use FR as your primary PDA?

yes

 What distribution you run most of the time?

SHR-U

 If you don't use FR as your daily phone/PDA, what phone did you change
 over to, and why?

Have not switched over to FR yet, but still using my 9y old Nokia as PIM is not 
sufficient on FR yet.

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


Re: QNavitCtl - Navit Bookmarks via dbus

2009-12-30 Thread Christian Rüb
Hi Ed,

to build it on your PC, you need to have qmake (from Qt) installed.
Then simply run
#qmake
(the name may differ, liket qmake-qt4 or something)
This will create your Makefile, then simply run
#make
and you are done, you will get one binary called qnavitcl - that's it.

If you want to build for your Openmoko phone, use my bitbake recipe here 
(simply copy to your OE tree) and it will build the package for you.

If you want a prebuilt binary - get it from here [1] (you'll also get 
dependencies from there). It is built for SHR-U.

Have you enabled dbus in navit.xml? This is essential.

Use dbus-send to get a navit instance and then you can control it through the 
path you get back. Have a look at [2] how I did it in Qt:
registerNavitInstance() and setCenter() will be of most interest for you.

If you use dbus-send, you also need to print the replies - otherwise you cannot 
use them ;-) - see man page for futher details

BUT - with current version of navit I could not get it to work as the dbus 
interface seems to have changed - iter does not exist anymore and I have not 
found a way yet to get an instance and set destination :(

Cheers,
 Christian

[1] http://openmoko.senfdax.de/shr-new-unstable/
[2] 
http://git.senfdax.de/?p=qnavitctl;a=blob;f=src/mainwindow.cpp;h=a7b076db790971245b2d4c6769f13ba92b194b3e;hb=a3d4e3ea1506321d09a735e69810e3be01ccc860

 Hi Christian,
 
 i am trying to use navit and dbus, but so far i haven't find out how to
 do it.
 I did download your source, but how do i build it?
 ( real noob here...)
 Could you explain how to build it from source?
 I am used to ./configure, make, make install
 
 Can you give an example of dbus-send to set a destination in navit?
 i want, like you, to have a list of waypoints and i want to set waypoint
 2 as destination, as soon as i am near waypoint 1.
 
 Thanks a lot in advance.
 
 Kind regards,
 Ed
 
 Christian Rüb wrote:
  I wrote a little Qt app to send destination or position to Navit via dbus 
  (needs to be activated in navit.xml first) or center the map.
  package [1]
  source [2]
  screenshot [3]
 
  How to use it:
  create a file with name;lat;lon per line and start the program. If the file 
  is named bookmarks.csv and placed in $HOME or the directory where qnavitctl 
  is started this file is automatically loaded.
 
  Why a program that does what Navit already can do?
   - for me it is a quick fix for #352 in navit
   - for my 1k+ trip I have to prepare intermdeiate stops as otherwise route 
  calculation would take very long (if it would succeed at all), so I can 
  have my navit window and another window to set next destination easily
   - it is an example how to talk to navit via dbus and could be used for 
  other apps (e.g. litephone) to get coordinates (e.g. from opimd) and start 
  navigation in navit through a button (e.g. you receive a text containing 
  coordinates, press take me there and the coordinates are send as 
  destination to navit via dbus)
   - I am still learning Qt :)
 
  That's all
 
  [1] http://openmoko.senfdax.de/shr-unstable/
  [2] http://git.senfdax.de/?p=qnavitctl;a=summary
  [3] http://openmoko.senfdax.de/screenshots/qnavitctl.png
 
  ___
  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: QNavitCtl - Navit Bookmarks via dbus

2009-12-30 Thread Christian Rüb
Hi Ed,

already posted on navit user ML about this - as the wiki still tells the old 
way:
http://wiki.navit-project.org/index.php/Dbus

When I know how to do it, I will update qnavitctl.

Cheers,
 Christian

 Hi Christian,
 
 Thanks a lot for your explanation!
 I think i had the same problem you had, i can't set a destination with
 the current version of navit.
 (Dbus is enabled)
 So, i will ask the people from the navit team on how to use dbus with
 the current version.
 
 Thanks again and happy new year everybody.
 Kind regards,
 
 Ed
 
 Christian Rüb wrote:
  Hi Ed,
 
  to build it on your PC, you need to have qmake (from Qt) installed.
  Then simply run
  #qmake
  (the name may differ, liket qmake-qt4 or something)
  This will create your Makefile, then simply run
  #make
  and you are done, you will get one binary called qnavitcl - that's it.
 
  If you want to build for your Openmoko phone, use my bitbake recipe here 
  (simply copy to your OE tree) and it will build the package for you.
 
  If you want a prebuilt binary - get it from here [1] (you'll also get 
  dependencies from there). It is built for SHR-U.
 
  Have you enabled dbus in navit.xml? This is essential.
 
  Use dbus-send to get a navit instance and then you can control it through 
  the path you get back. Have a look at [2] how I did it in Qt:
  registerNavitInstance() and setCenter() will be of most interest for you.
 
  If you use dbus-send, you also need to print the replies - otherwise you 
  cannot use them ;-) - see man page for futher details
 
  BUT - with current version of navit I could not get it to work as the dbus 
  interface seems to have changed - iter does not exist anymore and I have 
  not found a way yet to get an instance and set destination :(
 
  Cheers,
   Christian
 
  [1] http://openmoko.senfdax.de/shr-new-unstable/
  [2] 
  http://git.senfdax.de/?p=qnavitctl;a=blob;f=src/mainwindow.cpp;h=a7b076db790971245b2d4c6769f13ba92b194b3e;hb=a3d4e3ea1506321d09a735e69810e3be01ccc860
 

  Hi Christian,
 
  i am trying to use navit and dbus, but so far i haven't find out how to
  do it.
  I did download your source, but how do i build it?
  ( real noob here...)
  Could you explain how to build it from source?
  I am used to ./configure, make, make install
 
  Can you give an example of dbus-send to set a destination in navit?
  i want, like you, to have a list of waypoints and i want to set waypoint
  2 as destination, as soon as i am near waypoint 1.
 
  Thanks a lot in advance.
 
  Kind regards,
  Ed
 
  Christian Rüb wrote:
  
  I wrote a little Qt app to send destination or position to Navit via dbus 
  (needs to be activated in navit.xml first) or center the map.
  package [1]
  source [2]
  screenshot [3]
 
  How to use it:
  create a file with name;lat;lon per line and start the program. If the 
  file is named bookmarks.csv and placed in $HOME or the directory where 
  qnavitctl is started this file is automatically loaded.
 
  Why a program that does what Navit already can do?
   - for me it is a quick fix for #352 in navit
   - for my 1k+ trip I have to prepare intermdeiate stops as otherwise 
  route calculation would take very long (if it would succeed at all), so I 
  can have my navit window and another window to set next destination easily
   - it is an example how to talk to navit via dbus and could be used for 
  other apps (e.g. litephone) to get coordinates (e.g. from opimd) and 
  start navigation in navit through a button (e.g. you receive a text 
  containing coordinates, press take me there and the coordinates are 
  send as destination to navit via dbus)
   - I am still learning Qt :)
 
  That's all
 
  [1] http://openmoko.senfdax.de/shr-unstable/
  [2] http://git.senfdax.de/?p=qnavitctl;a=summary
  [3] http://openmoko.senfdax.de/screenshots/qnavitctl.png
 
  ___
  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: QtMoko v16

2009-12-24 Thread Christian Weßel
I want to install QtMoko, but don't know howto reset the boot sequence,
because I have an old version of debian installed (the first debian for
OM). Since this I didn't work anymore with Freerunner due to less time.
But now I want to return to my Freerunner and want to check QtMoko.

As I remember well Debian needed a modificated boot menu. Can I use it
with QtMoko?
Howto reset the boot menu?
Howto manage the boot menu?
Is a HowTo available?

christian

Am Donnerstag, den 24.12.2009, 00:11 -0800 schrieb ghislain:
 
 The problem occurred with the JFFS-version, I did not try it again yet, I
 will try again next weekend.
 
 I've created a installer image based on this new version, it is here for
 download:  http://www.openmobile.nl/pages/downloads.php#qtm16 QtMoko V16 
 
 Regards
 
 
 Radek Polak wrote:
  
  On Tuesday 22 of December 2009 16:38:38 ghislain wrote:
  Radek,
  
  First of all, thanks again.
  Second, on first boot, I cannot pass the select-language screen, it just
  keeps asking for a language followed by the tap-anywhere-screen, again
  and
  again.
  
  Any tips how to reproduce this? I tried both JFFS and SD card image and it 
  worked for me.
  
  Regards
  
  Radek
  
  ___
  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: reliable wifi gui for SHR

2009-12-23 Thread Christian Rüb
On Wednesday, 23. December 2009 15:05:05 Michal Brzozowski wrote:
 Hi,
 
 What's the most reliable wifi utility nowadays on SHR? I tried mokonnect,
 but it can't see any networks, although 'iwlist scan' shows them properly.
 Is there any other tool that will let me:
 -select a hotspot
 -type the password
 -connect
 -disconnect and turn off wifi (in such a way that the battery isn't
 drained).
 
 Thanks!
 Michal
 

Hi,

wpa-gui - http://hostap.epitest.fi/wpa_supplicant/

I use wpa_supplicant roaming mode and deactivated eth0 for conman. WiFi config 
is saved in wpa_supplicant.conf and can be edited via wpa-gui from 
wpa_supplicant project. You can find my bitbake recipe for wpa-gui here [1] and 
a package here [2]. There are also my changed files in wpa-roaming.tar and and 
a README in [2]. I have been using this setup for months now with connections 
to WPA(2) PSK, WEP and unencrypted networks with dhcp and static IP.

You then just need to switch WiFi on and off in SHR settings then udev and 
wpa_supplicant will do the rest :)

Cheers,
 Christian

[1] 
http://git.senfdax.de/?p=oe_recipes;a=tree;f=wpa-supplicant;h=bb7d494f16e6edff316775cef1d3b1a8ad3c6f90;hb=HEAD
[2] http://openmoko.senfdax.de/shr-new-unstable/

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


Re: reliable wifi gui for SHR

2009-12-23 Thread Christian Rüb
On Wednesday, 23. December 2009 16:12:36 Iain B. Findleton wrote:
 My biggest problem with SHR is the settings dialog appears to be largely
 non-functional for most things I try to do. Info on how to control the
 state of the WiFi radio without using the settings application would be
 a big help to me.
 
 I am not much of a python person, but just being able to find the
 scripts for the settings modules would probably help. Any info?
 
 Christian Rüb wrote:
  On Wednesday, 23. December 2009 15:05:05 Michal Brzozowski wrote:

  Hi,
 
  What's the most reliable wifi utility nowadays on SHR? I tried mokonnect,
  but it can't see any networks, although 'iwlist scan' shows them properly.
  Is there any other tool that will let me:
  -select a hotspot
  -type the password
  -connect
  -disconnect and turn off wifi (in such a way that the battery isn't
  drained).
 
  Thanks!
  Michal
 
  
 
  Hi,
 
  wpa-gui - http://hostap.epitest.fi/wpa_supplicant/
 
  I use wpa_supplicant roaming mode and deactivated eth0 for conman. WiFi 
  config is saved in wpa_supplicant.conf and can be edited via wpa-gui from 
  wpa_supplicant project. You can find my bitbake recipe for wpa-gui here [1] 
  and a package here [2]. There are also my changed files in wpa-roaming.tar 
  and and a README in [2]. I have been using this setup for months now with 
  connections to WPA(2) PSK, WEP and unencrypted networks with dhcp and 
  static IP.
 
  You then just need to switch WiFi on and off in SHR settings then udev and 
  wpa_supplicant will do the rest :)
 
  Cheers,
   Christian
 
  [1] 
  http://git.senfdax.de/?p=oe_recipes;a=tree;f=wpa-supplicant;h=bb7d494f16e6edff316775cef1d3b1a8ad3c6f90;hb=HEAD
  [2] http://openmoko.senfdax.de/shr-new-unstable/


simply use mdbus and dbus calls to set the resource policy for wifi [1] or if 
you want it cleaner, you write an app that requests the resource and releases 
it when no longer needed.

should be something like this:
mdbus -s org.freesmarthone.ousaged /org/freesmartphone/Usage 
org.freesmartphone.Usage.SetResourcePolicy WiFi enabled

Cheers,
 Christian

[1] 
http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/index.html;hb=HEAD

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


QSuunto-Lite version 0.1.0 released

2009-12-22 Thread Christian Rüb
Hallo everybody,

there finally is a release of QSuunto-Lite, a divelog viewing program for 
Suunto dive computers.

What has changed?
 * there is now real data in time/depth graph displayed [4a]
 * you can save settings
 * UI changes
 * Suunto Spdyder does work now as well

To download dives from your DC on your Freerunner, you can find instructions 
here: [1]
If you just want to have a look at some sample dive logs get the package 
divetools-ab-samples from here [2]

The installable package + necessary Qt packages built for SHR-unstable are here 
[2]
Source [3] and Screenshots [4]

For distribution maintainers, a bitbake recipe is also available [5]

Further information can be found on the wiki page [1] - I still want to support 
more (Suunto) dive computers, if someone can help me with logs...

Cheers,
 Christian

[1] http://wiki.openmoko.org/wiki/QSuunto-Lite
[2] http://openmoko.senfdax.de/shr-new-unstable/
[3] http://git.senfdax.de/?p=qsuunto-lite;a=summary
[4] http://openmoko.senfdax.de/screenshots/
[4a] http://openmoko.senfdax.de/screenshots/qsuunto-lite3.png
[5] 
http://git.senfdax.de/?p=oe_recipes;a=tree;f=qsuunto-lite;h=b82c1099ac0d2ef93cdf6b7cd016b7abde75b624;hb=HEAD

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


Re: Midori Browser Config

2009-12-09 Thread Christian Rüb
Am Dienstag, 8. Dezember 2009 22:46:23 schrieb Thomas Zimmermann:
 Am Dienstag 08 Dezember 2009 22:03:44 schrieb Thomas Zimmermann:
  Am Dienstag 08 Dezember 2009 21:51:42 schrieb Andrew Stephen:
   I am using Midori 0.2.1-r1.4 on SHR-U.
  
   There are two usability issues which are causing me problems:
  
   1)  Location bar suggestions drop-down
  
   As I type a URL which matches anything in the history a dropdown
   appears and the last character I type gets erpeated no matter what
   other character I actually type.  As I type I need to tap in the
   location bar in between each letter.
  
   2) No way to exit full screen mode
  
   In a previous shr-u release there was an icon shown in fuill-screen
   mode which allowed me to exit full-screen.  This no longer appears and
   I can see no way of returning to windowed mode.
  
   Has anybody else experienced these and found a fix?
  
   Thanks,
  
  I'm just talking to the midori guys how we can solve 2)
  
 Midori guys are looking for a solution for 2), i think we will have it in the 
 next release of midori.
 
 to 1) i think it's a illume keyboard problem. Some problems to comunicate 
 with 
 gtk apps.
 Can someone try with another keyboard?

I get the same with a Qt (4.5) program and auto completion in address bar on 
SHR-U
looks as it does not only affect gtk programs...

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


Re: [ALL] will the owner of the stopwatch application please report to the front desk

2009-11-07 Thread Christian Rüb
Hi,

I know who wrote it and he will propably reply soon - otherwise I will tell him 
on monday personally ;-).
In the meanwhile you can find the source here [1] and bb recipe here [2] if 
that helps.
Btw I have it running on SHR-U currently...

[1] http://git.senfdax.de/?p=stopwatch;a=summary
[2] http://git.senfdax.de/?p=oe_recipes;a=tree;f=stopwatch

 list, ive just seen on opkg.org that someone added a
 stopwatch/countdown application.
 
 http://www.opkg.org/package_300.html
 
 they say they did not write the program, just added it. only they are 
 nameless.
 i am looking for the actual writer of the application. anyone know?
 
 mike, are you the creator?
 http://www.mikecrash.com/index.php?name=Newsfile=articleid=103
 
 ___
 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: QSuunto-Lite new version - divers and non-divers wanted

2009-11-01 Thread Christian Rüb
  On the other hand you can experiment with libdc [3] yourself writing a
  testapp to try the basics - there are already some basic examples in the
  sources.
  
 I compiled libdc and ran the d9 test dump app which resulted in success for
 memory dump as well as sdm dump (I assume the database format?).  This gives
 me hope that we can retrieve the profile!

I built an ipk here [1] and the good news is - the test app runs on the 
Freerunner :)
The bitbake recipe is here [2]
The very good news is - ouput is almost the same as from vyperlink, which means 
I dumped it into a file and opened it in QSuunto-Lite and it could read all 
dive data!

So if you can produce the same for your D9 it shall be easy to integrate this 
into QSuunto-Lite, I just have to modify the testapps from the lib to only 
output the relevant data and add a parser for D9 in QSuunto-Lite + config 
possibility for different DCs.

For now I have added saving and restoring settings to QSuunto-Lite but there is 
no new package yet as there still might come some more little changes.

Can you send me (not to list) a dump from your D9 done with libdivecomputer's 
D9 test app? The relevant part are the the dive dumps (anything between 
device_foreach and before device_dump).

Cheers,
 Christian

[1] 
http://openmoko.senfdax.de/shr-unstable/libdivecomputer_0.1+svnr300-r1_armv4t.ipk
[2] 
http://git.senfdax.de/?p=oe_recipes;a=blob;f=libdivecomputer/libdivecomputer_svn.bb;h=024d59f3975706d4bb72c3240963b1396e29d42d;hb=HEAD

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


Re: Navit - german localization causes rounding of GPS-position

2009-10-31 Thread Christian Rüb
Hi,

I had the same problem. Also bookmarks will be saved using comma instead of dot 
a separator (locale settings).
As a workaround I unset LC_ALL before starting navit (i.e. Exec=unset LC_ALL; 
navit in /usr/share/applications/navit.desktop).
That way your LANG variable keeps set to de_DE.UTF-8, but locale settings are 
not in German...

I posted this in navit ML back in July - but no response if this is intended or 
a bug :(

Cheers,
 Christian

Am Samstag, 31. Oktober 2009 schrieb Mirothanus:
 
 Hi everybody,
 
 I have successfully localized my Navit to speak German I thought.
 
 Using SHR on my FR, I have installed every necessary localization packages
 (i.e. navit-locale-de and locale-base-de-de) and all speed-dispatcher
 packages. To start Navit I use the navit.sh - script from the wiki.
 
 If I use Navit in English (i.e. the main language of SHR is set to EN) or
 don't use the script, everything works smoothly, the GUI is in English, my
 GPS-position is found and the speech-dispatcher leads me in English to my
 destination.
 
 But if I set the SHR-Language to DE-de and use the script to start the
 localized Navit, something goes terribly wrong. The GUI is in German,
 alright. Spd-say seems to speak German, alright. But one thing is wrong: my
 GPS-Position!
 
 At the moment I'm at 50°5924 N 09°0104 E. But Navit thinks I am at
 50°5959 N 8°5959 E. That's far-off my position! TangoGPS and other
 GPS-apps report my correct position. If I change the street, for example,
 nothing changes in Navit.
 
 I guess that in the course of localization, the floating-point-number of my
 position is mangled and thus reported incorrectly to Navit.
 
 How can I solve this problem?
 
 Yours sincerely,
 Christoph
 


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


Re: evopedia 0.2.3 release

2009-10-19 Thread Christian
Yorick Moko schrieb:
 Hi,
 
 I really like evopedia, but encountered a small problem with the latest
 update: there links that are on the top of the page don't get displayed
 (just a very small, hard to hit, square)
 as you can see on this scap:
 
 http://scap.linuxtogo.org/files/89e465bb9b6b7942ef987196600309be.png

Sorry, somehow I forgot to add some images to the package. Please try
again with
http://www.reitwiessner.de/openmoko/evopedia_0.2.3-r1_any.ipk

Kind regards,
Christian

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


Re: QSuunto-Lite new version - divers and non-divers wanted

2009-10-19 Thread Christian Rüb
undrwater wrote:
 
 Christian Rüb wrote:
  
  ...these are different protocols, see here [1]. 
  
 
 I've seen those before...but they mention that d9 fails?

I do not have a D9 to test ;-)

  But you might want to look at divetools-ab (vyperlink.c) [2] sources and
  just rewrite the parts, so it suits the D9 protocol. 
  
 I tried to figure this out, but I'm such a beginner it will take me a while
 to figure out where everything is happening  in vyperlink.c and the sources
 for the below.  I'll continue to look at it, but I hope you can get to it
 soon!  

Well, I hope soo, too. 

  On the other hand you can experiment with libdc [3] yourself writing a
  testapp to try the basics - there are already some basic examples in the
  sources.
  
 I compiled libdc and ran the d9 test dump app which resulted in success for
 memory dump as well as sdm dump (I assume the database format?).  This gives
 me hope that we can retrieve the profile!

indeed - I haven't checked with my Stinger yet though

 
 BTW, I've also let the folks at jdivelog know about divesoftware.org and the
 libs.

They already support some DCs, I am curious about the reply. Jdivelog does UDCF 
import - which makes it more interesting to implement an export in QSuunto-Lite

Cheers,
 Christian

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


Re: evopedia 0.2.3 release

2009-10-16 Thread Christian
Klaus Fürth schrieb:
 Hi!
 
 Christian schrieb am 08.10.2009 23:51:
 evopedia version 0.2.3 is ready, the main new features include:
 
 
 Great app, thank you very much! I love it!
 
 Do you plan to cache the downloaded images for offline use (with 
 user-defineable size)? This would be a great feature. A pre-cache-fill 
 (for example with images of most popular sites) would be great.

At the moment, this is not planned. Actually evopedia has nothing to do
wth downloading the images, this is done by the browser (of course, it
could be changed). Perhaps you can try to configure the browser to cache
the images. I don't think that downloading some images in advance is a
good idea. That's at least not how I use evopedia, I don't read popular
pages, but of course, if the community convinces me, I will implement it.

Kind regards,
Christian

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


Re: evopedia 0.2.3 release

2009-10-14 Thread Christian Reitwießner
Yaroslav Halchenko schrieb:
 On Tue, 13 Oct 2009, Christian wrote:
 I don't really understand. There should be no images in the dumps at
 all, only html files and coordinate information as symlinks. The images
 are only loaded from the wikipedia servers if there is a connection to
 the internet.
 ah... sorry I've probably got confused with
   wget -nv 
 http://download.wikimedia.org/$LANGwiki/$DATE/$LANGwiki-$DATE-image.sql.gz;
  -O $DESTDIR/wiki-latest-image.sql.gz
 and
  echo Importing images...
 in
 http://github.com/crei/evopedia/blob/576d085e62297d1566c3d82d722acb4220b3da2f/createdump.sh
 
 ;-)
 

Ah you are right. These are only the database entries for the images
(and not the image data itself), they are used to create the correct
urls for the images.

Christian

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


Re: #1024-Fix in switzerland

2009-10-14 Thread Christian Corrodi

On 12.10.2009 22:13, DRSp. wrote:

I'm about organizing a #1024-fix-party just without the party-part 'cos
there's a IT-firm involved.

to get a rough idea about how many FR's are to be fixed, drop a message
in this list.


I'm interested too.

Regards Christian





smime.p7s
Description: S/MIME Cryptographic Signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: evopedia 0.2.3 release

2009-10-13 Thread Christian
Yaroslav Halchenko schrieb:
 GREAT JOB!
 
 I would advice to tag and git push --tags, that would make github
 automagically generate tarballs for the releases available in 
 
 http://github.com/crei/evopedia/downloads

Thanks for the hint.

 Would it be possible also to sanitize dumps to exclude images and
 provide those from your webpage (as well as full dumps)? that
 might make english version fit within available free space on my SD ;)

I don't really understand. There should be no images in the dumps at
all, only html files and coordinate information as symlinks. The images
are only loaded from the wikipedia servers if there is a connection to
the internet.

Thanks for your interest in the project. I wonder if I can learn
something from WikiReader...

Christian

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


Re: evopedia 0.2.3 release

2009-10-13 Thread Christian
Lars Hennig schrieb:
 Am Donnerstag 08 Oktober 2009 schrieb Christian:
 evopedia version 0.2.3 is ready, the main new features include:
 - tangogps tile repository can be selected for article map
 - article map has been improved
 - your own position should be displayed on the map and you can zoom to it
 - the text links have been replaced by icons
 - article search is faster (1-3 seconds) for newly built images (at the
 moment only German Wikipedia and French in the next days), old images
 stay compatible
 Are there plans to implement something like a full text index like in 
 OpenZim? 
 It makes it much much easier to find a topic of which the exact title is 
 unknown.

You are right, this should be the next step. I'll think about it.

Christian

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


Re: Waterproof bag

2009-10-12 Thread Christian Rüb
Thank you both for your replies. Will go for medium and yes, I will find 
something for the extra space ;-)

mobi phil wrote:
 go for medium, you might want to put some dolarrs and other papers
 into it, when you go under water... :)
 
 On Sat, Oct 10, 2009 at 4:19 PM, Michael Sheldon m...@mikeasoft.com wrote:
  Hi Christian,
 
  Christian Rüb wrote:
  has anyone tried one of the waterproof (5m) bags from Aquapac?
  Is the mini [1] sufficient or is it too tight and it would be better to 
  use medium [2]?
 
   Yes, I have one, the mini is too small (it almost fits, but not quite),
   luckily Aquapac let me exchange it for a medium which fits without any
  problems (although there's a fair amount of excess space).
 
  Cheers,
   Mike.
 
  ___
  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: evopedia 0.2.3 release

2009-10-10 Thread Christian
Robin Paulson schrieb:
 2009/10/9 Christian christ...@exinto.de:
 The following dump languages are available at the moment:
 Dutch, French, German, Italian, Polish and Spanish.
 
 could you supply the code used to create the dumps? i realise your
 reticence to create the english dump (i assume size?) - i would be
 interested in creating my own though

I have put the source for the modified mediawiki and the dump scripts as
branches in http://github.com/crei/evopedia/. Please do not hesitate to
ask me if you do not get it runnung. I have not yet created an english
dump mainly because it would take so long, although I am sure that the
dump process can be improved.

Kind regards,
Christian

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


Waterproof bag

2009-10-10 Thread Christian Rüb
Hi,

has anyone tried one of the waterproof (5m) bags from Aquapac?
Is the mini [1] sufficient or is it too tight and it would be better to use 
medium [2]?

Thanks for your replies.

Cheers,
 Christian

[1] 
http://www.aquapac.net/ukstore/mini-waterproof-phone-case-br-code-104-1119-0.html
[2] 
http://www.aquapac.net/ukstore/medium-waterproof-phone-case-br-code-124-1120-0.html

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


Re: evopedia 0.2.3 release

2009-10-09 Thread Christian
Sebastian Reichel schrieb:
 On Thu, Oct 08, 2009 at 11:51:47PM +0200, Christian wrote:
 Hi,
 
 I'm interested in packaging your software for Debian. Can you please
 provide a source tarball? On the website you state, that the
 software is released under GPLv3+, but I can't find any sourcecode :(
 
 -- Sebastian Reichel

Thank you, that's nice to hear! I just created a small git repository at
http://github.com/crei/evopedia. Since evopedia only contains
interpreted code, I thought releasing an extra source package would not
be necessary, but you are right, .ipk packages are not so easy to
extract. Note that the .ipk package also contains init scripts and
configuration files which are not included in the git repository up to now.

Christian

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


evopedia 0.2.3 release

2009-10-08 Thread Christian
Hi!

evopedia version 0.2.3 is ready, the main new features include:
- tangogps tile repository can be selected for article map
- article map has been improved
- your own position should be displayed on the map and you can zoom to it
- the text links have been replaced by icons
- article search is faster (1-3 seconds) for newly built images (at the
moment only German Wikipedia and French in the next days), old images
stay compatible

I hope you enjoy it. Unfortunately, due to some problems with my device
I was not able to test it to the full extent. Please report any bugs you
encounter.

Direct link to the .ipk:
http://www.reitwiessner.de/openmoko/evopedia_0.2.3_any.ipk


Evopedia is an offline Wikipedia reader that can be viewed using any
browser you like (midori is the default). You need to download a
Wikipedia dump (apart from the software also available there) from

http://www.reitwiessner.de/openmoko/evopedia.html

The following dump languages are available at the moment:
Dutch, French, German, Italian, Polish and Spanish.

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


Re: Increasing GPS accuracy with EGNOS

2009-10-05 Thread Christian
Al Johnson schrieb:
 On Sunday 04 October 2009, Erik Lundin wrote:
 Good news, indeed. Does the Neo FreeRunner support EGNOS signals? Both
 the hardware and software?
 
 http://www.u-blox.com/en/download-center.html?task=view.downloadcid=83
 
 According to this the Antaris 4 is capable of using WAAS, EGNOS and MSAS, 
 collectively known as SBAS, and the signal is received through the GPS 
 antenna. By default it is enabled, with one search channel, although this can 
 be configured through the ubx protocol. The status can also be shown in ubx 
 messages. This is probably worth checking to see what is actually happening 
 when in Europe, as when it was written EGNOS was in test mode, and its use 
 was 
 disabled by default. It is unclear whether this was because of a 'test mode' 
 flag in the signal or hardcoding in the firmware.

I found this in the source of ogpsd on my Freerunner:

def initializeDevice( self ):

# Use high sensitivity mode

#self.send(CFG-RXM, 2, {gps_mode : 2, lp_mode : 0})

# Enable use of SBAS (even in testmode)

self.send(CFG-SBAS, 8, {mode : 1, usage : 7, maxsbas : 3,
scanmode : 0})

So it seems that SBAS has always been enabled even in test mode. Does
anybody know where we can get information if sbas is really active and
used by the chip?

Christian

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


[SHR-U] No suspend when no phone app is running

2009-09-30 Thread Christian Rüb
Hi,

when there is no program running requesting GSM resource my phone does not 
suspend.
This is what I get with mdbus -s -l

...
 [SIGNAL]org.freesmartphone.Device.IdleNotifier.Statefrom :1.9 
/org/freesmartphone/Device/IdleNotifier/0
('suspend',)
...

But the phone does not suspend.
Is it not possible to suspend whilst GSM is off?

Maybe this is not SHR related but FSO in general?

Thanks for helping me here.

Cheers,
 Christian


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


Re: [SHR-U] No suspend when no phone app is running

2009-09-30 Thread Christian Rüb
Am Mittwoch, 30. September 2009 17:13:24 schrieb Sebastian Krzyszkowiak:
 On 9/30/09, Christian Rüb christian.r...@gmx.net wrote:
  Hi,
 
  when there is no program running requesting GSM resource my phone does not
  suspend.
  This is what I get with mdbus -s -l
 
  ...
   [SIGNAL]org.freesmartphone.Device.IdleNotifier.Statefrom :1.9
  /org/freesmartphone/Device/IdleNotifier/0
  ('suspend',)
  ...
 
  But the phone does not suspend.
  Is it not possible to suspend whilst GSM is off?
 
  Maybe this is not SHR related but FSO in general?
 
  Thanks for helping me here.
 
  Cheers,
   Christian
 
 That's ophonekitd which suspends phone on 'suspend' idle state on SHR
 with default configuration. Add rule to rules.yaml if you want to have
 it independent.
 

Thanks for your reply.
May I ask why you do it this way? Why not leave power management in framework? 
If an application does not want the phone to be suspended it should request 
resource CPU AFAIK... Thus if you want it not to suspend ophonekitd could 
request CPU instead of listening to idlenotifier and suspending the phone itself

Christian

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


Re: QSuunto-Lite new version - divers and non-divers wanted

2009-09-22 Thread Christian Rüb
undrwater wrote:

 I'm looking at replacing my Mosquito (mentioned in the other post) with a D9
 (a dive buddy has offered it up at a great price).  Does your new version
 now support the D9?

Lucky you :) No, it does not support D9, these are different protocols, see 
here [1]. But you might want to look at divetools-ab (vyperlink.c) [2] sources 
and just rewrite the parts, so it suits the D9 protocol. Or you can wait until 
I can get back to developing and make some tries with libdc.

On the other hand you can experiment with libdc [3] yourself writing a testapp 
to try the basics - there are already some basic examples in the sources.

Cheers,
 Christian

[1] http://www.sarnau.info/papers:suunto_protocol
[2] http://www.acs.uni-duesseldorf.de/~becka/download/dive/
[3] http://www.divesoftware.org/libdc/

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


Re: Scuba divers wanted (Re: QSuunto-Lite)

2009-09-18 Thread Christian Rüb
undrwater wrote:
 
 Christian Rüb wrote:
  
  Please see wiki page: http://wiki.openmoko.org/wiki/QSuunto-Lite and edit
  if you are also interested in a dive logging application.
  
  
 
 The day my host cable adaptor arrived also heralded the day I discovered my
 mosquito won't go into TR-PC mode. :(  I'm on the search for another Suunto.
 
 While hunting, I found the following site:  http://www.divesoftware.org/
 http://www.divesoftware.org/ 
 
 It includes libs for accessing the protocols of several other dive
 computers, as well as a dive log app written in QT that downloads profiles
 from the D series of Suunto dive compys.  They're looking at integration
 with iPhone (:P), so maybe you can let them know about the moko and your app
 for it.
 
 Russell Dwiggins

Thanks for this - especially the lib sounds interesting. Though it might take a 
little while till I can back to developing. After my holidays there is a lot of 
work to be done...

Anyway - it would be nice to hear how your Suunto story turns out at the end :) 
Have you contacted a nearby Suunto dealer about your TR-PC prob?

Cheers,
 Christian

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


How to permanently set ServiceCenterNumber in SIM

2009-09-18 Thread Christian Rüb
Hi,

I need to change the ServiceCenterNumber in order to be able to receive status 
reports. However if I change it via

mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device 
org.freesmartphone.GSM.SIM.SetServiceCenterNumber '
+49177062'

This only lasts until next start/stop of the phone app.

E.g. I start litephone, change ServiceCenterNumber, the new number is stored 
(checked with GetServiceCenterNumber), I then close litephone, start litephone 
again and check again - now the old one is back :(

Can anyone help please?

Cheers,
 Christian

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


Re: Evopedia 0.2.2

2009-09-10 Thread Christian
Marc Bantle schrieb:
 Hi,
 
 after I got myself a bigger SD-card, I
 was able to give evopedia a try and I'm
 quite impressed.
 
 
 Christian Reitwießner schrieb:
 Evopedia version 0.2.2 has been released. The major new feature is an
 interactive map of articles. 
 
 Quite an interesting view of wikipedia
 on a map. I was a bit surprised to find
 Brasilien (Brasil) right next to river
 Neckar ... with evopedia the explanation
 was only one click away: [1] :-)
 
 Images for this map are automatically taken
 from downloaded map tiles of tangoGPS or from 
 Openstreetmap.org if these
 cannot be found (and you are online). 
 
 Nice idea, to reuse the tiles from tangogps.
 I have collected quite a few of them by now
 in different tango gps map repo (mapnik, cycle).
 Unfortunately evopedia doesn't honor, when
 I switched to another, even after a reboot.

That's a good idea, I'll add a dropdown menu where you can select the
tile repo used.

 I couldn't find a way to make the map move
 to my current gps position even though I saw
 some code to read it via pygps (which is
 installed). Is there a link somewhere to
 center map around current position as in
 tangogps or should the map automatically
 follow?

I have not implemented that feature for the map yet, also because there
is an open bug concerning fso-gpsd and pygps. It will be in the next
release. The code you mention was used in the previous version and will
be used again in the next version.

Thank you for your feedback!

Kind regards,
Christian

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


Re: Evopedia 0.2.2

2009-09-10 Thread Christian
Robin Paulson schrieb:
 2009/8/31 Christian Reitwießner christ...@reitwiessner.de:
 Evopedia version 0.2.2 has been released. The major new feature is an
 interactive map of articles. Images for this map are automatically taken
 from downloaded map tiles of tangoGPS or from Openstreetmap.org if these
 cannot be found (and you are online). If you do not have any images and
 no internet connection, at least the articles are displayed at the right
 location (if the zoom level is high enough).

 Evopedia is an offline Wikipedia reader that can be viewed using any
 browser you like (midori is the default). You need to download a
 Wikipedia dump (apart from the software also available there) from

 http://www.reitwiessner.de/openmoko/evopedia.html

 The following dump languages are available at the moment:
 Dutch, French, German, Italian and Spanish. Polish is currently in the
 queue.

By the way, the dump of the Polish Wikipedia is ready now.

 i see there's no english version available yet. understandable with
 the size. can you tell me what has to be done to create the file? do
 you have a script?

If you want, you can try to create the dump. The software I use can be
downloaded at
http://vitels.cs.uni-tuebingen.de/dump_software_source/

There is a modified mediawiki installation, just extract it somewhere,
you only need php, no running webserver (but it could make sense for
testing the mediawiki installation).
Furthermore, there is another archive containing the dump script and
some other utilities. You have to set some variables in the dump script
and of course create the mysql tables for mediawiki.

Perhaps the dump procedure can be optimized but currently it should take
quite a long time to dump the English Wikipedia. I think dumping the
German Wikipedia took a week.

Please contact me if you have any further questions. Though I think we
should not do this via the list then.

Kind regards,
Christian

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


Vibetime

2009-09-04 Thread Christian
Vibetime is a shell script that tells the current time using the
vibrator. The idea is that you can activate the script while the
Freerunner is in your pocket (via some hardware button) and you know the
time without looking at the screen or taking it out of your pocket.

The vibe scheme is as follows:

First there are between 1 and 12 vibes depending on the current hour,
then there is a short pause and after that between 1 and 4 vibes
depending on the quarter of the hour (4 meaning between 0 and 15 minutes).

Please extend this script if you like it!

An idea someone could perhaps implement: The application could be
activated by tapping the freerunner twice (registered via the
accelerometers). This could perhaps be possible using
wake-on-accelerometers...

By the way: I thought about this application already some years ago when
I got my first symbian phone. Of course, such an application was not
possible at that time. Now it is just a small shell script you can write
in some minutes!


vibetime.sh
Description: Bourne shell script
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Evopedia 0.2.2

2009-08-30 Thread Christian Reitwießner
Evopedia version 0.2.2 has been released. The major new feature is an
interactive map of articles. Images for this map are automatically taken
from downloaded map tiles of tangoGPS or from Openstreetmap.org if these
cannot be found (and you are online). If you do not have any images and
no internet connection, at least the articles are displayed at the right
location (if the zoom level is high enough).

Evopedia is an offline Wikipedia reader that can be viewed using any
browser you like (midori is the default). You need to download a
Wikipedia dump (apart from the software also available there) from

http://www.reitwiessner.de/openmoko/evopedia.html

The following dump languages are available at the moment:
Dutch, French, German, Italian and Spanish. Polish is currently in the
queue.

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


Re: QNavitCtl - Navit Bookmarks via dbus

2009-08-29 Thread Christian Rüb
arne anka:
 i just tried qnavitctl right now and had two problems:
 - where is the bookmarks.csv supposed to come from? navit creates  
 bookmark.txt
 - tab buttons, button register leads only to could not get Navit  
 instance and
 
 QDBusObjectPath: invalid path 
 reply: 
 coud not get iter

Thanks for your feedback, please have a look at my frist mail:
you have to create a bookmarks.csv yourself

format is NOT the same as navit bookmarks.txt, but
name; lat; lon

The reason is I only support decimal coordinates in QNavitCtl and not all types 
of card mappings as Navit does.

The second error sounds like dbus is not activated for navit, you have to 
explicitely do this in navit.xml:

...
plugin path=$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so.0 
active=yes/
...

by default it says no here

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


Re: QNavitCtl - Navit Bookmarks via dbus

2009-08-29 Thread Christian Rüb
Christian Rüb:
 arne anka:
  i just tried qnavitctl right now and had two problems:
  - where is the bookmarks.csv supposed to come from? navit creates  
  bookmark.txt
  - tab buttons, button register leads only to could not get Navit  
  instance and
  
  QDBusObjectPath: invalid path 
  reply: 
  coud not get iter
 
 Thanks for your feedback, please have a look at my frist mail:
 you have to create a bookmarks.csv yourself
 
 format is NOT the same as navit bookmarks.txt, but
 name; lat; lon
 
 The reason is I only support decimal coordinates in QNavitCtl and not all 
 types of card mappings as Navit does.
 
 The second error sounds like dbus is not activated for navit, you have to 
 explicitely do this in navit.xml:
 
 ...
 plugin path=$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so.0 
 active=yes/
 ...
 
 by default it says no here

Wiki page added:
http://wiki.openmoko.org/wiki/QNavitCtl

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


Re: Different Navit builds

2009-08-27 Thread Christian Rüb
On Donnerstag, 27. August 2009 11:50:52 KaZeR wrote:
 
 Pike-2 wrote:
  
  Hi
  
  hand crafted OSD layout also very useful on my FR.
  care to share? screenshot? 
  Feel free to post the screenshot and OSD in the wiki, too.
  
  Oh - ah - ok
  http://wiki.openmoko.org/wiki/User:Pike/Navit
  
  I actually tried to upload this to the Navit
  wiki, but they don't seem to be eager for such
  contributions ..
  
  $2c,
  *-pike
  
  
 
 Fixed : http://wiki.navit-project.org/index.php/Special:Upload
 Thanks for reporting!
 

I get this:

Internal error

The upload directory (public) is not writable by the webserver. 

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


Re: Different Navit builds

2009-08-27 Thread Christian Rüb
KaZeR wrote:
 
 Christian Rüb wrote:
  
  arne anka wrote:
   hand crafted OSD layout also very useful on my FR.
  
  care to share? screenshot?
  
  I am not sure if all OSD Layouts should be placed on OSD wiki page [1], so
  i put it on my user page [2].
  Scrrenshots here: [3] - I was missing the upload file link in navit wiki
  and have them up there anyway...
  
 Actually i think they should rather go into the same page, otherwise they
 can be hard to find.
 IMO (but it's only IMO) user pages are better used for personnal notes until
 you document something in a 'public' page. Don't be shy, edit the wiki ;)

Will do.

 Also, the icon pack isn't needed anymore : instead you should rather use
 icon_s=96 and icon_l=96 (it was posted somewhere, and the default navit.xml
 has the right values).

My layout (direction, announcer) depends on 70px graphics, but I try to change 
it for 96px - but this uses even more space.
Any opinions from someone else if it would be better to use 70 or 96 for OSD? 
For the menu 96 is OK.

 Christian Rüb wrote:
  
  Now, does someone know if toggle_announcer is used correctly and if it
  actually is supposed to do something?
  
 It is supposed to work, afaik. Otherwise feel free to open a bug.

done: #453 on Navit trac

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


Re: Different Navit builds

2009-08-27 Thread Christian Rüb
   I am not sure if all OSD Layouts should be placed on OSD wiki page [1], so
   i put it on my user page [2].
   Scrrenshots here: [3] - I was missing the upload file link in navit wiki
   and have them up there anyway...
   
  Actually i think they should rather go into the same page, otherwise they
  can be hard to find.
  IMO (but it's only IMO) user pages are better used for personnal notes until
  you document something in a 'public' page. Don't be shy, edit the wiki ;)
 
 Will do.
 
  Also, the icon pack isn't needed anymore : instead you should rather use
  icon_s=96 and icon_l=96 (it was posted somewhere, and the default navit.xml
  has the right values).
 
 My layout (direction, announcer) depends on 70px graphics, but I try to 
 change it for 96px - but this uses even more space.
 Any opinions from someone else if it would be better to use 70 or 96 for OSD? 
 For the menu 96 is OK.


Here is a version I put on the wiki with a slightly different layout that uses 
96px png:

http://wiki.navit-project.org/index.php/OSD_Layouts#FreeRunner_Layout_4

No screenshots, as uploading does not work yet (upload dir permissions)


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


Re: Different Navit builds

2009-08-26 Thread Christian Rüb
arne anka wrote:
  hand crafted OSD layout also very useful on my FR.
 
 care to share? screenshot?

will post relevant part of navit.xml and screenshot tonight

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


Re: Different Navit builds

2009-08-26 Thread Christian Rüb
KaZeR wrote:
 
 arne anka wrote:
  
  hand crafted OSD layout also very useful on my FR.
  
  care to share? screenshot?
  
  
 
 Feel free to post the screenshot and OSD in the wiki, too.
 A landscape OSD layout could be useful. And are you aware that you can store
 your OSD in a separate xml file using xi:include?

It is usable in both modes - I will post screenshots for both. I will also post 
it in navit wiki.
Thanks for the include hint.

Talking about this - do you know if toggle_announcer actually works? I have 
icon and action included but it does not seem to do anything though.
You probably will wait answering this until I have uploaded my xml.

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


Re: Different Navit builds

2009-08-26 Thread Christian Rüb
arne anka wrote:
  hand crafted OSD layout also very useful on my FR.
 
 care to share? screenshot?

I am not sure if all OSD Layouts should be placed on OSD wiki page [1], so i 
put it on my user page [2].
Scrrenshots here: [3] - I was missing the upload file link in navit wiki and 
have them up there anyway...

Now, does someone know if toggle_announcer is used correctly and if it actually 
is supposed to do something?

[1] http://wiki.navit-project.org/index.php/OSD
[2] http://wiki.navit-project.org/index.php/User:Crueb
[3] http://openmoko.senfdax.de/screenshots/

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


Re: Different Navit builds

2009-08-26 Thread Christian Rüb
Sebastian Krzyszkowiak wrote:
 Navit in revision 2520 is now in SHR unstable repo :)

Sorry if the following is getting a bit off topic

Thanks for doing the updates, but current version does not build (qpainter 
error during compile as it is based on qt 4.5.2)
Also could you also please change the .desktop file:

diff --git a/recipes/navit/files/navit.desktop 
b/recipes/navit/files/navit.desktop
index 05ecc1d..d2be342 100644
--- a/recipes/navit/files/navit.desktop
+++ b/recipes/navit/files/navit.desktop
@@ -1,7 +1,7 @@
 [Desktop Entry]
 Name=Navit
 Comment=GPS Navigation
-Exec=navit
+Exec=unset LC_ALL; navit
 Icon=navit
 Terminal=false
 Type=Application

Having set LC_ALL leads to unexpected results concerning GPS coordinates...
Also we could include the navit icons 70px from Kazer [2] from here [1] in 
standard SHR navit package - what do you think?

[2] 
http://n2.nabble.com/Re-navit-0-1-0-svnrev1981-r1-pkg-broken-tp2473189p2740186.html
[1] http://www.kazer.org/navit/freerunner_navit_icons.tar

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


QNavitCtl - Navit Bookmarks via dbus

2009-08-26 Thread Christian Rüb
I wrote a little Qt app to send destination or position to Navit via dbus 
(needs to be activated in navit.xml first) or center the map.
package [1]
source [2]
screenshot [3]

How to use it:
create a file with name;lat;lon per line and start the program. If the file is 
named bookmarks.csv and placed in $HOME or the directory where qnavitctl is 
started this file is automatically loaded.

Why a program that does what Navit already can do?
 - for me it is a quick fix for #352 in navit
 - for my 1k+ trip I have to prepare intermdeiate stops as otherwise route 
calculation would take very long (if it would succeed at all), so I can have my 
navit window and another window to set next destination easily
 - it is an example how to talk to navit via dbus and could be used for other 
apps (e.g. litephone) to get coordinates (e.g. from opimd) and start navigation 
in navit through a button (e.g. you receive a text containing coordinates, 
press take me there and the coordinates are send as destination to navit via 
dbus)
 - I am still learning Qt :)

That's all

[1] http://openmoko.senfdax.de/shr-unstable/
[2] http://git.senfdax.de/?p=qnavitctl;a=summary
[3] http://openmoko.senfdax.de/screenshots/qnavitctl.png

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


Re: QSuunto-Lite new version - divers and non-divers wanted

2009-08-25 Thread Christian Rüb
undrwater wrote:
 
 undrwater wrote:
  
  Whats new?
   * Stylesheet(s)
   * Download via GUI (divetools-ab needed)
   * More settings
  
  
  I WAS diving yesterday, so I will attempt to grab my profiles today or
  tomorrow. :)
  
  Russell Dwiggins
  
 Discovered the usb host adapter I have is for the Zaurus.  Not compatible
 with the Neo.  I've got an order in for an adapter and it's on its way. 
 Will Qsuunto-lite import JDivelog files?

QSuunto-Lite is only a viewer, so it will not support JDivelog files. But for 
its successor (whenever this may be) shall have import and export 
functionality. And JDivelog stores in XML and the dives themselves are stored 
in UDCF format, so it's really likely there will be a way to exchange.

You can see here [1] what is planned. Maybe I will also add reading UDCF to 
QSuunto-Lite, as I will need it for its successor, but that's not a promise!

Initially I hoped the amount of divers would be bigger within OM community and 
one or two would jump in to build a really good divelog app.

I will go on holidays at the end of the week and thus there won't happen 
anything in the code for 3 weeks - enough time for testing ;-)

Cheers,
 Christian

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


Re: Different Navit builds

2009-08-25 Thread Christian Rüb
Christian Rüb wrote:
 Hi,
 
 as there are some notable differences between navit from SHR[1] and navit 
 directly [2]. Does someone know how the navit binary from [2] is built? Maybe 
 advantages can be merged?
 
 Navit version from [1] is 0.1.0+svnrev2309-r3 from [2] is svn-2511
 
 differences I noticed so far:
 [1]:
 honours $HOME/.navit/navit.xml
 uses correct libgps17 (not 16)
 some icons (e.g. GPS signal) have white background (instead of being 
 transparent)
 street search does not work
 is older
 feels a little bit faster (I use 70px pngs for both, so icons do not have to 
 be calculated)
 libs are named *.so.0
 
 [2]:
 libs are named *.so
 
 
 [1] 
 http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/navit/navit_svn.bb?h=shr/import
 [2] http://download.navit-project.org/navit/openmoko/svn

using svn r2517 $HOME/.navit/navit.xml is used by navit again, there seemed to 
be a bug in opk package as navit.xml in /usr/share/navit was empty, too. Also 
speed seems to be the same for menus etc. One more advantage of using [2]: 
deactivating map follows vehicle in menu now actually works and makes map 
searching usable even if GPS is on :)

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


Re: Python email or direct GMail lib?

2009-08-25 Thread Christian Rüb
Adolph J. Vogel wrote:
 On Tuesday 25 August 2009 11:42:10 Michal Brzozowski wrote:
  2009/8/25 Adolph J. Vogel ajvo...@tuks.co.za
 
That's exactly the problem - I've no idea how to get there, anyway it's
still browser based and imho using web browsers on the Neo sucks. Font
sizes never really fit, especially in such a webapp.
  
   It probably has to do with the user agent string of the browser. If we
   could
   mimic the iphone`s we will have access to a number of other mobile
   interfaces
   to websites
 
   I've used gmail through midori and woosh many times. Just log in, select
  the html version and off you go. However I agree that the site's layout
  doesn't really fit a small screen.
 
 I checked and midori does support user agent switching, it has the big 
 browsers already included. (Firefox, safari etc.) There is a custom field as 
 well although entering a user agent string by hand would be tedious.
 
 In fact, there is already a ticket on SHR to include the iphone user agent 
 string in midori. http://shr-project.org/trac/ticket/565
 
 Dont know when the SHR devs will get around to it.
 

There already is a patch [1],just cannot see it in shr/import branch of OE git 
yet.

[1] http://lists.shr-project.org/pipermail/shr-devel/2009-August/000421.html

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


Re: Different Navit builds

2009-08-25 Thread Christian Rüb
KaZeR wrote:
 
 Christian Rüb wrote:
  
  
  using svn r2517 $HOME/.navit/navit.xml is used by navit again, there
  seemed to be a bug in opk package as navit.xml in /usr/share/navit was
  empty, too. Also speed seems to be the same for menus etc. One more
  advantage of using [2]: deactivating map follows vehicle in menu now
  actually works and makes map searching usable even if GPS is on :)
  
  
 
 Well, as a general rule, i would say that using the most recent one
 (especially with 200+ commits) is usually a good idea. There are indeed some
 new bugs introduced from time to time, but usually commits are done to solve
 bugs ;). And in the specific case of navit, usually when something breaks
 it's fixed the day after (like this navit.xml path issue).

That's what I did before for a long while but then switched to SHR package and 
did not get updates from svn.
Now I am back to original navit packages and I am aware this can happen with 
devel versions. I was just a bit unfortunate to get a buggy version in the 
first place.

But I would still be interested to build navit in a clean way for my SHR (i.e. 
using libgps17), as I have set up a build env for other apps already. A bitbake 
recipe would be appreciated.

It's really a great app and with a hand crafted OSD layout also very useful on 
my FR.

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


Different Navit builds

2009-08-21 Thread Christian Rüb
Hi,

as there are some notable differences between navit from SHR[1] and navit 
directly [2]. Does someone know how the navit binary from [2] is built? Maybe 
advantages can be merged?

Navit version from [1] is 0.1.0+svnrev2309-r3 from [2] is svn-2511

differences I noticed so far:
[1]:
honours $HOME/.navit/navit.xml
uses correct libgps17 (not 16)
some icons (e.g. GPS signal) have white background (instead of being 
transparent)
street search does not work
is older
feels a little bit faster (I use 70px pngs for both, so icons do not have to be 
calculated)
libs are named *.so.0

[2]:
libs are named *.so


[1] 
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/navit/navit_svn.bb?h=shr/import
[2] http://download.navit-project.org/navit/openmoko/svn

Cheers,
 Christian

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


Re: [litephone] entering numbers during a call

2009-08-18 Thread Christian Rüb
 On Sun, 2009-08-16 at 10:59 +0200, Christian Rüb wrote:
  
  I made a new ipk based on above commit [1] (litephone_0.0+git52+e6f7...). 
  Ali, can you please check if it works for you now?
  
  Cheers,
   Christian
  
  [1] http://openmoko.senfdax.de/shr-unstable/
 Hey, thanks for the quick reply, fix, and ipk, but it is still not
 working. How does one bring up the keypad during a call in litephone? I
 click the phone icon, key in the number and the screen changes to active
 call: (number) with the vol up and down icons to the right. I press the
 phone icon again to go to the only keypad i've seen in litephone and
 pressing the keys there does not send the tones. For the hell of it i
 pressed call after keying in my pin, and it just attempts to make
 another call as expected. Am I doing something wrong? Does it work for
 you guys?

Just tried it with litephone integrated numpad and it worked (checked my 
account balance using IVR).
I just packaged latest version from git which includes bug fixes (e.g. call 
log) and UI improvements (messages).

current version is: 0.0+git55+09876ba843d6a731c72ed2134c82bfc8f7945d5e-r2

If you have still problems, please also provide your version.

Cheers,
 Christian

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


Re: [litephone] entering numbers during a call

2009-08-18 Thread Christian Rüb
 On Tue, 2009-08-18 at 22:01 +0200, Christian Rüb wrote:
  Just tried it with litephone integrated numpad and it worked (checked my 
  account balance using IVR).
  I just packaged latest version from git which includes bug fixes (e.g. call 
  log) and UI improvements (messages).
  
  current version is: 0.0+git55+09876ba843d6a731c72ed2134c82bfc8f7945d5e-r2
  
  If you have still problems, please also provide your version.
  
  Cheers,
   Christian
 Hate to do this to you but it *still* doesn't work here :( I saw that
 version on http://openmoko.senfdax.de/shr-unstable/  a couple days ago
 and it's dated aug 16, the one dated aug 18th is git62. I tried both and
 still can't send dtmf tones for some reason :( Even had a friend tell me
 he couldn't here a thing when I pressed the keypad numbers. Would it be
 worth it to compile myself? Any suggestions about things I can try? I
 love this phone app and would much prefer to use it over the default
 dialer/contacts/messages 

Sorry, was a typo. You are right git66 is latest version.

I only do the packaging, so I only can provide my bb recipe [1] but I guess 
that won't help much. Maybe one of the devs has any idea?
Or maybe some else knows how to test if DTMF is really sent. Maybe there are 
different ways to do so? - I know that there are several ways to send DTMF in 
SIP but I have no idea how this is done in GSM networks.
As mentioned in my previous mail - I could navigate through the IVR of my 
provider using litephone numpad and using version git66.

Anyone knows how to debug this?

Cheers,
 Christian

[1] 
http://git.senfdax.de/?p=oe_recipes;a=tree;f=litephone;h=c85b0812b8492e1d591520e82d016d0e66fd;hb=99cb19ca96b09a31278576b83faa7e1e35901240

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


Re: [litephone] entering numbers during a call

2009-08-16 Thread Christian Rüb
 Hi
 
 I think that was my mistake. It worked, but during my changes I removed
 it and forgot it to add. I fixed in git[1].
 
 Kind regards,
 Christof
 
 [1] http://git.senfdax.de/?p=litephone;a=summary
 On Sat, Aug 15, 2009 at 03:26:55PM -0700, Ali wrote:
  I finally got a chance to test the app and I love it! But one problem is
  a blocker for me. I can't check my voice mail as I can't enter the pin
  after making a call (the pin to my voice mail box) :( Is the
  functionality in already and i'm just missing it? If not, any plans for
  that to be in?

I made a new ipk based on above commit [1] (litephone_0.0+git52+e6f7...). Ali, 
can you please check if it works for you now?

Cheers,
 Christian

[1] http://openmoko.senfdax.de/shr-unstable/

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


Convert travel diaries to JOSM suitable gpx files

2009-08-15 Thread Christian Rüb
Hi,

as I use travel-diary[1] every now and then to map POIs I made a little perl 
script to convert the CSV to gpx files.
You can find it here[2].

It reads from STDIN and prints to STDOUT

Usage is simple:
cat diaryfile | traveldiary2gpx.pl  poi.gpx

If you want the timestamp to be included you also need Time::ParseDate and 
Time::CTime to be installed on your system, they are in package 
libtime-modules-perl in Debian.

To avoid confusion: I do the conversion on my PC after downloading the diary 
CSV files from my Freerunner

Cheers,
 Christian

[1] http://wiki.openmoko.org/wiki/Travel_Diary
[2] 
http://git.senfdax.de/?p=travel-diary;a=blob;f=scripts/traveldiary2gpx.pl;h=d877e78b90a245fc4fcd56565b6f81f2eb963922;hb=a2ee31cda85ced30c12ad502d6f36270d2376cdf

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


Re: Litemoko, new window environment

2009-08-14 Thread Christian Rüb
On Freitag, 14. August 2009 08:57:45 rakshat hooja wrote:
  There isn't much source code to see :-), the launcher is 100 lines,
  litephone and literki are already available (although I'll try to put
  literki on a repo). I had to do some hacks in icewm, I'll release the
  patch (that one I have too :-))
 
  Michal

 And put litephone and literki in the SHR and OM2009 repos too.

 Rakshat

There is currently some litephone development happening by cmusik here [1], I 
do not know if/when the git is also placed on sourceforge, maybe the devs can 
shed some light here. You can get ipk here [2] (I use it on my SHR-U).

I can upload the bitbake recipe I use tonight if anyone is interested.

Cheers,
 Christian

[1] http://git.senfdax.de/?p=litephone;a=summary
[2] http://openmoko.senfdax.de/shr-unstable

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


Re: Evopedia 0.2.1

2009-08-14 Thread Christian Reitwießner
Patryk Benderz schrieb:
 [cut]
 Everything is available at
 http://www.reitwiessner.de/openmoko/evopedia.html
 Do you provide any screen shots there?

It actually looks just like the article area of the official Wikipedia,
but you are right, screenshots are always nice. I have put some on the
opkg.org site: http://www.opkg.org/package_128.html

Christian



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


Re: Litemoko, new window environment

2009-08-14 Thread Christian Rüb
 On Freitag, 14. August 2009 08:57:45 rakshat hooja wrote:
   There isn't much source code to see :-), the launcher is 100 lines,
   litephone and literki are already available (although I'll try to put
   literki on a repo). I had to do some hacks in icewm, I'll release the
   patch (that one I have too :-))
  
   Michal
 
  And put litephone and literki in the SHR and OM2009 repos too.
 
  Rakshat
 
 There is currently some litephone development happening by cmusik here [1], I 
 do not know if/when the git is also placed on sourceforge, maybe the devs can 
 shed some light here. You can get ipk here [2] (I use it on my SHR-U).
 
 I can upload the bitbake recipe I use tonight if anyone is interested.
 
 Cheers,
  Christian
 
 [1] http://git.senfdax.de/?p=litephone;a=summary
 [2] http://openmoko.senfdax.de/shr-unstable

recipe added:

http://git.senfdax.de/?p=oe_recipes;a=tree;f=litephone;h=ea660faeb4887d0efdb9715453014cad4828d98c;hb=HEAD

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


  1   2   3   4   >