Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-11 Thread Paul V. Borza
Exactly, -neo2 uses the top accelerometer (as in reads from
/dev/input/event2), and -neo3 uses the bottom accelerometer (reads from
/dev/input/event3).This is where -neo2 and -neo3 come from: event2 and
event3.

Paul

On Wed, Sep 10, 2008 at 5:16 PM, Johny Tenfinger [EMAIL PROTECTED]wrote:

 On Thu, Sep 4, 2008 at 17:53, Joachim Breitner [EMAIL PROTECTED] wrote:
   * Do you really need the various -neo2.sh, -neo3.sh wrappers? Why not
  have one wrapper that reads cat /proc/cpuinfo | grep Hardware?

 This is not for hardware revision, both are for GTA02 - neo2 uses
 bottom accelerometer, and neo3 uses top accelerometer (or maybe in
 another order :x) It's only for user choose.

 dos

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




-- 
Paul V. Borza
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-11 Thread Paul V. Borza
I know you did, Trevino, and I'm really sorry I didn't had time to took into
it.Right now I'm not focusing on the gestures project, because I've got
something else to finish.
But don't worry, I've bought the necessary hardware for accelsense.org in
order to start working again later this month, and I'll take care of the
start-up problem as it's important.

Paul

On Thu, Sep 11, 2008 at 2:26 AM, Marco Trevisan (Treviño)
[EMAIL PROTECTED]wrote:

 Paul V. Borza wrote:
  Haven't figured out that yet;
  update-rc.d gesl defaults 80 will start the daemon, but it won't work as
  it will start it before X.
 
  I've tried putting it inside xinitrc, but that didn't work either for
  me. I was probably doing something wrong.
  Maybe someone else can help to figure this problem once and for all?

 I wrote a things you could try some weeks ago in your blog [1], but I
 don't know if they work (I've tested them just via SSH and they work).
 The only thing come up in my mind was that of dbus-launch the process
 from an /etc/X11/Xsession.d entry.

 Bye!


 [1] http://tinyurl.com/6l9ou7

 --
 Treviño's World - Life and Linux
 http://www.3v1n0.net/


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




-- 
Paul V. Borza
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-10 Thread julien cubizolles
Le jeudi 14 août 2008 à 19:01 +0200, Paul-Valentin Borza a écrit :
 I'm proud to announce that the new release of accelerometer-based
 gestures, and screen orientation is now available for download.
 What you've seen in the video from
 http://www.youtube.com/watch?v=K2S2rQUETwc is now available.

How can I start the gesl daemon at boot time. I tried adding a link
(/etc/rc5.d/S99gesl - /etc/init.d/gesl) but it didn't work.


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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-10 Thread Johny Tenfinger
On Thu, Sep 4, 2008 at 17:53, Joachim Breitner [EMAIL PROTECTED] wrote:
  * Do you really need the various -neo2.sh, -neo3.sh wrappers? Why not
 have one wrapper that reads cat /proc/cpuinfo | grep Hardware?

This is not for hardware revision, both are for GTA02 - neo2 uses
bottom accelerometer, and neo3 uses top accelerometer (or maybe in
another order :x) It's only for user choose.

dos

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-10 Thread Marco Trevisan (Treviño)
Paul V. Borza wrote:
 Haven't figured out that yet;
 update-rc.d gesl defaults 80 will start the daemon, but it won't work as 
 it will start it before X.
 
 I've tried putting it inside xinitrc, but that didn't work either for 
 me. I was probably doing something wrong.
 Maybe someone else can help to figure this problem once and for all?

I wrote a things you could try some weeks ago in your blog [1], but I 
don't know if they work (I've tested them just via SSH and they work).
The only thing come up in my mind was that of dbus-launch the process 
from an /etc/X11/Xsession.d entry.

Bye!


[1] http://tinyurl.com/6l9ou7

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-05 Thread Joachim Breitner
Hi,

Am Freitag, den 05.09.2008, 12:30 +0200 schrieb Paul-Valentin Borza:
 On Thu, Sep 4, 2008 at 5:53 PM, Joachim Breitner [EMAIL PROTECTED] wrote:
  Am Donnerstag, den 04.09.2008, 17:31 +0200 schrieb Joachim Breitner:
  I was about to package accelgel for Debian. I exported the latest svn,
  tried to generate a clean source tarball with
  $ autogen.sh  make dist
  and tried to use the resulting .tar.gz to build the package.
  Unfortunately, it seems that the generated tarball is not complete, for
  example it misses ./accelneo/include/accelneo.h
 
  Would you do me a favour and provide an official source tarball of
  your release, preferably one created by make dist? Then I'll continue
  with packaging it.
 
 It's pretty strange that you gen a missing accelneo.h as the file is on SVN.
 The latest version is on SVN.
 Do you still have problems with missing accelneo.h?

Sorry for not being clear: I did not try to compile directly from the
svn checkout. Instead, I have built a release tarball with make dist,
but this tarball does not work because it is missing some files, e.g.
accelneo.h. There is a way to tell automake what files to include in a
release tarball, but I don’t know a lot about automake yet. 

Having a working make dist is not really critical, but it’s a sign of
good automake packaging, and it allows you to easily create release
tarballs. Also, make distcheck is useful. See
http://www.gnu.org/software/libtool/manual/automake/Dist.html if you are
interestd in that.

  BTW, what are you plans now that GSOC is over? Are you continuing the
  development of accelges?
 
 Glad you're asking. I'm definitely thinking on continuing this
 project, and as you said I'm thinking in turning it to a proper
 program.
 That's why I've bought accelsense.org, exactly for this purpose. Once
 I have everything set up on accelsense.org, I'll move the code there
 on git.
 And maybe other members would like to contribute.
 I'll add your items from the above list to the TO-DO list. Just that
 right now I don't have time to work on it, at least not this month.
 I'm also doing an internship in Slovenia that's why I'm that busy.

Glad to hear that. May I suggest that you set up the git repository
earlyier, so that people can start hacking on their branches until you
have time to conitnue development?

Thanks,
Joachim

-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-04 Thread Johny Tenfinger
Install patched version of neod from
http://westhoffs-welt.de/blog/my_first_openmoko_application.html , it
will help.

dos

