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: 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: 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: 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: 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


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


[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: 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: 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


Re: [Wiki] Neon into Hall of Fame (2 Votes)

2009-08-13 Thread Christian Rüb
On Donnerstag, 13. August 2009 10:47:39 Adolph J. Vogel wrote:
 On Thursday 13 August 2009 10:10:01 Marcel wrote:
  Am Donnerstag, den 13.08.2009, 08:01 +0200 schrieb Adolph J. Vogel:
seems rather chaotic if we all start a thread to vote for an app,
aren't there places to make free polls?
just an idea
  
   I agree and suggest using www.doodle.com. Its an online poling thing :)
   We have used it quite a bit here at work. Only the person that makes
   the poll needs to register an account, people can then take the poll
   with very little effort.
  
   I can setup a poll or two for the other applications if thats desired?
  
   Adolph
 
  Yes, imho that would be nice. Also, the 10th yes-voter could then go
  straight to the wiki and add the app's box to the page.

 Based on the suggestions on the thread i`ll make polls for orrery,
 numptyphysics, sms-sentry. Any others?

navit, elmdentica


 Im not going to make one for neon, since I think we probably have enough
 votes?

 Also, Im thinking about making the poll options yes or not yet. People
 can then provide reasons why they think the app is not ready for the hall
 of fame. Maybe then giving developers something to focus on.

sounds good


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


Re: is wifi-driver developed anymore?

2009-08-13 Thread Christian Rüb
On Thu, 2009-08-13 14:17:23 David Fokkema wrote:
 On Thu, 2009-08-13 at 16:06 +0400, Paul Fertser wrote:
  David Fokkema dfokk...@ileos.nl writes:
   On Thu, 2009-08-13 at 10:34 +0200, arne anka wrote:
   Especially recommended for WiFi since due to the bugs in the firmware
   and the driver full power-cycle of the module is often advantageous.
  
   i am not quite sure, what to make from that sentence.
  
   Maybe s/advantageous/adventurous/ ? As in: cross your fingers, this
   will probably kill the module?
 
  Powercycling the module can't kill it :D

 Ah, no, you're right, :-P However, IIRC, there were some posts and bug
 comments somewhere that show that unloading/reloading the module can
 cause severe breakage and render wifi unusable.

 David

To summarise this for me:

Keeping the module loaded and just request/release it via FSO (I have a little 
GUI for this) should be pretty safe?

I am currently using it this way and wpa_supplicant's roaming capabilities 
with some minor modifications to the network scripts and it's quite reliable - 
I just have to avoid suspend though.

FYI: the roaming is the same setup as on Debian on my notebook - just on my 
SHR-U Freerunner.

Christian

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


Re: is wifi-driver developed anymore?

2009-08-13 Thread Christian Rüb
On Thu, 2009-08-13 14:59:13 Paul Fertser wrote:
 arne anka openm...@ginguppin.de writes:
  Keeping the module loaded and just request/release it via FSO (I have a
  little
  GUI for this) should be pretty safe?
 
  according to
 
  You just kill fsoraw or wpa_supplicant and the wifi module gets
  unpowered and the driver unloaded. This works automatically and every
  time. That way even if the firmware was crashed it will be reloaded
  without any additional actions from you side. Also by using it the way
  i propose you do not trigger ifconfig up/down bug.
 
  the module should get unloaded when not used anymore.

 Sorry, i wasn't precise enough. In fact the module is not unloaded but
 is bound/unbound. The effect is the same, according to Werner.

FYI: http://lwn.net/Articles/143397/


  I just have to avoid suspend though.

 Are you sure? For me suspend didn't harm wifi usage.

Had not tried it in a while - but it worked once now :) - so I will not 
release WiFi before my next suspends and see what happens.
Thanks for this hint.

___
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-13 Thread Christian Rüb
 Hi,
 
 QSuunto-Lite is an application to download your logged dives from your Suunto 
 dive computer or view previously dowloaded ones. More info here: [1]
 I hope to find interested people who want to test my new version (before it 
 gets a version number).
 As always you can find prebuild packages in this repo [2] and also new 
 screenshots here [3]
 
 For those of you who do not own a DC or do not have cables/adapters yet, you 
 can use the samples provided in divetools-ab-samples.
 I will also provide a fake download tool to simulate a download soon.
 
 Please send bug reports :)
 
 Planned features are on the wiki page.
 
 Whats new?
  * Stylesheet(s)
  * Download via GUI (divetools-ab needed)
  * More settings
 
 Cheers,
  Christian
 
 [1] http://wiki.openmoko.org/wiki/QSuunto-Lite
 [2] http://openmoko.senfdax.de/shr-unstable/
 [3] http://openmoko.senfdax.de/screenshots/

Well, seems like all divers are currently diving. Anyway, I have uploaded 
vyperdummy to the repo [1], so this can be used to fake output as produced by 
vyperlink from divetools-ab.
So you do not need any equipment but your Freerunner to run this program. I do 
not have any dependencies in QSuunto-Lite yet concerning divetools-ab, 
divetools-ab-samples or vyperdummy - so get which ever you want. 
Source available here: [2]

[1] http://openmoko.senfdax.de/shr-unstable/
[2] 
http://git.senfdax.de/?p=oe_recipes;a=blob;f=vyperdummy/files/vyperdummy.c;h=7bc1722c20e58411d737a5411e6f369713033097;hb=HEAD

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


Re: Commercial alternative to MintyBoost

2009-08-13 Thread Christian Rüb
 On Mon, Aug 10, 2009 at 12:29 AM, Rask Ingemann
 Lambertsenccc94...@vip.cybercity.dk wrote:
  The
  catch is that fresh off the charger, the voltage is nearly 5.6 V and the
  absolute maximum rating of the Neo is 5.5 V.
 
 Yepp, you need a comparator, which also waste power...
 
 Btw, what is the nominal input of the freerunner?
 Im asking because this chinese PowerGuy charger's output was 6.7V
 (without load).
 How big resistor should I test the charger? 50Ohm?
 
 Im planing to buy more chargers, until I find the true charger.
 I dont care if it is Li-Ion charger. or it works with AA batteries.

I have this one [1] but it only has 2000mAh which feels like just beeing enough 
for one full charge

 Would be nice if it could charge itself and display (and also switch
 off) when he is
 fully charged. If it works with AA batteries, then should also charge it.

If you find one working with 4 AA cells that works with a Freerunner without 
additional mods this would be great (I have to carry a lot of rechargable AAs 
anyway).

 
 Best regards,
  Laszlo

[1] http://www.vesalia.de/e_navilockusbpowerpack.htm

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


Re: travel-diary a simple GPS application

2009-07-23 Thread Christian Rüb

  wiki page: http://wiki.openmoko.org/wiki/Travel_Diary

 Christian, well done!

 I'll be travelling on Monday and would like to integrate this somehow
 on my wordpress blog or something. Don't have the time right now to
 check but is the process documented somewhere (how to set up the .cgi
 script etc etc on the server etc?). In what formats can I get the
 reports out? Is anyone of you running this now somewhere, could you
 please link the URL?

 Thanks!

Hi Risto,

how about this - I try to explain to you how to set up everything and you add 
this information to  the wiki page - this way it is written from a user's view 
what might help other users :)

Get my CGI examples from here [1] and add a password file in the same directory 
but make sure it's inaccessible from web through a .htaccess file [2] and 
create a subdirectory data (this is where your diary files will be stored).

On your Freerunner you have to configure the send script (it's a really easy 
shell script), to match your username/password and CGI script on your server.

So what happens is:
You execute the send script on your moko (using the button) and it will send 
your file via curl to your server. The file will be stored in data/

The diary.kml file is a perl script as well that creates a kml. file (e.g. you 
can link it directly to google maps). To make it work you have to define .kml 
files as CGI in your webserver config [2].

What happens if someone downloads the diary.kml file:
The script is executed on your webserver and offers a real kml file for 
download. So all you need to do is use the link to your kml file somewhere.

Just a note on the .htaccess file. It alows you to execute scripts in current 
directory and tells your web server to execute .kml files. Access to passwd and 
data are not allowed (to protect your data).

If you need any more help or I did not express myself clearly enough just let 
me know. I hope at some point someone will understand what all this is for :)

[1] http://git.senfdax.de/?p=travel-diary;a=tree;f=server_example
[2] exmaple .htaccess:
Options ExecCGI
AddHandler cgi-script .kml
RewriteRule ^passwd$ - [forbidden]
RewriteRule ^data/.*$ - [forbidden]

Cheers,
 Christian

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


Re: travel-diary a simple GPS application

2009-07-19 Thread Christian Rüb
wiki page: http://wiki.openmoko.org/wiki/Travel_Diary

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


Scuba divers wanted (Re: QSuunto-Lite)

2009-07-19 Thread Christian Rüb
Please see wiki page: http://wiki.openmoko.org/wiki/QSuunto-Lite and edit if 
you are also interested in a dive logging application.

Thank you.

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


Re: [shr-unstable] stopwatch?

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

you mean here [1]?
we currently only package for SHR unstable (but most of them should also run 
on other FSO based images). Best is to check date of Packages file.

I hope you all read the own risk part :)

Cheers,
 Christian

[1] http://openmoko.senfdax.de/

 thanks for those links. how many other repositories are there?

 On Thu, Jul 9, 2009 at 12:32 AM, Christian Rübchristian.r...@gmx.net 
wrote:
  list, im looking for a stopwatch app. i remember my old days of
  om2008.12 that there was a stopwatch app under the settings [?]
 
  anything like this, or soon to be like this for shr?
 
  you might want to try stopwatch [1] (needed QT packages are also there)
  sources here [2]
  It's made by a friend who is also on this ML
 
  [1] http://openmoko.senfdax.de/shr-unstable/
  [2] http://git.senfdax.de/?p=stopwatch;a=summary
 
 
  Cheers,
   Christian
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

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


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


Re: QSuunto-Lite

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


 Is/will QSuunto-Lite a KDE program i.e. will it also run on kde4?

No it is not KDE, but there is no problem running it under KDE4.


 Is some qSuunto-Lite code already available.

Yes, see here:
http://git.senfdax.de/?p=qdivelog;a=summary

 (I have a Suunto Cobra).

 Regards,

 Joop.


Cheers,
 Christian

 On Thu, July 9, 2009 8:31 pm, Christian Rüb wrote:
  Hi,
 
  glad someone is interested in this one as I want to (re)concentrate on it
  again.
 
  You can use divetools-ab to download via USB serial (see my little patch
  here [1]) - the package is already capable of using /dev/ttyUSB0
  You need to switch to host mode and have a special adapter for your
  regular USB plug to fit into the mini USB (~ €1.5 on ebay).
  Or you download them on your PC with divetools-ab and upload just the
  file. QSuunto-Lite can only _display_ information from file _not_
  download itself.
  These features are planned for the next dive program which will also not
  be Suunto specific and hopefully get GPS integration and stuff - but this
  is still a long way...
 
  Next (and probably last) feature for QSuunto-Lite will be to display the
  dive profile graphically.
 
  I am not planning to do it in elmentary as it was my first real program
  in C++ and QT and thus also meant to learn it. But for the next program
  maybe it will be possible to seperate GUI and logic enough, so there
  could be a QT (e.g. for Desktop PCs) and an elementary GUI. My primary
  target is the above mentioned feature for QSuunto-Lite and then getting
  the new dive logging application on the way.
 
  Concering QSuunto-Lite - make sure you have one of the older Suuntos that
  are compatible with divetools-ab [2]. Newer Suuntos are also planned to
  be supported in the new app.
 
  [1]
  http://git.senfdax.de/?p=oe_recipes;a=blob;f=divetools-ab/files/001_usbse
 rial.patch [2] a)
  http://www.acs.uni-duesseldorf.de/~becka/dive/divetools/index.html b) 
  http://www.sarnau.info/papers:suunto_protocol see Vyper, Spyder, etc.
 
  Hope this helps.
 
  Cheers,
   Christian
 
  Thanks for this!
 
  Questions:
  * What are the features you're currently working on?
  * This requires that the FR is in host mode to download from the dive
  computer, correct?
  * As asked earlier, any chance of porting to elementary rather than QT?
 
  Now I can't wait to get my phone back from buzz fix!
 
  Russell Dwiggins
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

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


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


Re: What to do with urls in elmdentica? :)

2009-07-10 Thread Christian Rüb
 On Thu, Jul 09, 2009 at 03:58:21PM +0100, Rui Miguel Silva Seabra wrote:
  Is there a good enough browser that takes urls from CLI? Or another
  interface?

Dillo accepts an URL on the command line.

wouldn' it be a good idea to have system like alternatives handle this? so 
you could have a link like /usr/bin/www-browser (see Debian) that points to 
your favourite browser. And browser packages should deal with the link...

This way no application would have to bother which browser is actually 
installed. Of course, only packages with browsers supporting browserbinary 
URL calls should make use of this system.

just my 2¢

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


Re: [shr-unstable] stopwatch?

2009-07-09 Thread Christian Rüb
 list, im looking for a stopwatch app. i remember my old days of
 om2008.12 that there was a stopwatch app under the settings [?]

 anything like this, or soon to be like this for shr?

you might want to try stopwatch [1] (needed QT packages are also there)
sources here [2]
It's made by a friend who is also on this ML

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


Cheers,
 Christian

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


Re: travel-diary a simple GPS application

2009-07-09 Thread Christian Rüb
sorry about this...

here you go:

http://openmoko.senfdax.de/screenshots/

 Awesome, this sounds like something I'll be using soon. I'll test it
 soon but as Sven already said, a screenshot would be appreciated!

 r

 On Thu, Jul 9, 2009 at 9:27 AM, Sven Klompm...@klomp.eu wrote:
  Hi Christian,
 
  good to hear that the idea isn't dead! Looks far more solid than my few
  lines of code :-) I will give it a try this weekend. In the meantime,
  screenshots would be very interesting...
 
  Sven
 
  On Thursday 09 July 2009 00:00:52 Christian Rüb wrote:
  Hi,
 
  a while ago Sven send us his scripts to store places and some info and
  send all this to a server which then creates a kml file. [0]
 
  I made a litte GUI for this (actually it is more a rewrite ;-)) that you
  can find here:
  http://openmoko.senfdax.de/shr-unstable/travel-diary_0.0+git20+3d7fe3555
 cb57ef504daece949c7bbf5d28cdcb9-r0_armv4t.ipk
 
  It also contains a sample script to send you data to your web server via
  curl. To really use this you need to set up the corresponding CGIs on
  your server to receive your diary file and and another one to make the
  kml download for you visitors. You can find examples (they are a point
  to start - nothing more) in the doc package [2] or view/download them
  from the git repo [3].
 
  For distribution integration, here is my bb recipe [4]
 
  [0]
  http://n2.nabble.com/Stress-test-of-my-Freerunner-tp3038658p3045050.html
  [1]
  http://openmoko.senfdax.de/shr-unstable/travel-diary_0.0+git20+3d7fe3555
 cb57ef504daece949c7bbf5d28cdcb9-r0_armv4t.ipk [2]
  http://openmoko.senfdax.de/shr-unstable/travel-diary-doc_0.0+git20+3d7fe
 3555cb57ef504daece949c7bbf5d28cdcb9-r0_armv4t.ipk [3]
  http://git.senfdax.de/?p=travel-diary;a=summary
  [4]
  http://git.senfdax.de/?p=oe_recipes;a=blob_plain;f=travel-diary/travel-d
 iary_git.bb;hb=HEAD
 
  Feedback and questions welcome.
 
  Cheers,
   Christian
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community


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


Re: travel-diary a simple GPS application

2009-07-09 Thread Christian Rüb
 On OM2009:

 r...@om-gta02:~# DISPLAY=:0 travel-diary.py

 (process:2313): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
 Traceback (most recent call last):
   File /usr/bin/travel-diary.py, line 15, in module
 import fileinput
 ImportError: No module named fileinput
 r...@om-gta02:~# opkg list|grep fileinput

 Any ideas?


 r

fileinput.py is in python-misc - will add this as dependency and rebuild 
tonight.

Thanks for reporting


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


Re: travel-diary a simple GPS application

2009-07-09 Thread Christian Rüb
No, there is not. I just made it being inspired by Sven's scripts. But if 
someone wants to - feel free to put i on the wiki.

I have not planned any more features as it does what I need. I mainly posted 
here to see if there is any interest in such an app and if people find bugs 
that need urgent fixing.

currently I have the git for sources [1]
a feed to install [2]
and some screenshots [3]

My current interest is more towards finishing my (simple) dive program and 
start a more generic one afterwards. So if there are any scuba divers - feel 
free to join :)

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

Cheers,
 Christian

 hum... Is there a wiki page for this project, so that we can follow the
 activity without being all day on the mailing list ?
 Thanks very much
 Kimaidou

 2009/7/9 Christian Rüb christian.r...@gmx.net

   On OM2009:
  
   r...@om-gta02:~# DISPLAY=:0 travel-diary.py
  
   (process:2313): Gtk-WARNING **: Locale not supported by C library.
   Using the fallback 'C' locale.
   Traceback (most recent call last):
 File /usr/bin/travel-diary.py, line 15, in module
   import fileinput
   ImportError: No module named fileinput
   r...@om-gta02:~# opkg list|grep fileinput
  
   Any ideas?
  
  
   r
 
  fileinput.py is in python-misc - will add this as dependency and rebuild
  tonight.
 
  Thanks for reporting
 
 
  ___
  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


QSuunto-Lite

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

glad someone is interested in this one as I want to (re)concentrate on it again.

You can use divetools-ab to download via USB serial (see my little patch here 
[1]) - the package is already capable of using /dev/ttyUSB0
You need to switch to host mode and have a special adapter for your regular USB 
plug to fit into the mini USB (~ €1.5 on ebay).
Or you download them on your PC with divetools-ab and upload just the file. 
QSuunto-Lite can only _display_ information from file _not_ download itself.
These features are planned for the next dive program which will also not be 
Suunto specific and hopefully get GPS integration and stuff - but this is still 
a long way...

Next (and probably last) feature for QSuunto-Lite will be to display the dive 
profile graphically.

I am not planning to do it in elmentary as it was my first real program in C++ 
and QT and thus also meant to learn it. But for the next program maybe it will 
be possible to seperate GUI and logic enough, so there could be a QT (e.g. for 
Desktop PCs) and an elementary GUI. My primary target is the above mentioned 
feature for QSuunto-Lite and then getting the new dive logging application on 
the way.

Concering QSuunto-Lite - make sure you have one of the older Suuntos that are 
compatible with divetools-ab [2]. Newer Suuntos are also planned to be 
supported in the new app.

[1] 
http://git.senfdax.de/?p=oe_recipes;a=blob;f=divetools-ab/files/001_usbserial.patch
[2] a) http://www.acs.uni-duesseldorf.de/~becka/dive/divetools/index.html
  b)  http://www.sarnau.info/papers:suunto_protocol see Vyper, Spyder, etc.

Hope this helps.

Cheers,
 Christian

 Thanks for this!

 Questions:
 * What are the features you're currently working on?
 * This requires that the FR is in host mode to download from the dive
 computer, correct?
 * As asked earlier, any chance of porting to elementary rather than QT?

 Now I can't wait to get my phone back from buzz fix!

 Russell Dwiggins

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


Re: travel-diary a simple GPS application

2009-07-09 Thread Christian Rüb
Am Donnerstag, 9. Juli 2009 schrieb Christian Rüb:
  On OM2009:
 
  r...@om-gta02:~# DISPLAY=:0 travel-diary.py
 
  (process:2313): Gtk-WARNING **: Locale not supported by C library.
  Using the fallback 'C' locale.
  Traceback (most recent call last):
File /usr/bin/travel-diary.py, line 15, in module
  import fileinput
  ImportError: No module named fileinput
  r...@om-gta02:~# opkg list|grep fileinput
 
  Any ideas?
 
 
  r
 
 fileinput.py is in python-misc - will add this as dependency and rebuild 
 tonight.
 
 Thanks for reporting

should be fixed now:

r...@om-gta02 ~ $ opkg info travel-diary
Package: travel-diary
Version: 0.0+git20+3d7fe3555cb57ef504daece949c7bbf5d28cdcb9-r1
Depends: python-pygtk, python-misc, bash, curl
...

Can you test again and tell me if it is OK now or if there is still something 
missing?
Thanks

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


travel-diary a simple GPS application

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

a while ago Sven send us his scripts to store places and some info and send all 
this to a server which then creates a kml file. [0]

I made a litte GUI for this (actually it is more a rewrite ;-)) that you can 
find here:
http://openmoko.senfdax.de/shr-unstable/travel-diary_0.0+git20+3d7fe3555cb57ef504daece949c7bbf5d28cdcb9-r0_armv4t.ipk

It also contains a sample script to send you data to your web server via curl. 
To really use this you need to set up the corresponding CGIs on your server to 
receive your diary file and and another one to make the kml download for you 
visitors.
You can find examples (they are a point to start - nothing more) in the doc 
package [2] or view/download them from the git repo [3].

For distribution integration, here is my bb recipe [4]

[0] http://n2.nabble.com/Stress-test-of-my-Freerunner-tp3038658p3045050.html
[1] 
http://openmoko.senfdax.de/shr-unstable/travel-diary_0.0+git20+3d7fe3555cb57ef504daece949c7bbf5d28cdcb9-r0_armv4t.ipk
[2] 
http://openmoko.senfdax.de/shr-unstable/travel-diary-doc_0.0+git20+3d7fe3555cb57ef504daece949c7bbf5d28cdcb9-r0_armv4t.ipk
[3] http://git.senfdax.de/?p=travel-diary;a=summary
[4] 
http://git.senfdax.de/?p=oe_recipes;a=blob_plain;f=travel-diary/travel-diary_git.bb;hb=HEAD

Feedback and questions welcome.

Cheers,
 Christian

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


Re: Elmdentica release 0.5.0

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

thanks for your fixes. Following you now in svn ;-)
Hopefully package will be integrated in SHR unstable soon. Until then I built 
some  packages here:

http://openmoko.senfdax.de/shr-unstable/elmdentica_0.5.0+svnr81-r1_armv4t.ipk
http://openmoko.senfdax.de/shr-unstable/elmdentica_0.5.0+svnr98-r1_armv4t.ipk

Cheers,
 Christian

 Both of these are (hopefully, at least works for me) fixed on svn.
 
 Rui
 
 On Sat, Jul 04, 2009 at 12:21:56PM +0200, Christian Rüb wrote:
  Great work!
  
  I found 2 little bugs on my system:
  * I get a SEGFAULT when no gconf account config is available, thus had to 
  create it first before being able to rund elmdentica
  * Icons (twitter) were not stored unless I created 
  /home/root/.elmdentica/cache/icons/ manually
  
  Cheers,
   Christian
  
   http://blog.1407.org/2009/07/03/elmdentica-release-050/
 
 ___
 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


  1   2   >