Re: Quick e-mail poll: Still using your Freerunner?

2010-01-01 Thread qu kai
Do you use FR as your daily/primary phone?
yes!!

Do you use FR as your primary PDA?
Yes!

What distribution you run most of the time?

Debian!!


-- 
活着!
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Quick e-mail poll: Still using your Freerunner?

2010-01-01 Thread Enaut Waldmeier
2010/1/1 qu kai qukaim...@gmail.com



 Do you use FR as your daily/primary phone?

yes! but I use i the mobile as often as i used it before i had the moko.
(had no other mobile) So not to often.



 Do you use FR as your primary PDA?

 Yes! pretty much the same here.



 What distribution you run most of the time?


SHR



 --
 活着!

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


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


Re: Quick e-mail poll: Still using your Freerunner?

2010-01-01 Thread Petr Vanek
answering for two people here:


Do you use FR as your daily/primary phone?
yes
Do you use FR as your primary PDA?
yes
What distribution you run most of the time?
android, shr

---

Do you use FR as your daily/primary phone?
no
Do you use FR as your primary PDA?
yes
What distribution you run most of the time?
shr


Petr


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


Re: sd card

2010-01-01 Thread clare johnstone
On Tue, Dec 29, 2009 at 6:54 AM,  blackfalc...@sapo.pt wrote:

 im using neovento 5.6. im trying to see some pics i have on my sd
 card. How do i get it to work. some help please. the sd card is vfat.


Hi blackfalcon1,
I am not at all sure about the vfat, as my card in the freerunner is
being used for multibooting and I am not feeling like taking it out to
try another. However you may like to know that neovento 5.6 contains
an imageviewer. It is part of lxde and its name is gpicview.
You can find it by searching for that in google.

I tried it using the menus and it is very frustrating as the menus
have never been set up to fit in the freerunner. What I did is as
follows:
First i have set up the LXTerminal in a suitable size and saved it;
but that may not be necessary,
I can just type in the terminal
gpicview /mnt/sdcard/L6.jpg
which is the only pic I have available, on the sdcard.
It shows it at 100%size and there are many icons in the bottom bar
which are probably explained if you read google about it.
Hope this helps.
I have liked neovento for a long time, but lately have done little
with it as there is very little help to be had, especially in English.
I will get keen again if anyone else is interested.
cheers,
clare

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


Re: Quick e-mail poll: Still using your Freerunner?

2010-01-01 Thread Linus Gasser
Le 29.12.09 21:30, Risto H. Kurppa a écrit :
 Do you use FR as your daily/primary phone?

No

 Do you use FR as your primary PDA?

No

 What distribution you run most of the time?

SHR or hackable:1

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

The most simple Nokia money can buy. I need to be able to answer phones, 
not:
- scream because buzzing makes it impossible for anybody to understand me
- taking 4 times as much time for writng an SMS compared to the most 
cheap Nokia
- constantly loosing SMS or having long SMS cut in two
- rebooting two or three times a day before receiving calls or being 
able to make
- taking 5 minutes to write an appointement when it takes me 10 seconds 
to do with my do-it-yourself-paper-agenda

I still like it as GPS and GPRS modem, and as mp3-player, though. I'm 
planning to fix it in my car as that...

I still think it's a great experiment on open-source development, and I 
don't mind having paid the money for it. Furthermore I get very 
impressed by the quality of simple Nokia or other phones ;)

Linus

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


Re: [Community Updates] 2009-12-31 released.

2010-01-01 Thread Petr Vanek
 Hello everybody,
 recent Community Update is out and ready!


What about SHR? :P

what's new? :)

P.


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


Re: [FSO] Activate GPRS more than once?

2010-01-01 Thread Michael 'Mickey' Lauer
Am Donnerstag, den 31.12.2009, 23:33 + schrieb Neil Jerram:
 2009/12/28 Michael 'Mickey' Lauer mic...@vanille-media.de:
 
  I'm afraid this is a strange combination of a problem in Python, the
  Python glib bindings, and/or glib itself. When the ppp process gets
  closed, the supervising process (frameworkd in that case) hangs forever.
  I have not yet found a way to fix this, and these days I rather put all
  my energy into finishing fsogsmd. Patches appreciated, of course.
 
 When fsogsmd is finished, will it be responsible for the ppp
 supervision instead of frameworkd?  If so, I presume that will fix
 this problem, because of fsogsmd not using Python and the bindings
 mentioned above.  Is that correct?

Yes.

 In that case, putting energy into fsogsmd sounds good to me; thanks!