On Sat, Aug 16, 2008 at 14:32, Christian Anke [EMAIL PROTECTED] wrote:
 Am Samstag 16 August 2008 14:02:30 schrideb Fox Mulder:
 I installed the same uboot version yesterday and my event2 doesn't work
 like with the old uboot version.
 I don't think uboot has something to do with the problem if the sensors
 work or not.

 Ciao,
  Rainer

 Risto H. Kurppa wrote:
  On Sat, Aug 16, 2008 at 1:56 PM, Christian Anke [EMAIL PROTECTED] wrote:
  Am Samstag 16 August 2008 12:36:40 schrieb Risto H. Kurppa:
  btw updating my uboot made my event2 work so I was able to test
  gestures: the screen rotation worked nice, very cool!
 
  r
 
  what version of uboot?
 
  Now i have 1.3.2+gitr68+650149a53dbdd48bf6dfef90930c8ab182adb512
  from here:
  http://buildhost.openmoko.org/daily/freerunner/200808/20080812/ (the file
  name is 1.3.1 for some reason)
 
  r

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

 i played a little with the processes.

 when i stop the xserver then starting the hexdump to /dev/inout/event2 it 
 will output something.
 while its dumping, i started the xserver and from the point when the 
 welcome sound
 was played, the dump stops ouputting anything. same procedure will reproduce
 it (stop xserver, restart hexdump!, start xserver, dump stops output when 
 plays welcome).

 mybe any of these processes
 root  2095  0.0  0.5   2572   700 pts/1S14:21   0:00 xinit 
 /etc/X11/Xsession --
 /usr/bin/Xglamo :0 -pn -dpi 285 -screen 480x640 -hide-cursor -roo
 root  2099  4.2  4.2   8716  5356 pts/1S   14:21   0:16  \_ 
 /usr/bin/Xglamo :0 -pn -dpi 285
 -screen 480x640 -hide-cursor -root-ppm /usr/share/pixmap
 root  2100  0.0  0.5   2676   648 pts/1S14:21   0:00  \_ /bin/sh 
 /etc/X11/Xsession
 root  2108  0.0  0.4   2680   536 pts/1S14:21   0:00  \_ 
 run-parts
 /etc/X11/Xsession.d
 root  2120 29.7  3.0  22848  3792 pts/1Rl   14:21   1:52  \_ 
 neod
 root  2121  3.1 10.0  33700 12644 pts/1S14:21   0:11  
 \_ openmoko-today
 root  2122  0.6  7.4  29740  9412 pts/1Sl   14:21   0:02  
 \_ phone-kit
 root  2123  0.1  2.5   7740  3188 pts/1S14:21   0:00  
 \_ matchbox-window-
 manager -use_titlebar yes -use_desktop_mode decorated -theme
 root  2124  0.8  5.7  20248  7248 pts/1S14:21   0:03  
 \_ matchbox-panel-2 --
 start-applets systray,startup --end-applets openmoko-pane

 is cause this.

 hope this wil help anybody to fix this issue.

 im using openmoko-devel 20080812.

  Carci

 ___
 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: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-09-04 Thread Joachim Breitner
Hi again,

Am Donnerstag, den 04.09.2008, 17:31 +0200 schrieb Joachim Breitner:
 Am Donnerstag, den 14.08.2008, 19:01 +0200 schrieb Paul-Valentin Borza:
  I'm proud to announce that the new release of accelerometer-based
  gestures, and screen orientation is now available for download.
 
 I was about to package accelgel for Debian. I exported the latest svn,
 tried to generate a clean source tarball with
 $ autogen.sh  make dist
 and tried to use the resulting .tar.gz to build the package.
 Unfortunately, it seems that the generated tarball is not complete, for
 example it misses ./accelneo/include/accelneo.h
 
 Would you do me a favour and provide an “official” source tarball of
 your release, preferably one created by “make dist”? Then I’ll continue
 with packaging it.

While I’m at it, here are some packaging related suggestions:

 * Check for the existence of your dependencies in configure. E.g. I
could run configure without having libbluetooth2-dev installed, only to
have “make” fail.
 * Please install everything using automake, including configuration
etc. This avoids duplication and diversion between accelges_svn.bb, the
Debian packaging and other distros.
 * Do not install files with an ending “.sh” in the path. This is
against Debian policy, and ugly as well :-)
 * Do you really need the various -neo2.sh, -neo3.sh wrappers? Why not
have one wrapper that reads cat /proc/cpuinfo | grep Hardware?
 * You install the acceleration data into /etc in your bb recipe. This
is uncommon for binary data. If it’s data that is going to be modified
by programs while running, it should go to /var/lib. Or better, put
distributed files in /usr/share and create additional data in /var/lib. 

I guess that’s quite a large list. But I think it’s what turn a private
project into a proper program.

BTW, what are you plans now that GSOC is over? Are you continuing the
development of accelges?

Greetings,
Joachim


-- 
Joachim nomeata Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata


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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-16 Thread Fredrik Wendt
Paul-Valentin Borza wrote:
 I'll probably do a better integration with the framework on the next
 release.
 
 Paul

You are doing an awesome work! I hope you feel that we truly appreciate
the extra hours you put into this! :)

Having gestures being sent out as signals on the system dbus is going to
be great!

Thank you so much,

  Fredrik Wendt



signature.asc
Description: Detta är en digitalt signerad	meddelandedel
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-16 Thread Risto H. Kurppa
btw updating my uboot made my event2 work so I was able to test
gestures: the screen rotation worked nice, very cool!

r

-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-16 Thread Christian Anke
Am Samstag 16 August 2008 12:36:40 schrieb Risto H. Kurppa:
 btw updating my uboot made my event2 work so I was able to test
 gestures: the screen rotation worked nice, very cool!

 r

what version of uboot?

 Carci?

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-16 Thread Risto H. Kurppa
On Sat, Aug 16, 2008 at 1:56 PM, Christian Anke [EMAIL PROTECTED] wrote:
 Am Samstag 16 August 2008 12:36:40 schrieb Risto H. Kurppa:
 btw updating my uboot made my event2 work so I was able to test
 gestures: the screen rotation worked nice, very cool!

 r

 what version of uboot?

Now i have 1.3.2+gitr68+650149a53dbdd48bf6dfef90930c8ab182adb512
from here: http://buildhost.openmoko.org/daily/freerunner/200808/20080812/
(the file name is 1.3.1 for some reason)

r

-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

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



Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-16 Thread Fox Mulder
I installed the same uboot version yesterday and my event2 doesn't work
like with the old uboot version.
I don't think uboot has something to do with the problem if the sensors
work or not.

