error with dbus

2009-05-06 Thread Anas Alzouhbi
Hello! I developped a simple code using dbus, it successed on PC, but it failed on the freerunner showing this error messaj: Connection Error (dbus-launch failed to autolaunch D-Bus session: Autolaunch requested, but X11 support not compiled in. Cannot continue. ) the attached file is my code

copy a file from smartphone to pc

2009-05-05 Thread Anas Alzouhbi
Hello! I want to transfer a file from my smartphone to the pc, for exemple the file name is toto4 and the username of my pc is elzouebi I runned this command scp toto4 elzou...@192.168.0.200 , it created a file called elzou...@192.168.0.200 on the smartphone :( also I runned this command scp

simple code using dbus

2009-04-30 Thread Anas Alzouhbi
Hello! I'm a newbie developper with Linux I need to compile a simple program using dbus and test it on my openmoko. Any one has a successful simple code of program , using dbus, to run it on openmoko please sent it to me, or send me the link ___

error comiling a simple application with dbus

2009-04-29 Thread Anas Alzouhbi
hello! I try to a build simle program which uses d-bus my program is too simple, its header contains: #include dbus/dbus.h but I obtained this error messaj: error: dbus/dbus.h: No such file or directory should I add any flag to the commands in Makefile, or what I have to do

connect a sensor

2009-04-24 Thread Anas Alzouhbi
Hello! could you help me, what to do after connecting electrically the sensor, how to setup it, or how can I make the gyroscope write data in a file like accelerometers. I big your help ___ Openmoko community mailing list community@lists.openmoko.org

Re: connect a sensor

2009-04-24 Thread Anas Alzouhbi
my project is to connect a gyroscope to my openmoko, the gyroscope is analog, but with A/D convertisser, and the output is SPI, until now I didn't connect it electrically, but supposed that the sensor is connected to available SPI pins, how can I read data from gyroscope, can I write just a setup

communications with the processor

2009-04-23 Thread Anas Alzouhbi
hello! 1- could you guide me where I can read about the communication between the processor and accelerometer (ex. protocole) 2- after connecting a gyroscope to the smarthphone, how can I read information, like first accelerometer, the information is written /dev/input/event2

PCB and schematic of openmoko

2009-04-22 Thread Anas Alzouhbi
Hello! I need the schematic and the pcb of my smarthphone openmoko GTA02, this link isn't available: http://downloads.openmoko.org/developer/schematics/GTA02/Schematics_Freerunner/GTA02_A5-7cumulative_public_RC0.pdf I need to know the locations of accelerometers on the board, and the location of

how to connect a sensor to my openmoko

2009-04-20 Thread Anas Alzouhbi
Hello! I like to connect a sensor (like gyroscope) to my smarthphone, how can I do this, or any one could give me a helpful document in this domain thank you ___ Openmoko community mailing list community@lists.openmoko.org

distance between the two accelermeters

2009-04-16 Thread Anas Alzouhbi
Hi! I'm trying to do an application that measure the angular velocity, using the two accelerometers of openmoko so anyone know what is the distance between the two accelerometers?? ___ Openmoko community mailing list community@lists.openmoko.org

compiling error

2009-04-14 Thread Anas Alzouhbi
Hi I try to compile this program found on: http://markmail.org/message/zi4poqd2fpxvfs67 but I obtained this error by compiling it: progtry.c: In function ‘pEvenThrd’: progtry.c:188: warning: implicit declaration of function ‘usleep’ progtry.c:190: warning: no return statement in function returning

error compiling

2009-04-07 Thread Anas Alzouhbi
I run successfully a program written in http://www.enricozini.org/2008/tips/accelerometers.html to read the Freerunner's accelerometers but I did another program like the precedent, but I added #include math.h and in the void: void processInputEvents(FILE* in) I added only these lines: x2 = pow

Re: error compiling

2009-04-07 Thread Anas Alzouhbi
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -std=gnu99 -Wall -pedantic -std=c99 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -L/usr/local/openmoko/arm/arm-angstrom-linux-gnueabi/usr/lib -o inclinaison inclinaison.o inclinaison.o: In function

packaging my application

2009-04-06 Thread Anas Alzouhbi
Hi I try to run a program helloworld I read the toolchain document, I arrived to packaging your application: but I run this command om-make-ipkg helloworld the output of this command is: make: entrant dans le répertoire « /root/helloworld » Making install in src make[1]: entrant dans le répertoire

Re: packaging my application

2009-04-06 Thread Anas Alzouhbi
Hi I try to run a program helloworld I read the toolchain document, I arrived to packaging your application: but I run this command om-make-ipkg helloworld the output of this command is: usage: om-make-ipkg [app_dir_name] [ipkg_control_file] y011pc99:~/helloworld/src# cd .. y011pc99:~/helloworld#

toolchain

2009-04-03 Thread Anas Alzouhbi
Hello! I think that toochain documentation is very important to follow, I have a problem, in the step . /usr/local/openmoko/arm/setup-env, this document or file is not found, but I found ./usr/local/openmoko/arm/environment-setup can I use ./usr/local/openmoko/arm/environment-setup instead of .

packaging the application

2009-04-03 Thread Anas Alzouhbi
I arrived in the toolchain ducument until :Packaging your application I run this command om-make-ipkg openmoko-sample2 it showed: usage: om-make-ipkg [app_dir_name] [ipkg_control_file] but the problem is when I run this command scp openmoko-sample2_0.1_armv4t.ipk r...@192.168.0.202: it shows this

Re: packaging the application

2009-04-03 Thread Anas Alzouhbi
the output of om-make-ipkg openmoko-sample2 is: usage: om-make-ipkg [app_dir_name] [ipkg_control_file] ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community

using toolchain

2009-04-01 Thread Anas Alzouhbi
Hello! I read the document of toolchain on:http://wiki.openmoko.org/wiki/Toolchain I arrived until this command: * Extract it directly as root, so use command su first (or prefix the tar command with sudo when you are using Debian/Ubuntu): cd / tar -xjvf

help for development in 5 minutes

2009-04-01 Thread Anas Alzouhbi
Hello! I read this document http://andreasdalsgaard.blogspot.com/2008/07/openmoko-development-in-5-minutes.html; in order to build a simple helloworld porgram on my openmoko I'm going to start with this command: wget http://smartere.dk/openmoko/openmoko-toolchain_0.20080521-ubuntu6_i386.deb sudo

Re: community Digest, Vol 125, Issue 16

2009-04-01 Thread Anas Alzouhbi
. Re: Google Summer of Code (Daniel Willmann)   3. Re: Google Summer of Code (Daniel Willmann)   4. using toolchain (Anas Alzouhbi)   5. Re: qt-extended-improved unpredictive keyboard      (Franky Van Liedekerke)   6. Re: using toolchain (arne anka)   7. help for development in 5 minutes (Anas

which way is the easier

2009-04-01 Thread Anas Alzouhbi
Hello! I succeed to do the ssh with my openmoko,but the ways that I have found to arrive to build the first program are: 1 - Documentation: Building a helloworld application, which needs to prepare to it to build openmoko from scratch, which have in prerequisites to follow getting started steps

error during the preparation of MokoMake file

2009-03-31 Thread Anas Alzouhbi
Hello! I follow the insturctions written in http://wiki.openmoko.org/wiki/MokoMakefile in order to build my first program on my openmoko, I arrived until Grab MokoMakefile: I did this command wget http://downloads.freesmartphone.org/Makefile, after that I wrote: make setup, to set up the

Re: community Digest, Vol 125, Issue 10

2009-03-31 Thread Anas Alzouhbi
Hello! Thank you Mr. Timo Juhani Lindfors, after installing git the setup of the environment succesed, but after i run this command: make fso-gta02-testing-image I obtained this error: make[1]: *** [image] Erreur 1 make[1]: quittant le répertoire « /root/moko/fso-testing » make: ***

Customizing the Openmoko Distribution

2009-03-31 Thread Anas Alzouhbi
Hi! I read this document http://wiki.openmoko.org/wiki/Application_Development_Crash_Course in order to build my first program on my openmoko but I didn't understand where is OMDIR, is it in home or in root and when i run this command: cp build/conf/site.conf local/conf/site.conf it can't find

started with openembedded

2009-03-31 Thread Anas Alzouhbi
hello! I followed the instruction written in http://wiki.openembedded.net/index.php/Getting_Started, I arrived to this command git clone git://git.openembedded.net/openembedded but it shows this error: fatal: could not create work tree dir 'openembedded'. what must I do