Re: [QT] Debugging apps help.

2012-02-27 Thread Radek Polak
On Saturday 25 February 2012 02:10:47 Πρεκατές Αλέξανδρος wrote:

 Can i debug them in my pc build evniroement ?

It's possible to use qvfb - i am not sure in which state it currently is.

I prefer to build and debug the app as normal PC application in QtCreator. 
Then create qbuild.pro and build it for QtMoko. In case of problems i use gdb 
on the device.

 Also how can i expand to see some macros like
 QTOPIA_ADD_APPLICATION(QTOPIA_TARGET, MainWindow)
 QTOPIA_MAIN

Basically these are shortcuts for QtopiaApplication calls. It should be 
documented quite nicely here:

http://radekp.github.com/qtmoko/api/buildsystem/over-applications-1.html

You dont have to use these macros. E.g. in Navit and FBReader we dont use 
them.

Regards

Radek

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


How to bring forward the community?

2012-02-27 Thread Dr. H. Nikolaus Schaller
Hi all,
while I am still fiddling with GTA04 production yield issues, I think it is
important to reason about the big view.

So I would like to encourage to share what you are working on
(kernel? driver? user space?) and what you think would bring forward
the Openmoko community a small or big step.. Any idea is welcome
(even if you think we already know about it).

Nikolaus


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


Re: How to bring forward the community?

2012-02-27 Thread Nikita V. Youshchenko
 Hi all,
 while I am still fiddling with GTA04 production yield issues, I think it
 is important to reason about the big view.

 So I would like to encourage to share what you are working on
 (kernel? driver? user space?) and what you think would bring forward
 the Openmoko community a small or big step.. Any idea is welcome
 (even if you think we already know about it).

If anything is welcome then...

I've left OpenMoko commutiny long ago, but I'm really disapponted by 
today's devices and I want to return. Unfortunately N900 changed my mind 
and now I consider hardware qwerty keyboard not an option but a must.

I will immediately order any GTA04 successor that will have qwerty 
keyboard.

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


Re: How to bring forward the community?

2012-02-27 Thread Radek Polak
On Monday 27 February 2012 11:35:38 Dr. H. Nikolaus Schaller wrote:

 So I would like to encourage to share what you are working on
 (kernel? driver? user space?) and what you think would bring forward
 the Openmoko community a small or big step.. Any idea is welcome
 (even if you think we already know about it).

I have been now 5 days away from home and had gta04 with me. It was quite 
interesting now to switch roles from developer to regular user.

I had many outgoing calls. It was mostly ok - once my wife complained that she 
can hear herself. I hope i can fix this in the voice routing program or with 
PCM profile AT commands...

There was some mess when i called to work, they declined the call and called 
me back. Something must have messed up and i couldnt hear anything. I have no 
idea what it was...

I could write SMS, but the response came one day later after reboot - so there 
must be something bugged there...

I had to charge battery once a day. The QtMoko's keyboards are all crap. I had 
no internet - for me the wifi sensitivity is bad and i have not yet implemented 
umts in qtmoko.

On the bright side - i have a lot of videos and mp3's on the phone and they 
play really nice. I had offline maps - this is also really nice - other phones 
are not that good in this.

So generally - the phone is now quite usable, but with some annoyances. And 
you have to take care about the phone. It would be nice to just use it. Now i 
am thinking about most easy way how to get there.

From the kernel side i think we still need better suspend, but generally the 
kernel is working nice.

Userspace needs better audio routing - louder playback and better echo 
cancellation and rock solid modem support. SMS+calls should work on 100%.

I think i will now add support for oFono to QtMoko. QtMoko's modem support is 
not bad - but oFono looks solid and actively developed so i really want to 
give it try.

Regards

Radek



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


Re: OM as car navigation

2012-02-27 Thread Guilhem Bonnefille
Hi,