Ciao,
 Rainer

Risto H. Kurppa wrote:
 On Sat, Aug 16, 2008 at 1:56 PM, Christian Anke [EMAIL PROTECTED] wrote:
 Am Samstag 16 August 2008 12:36:40 schrieb Risto H. Kurppa:
 btw updating my uboot made my event2 work so I was able to test
 gestures: the screen rotation worked nice, very cool!

 r
 what version of uboot?
 
 Now i have 1.3.2+gitr68+650149a53dbdd48bf6dfef90930c8ab182adb512
 from here: http://buildhost.openmoko.org/daily/freerunner/200808/20080812/
 (the file name is 1.3.1 for some reason)
 
 r
 

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-16 Thread Paul-Valentin Borza
Hi Fredrik,

Thanks. Recognized gestures, are already sent through dbus, check
http://wiki.openmoko.org/wiki/Accelerometer-based_Gestures#DBUS

Paul

On Sat, Aug 16, 2008 at 11:55 AM, Fredrik Wendt [EMAIL PROTECTED] wrote:

 Paul-Valentin Borza wrote:
  I'll probably do a better integration with the framework on the next
  release.
 
  Paul

 You are doing an awesome work! I hope you feel that we truly appreciate
 the extra hours you put into this! :)

 Having gestures being sent out as signals on the system dbus is going to
 be great!

 Thank you so much,

  Fredrik Wendt


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




--
http://www.borza.ro

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-16 Thread Christian Anke
Am Samstag 16 August 2008 14:02:30 schrieb Fox Mulder:
 I installed the same uboot version yesterday and my event2 doesn't work
 like with the old uboot version.
 I don't think uboot has something to do with the problem if the sensors
 work or not.

 Ciao,
  Rainer

 Risto H. Kurppa wrote:
  On Sat, Aug 16, 2008 at 1:56 PM, Christian Anke [EMAIL PROTECTED] wrote:
  Am Samstag 16 August 2008 12:36:40 schrieb Risto H. Kurppa:
  btw updating my uboot made my event2 work so I was able to test
  gestures: the screen rotation worked nice, very cool!
 
  r
 
  what version of uboot?
 
  Now i have 1.3.2+gitr68+650149a53dbdd48bf6dfef90930c8ab182adb512
  from here:
  http://buildhost.openmoko.org/daily/freerunner/200808/20080812/ (the file
  name is 1.3.1 for some reason)
 
  r

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

i played a little with the processes.

when i stop the xserver then starting the hexdump to /dev/inout/event2 it will 
output something.
while its dumping, i started the xserver and from the point when the welcome 
sound
was played, the dump stops ouputting anything. same procedure will reproduce
it (stop xserver, restart hexdump!, start xserver, dump stops output when plays 
welcome).

mybe any of these processes 
root  2095  0.0  0.5   2572   700 pts/1S14:21   0:00 xinit 
/etc/X11/Xsession -- 
/usr/bin/Xglamo :0 -pn -dpi 285 -screen 480x640 -hide-cursor -roo
root  2099  4.2  4.2   8716  5356 pts/1S   14:21   0:16  \_ 
/usr/bin/Xglamo :0 -pn -dpi 285 
-screen 480x640 -hide-cursor -root-ppm /usr/share/pixmap
root  2100  0.0  0.5   2676   648 pts/1S14:21   0:00  \_ /bin/sh 
/etc/X11/Xsession
root  2108  0.0  0.4   2680   536 pts/1S14:21   0:00  \_ 
run-parts 
/etc/X11/Xsession.d
root  2120 29.7  3.0  22848  3792 pts/1Rl   14:21   1:52  \_ 
neod
root  2121  3.1 10.0  33700 12644 pts/1S14:21   0:11  
\_ openmoko-today
root  2122  0.6  7.4  29740  9412 pts/1Sl   14:21   0:02  
\_ phone-kit
root  2123  0.1  2.5   7740  3188 pts/1S14:21   0:00  
\_ matchbox-window-
manager -use_titlebar yes -use_desktop_mode decorated -theme
root  2124  0.8  5.7  20248  7248 pts/1S14:21   0:03  
\_ matchbox-panel-2 --
start-applets systray,startup --end-applets openmoko-pane

is cause this.

hope this wil help anybody to fix this issue.

im using openmoko-devel 20080812.

 Carci

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Risto H. Kurppa
Very cool indeed!

I'm really expecting to see apps taking the most out of this.

Well done!

r

(though couldn't get anything read from accelerometers so far, tried
restart, too)


On Fri, Aug 15, 2008 at 1:30 AM, thomasg [EMAIL PROTECTED] wrote:
 Really great work!
 But I don't think a service depending on a running xserver should be an init
 script (even if the script can require the X init script to be ready).
 Imho it would be better to use the X infrastructure for that, maybe by an
 Xsession file.

 On Thu, Aug 14, 2008 at 8:43 PM, Paul-Valentin Borza [EMAIL PROTECTED]
 wrote:

 Thanks, didn't know that. I'll definitely try it out.

 Thanks,
 Paul

 On Thu, Aug 14, 2008 at 7:55 PM, Harald Koenig
 [EMAIL PROTECTED] wrote:

 Hi Paul,

 On Aug 14, Paul-Valentin Borza wrote:

  There's a quick way to install it, and a more detailed way... Read
  http://wiki.openmoko.org/wiki/Gestures

 really nice work!
 a quick hint how to start from ssh login, just use

DISPLAY=:0 /etc/init.d/gesl start

 instead of

/etc/init.d/gesl start


 Harald
 --
 I hope to die  ___   _
 before I *have* to use Microsoft Word.,   0--,|/OOO\
 Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \
 O|//
   \/\/\/\/\/\/\/\/\/
 Harald Koenig   //  / \\  \
 [EMAIL PROTECTED] ^   ^



 --
 http://www.borza.ro

 ___
 devel mailing list
 [EMAIL PROTECTED]
 https://lists.openmoko.org/mailman/listinfo/devel



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





-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Christian Anke
Am Donnerstag 14 August 2008 20:50:54 schrieb carcinoma:
 Am Donnerstag 14 August 2008 20:23:02 schrieb Ben Holt:
  Paul-Valentin Borza wrote:
   Have fun with it!

 i'm sad,
 because the hexdump for /dev/input/event2 has no output...

 result is: no working gesture capturing. what can i do to activate
 the top accelerometer?

 please help me, it's such a nice thing..

  Carci

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