:)

Happy new year!

:M:



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


Buzz fix (Was: Re: [Shr-User] Quick e-mail poll: Still using your Freerunner?)

2010-01-01 Thread Jens Seidel
On Fri, Jan 01, 2010 at 07:26:37PM +0100, Esben Damgaard wrote:
 Yes and no. I have two Freerunners (and a gta01 that collects dust). One 
 without buzzfix. Using it for testing, programming and playing.
 Other one with buzzfix and using it as primary phone.

I'm curious, do you notice any difference between the buzz fixed one and the
other? I read that only a few phones are affected by the buzz problem but
nearly all (including the buzz fixed ones) have major problems with audio
quality (noise, echo).

So I wonder whether it's worth to get such a fix.

Jens

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


Re: Buzz fix (Was: Re: [Shr-User] Quick e-mail poll: Still using your Freerunner?)

2010-01-01 Thread jeremy jozwik
On Fri, Jan 1, 2010 at 11:35 AM, Jens Seidel jenssei...@users.sf.net wrote:
 I'm curious, do you notice any difference between the buzz fixed one and the
 other? I read that only a few phones are affected by the buzz problem but
 nearly all (including the buzz fixed ones) have major problems with audio
 quality (noise, echo).

im curious how many people have played around with there mickeyterm settings.
my phones audio is just as bad as any other phone ive had. not buzz fix.

with audio as low as it may be.

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


Re: QNavitCtl - Navit Bookmarks via dbus

2010-01-01 Thread Ed Kapitein
Hi Christian,

Thanks a million, it works like a charm!

How did you come to use default_navit ?
I took a look at the source code, but i couldn't find out how to use it.

Happy new-year, my has started perfectly ;-)

Kind regards,
Ed



Christian Rüb wrote:
 Hi Ed,

 try this:

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

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

 Cheers,
  Christian

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

 Am Mittwoch, 30. Dezember 2009 schrieb Ed Kapitein:
   
 Hi Christian,

 Thanks a lot for your explanation!
 I think i had the same problem you had, i can't set a destination with
 the current version of navit.
 (Dbus is enabled)
 So, i will ask the people from the navit team on how to use dbus with
 the current version.

 Thanks again and happy new year everybody.
 Kind regards,

 Ed

 Christian Rüb wrote:
 
 Hi Ed,

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

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

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

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

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

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

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

 Cheers,
  Christian

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

   
   
 Hi Christian,

 i am trying to use navit and dbus, but so far i haven't find out how to
 do it.
 I did download your source, but how do i build it?
 ( real noob here...)
 Could you explain how to build it from source?
 I am used to ./configure, make, make install

 Can you give an example of dbus-send to set a destination in navit?
 i want, like you, to have a list of waypoints and i want to set waypoint
 2 as destination, as soon as i am near waypoint 1.

 Thanks a lot in advance.

 Kind regards,
 Ed

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

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

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

 That's all

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

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


   
   
   

   
   



   


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


Re: QNavitCtl - Navit Bookmarks via dbus

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

Happy New Year as well!

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

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

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

Cheers,
 Christian

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

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

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


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

[debian] openmoko-panel-plugin fix for 500mA charging

2010-01-01 Thread Neil Jerram
For the brave band of Debian users...  openmoko-panel-plugin has a bug
which prevents the button to force 500mA charging from working.  I've
described the bug, and the fix for it, in detail here:
http://projects.openmoko.org/tracker/index.php?func=detailaid=298group_id=207atid=867.

Regards,
   Neil

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


[debian, others?] Partial workaround for GPRS connection dropping

2010-01-01 Thread Neil Jerram
I've used GPRS a lot in the last week, and noticed that sometimes the
connection would drop for no apparent reason - in the senses that (1)
internet access stops working, and (2) if you do ifconfig at a
terminal, there isn't any ppp interface listed.

From the frameworkd log, one cause of this was not getting any
response to a series of LCP Echo requests - controlled by the
lcp-echo-interval and lcp-echo-failure options in /etc/ppp/options.  I
reasoned that there is no good reason for the GSM network to fail, and
that I don't want my GPRS connection to drop if the GSM network is
temporarily unavailable, so I commented out these options - which has
the effect of pppd not sending LCP Echo requests to check if the
network is still good.

This seems to have helped.  I now sometimes get into a different
problem scenario - where the ppp interface is still there, and has an
address, and the routing table looks good, but for some reason data
just isn't getting through.  (e.g. ping 8.8.8.8 gets no response).
But this happens less frequently than I was seeing connection dropping
before, so I think that suppressing the LCP Echo requests is a net
benefit.