2012/2/26 Christoph Pulster openm...@pulster.de:
 please see Openmoko inside a vehicle as navigation system:
 https://despora.de/posts/228392

 Credits go to Frank Jaeger (fr...@fotodrachen.de) !

 Software: Navit with routing data from OpenStreetMap.
 gpsd shows actual position.

 Hardware: Freerunner with vehicle holder (19 eur in pulster.eu shop).

Great, I recently posted in order to discover if someone already did
such a job. Personnally, I used navit with qtmoko and SHR. Worked
quite good. But as I removed my SIM, I'm now looking for a projet
dedicated to converting Freerunner in car navigation system (and
nothing more).

Do you know what operating system was used by Frank Jaeger?

-- 
Guilhem BONNEFILLE
-=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com
-=- mailto:guilhem.bonnefi...@gmail.com
-=- http://nathguil.free.fr/

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


Re: [Gta04-owner] How to bring forward the community?

2012-02-27 Thread Lukas Märdian
Hi.

On 27.02.2012 11:35, Dr. H. Nikolaus Schaller wrote:
 So I would like to encourage to share what you are working on
 (kernel? driver? user space?) and what you think would bring forward
 the Openmoko community a small or big step.. Any idea is welcome
 (even if you think we already know about it).
 

I've been working on the 3D printable case [0] for the GTA04 (and GTA01
+ GTA02) in the last weeks/months. I'm almost done with the first full
and usable version. It was pressented at the FOSDEM as well and a lot of
people liked it.

I've also fixed a bug in Iliwi (SHR's WiFi application), which prevented
it from connecting to WPA2 networks. Now you can easily connect your
GTA04 to your network through a GUI and use Firefox or Eve (both in
SHR's feeds) to browse the web – this is already working quite well
(except the power usage of the WiFi chip).

I've also written an easy step-by-step tutorial for installing and
setting up SHR on your GTA04 [1].

Now, that I'll have some more time soon, I'll start working on SHR/FSO
again, where I'll help with integrating some of the workarrounds for the
GTA04 modem into FSO with the aim of using my GTA04 with SHR/FSO as a
daily phone.

A lot of work is already done there. It can send and receive calls and
SMS, has a working (not perfect) audio routing etc. but there is some
testing and bug fixing needed.

Furthermore, I'll keep the SHR kernel [2] synchronized with Neil's
3.2-gta04 branch, which is working pretty nice already, as Radek stated.

Cheers,
  Lukas

[0] http://blog.slyon.de/3d-printed-gta04-case
[1] http://trac.shr-project.org/trac/wiki/Devices/GTA04/InstallGuide
[2]
http://git.freesmartphone.org/?p=linux-2.6.git;a=shortlog;h=refs/heads/3.2-gta04



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: OM as car navigation

2012-02-27 Thread Frank

Am 27.02.2012 17:21, schrieb Guilhem Bonnefille:

Hi,


..

Do you know what operating system was used by Frank Jaeger?



Hallo Guilhem,
 it's a QTmoko v38.

I startet with v35 and navit in QX-mode.

Now navit can be installed very confortable as App from
  http://qtmoko.sourceforge.net/apps/category-gps.html
using the browser.

But navit didn't get the actual gps-position.
Also after upgrading to v37 and v39 and several attempts to configure 
the  gpsd-vehicle in

  /home/root/.navit/navit.xml   [1]

Finally I formatted my uSD-Card and unpacked a fresh QTmoko v38.
But this didn't help me, too.

Last weekend I started a new attemp and get navit to work!
I was so happy that i postet ist on Despora.de and FB.

I don't really know, what the reason was.
I think it was a missing device in the gpsd-configuration.

Other GPS-Apps worked well - but not navit.
Maybe they use the gps-device without gpsd?

I had to run
$ dpkg-reconfigure gpsd
and set device to /dev/ttySAV1

Is gpsd for gta02 shipped with empty device-entry in .conf?


[1] https://github.com/radekp/qtmoko/issues/23

--

Frank

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


Re: OM as car navigation

2012-02-27 Thread Sebastian Reinhardt

On 27.02.2012 19:27, Frank wrote:

Am 27.02.2012 17:21, schrieb Guilhem Bonnefille:

Hi,


..

Do you know what operating system was used by Frank Jaeger?



Hallo Guilhem,
 it's a QTmoko v38.

I startet with v35 and navit in QX-mode.

Now navit can be installed very confortable as App from
  http://qtmoko.sourceforge.net/apps/category-gps.html
using the browser.

But navit didn't get the actual gps-position.
Also after upgrading to v37 and v39 and several attempts to configure 
the  gpsd-vehicle in

  /home/root/.navit/navit.xml   [1]

Finally I formatted my uSD-Card and unpacked a fresh QTmoko v38.
But this didn't help me, too.

Last weekend I started a new attemp and get navit to work!
I was so happy that i postet ist on Despora.de and FB.

I don't really know, what the reason was.
I think it was a missing device in the gpsd-configuration.

Other GPS-Apps worked well - but not navit.
Maybe they use the gps-device without gpsd?

I had to run
$ dpkg-reconfigure gpsd
and set device to /dev/ttySAV1

Is gpsd for gta02 shipped with empty device-entry in .conf?


[1] https://github.com/radekp/qtmoko/issues/23

Most statements on the blog are totaly wrong! I use my neo with navit 
since I have purchased my neo last autumn! You have to set the correct 
device for gpsd once. Then You have to install festival-lite with apt 
and by configuring navit-config file in home dir of user. that is it! So 
speech output is working, ok english, so You have to set up the 
environment variable correct. I did not, because is not so importent for 
me. Then navit is usable by using the QX-way. Radek's new QX-less 
version, I have not tested until now. But seems to make it a little bit 
easier. So install festival, configure navit correct and it will work


--
Regaards

Sebastian Reinhardt



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


Re: OM as car navigation

2012-02-27 Thread robin
hi timo,

the display freezes, I don't know if that means that the kernel has crashed.
any ideas.

best regards

robin



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


Re: OM as car navigation

2012-02-27 Thread Timo Juhani Lindfors
robin spielr...@web.de writes:
 the display freezes, I don't know if that means that the kernel has crashed.
 any ideas.

Does it reply to ping over wifi or usb when that happens?


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


Re: How to bring forward the community?

2012-02-27 Thread Dr. H. Nikolaus Schaller
Well,
it becomes sort of a who-is-who and who-is-doing-what list :)