what is with this? the top accelerometer does not work!
Also after restarting the neo.

can this be a hardware fault?

 Carci

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Timo Jyrinki
2008/8/15 Christian Anke [EMAIL PROTECTED]:
 what is with this? the top accelerometer does not work!
 Also after restarting the neo.

 can this be a hardware fault?

Same problem here. The earlier version of gestures worked for me once,
but didn't work later on. hexdumping event3 seems to show data, but
currently nothing from event2 despite reboots.

Probably something for the Openmoko hw/driver team to investigate again.

-Timo

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Bastian Muck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Timo Jyrinki schrieb:
 2008/8/15 Christian Anke [EMAIL PROTECTED]:
 what is with this? the top accelerometer does not work!
 Also after restarting the neo.

 can this be a hardware fault?

 Same problem here. The earlier version of gestures worked for me once,
 but didn't work later on. hexdumping event3 seems to show data, but
 currently nothing from event2 despite reboots.

 Probably something for the Openmoko hw/driver team to investigate again.

 -Timo

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

I don't get any data out of event2 and event3. Even if i kill neod, I
get no data. But I wonder why Eightball ran some days ago. Now it
doesnt run either. As you could probably see, I am runnung 2007.2 Image.

Greetungs Bastian
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIpWg3lYiDScJJ+7QRArmHAKCDteLYYvyw4Tk0F1kRt/8q0Ol7LwCgmSwj
u6Q1kKSxQv4aAcXleHA3dWo=
=CIzh
-END PGP SIGNATURE-


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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Bastian Muck
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Andy Green schrieb:
 Somebody in the thread at some point said: | Timo Jyrinki schrieb:
 | 2008/8/15 Christian Anke [EMAIL PROTECTED]: | what is with
 this? the top accelerometer does not work! | Also after
 restarting the neo. | | can this be a hardware fault? | Same
 problem here. The earlier version of gestures worked for me once,
 | but didn't work later on. hexdumping event3 seems to show data,
 but | currently nothing from event2 despite reboots. | | Probably
 something for the Openmoko hw/driver team to investigate again. |
 | -Timo | | ___ |
 Openmoko community mailing list | community@lists.openmoko.org |
 http://lists.openmoko.org/mailman/listinfo/community | | I don't
 get any data out of event2 and event3. Even if i kill neod, I | get
 no data. But I wonder why Eightball ran some days ago. Now it |
 doesnt run either. As you could probably see, I am runnung 2007.2
 Image.

 what does

 cat /proc/interrupts

 say?

 -Andy
Without x startet:

[EMAIL PROTECTED]:~# cat /proc/interrupts
   CPU0
 16:  2s3c-ext0  lis302dl
 17:  1s3c-ext0  modem
 30:8506114 s3c  S3C2410 Timer Tick
 33: 14 s3c  s3c24xx_hcd
 35:1990012 s3c  I2S PCM Stereo out
 37:202 s3c  S3c24xx SDIO host controller
 41:  41714 s3c  s3c2410_udc
 42:  0 s3c  ohci_hcd:usb1
 43:  37631 s3c  s3c2440-i2c
 48:  1 s3c-ext  Neo1973 Headphone Jack
 49:  1 s3c-ext  ar6000
 50:  1 s3c-ext  Neo1973 AUX button
 51:  3 s3c-ext  Neo1973 HOLD button
 53: 58 s3c-ext  pcf50633
 60:  2 s3c-ext  lis302dl
 70:  72144   s3c-uart0  s3c2440-uart
 71:  29348   s3c-uart0  s3c2440-uart
 73:  0   s3c-uart1  s3c2440-uart
 74:  2   s3c-uart1  s3c2440-uart
 76:  0   s3c-uart2  s3c2440-uart
 77: 20   s3c-uart2  s3c2440-uart
 79: 87 s3c-adc  s3c2410_action
 80:  21291 s3c-adc  s3c2410_action
Err:  0

With x startet:

[EMAIL PROTECTED]:~# cat /proc/interrupts
   CPU0
 16:  2s3c-ext0  lis302dl
 17:  1s3c-ext0  modem
 30:8522896 s3c  S3C2410 Timer Tick
 33: 14 s3c  s3c24xx_hcd
 35:1993946 s3c  I2S PCM Stereo out
 37:202 s3c  S3c24xx SDIO host controller
 41:  46526 s3c  s3c2410_udc
 42:  0 s3c  ohci_hcd:usb1
 43:  37703 s3c  s3c2440-i2c
 48:  1 s3c-ext  Neo1973 Headphone Jack
 49:  1 s3c-ext  ar6000
 50:  1 s3c-ext  Neo1973 AUX button
 51:  3 s3c-ext  Neo1973 HOLD button
 53: 59 s3c-ext  pcf50633
 60:  2 s3c-ext  lis302dl
 70:  72362   s3c-uart0  s3c2440-uart
 71:  29404   s3c-uart0  s3c2440-uart
 73:  0   s3c-uart1  s3c2440-uart
 74:  2   s3c-uart1  s3c2440-uart
 76:  0   s3c-uart2  s3c2440-uart
 77: 20   s3c-uart2  s3c2440-uart
 79: 87 s3c-adc  s3c2410_action
 80:  21291 s3c-adc  s3c2410_action
Err:  0

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


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFIpW4tlYiDScJJ+7QRAmZYAJ9KSEBaEo9syXgVVtFaIs0NfHL3iACgxb4/
u/ooW1g6V9kUJgw/TzxauXE=
=OJ0J
-END PGP SIGNATURE-


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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Risto H. Kurppa
On Fri, Aug 15, 2008 at 2:58 PM, Christian Anke [EMAIL PROTECTED] wrote:
 Am Freitag 15 August 2008 13:37:56 schrieb Andy Green:
 what does

 cat /proc/interrupts

 say?