Regards,
   Neil

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


Re: Linux dyn-ticks on S3C24xx support?

2010-01-01 Thread Paul Wise
Thanks for the info. Hopefully the recent frequency scaling patch[1]
will help. I'm also excited about the FSCE patches[2], hopefully that
will get upstream soon.

 1. http://lists.openmoko.org/nabble.html#nabble-td3920523
 2. 
http://lists.arm.linux.org.uk/lurker/message/20091001.203525.e1d1afd4.en.html

-- 
bye,
pabs

http://bonedaddy.net/pabs3/


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


[debian] auxlaunch enhancement to use .desktop files

2010-01-01 Thread Neil Jerram
Hi Al, list,

Attached are patches to allow a line in the .auxlaunchrc file to
reference an app.desktop file, so that auxlaunch can get the
information that it needs from that file.  I find this useful, but I'm
curious what others may think, so please let me know.  Al, if you'd
like to incorporate this in the official auxlaunch, please feel free.

Regards,
 Neil
From 1d30d6ee0486b8e37329682c333a45366f1cdf37 Mon Sep 17 00:00:00 2001
From: Neil Jerram neiljer...@googlemail.com
Date: Tue, 29 Dec 2009 23:24:12 +
Subject: [PATCH 1/2] Prepare place to add code for processing a desktop reference

---
 auxlaunch |   17 -
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/auxlaunch b/auxlaunch
index 80ac74b..01cda73 100755
--- a/auxlaunch
+++ b/auxlaunch
@@ -439,14 +439,21 @@ class ModelManager:
 			elif field[0][0].upper() == '-':	# Window title filter record
 self.winDiscard.append(field[0][1:])
 			else:			# Item record
+				if field[0][0].upper() == '+': # .desktop ref
+	deskname = field[0][1:]
+				else:
+	label = field[0]
+	command = field[1]
+	iconname = field[2]
+
 image = gtk.Image()
-if field[2].rstrip() == '':
+if iconname.rstrip() == '':
 	image.set_from_stock('gtk-execute', gtk.ICON_SIZE_DIALOG)
-elif field[2][:4] == 'gtk-':
-	image.set_from_stock(field[2], gtk.ICON_SIZE_DIALOG)
+elif iconname[:4] == 'gtk-':
+	image.set_from_stock(iconname, gtk.ICON_SIZE_DIALOG)
 else:
-	image.set_from_file(field[2])
-app = AppItem(image,field[0],field[1])
+	image.set_from_file(iconname)
+app = AppItem(image,label,command)
 curApps.append(app)
 
		# Flush last holding value		
 		if not (curGroup == INITGROUP and len(curApps) == 0):
-- 
1.6.5.7

From 331aa180f3e4cd8c38d1d839b187a253f06dfa1c Mon Sep 17 00:00:00 2001
From: Neil Jerram neiljer...@googlemail.com
Date: Fri, 1 Jan 2010 23:30:26 +
Subject: [PATCH 2/2] Implement .desktop file references

The idea of this is that many applications already ship with a .desktop
file, which contains the application's preferred name and icon, and the
command to use to launch it.  This patch makes auxlaunch interpret
+application as a reference to /usr/share/applications/application.desktop,
which means that it reads the .desktop file and extracts the name, icon and
command from that file.

But the Debian menu system and -dms option already covers that!  Yes, but
unfortunately the -dms option produces so many entries, in so many categories,
that I find it quite difficult to navigate the categories and select the
program that I want.  So now I'm preferring not to use -dms, and instead to
define groups that make sense to me for the programs that I want, using these
desktop references.

Finally, a caveat: the icon part doesn't work yet.
---
 auxlaunch |   17 -
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/auxlaunch b/auxlaunch
index 01cda73..b576f17 100755
--- a/auxlaunch
+++ b/auxlaunch
@@ -440,7 +440,22 @@ class ModelManager:
 self.winDiscard.append(field[0][1:])
 			else:			# Item record
 				if field[0][0].upper() == '+': # .desktop ref
-	deskname = field[0][1:]
+	deskname = field[0][1:].rstrip()
+	deskfile = open('/usr/share/applications/' + deskname + '.desktop')
+	label = None
+	command = None
+	iconname = None
+	for dline in deskfile:
+		field = dline.split('=')
+		if field[0] == 'Name':
+			label = field[1].rstrip()
+		elif field[0] == 'Exec':
+			command = field[1].rstrip()
+		elif field[0] == 'Icon':
+			iconname = field[1].rstrip()
+	deskfile.close()
+	if (label is None) or (command is None):  continue
+	if (iconname is None):  iconname = 'gtk-redo'
 				else:
 	label = field[0]
 	command = field[1]