Shouldn't we take this as a trigger point to revitalize the wiki.openmoko.org?
I am sure a significant amount of subscribers of this list also have write 
access.

The minimum would be a page GTA04 Projects (i.e 
.http://wiki.openmoko.org/wiki/GTA04-Projects ).
The reason why I propose to host that on wiki.openmoko.org (and not 
www.gta04.org) is that
it should not be tied to the GTA04 hardware but also over (hardware-agnostic) 
software.

Nikolaus

Am 27.02.2012 um 18:33 schrieb Lukas Märdian:

 Hi.
 
 On 27.02.2012 11:35, Dr. H. Nikolaus Schaller wrote:
 So I would like to encourage to share what you are working on
 (kernel? driver? user space?) and what you think would bring forward
 the Openmoko community a small or big step.. Any idea is welcome
 (even if you think we already know about it).
 
 
 I've been working on the 3D printable case [0] for the GTA04 (and GTA01
 + GTA02) in the last weeks/months. I'm almost done with the first full
 and usable version. It was pressented at the FOSDEM as well and a lot of
 people liked it.
 
 I've also fixed a bug in Iliwi (SHR's WiFi application), which prevented
 it from connecting to WPA2 networks. Now you can easily connect your
 GTA04 to your network through a GUI and use Firefox or Eve (both in
 SHR's feeds) to browse the web – this is already working quite well
 (except the power usage of the WiFi chip).
 
 I've also written an easy step-by-step tutorial for installing and
 setting up SHR on your GTA04 [1].
 
 Now, that I'll have some more time soon, I'll start working on SHR/FSO
 again, where I'll help with integrating some of the workarrounds for the
 GTA04 modem into FSO with the aim of using my GTA04 with SHR/FSO as a
 daily phone.
 
 A lot of work is already done there. It can send and receive calls and
 SMS, has a working (not perfect) audio routing etc. but there is some
 testing and bug fixing needed.
 
 Furthermore, I'll keep the SHR kernel [2] synchronized with Neil's
 3.2-gta04 branch, which is working pretty nice already, as Radek stated.
 
 Cheers,
 Lukas
 
 [0] http://blog.slyon.de/3d-printed-gta04-case
 [1] http://trac.shr-project.org/trac/wiki/Devices/GTA04/InstallGuide
 [2]
 http://git.freesmartphone.org/?p=linux-2.6.git;a=shortlog;h=refs/heads/3.2-gta04
 
 ___
 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: [Gta04-owner] How to bring forward the community?

2012-02-27 Thread Joerg Eesmann
Hi,
for me the biggest problem in GTA02 is the sound quality in calls.
And it seems to be, that there are problems with echo in GTA04, too.
But GTA04 is OMAP3 based, and OMAP3 has a DSP on board. In the
beagleboard, there was a SW-component called DSP-bridge, and when I
recall correctly the DSP can be directly be fed with McBSP data. So if
the McBSP routing to and from the DSP would be possible, the DSP could
do the echo canceling and any possible sound shaping.
So there are some questions:
Is the DSP activated in the Kernel for GTA04?
Is the routing of the McBSP-data to and from the DSP possible?

I guess the main CPU could sleep during call, leaving the rest to the
DSP.
Would this idea be feasible?

I would love to work on this, if I find the time (I have some experience
with signal processing and programming DSPs, but no speech processing),
but I doubt I could do it alone.
I could do my tests on a beagleboard (with GTA04/Hybrid), which I
already have.

BR,
Joerg

 

On Mon, 2012-02-27 at 11:35 +0100, Dr. H. Nikolaus Schaller wrote:
 Hi all,
 while I am still fiddling with GTA04 production yield issues, I think it is
 important to reason about the big view.
 
 So I would like to encourage to share what you are working on
 (kernel? driver? user space?) and what you think would bring forward
 the Openmoko community a small or big step.. Any idea is welcome
 (even if you think we already know about it).
 
 Nikolaus
 
 ___
 Gta04-owner mailing list
 gta04-ow...@goldelico.com
 http://lists.goldelico.com/mailman/listinfo/gta04-owner



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


Re: How to bring forward the community?

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

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

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

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

Cheers,
rhn

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


Re: OM as car navigation

2012-02-27 Thread robin
hi,

i still have problems with qtmoko v39 to use navit or tango/foxtrotgps.
would you mind to post your gpsd file and the navit.xml line for your gpsd 
connection?
I start gps manually via the gps on script beforehand and nerongps gets a nice
fix, in contrast to navit :-(

best regards

robin




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


Re: OM as car navigation

2012-02-27 Thread robin
hi timo,

unfortunately I can't answer that as that usually happens during driving in my
car ...
Could I do anything useful to give you more information on that?


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


Re: How to bring forward the community?

2012-02-27 Thread Neil Jerram
rhn omcomali@porcupinefactory.org writes:

 Having an easy way to build and share programs (without the need of an
 entire distribution checkout like SHR needed if I remember right)
 would also help. Native compilation perhaps?

FWIW, native compilation has always been possible on the GTA02, at least
under Debian.  Admittedly it was sometimes painfully slow - depending on
what I was compiling - but nevertheless definitely possible.

On the GTA04 it is quite straightforward and quick to compile things.
I'm doing it all the time.

Regards,
  Neil

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


Re: [Gta04-owner] How to bring forward the community?

2012-02-27 Thread NeilBrown
On Mon, 27 Feb 2012 22:36:50 + Neil Jerram n...@ossau.homelinux.net
wrote:

 rhn omcomali@porcupinefactory.org writes:
 
  Having an easy way to build and share programs (without the need of an
  entire distribution checkout like SHR needed if I remember right)
  would also help. Native compilation perhaps?
 
 FWIW, native compilation has always been possible on the GTA02, at least
 under Debian.  Admittedly it was sometimes painfully slow - depending on
 what I was compiling - but nevertheless definitely possible.
 
 On the GTA04 it is quite straightforward and quick to compile things.
 I'm doing it all the time.

While I agree with all the above, I would very much like to be able to
compile GTA04 binaries on my x86_64 multi-core notebook.  I can do it easily
for the kernel, but that is made much easier by the lack of external
dependencies - no libraries to link with.

I tried once - having a Debian/arm distro in a directory somewhere and
setting up all the various paths, but I couldn't make it work.

Does anyone know how to do this?

(most of my user-space code is python which doesn't need compiling, but a few
bits are C and I would *really* like to be able to make install and it
would build arm version and scp them over.)

NeilBrown



signature.asc
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[QT] make -clean error

2012-02-27 Thread Πρεκατές Αλέξανδρος
After building qtmoko v39 in my debian -squeeze box :

in the qtmoko-build directory:
$make -clean 




rm /home/chomwitt/programming/QT4/radekp-qtmoko-
build/src/settings/language/liblanguage.so
rm /home/chomwitt/programming/QT4/radekp-qtmoko-
build/sdk/lib/libspygrind.so.1.0.0
*** Error 
/clean: Prerequisite failed
/sub_clean: Prerequisite failed
/src/clean_sub: Prerequisite failed
/src/clean: Prerequisite failed
/src/sub_clean: Prerequisite failed
/src/libraries/clean_sub: Prerequisite failed
/src/libraries/clean: Prerequisite failed
/src/libraries/sub_clean: Prerequisite failed
/src/libraries/qt/clean_sub: Prerequisite failed
/src/libraries/qt/clean: Command execution failed
$$QT_PATCH_ENV $$MAKE -C $$QTDIR/src clean
MAKEFILE=Makefile QMAKEFEATURES=/home/chomwitt/programming/QT4/radekp-
qtmoko/src/build/qt_patch QMAKEPATH=/home/chomwitt/programming/QT4/radekp-
qtmoko/qtopiacore/qt QPE_CONFIG=functions mkspec rules templates subdirs php 
qbuild depends installs i18n runlast defaults use_pic packages warn_on release 
free_package enable_rpath enable_malloc_hook enable_strict_flags build_device 
enable_qvfb qws build_rotate enable_ssl enable_qtopiawhereabouts 
enable_bluetooth enable_infrared enable_dbus enable_telephony enable_cell 
enable_voip enable_vpn enable_qtopiamedia enable_phonon build_libamr qtuitest 
enable_pictureflow build_qtopia_sqlite build_qtopia in_build_tree unix phone 
projects QTOPIACORE_CONFIG= QPEDIR=/home/chomwitt/programming/QT4/radekp-
qtmoko-build SDKROOT=/home/chomwitt/programming/QT4/radekp-qtmoko-build/sdk 
ADD_CFLAGS= make -C /home/chomwitt/programming/QT4/radekp-qtmoko-
build/qtopiacore/host/src clean
make[1]: Entering directory `/home/chomwitt/programming/QT4/radekp-qtmoko-
build/qtopiacore/host/src'
make[1]: Leaving directory `/home/chomwitt/programming/QT4/radekp-qtmoko-
build/qtopiacore/host/src'
make[1]: *** No rule to make target `clean'.  Stop.

make: *** [clean] Error 1




Why is that?




Also if i run again make -clean will seem to repeat again al l the previous 
commands in a behaviour that reminds me the issue #45 
https://github.com/radekp/qtmoko/issues/45

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