[EMAIL PROTECTED]:~# cat /proc/interrupts
   CPU0
 16: 12s3c-ext0  lis302dl
 17:  1s3c-ext0  modem
 30:3750756 s3c  S3C2410 Timer Tick
 33: 82 s3c  s3c24xx_hcd
 35: 875432 s3c  I2S PCM Stereo out
 37:394 s3c  S3c24xx SDIO host controller
 41:  26970 s3c  s3c2410_udc
 42:598 s3c  ohci_hcd:usb1
 43:  15721 s3c  s3c2440-i2c
 48:  1 s3c-ext  Neo1973 Headphone Jack
 49:  0 s3c-ext  ar6000
 50:  1 s3c-ext  Neo1973 AUX button
 51:  1 s3c-ext  Neo1973 HOLD button
 53:  8 s3c-ext  pcf50633
 60:  2 s3c-ext  lis302dl
 70:   4448   s3c-uart0  s3c2440-uart
 71:   2367   s3c-uart0  s3c2440-uart
 76:  0   s3c-uart2  s3c2440-uart
 77: 20   s3c-uart2  s3c2440-uart
 79: 37 s3c-adc  s3c2410_action
 80:   5921 s3c-adc  s3c2410_action
Err:  0
[EMAIL PROTECTED]


(as you see, that's easy to tell you and many seem to have this
problem - you get many answers :)


r

 - and than you for all the great work Andy!!

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
Hi Yaroslav,

Well, that might be an idea to use both accelerometers. Currently (in this
release), the daemons can use either of the accelerometers (top or bottom);
it just depends on the arguments that are used to start the daemons.
However, there are models only for the top accelerometer.
Try running gesm --neo2 --config /etc/accelges/neo2 --new up.model (for top
accel)
or gesm --neo3 --config /etc/accelges/neo3 --new up.model (for bottom accel)

What we might need to really improve the accuracy, is a gyroscope. Perhaps
in GTA03?

Thanks,
Paul

On Thu, Aug 14, 2008 at 9:02 PM, Yaroslav Halchenko site-openmoko.org@
onerussian.com wrote:

 cool! Thanks!

 1 quick question. wiki says: Remark: The Alpha 2 Release uses the TOP
 accelerometer. Are you planing to develop the accelerometer further to
 make use of all (ie both now) acceelerometers present at the same time
 to improve sensitivity/specificity of the detection? :-)

 --
  .-.
 =--   /v\  =
 Keep in touch// \\ (yoh@|www.)onerussian.com
 Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]



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




-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
There's a bug unfortunately with the landscape mode. I think half of it has
been corrected (on FSO).

Paul

On Thu, Aug 14, 2008 at 9:07 PM, C R McClenaghan [EMAIL PROTECTED]wrote:

 Bravo - coolest app to date. I've installed on FSO MS2 with updates
 for dependencies.

 For me not only is the keyboard having difficulty but other screen
 touches in the two new landscape modes are not always calibrated
 correctly.

 Now I'll have to read the rest of the documentation to see how to
 connect the gestures to an action.

 Chris

 On Aug 14, 2008, at 11:23 AM, Ben Holt wrote:

  Paul-Valentin Borza wrote:
 
  Have fun with it!
 
 
  Excellent, the gestures seem to be working well for me, thanks!
 
  As a somewhat related aside, I haven't played with the landscape view
  before and am noticing that the keyboard isn't properly calibrated.
  It
  looks to expect the keyboard to be centred on the screen, not left
  justified as it appears.  As such typing is pretty difficult.
 
  - Ben
 
  ___
  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




-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
Yes, I'll have to rethink the design a little bit to reduce power
consumption.

On Thu, Aug 14, 2008 at 9:09 PM, Yorick Moko [EMAIL PROTECTED] wrote:

 On Thu, Aug 14, 2008 at 9:02 PM, Yaroslav Halchenko
 [EMAIL PROTECTED] wrote:
  cool! Thanks!
 
  1 quick question. wiki says: Remark: The Alpha 2 Release uses the TOP
  accelerometer. Are you planing to develop the accelerometer further to
  make use of all (ie both now) acceelerometers present at the same time
  to improve sensitivity/specificity of the detection? :-)
 
  --
   .-.
  =--   /v\  =
  Keep in touch// \\ (yoh@|www.)onerussian.com
  Yaroslav Halchenko  /(   )\   ICQ#: 60653192
Linux User^^-^^[17]
 
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 

 maybe when using both accelerometers it would be possible to use a
 smaller resolution (checking the accelermoters with a larger
 interval) to reduce cpu-load and powerconsumption?

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




-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
Don't know what to say here, sorry.

Paul

On Fri, Aug 15, 2008 at 9:36 AM, Christian Anke [EMAIL PROTECTED] wrote:

 Am Donnerstag 14 August 2008 20:50:54 schrieb carcinoma:
  Am Donnerstag 14 August 2008 20:23:02 schrieb Ben Holt:
   Paul-Valentin Borza wrote:
Have fun with it!
 
  i'm sad,
  because the hexdump for /dev/input/event2 has no output...
 
  result is: no working gesture capturing. what can i do to activate
  the top accelerometer?
 
  please help me, it's such a nice thing..
 
   Carci
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community

 what is with this? the top accelerometer does not work!
 Also after restarting the neo.

 can this be a hardware fault?

  Carci

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




-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
Try the 2008.8 release.

Paul

On Fri, Aug 15, 2008 at 1:27 PM, Bastian Muck [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Timo Jyrinki schrieb:
  2008/8/15 Christian Anke [EMAIL PROTECTED]:
  what is with this? the top accelerometer does not work!
  Also after restarting the neo.
 
  can this be a hardware fault?
 
  Same problem here. The earlier version of gestures worked for me once,
  but didn't work later on. hexdumping event3 seems to show data, but
  currently nothing from event2 despite reboots.
 
  Probably something for the Openmoko hw/driver team to investigate again.
 
  -Timo
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 I don't get any data out of event2 and event3. Even if i kill neod, I
 get no data. But I wonder why Eightball ran some days ago. Now it
 doesnt run either. As you could probably see, I am runnung 2007.2 Image.

 Greetungs Bastian
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFIpWg3lYiDScJJ+7QRArmHAKCDteLYYvyw4Tk0F1kRt/8q0Ol7LwCgmSwj
 u6Q1kKSxQv4aAcXleHA3dWo=
 =CIzh
 -END PGP SIGNATURE-


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




-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
I'll probably do a better integration with the framework on the next
release.

Paul

On Fri, Aug 15, 2008 at 12:30 AM, thomasg [EMAIL PROTECTED] wrote:

 Really great work!
 But I don't think a service depending on a running xserver should be an
 init script (even if the script can require the X init script to be ready).
 Imho it would be better to use the X infrastructure for that, maybe by an
 Xsession file.

 On Thu, Aug 14, 2008 at 8:43 PM, Paul-Valentin Borza 
 [EMAIL PROTECTED] wrote:

 Thanks, didn't know that. I'll definitely try it out.

 Thanks,
 Paul

 On Thu, Aug 14, 2008 at 7:55 PM, Harald Koenig 
 [EMAIL PROTECTED] wrote:

 Hi Paul,

 On Aug 14, Paul-Valentin Borza wrote:

  There's a quick way to install it, and a more detailed way... Read
  http://wiki.openmoko.org/wiki/Gestures

 really nice work!
 a quick hint how to start from ssh login, just use

DISPLAY=:0 /etc/init.d/gesl start

 instead of

/etc/init.d/gesl start


 Harald
 --
 I hope to die  ___   _
 before I *have* to use Microsoft Word.,   0--,|/OOO\
 Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \
 O|//
   \/\/\/\/\/\/\/\/\/
 Harald Koenig   //  / \\  \
 [EMAIL PROTECTED] ^   ^




 --
 http://www.borza.ro

 ___
 devel mailing list
 [EMAIL PROTECTED]
 https://lists.openmoko.org/mailman/listinfo/devel





-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
On the sensitivity issue... The time that the recognizer considers a gesture
was made is unfortunately hard-coded with a #define in this release (sorry
for that). However, there's something you can do (you can train the
classifier to detect dynamic acceleration - i.e. when you make a gesture -
to be more rigid).
You can't do it in GUI mode, but you can use the console:
There are 2 classes: static acceleration (s.class), and dynamic accelration
(d.class)