-- 
1.6.5.7

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


[debian, FSO?] GPRS modem noise in incoming phone call?

2010-01-01 Thread Neil Jerram
I answered a call while using GPRS, and was shocked to hear (what I
presume was) the GPRS modem noise in the phone call audio!  I'm not
sure if I've had an incoming call before while using GPRS, so it's
possible that this is a reproducible configuration problem.  Is there
a basic setting somewhere that could account for this?

Thanks,
   Neil

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



Ringtone volume and latency

2010-01-01 Thread Neil Jerram
In the survey thread, a couple of responses mentioned missing calls
because of ringtone problems - which I take to be either volume too
low, or too much latency, or both.  Here are some thoughts on that.

1) In case this isn't already well known...  FSO actually does nothing
at all with the volume setting that you can set in SHR settings, or
Paroli, or in general via the preferences interface.  The only
relevant code is:

oeventsd/fso_actions.py:self.audio_action = AudioAction(
self.sound_path, self.loop, self.length ) if self.volume != 0 else
None

In other words, all non-zero volume values are equivalent.

2) I tried to measure startup latency by using `time', for various
ways of playing a 9.3s Ogg clip and an equivalent .wav file:

=
debian-gta02:/usr/share/sounds# time mplayer kayleigh.ogg
A:   9.0 (08.9) of 9.3 (09.2) 40.1%
real0m12.242s

debian-gta02:/usr/share/sounds# time play kayleigh.ogg
  Duration: 00:00:09.29  Title: Kayleigh
real0m10.680s

debian-gta02:/usr/share/sounds# time play kayleigh.ogg
  Duration: 00:00:09.29  Title: Kayleigh
real0m10.015s

debian-gta02:/usr/share/sounds# time play kayleigh.wav
  Duration: 00:00:09.29
real0m9.652s

debian-gta02:/usr/share/sounds# time play kayleigh.wav
  Duration: 00:00:09.29
real0m9.951s

debian-gta02:/usr/share/sounds# time gst-launch filesrc
location=/usr/share/sounds/kayleigh.ogg ! oggdemux ! vorbisdec !
audioconvert ! alsasink
Execution ended after 9384127000 ns.
real0m11.881s

debian-gta02:/usr/share/sounds# time aplay kayleigh.wav
Playing WAVE 'kayleigh.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
real0m9.709s
=

There's nothing conclusive here, because I didn't repeat the tests
enough times yet; but it looks like there's an additional latency of
at least 0.5-1s associated with playing an .ogg instead of a .wav, and
rather more than that with gst-launch.

This and the volume issue suggest to me that it would be better for
FSO only to handle plain audio data, and to play it (i.e. when an
incoming call or message comes) using the most lowlevel method (such
as aplay).  An external settings application could handle conversion
from the user's sound file to .wav, and as part of that could allow
the user to adjust the volume and preview the ringtone.

Comments?  Is there a reason why the complexity (and latency) of
handling multiple sound formats should be _inside_ FSO?

Regards,
Neil

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


Re: Ringtone volume and latency

2010-01-01 Thread William Kenworthy
On Sat, 2010-01-02 at 01:24 +, Neil Jerram wrote:
 In the survey thread, a couple of responses mentioned missing calls
 because of ringtone problems - which I take to be either volume too
 low, or too much latency, or both.  Here are some thoughts on that.
 
 1) In case this isn't already well known...  FSO actually does nothing
 at all with the volume setting that you can set in SHR settings, or
 Paroli, or in general via the preferences interface.  The only
 relevant code is:
 
 oeventsd/fso_actions.py:self.audio_action = AudioAction(
 self.sound_path, self.loop, self.length ) if self.volume != 0 else
 None
 
 In other words, all non-zero volume values are equivalent.
 
 2) I tried to measure startup latency by using `time', for various
 ways of playing a 9.3s Ogg clip and an equivalent .wav file:
 
 =
 debian-gta02:/usr/share/sounds# time mplayer kayleigh.ogg
 A:   9.0 (08.9) of 9.3 (09.2) 40.1%
 real  0m12.242s
 
 debian-gta02:/usr/share/sounds# time play kayleigh.ogg
   Duration: 00:00:09.29  Title: Kayleigh
 real  0m10.680s
 
 debian-gta02:/usr/share/sounds# time play kayleigh.ogg
   Duration: 00:00:09.29  Title: Kayleigh
 real  0m10.015s
 
 debian-gta02:/usr/share/sounds# time play kayleigh.wav
   Duration: 00:00:09.29
 real  0m9.652s
 
 debian-gta02:/usr/share/sounds# time play kayleigh.wav
   Duration: 00:00:09.29
 real  0m9.951s
 
 debian-gta02:/usr/share/sounds# time gst-launch filesrc
 location=/usr/share/sounds/kayleigh.ogg ! oggdemux ! vorbisdec !
 audioconvert ! alsasink
 Execution ended after 9384127000 ns.
 real  0m11.881s
 
 debian-gta02:/usr/share/sounds# time aplay kayleigh.wav
 Playing WAVE 'kayleigh.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, 
 Stereo
 real  0m9.709s
 =
 
 There's nothing conclusive here, because I didn't repeat the tests
 enough times yet; but it looks like there's an additional latency of
 at least 0.5-1s associated with playing an .ogg instead of a .wav, and
 rather more than that with gst-launch.
 
 This and the volume issue suggest to me that it would be better for
 FSO only to handle plain audio data, and to play it (i.e. when an
 incoming call or message comes) using the most lowlevel method (such
 as aplay).  An external settings application could handle conversion
 from the user's sound file to .wav, and as part of that could allow
 the user to adjust the volume and preview the ringtone.
 
 Comments?  Is there a reason why the complexity (and latency) of
 handling multiple sound formats should be _inside_ FSO?
 
 Regards,
 Neil
 