Train the dynamic acceleration class:
gesm --neo2 --config /etc/accelges/neo2 --new d.class
gesm --neo2 --config /etc/accelges/neo2 --train d.class

Be aware that this isn't a gesture training, as it's a classifier's class
creation, and training. So when you make shake the phone here, you'll have
to press the screen of the Neo (doesn't matter where) at all time while you
make the move. When you release the screen, your dynamic class will be
adapted.
Also, once you do this, all the gestures can be considered trash. You'll
have to create, train all the gestures (use the GUI).

Well, acceleration is not direction unfortunately. A gyroscope can solve
this problems - an accelerometer, and a gyroscope will solve these kind of
problems.
I can do something in the next release to correct the landscape, move
upwards detects right problem; I will try that.

No, you can't do that right now, as the duration is hard-coded for now.

To tool how a gesture looks like, run:
gesm --neo2 --config /etc/accelges/neo2 --view up.model
or whatever model you like - it's a continuous density left-to-right hidden
Markov model

Thanks,
Paul

On Thu, Aug 14, 2008 at 11:31 PM, Daniel Benoy [EMAIL PROTECTED] wrote:

 Looks good :)

 Here's my experiences, don't know if these are planned for future releases:

 I don't know if something is wrong for me though because it's really
 sensitive.  Handling my phone ordinarally and gently results in a lot of
 'shake shake'.  Would it be possible to require a constant shaking motion
 for 2 seconds or something before it registers? Also it doesn't seem to
 factor out gravity (I don't know if that is possible?)  For example, if I
 turn my phone upside down, the screen orientation goes with it (Which works
 great by the way!).  If I jerk my phone to the right, up comes 'left'.
  That's not right.  (Hahaha punny!)  And if I hold my screen purpendicular
 to the ground, and jerk the phone upwards and then downwards it detects
 'forward, backward' etc etc etc.  You're the expert so correct me if I'm
 wrong, but can we not detect a reasonably consistant 1G force, and then
 apply a rotation matrix or something to every input value so that things are
 relative to that direction (And only change the known gravity direction if
 1G is sustained in one direction for a long enough period of time) ?

 These training files, how advanced are they?  Would I be able to write one
 that says something like 'If the accelerometer detects between three and
 five sudden changes in direction over #Gs that occur over a period that's no
 less than 2 seconds but no more than 4 seconds?', or stuff that advanced?

 Thanks for the great work so far :)

 On Thursday 14 August 2008 13:01:35 Paul-Valentin Borza wrote:
  I'm proud to announce that the new release of accelerometer-based
  gestures, and screen orientation is now available for download.
  What you've seen in the video from
  http://www.youtube.com/watch?v=K2S2rQUETwc is now available.
 
  This release includes:
  An application with user interface that allows the user to train the
  gestures for himself/herself;
  A listener daemon that sends a notification on the screen of the
  recognized gesture;
  Automatically switch of screen orientation for the four possible modes
  (2xportrait, and 2xlandscape).
 
  Here's the direct link for the release:
 
 http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk
  You can find documentation, installation instructions, screenshots
  etc. on the Wiki: http://wiki.openmoko.org/wiki/Gestures
  There's a quick way to install it, and a more detailed way... Read
  http://wiki.openmoko.org/wiki/Gestures
 
  I would suggest carefully reading the instructions, and running the
  gesture listener as soon as you install the package (i.e. before
  training).
  Of course, the gestures were not trained for you (unfortunately I had
  a limited set of training data - only myself), so you'll have to train
  them for yourself.
 
  Have fun with it!
 
  Thanks,
  Paul
  --
  http://www.borza.ro
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 



 --
 Daniel Benoy
 http://daniel.benoy.name

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




-- 
http://www.borza.ro
___
Openmoko community mailing 

Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Yaroslav Halchenko
Well, that might be an idea to use both accelerometers. Currently
(in
more is usually better than less ;-) I haven't yet looked at the machine
learning part of the recognition you do (I know that you described it in
your MS thesis I think), but doubling the number of features for
classification/detection should have only positive effects here -- those
features are not bogus and well correlated with each other, thus I would
expect significant boost in performance.
And taking the fact that recognition works quite well already with just
a single accelerometer is great news -- it means that with 2 it should
be just better ;-)


-- 
  .-.
=--   /v\  =
Keep in touch// \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]



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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

|  16:   1821s3c-ext0  lis302dl
|  60: 199660 s3c-ext  lis302dl

Hum seems like they still want to stop making interrupts.  Two guys they
only get 2 or 12 interrupts and then nothing, this one 1800 on one and
presumably it continues to make 200K interrupts on the other.

I guess I study it next week, although last time I looked it worked
fine, I made an applet to show a moving square in framebuffer according
to X / Y and Z (square area).

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkilsXgACgkQOjLpvpq7dMr5bwCfSwoIxCWfOPw29uNORiBf7BZG
+noAn2IvUImlpBQbk/dIfjbsHowaCFDz
=ur1F
-END PGP SIGNATURE-

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-15 Thread Paul-Valentin Borza
You're right, but with the expense of more computational power; and indeed
it's all about the features that the hmm, and classifier use :)

Paul

On Fri, Aug 15, 2008 at 5:16 PM, Yaroslav Halchenko site-openmoko.org@
onerussian.com wrote:

 Well, that might be an idea to use both accelerometers. Currently
 (in
 more is usually better than less ;-) I haven't yet looked at the machine
 learning part of the recognition you do (I know that you described it in
 your MS thesis I think), but doubling the number of features for
 classification/detection should have only positive effects here -- those
 features are not bogus and well correlated with each other, thus I would
 expect significant boost in performance.
 And taking the fact that recognition works quite well already with just
 a single accelerometer is great news -- it means that with 2 it should
 be just better ;-)


 --
   .-.
 =--   /v\  =
 Keep in touch// \\ (yoh@|www.)onerussian.com
 Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]



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




-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Paul-Valentin Borza
I'm proud to announce that the new release of accelerometer-based
gestures, and screen orientation is now available for download.
What you've seen in the video from
http://www.youtube.com/watch?v=K2S2rQUETwc is now available.

This release includes:
An application with user interface that allows the user to train the
gestures for himself/herself;
A listener daemon that sends a notification on the screen of the
recognized gesture;
Automatically switch of screen orientation for the four possible modes
(2xportrait, and 2xlandscape).

Here's the direct link for the release:
http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk
You can find documentation, installation instructions, screenshots
etc. on the Wiki: http://wiki.openmoko.org/wiki/Gestures
There's a quick way to install it, and a more detailed way... Read
http://wiki.openmoko.org/wiki/Gestures

I would suggest carefully reading the instructions, and running the
gesture listener as soon as you install the package (i.e. before
training).
Of course, the gestures were not trained for you (unfortunately I had
a limited set of training data - only myself), so you'll have to train
them for yourself.

Have fun with it!

Thanks,
Paul
--
http://www.borza.ro

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Juergen Schinker
Paul-Valentin Borza wrote:
 I'm proud to announce that the new release of accelerometer-based
 gestures, and screen orientation is now available for download.
 What you've seen in the video from
 http://www.youtube.com/watch?v=K2S2rQUETwc is now available.

wooho  this is so cool it works thanks

Juergen

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Harald Koenig
Hi Paul,

On Aug 14, Paul-Valentin Borza wrote:

 There's a quick way to install it, and a more detailed way... Read
 http://wiki.openmoko.org/wiki/Gestures

really nice work!  
a quick hint how to start from ssh login, just use

DISPLAY=:0 /etc/init.d/gesl start

instead of

/etc/init.d/gesl start


Harald
-- 
I hope to die  ___   _
before I *have* to use Microsoft Word.,   0--,|/OOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \ O|//
   \/\/\/\/\/\/\/\/\/
Harald Koenig   //  / \\  \
[EMAIL PROTECTED] ^   ^

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Ben Holt
Paul-Valentin Borza wrote:

 Have fun with it!

   
Excellent, the gestures seem to be working well for me, thanks!

As a somewhat related aside, I haven't played with the landscape view 
before and am noticing that the keyboard isn't properly calibrated.  It 
looks to expect the keyboard to be centred on the screen, not left 
justified as it appears.  As such typing is pretty difficult.

- Ben

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Paul-Valentin Borza
Thanks, didn't know that. I'll definitely try it out.

Thanks,
Paul

On Thu, Aug 14, 2008 at 7:55 PM, Harald Koenig 
[EMAIL PROTECTED] wrote:

 Hi Paul,

 On Aug 14, Paul-Valentin Borza wrote:

  There's a quick way to install it, and a more detailed way... Read
  http://wiki.openmoko.org/wiki/Gestures

 really nice work!
 a quick hint how to start from ssh login, just use

DISPLAY=:0 /etc/init.d/gesl start

 instead of

/etc/init.d/gesl start


 Harald
 --
 I hope to die  ___   _
 before I *have* to use Microsoft Word.,   0--,|/OOO\
 Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \ O|//
   \/\/\/\/\/\/\/\/\/
 Harald Koenig   //  / \\  \
 [EMAIL PROTECTED] ^   ^




-- 
http://www.borza.ro
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Norbert Hartl
Excellent!! Two things in one go :) 

I have trained a bit. But I have problems to train z and some of 
the others. shake-shake is very prominent in detection :) I 
noticed also that gesd is running on 17% cpu permanently. Could
this be a reason for the problems in detecting or the delay until
the notification is shown?

Norbert

On Thu, 2008-08-14 at 19:01 +0200, Paul-Valentin Borza wrote:
 I'm proud to announce that the new release of accelerometer-based
 gestures, and screen orientation is now available for download.
 What you've seen in the video from
 http://www.youtube.com/watch?v=K2S2rQUETwc is now available.
 
 This release includes:
 An application with user interface that allows the user to train the
 gestures for himself/herself;
 A listener daemon that sends a notification on the screen of the
 recognized gesture;
 Automatically switch of screen orientation for the four possible modes
 (2xportrait, and 2xlandscape).
 
 Here's the direct link for the release:
 http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk
 You can find documentation, installation instructions, screenshots
 etc. on the Wiki: http://wiki.openmoko.org/wiki/Gestures
 There's a quick way to install it, and a more detailed way... Read
 http://wiki.openmoko.org/wiki/Gestures
 
 I would suggest carefully reading the instructions, and running the
 gesture listener as soon as you install the package (i.e. before
 training).
 Of course, the gestures were not trained for you (unfortunately I had
 a limited set of training data - only myself), so you'll have to train
 them for yourself.
 
 Have fun with it!
 
 Thanks,
 Paul
 --
 http://www.borza.ro
 
 ___
 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: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread carcinoma
Am Donnerstag 14 August 2008 20:23:02 schrieb Ben Holt:
 Paul-Valentin Borza wrote:
  Have fun with it!

i'm sad, 
because the hexdump for /dev/input/event2 has no output...

result is: no working gesture capturing. what can i do to activate
the top accelerometer?

please help me, it's such a nice thing..

 Carci

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Yaroslav Halchenko
cool! Thanks!

1 quick question. wiki says: Remark: The Alpha 2 Release uses the TOP
accelerometer. Are you planing to develop the accelerometer further to
make use of all (ie both now) acceelerometers present at the same time
to improve sensitivity/specificity of the detection? :-)