Just a couple of thoughts - missing calls is rarely to do with volume
and not hearing the ring (I have changed the standard tones though), and
more to do with crashes.  One of the most annoying is using tangogps
full screen (or any other app full screen) and a call comes in the top
screen can (not always) lose focus and you cant do anything except pull
the battery (doesnt recognise finger/stylus).  Another is hearing the
other end, but they cant hear you - also happens randomly.

There is a lot going on when a call comes in so its not only audio
player latency but enabling the audio path, setting up alsa, handling
the call itself, starting the caller application, ...  And in amongst
that it has to play the audio as well.  Currently this isnt too bad for
me when I set ring only (no vibe) and use the debugfs hack.

shr-u most versions, current shr-t.

BillK




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


Re: OT: Where can I meet a female companion with similar interests and personality /in person/?

2010-01-01 Thread Brolin Empey
2009/11/30 Brolin Empey bro...@brolin.be:
 2009/11/12 Brolin Empey bro...@brolin.be

 Hello list,

 I am writing a follow-up/update to my original post just over 2 months
 later.

 What has changed since my original post?

 Another update.  What has changed since my last update?

I finally chose and ordered a laptop (a Dell Vostro V13) so I can use
the same PC at home and work.  Of course, I am already regretting my
choice, but at least I chose something.  I always seem to regret my
computer purchases.

I have started moving most of the crap I am packratting to my new
apartment.  I have to wait until Sat, 2010-01-09 to move my furniture
because that is when I planned to have my sister and friend help me.
I am afraid I am going to be even lonelier living alone instead of
with my parents, but at least I will have more privacy.  I am also
afraid I am going to starve because I dislike having to stop what I am
doing to buy food, prepare meals, clean up after meals, etc.  Food
preparation does not interest me because the results seem so extremely
ephemeral.  I am an intellectual and emotional animal (person) who
wants to understand himself by self-study and communication without
having to (what seems like) always worry about eating because my mind
is embodied in the body of an animal, which I do not understand.  I
really wish I did not have to eat because it would make my life so
much easier.  I do not know how to describe my mental state properly,
but I always seem to be seeking an answer which cannot be found.  I
know, this sounds like Neo in The Matrix. :P  I wonder if my mental
processes are really so unusual because they usually seem strange to
me.

I am still lonely because I have no female companion, but at least I
have my male friends, even if I rarely meet them in person.  I know I
have to try new things (go to unfamiliar events and/or places) to meet
girls, but I have been isolating myself more again because that is how
I am.  I do not know what is wrong with me, but I end up making myself
so lonely because I am so inclined to isolate myself.  My parents and
teachers have noticed my lack of (face-to-face/in person) peer
interaction and have been concerned about it since elementary/primary
school.  I do not understand how non-autistic people can seem to
function so much better than me and easily have more close friendships
than me.

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