-- 
  .-.
=--   /v\  =
Keep in touch// \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]



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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Yorick Moko
On Thu, Aug 14, 2008 at 9:02 PM, Yaroslav Halchenko
[EMAIL PROTECTED] wrote:
 cool! Thanks!

 1 quick question. wiki says: Remark: The Alpha 2 Release uses the TOP
 accelerometer. Are you planing to develop the accelerometer further to
 make use of all (ie both now) acceelerometers present at the same time
 to improve sensitivity/specificity of the detection? :-)

 --
  .-.
 =--   /v\  =
 Keep in touch// \\ (yoh@|www.)onerussian.com
 Yaroslav Halchenko  /(   )\   ICQ#: 60653192
   Linux User^^-^^[17]



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


maybe when using both accelerometers it would be possible to use a
smaller resolution (checking the accelermoters with a larger
interval) to reduce cpu-load and powerconsumption?

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Michael Shiloh


Paul-Valentin Borza wrote:
 I'm proud to announce that the new release of accelerometer-based
 gestures, and screen orientation is now available for download.
 What you've seen in the video from
 http://www.youtube.com/watch?v=K2S2rQUETwc is now available.
 
 This release includes:
 An application with user interface that allows the user to train the
 gestures for himself/herself;
 A listener daemon that sends a notification on the screen of the
 recognized gesture;
 Automatically switch of screen orientation for the four possible modes
 (2xportrait, and 2xlandscape).
 
 Here's the direct link for the release:
 http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk
 You can find documentation, installation instructions, screenshots
 etc. on the Wiki: http://wiki.openmoko.org/wiki/Gestures
 There's a quick way to install it, and a more detailed way... Read
 http://wiki.openmoko.org/wiki/Gestures
 
 I would suggest carefully reading the instructions, and running the
 gesture listener as soon as you install the package (i.e. before
 training).
 Of course, the gestures were not trained for you (unfortunately I had
 a limited set of training data - only myself), so you'll have to train
 them for yourself.
 
 Have fun with it!
 


This is excellent. Thanks very much Paul! And thanks too for writing 
such a nice wiki page to go along with it.

Well done!
Michael

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


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread Daniel Benoy
Looks good :)

Here's my experiences, don't know if these are planned for future releases:

I don't know if something is wrong for me though because it's really sensitive. 
 Handling my phone ordinarally and gently results in a lot of 'shake shake'.  
Would it be possible to require a constant shaking motion for 2 seconds or 
something before it registers? Also it doesn't seem to factor out gravity (I 
don't know if that is possible?)  For example, if I turn my phone upside down, 
the screen orientation goes with it (Which works great by the way!).  If I jerk 
my phone to the right, up comes 'left'.  That's not right.  (Hahaha punny!)  
And if I hold my screen purpendicular to the ground, and jerk the phone upwards 
and then downwards it detects 'forward, backward' etc etc etc.  You're the 
expert so correct me if I'm wrong, but can we not detect a reasonably 
consistant 1G force, and then apply a rotation matrix or something to every 
input value so that things are relative to that direction (And only change the 
known gravity direction if 1G is sustained in one direction for a long enough 
period of time) ?

These training files, how advanced are they?  Would I be able to write one that 
says something like 'If the accelerometer detects between three and five sudden 
changes in direction over #Gs that occur over a period that's no less than 2 
seconds but no more than 4 seconds?', or stuff that advanced?

Thanks for the great work so far :)

On Thursday 14 August 2008 13:01:35 Paul-Valentin Borza wrote:
 I'm proud to announce that the new release of accelerometer-based
 gestures, and screen orientation is now available for download.
 What you've seen in the video from
 http://www.youtube.com/watch?v=K2S2rQUETwc is now available.
 
 This release includes:
 An application with user interface that allows the user to train the
 gestures for himself/herself;
 A listener daemon that sends a notification on the screen of the
 recognized gesture;
 Automatically switch of screen orientation for the four possible modes
 (2xportrait, and 2xlandscape).
 
 Here's the direct link for the release:
 http://accelges.googlecode.com/files/accelges_0.1.0-svnr204-r2_armv4t.ipk
 You can find documentation, installation instructions, screenshots
 etc. on the Wiki: http://wiki.openmoko.org/wiki/Gestures
 There's a quick way to install it, and a more detailed way... Read
 http://wiki.openmoko.org/wiki/Gestures
 
 I would suggest carefully reading the instructions, and running the
 gesture listener as soon as you install the package (i.e. before
 training).
 Of course, the gestures were not trained for you (unfortunately I had
 a limited set of training data - only myself), so you'll have to train
 them for yourself.
 
 Have fun with it!
 
 Thanks,
 Paul
 --
 http://www.borza.ro
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 



-- 
Daniel Benoy
http://daniel.benoy.name


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation

2008-08-14 Thread thomasg
Really great work!
But I don't think a service depending on a running xserver should be an init
script (even if the script can require the X init script to be ready).
Imho it would be better to use the X infrastructure for that, maybe by an
Xsession file.

On Thu, Aug 14, 2008 at 8:43 PM, Paul-Valentin Borza
[EMAIL PROTECTED]wrote:

 Thanks, didn't know that. I'll definitely try it out.

 Thanks,
 Paul

 On Thu, Aug 14, 2008 at 7:55 PM, Harald Koenig 
 [EMAIL PROTECTED] wrote:

 Hi Paul,

 On Aug 14, Paul-Valentin Borza wrote:

  There's a quick way to install it, and a more detailed way... Read
  http://wiki.openmoko.org/wiki/Gestures

 really nice work!
 a quick hint how to start from ssh login, just use

DISPLAY=:0 /etc/init.d/gesl start

 instead of

/etc/init.d/gesl start


 Harald
 --
 I hope to die  ___   _
 before I *have* to use Microsoft Word.,   0--,|/OOO\
 Donald E. Knuth, 02-Oct-2001 in Tuebingen._/  /  /OOO\
\  \/OOO\
  \
 O|//
   \/\/\/\/\/\/\/\/\/
 Harald Koenig   //  / \\  \
 [EMAIL PROTECTED] ^   ^




 --
 http://www.borza.ro

 ___
 devel mailing list
 [EMAIL PROTECTED]
 https://lists.openmoko.org/mailman/listinfo/devel


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