Re: help me

2009-06-24 Thread qu kai
Thank you very much!
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: your mail

2009-06-24 Thread Michele Brocco
I think that you could also use nabble to have a bit of forum
experience if you like.

http://lists.openmoko.org/nabble.html

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


Re: Why one cannot recommend the freerunner as a daily phone (was Re: Is a FreeRunner sufficient for me?)

2009-06-24 Thread mobi phil
Hey!! Is this kind of phrase i am not interested in c++.  driving the
linux phone development? I can never understand how is it possible to have
such a huge gap on the scale between C programmers and C++ programmers? Why
are C++ programmers dying out? Is it because some C programmers never
managed to get the point with C++ and those who did, switched automatically
to Java? I propose a C wrapper arround Qt, for the C programmers, and
everybody will still benefit, beleive me. QT is a treasure, is a nice clean
code! And it is fast!

By the way... nvidia tegra, the new dancer on the stage says no linux on
tegra
http://arstechnica.com/gadgets/news/2009/06/nvidia-says-no-to-linux-on-tegra-netbooks-chooses-wince.ars

or
http://www.google.com/search?hl=enq=nvidia+tegra+linux



mobiphil
mobiphil.com

On Mon, Jun 22, 2009 at 8:56 PM, Al Johnson
openm...@mazikeen.demon.co.ukwrote:

 On Monday 22 June 2009, mobi phil wrote:
 I think carrying Xwindows is the biggest
  mistake. I personally encourage QT or new start with gtk on top of
  www.directfb.org/, so that gtk based interfaces can be reused... By the
 way
  did anybody consider gtk with directfb as direction? Or I am wrong and
 the
  bottleneck is not really Xwindows?

 This has been discussed _many_ times before. Those with extensive
 experience
 in this area have said X is not the bottleneck. I've just dug out a few of
 Raster's comments:

 http://lists.openmoko.org/pipermail/community/2009-April/046056.html
 http://lists.openmoko.org/pipermail/community/2008-November/035825.html

 http://lists.openmoko.org/pipermail/openmoko-devel/2008-February/001924.html



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




-- 
being mobile, but including technology
http://mobiphil.com
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Om2009 testing release 5

2009-06-24 Thread pike
Hi

is it me or is xrandr or xglamo
a bit confused ?

I do
 export DISPLAY=:0
 xrandr -q
  480x64050.0*
  640x48025.0
  240x32050.0
  320x24050.0

but it doesnt actually seem to support
all that on my neo.

 xrandr -o left
that works (and selects the second option)

 xrandr -s 320x240

gives a weird screen with two
vertical pages on a horizontal screen,
with a slight offset, mosaic.

starting from scratch, the
 xrandr -s 320x240
turns the screen all white/yellowish
and unreadable.

after switching a few times, x crashes.
restarting xserver-nodm twice repairs it.

what am i doing wrong ?

curious,
*-pike

PS - I installed opendoom - it has the same
problem, its trying to rotate the screen
into 320x240, but the screen goes yellow
most of the time.. which is why I was
trying to look into this.

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


Re: Om2009 testing release 5

2009-06-24 Thread Edder
On Wed, Jun 24, 2009 at 1:43 PM, pike pike-openm...@kw.nl wrote:

 PS - I installed opendoom - it has the same
 problem, its trying to rotate the screen
 into 320x240, but the screen goes yellow
 most of the time.. which is why I was
 trying to look into this.


I noticed the same problem with duke3d, which is a shame, because showing
off duke3d would make a lot of people very jealous :)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Om2009 testing release 5

2009-06-24 Thread Timo Juhani Lindfors
pike pike-openm...@kw.nl writes:
 after switching a few times, x crashes.
 restarting xserver-nodm twice repairs it.

 what am i doing wrong ?

You are not reading the bug reports :-)

A simple search for glamo at e.g.

http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py?q=glamo

finds

#2263 xf86-video-glamo/703acea13: xrandr --output LCD --mode 240x320 incorrect 
screen position

Also, you did not very clearly specify if you are using Xglamo or
Xorg with xserver-xorg-video-glamo.



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


Re: Om2009 testing release 5

2009-06-24 Thread Al Johnson
On Wednesday 24 June 2009, Timo Juhani Lindfors wrote:
 pike pike-openm...@kw.nl writes:
  after switching a few times, x crashes.
  restarting xserver-nodm twice repairs it.
 
  what am i doing wrong ?

 You are not reading the bug reports :-)

 A simple search for glamo at e.g.

 http://lindi.iki.fi/lindi/cgi-bin/openmoko-bugs.py?q=glamo

 finds

 #2263 xf86-video-glamo/703acea13: xrandr --output LCD --mode 240x320
 incorrect screen position

 Also, you did not very clearly specify if you are using Xglamo or
 Xorg with xserver-xorg-video-glamo.

Om2009 is specified in the subject, and AFAIK this is still using Xglamo, so 
this bug doesn't seem to be relevant.

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


Re: Om2009 testing release 5

2009-06-24 Thread Timo Juhani Lindfors
Al Johnson openm...@mazikeen.demon.co.uk writes:
 Om2009 is specified in the subject, and AFAIK this is still using Xglamo, so 
 this bug doesn't seem to be relevant.

The Xorg driver was created from the Xglamo source. Also, the bug is
in kernel so it should apply to both.



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


Re: Om2009 testing release 5

2009-06-24 Thread pike
Hi

 what am i doing wrong ?
 You are not reading the bug reports :-)

you're so right.

did now, and its tracced here.
http://docs.openmoko.org/trac/ticket/2162

fwiw, this bug is in om2009 testing release5,
cleanly flashed. and with some fiddling like

# export DISPLAY=:0
# xrandr -s 320x240 -o left
# echo qvga-normal  /sys/bus/spi/devices/spi2.0/state
# dm

I did get it to work, temporarily.

 Also, you did not very clearly specify if you are using Xglamo or
 Xorg with xserver-xorg-video-glamo.

because I wouldn't have a clue, sorry :-)

thanks,
*-pike

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


Re: font size in other window managers

2009-06-24 Thread Michal Brzozowski
2009/6/23 Nikita V. Youshchenko yo...@debian.org

  Hi,
 
  I'm playing with other window managers in Om2009, like matchbox and
  icewm.
 
  All the apps that I run use insanely small fonts and buttons. Same as
  when you run them in pure X. Does anyone have an idea how to change this
  behaviour? Is it through some env variables?

 Try to start X with different -dpi values.

 I use -dpi 145 and it's a good compromise.


I find that the problem persists in Paroli. The menu fonts are normal, but
when typing an sms the font is really small. Where does Paroli take the font
sizes from?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Om2009 testing release 5

2009-06-24 Thread Marco Trevisan (Treviño)
Michal Brzozowski wrote:
 Now I have Serenity again, the illume keyboard is turned off again
 (yay), the battery app shows the state wrong (!)

Ive not tried with paroli, but when I compile e17 from svn and I upgrade
the version I've in my Om2008 partition I've to go in Illume-settings -
Advanced - Battery Meter - Advanced - Hardware - Internal.
Then it counts correctly.

 I don't understand anything from this, why is Paroli duplicating the
 options from illume-settings?

Well, imho having everything in a settings manager could be useful.

 And a more general question, is Paroli trying to be more than a phone
 app? Is it going to replace illume?

According to the FAQ it isn't.
By the way in my opinion Paroli should allow to be run in two ways:
using its own launcher as an all-in-one/fullscreen application, and
using illume as launcher; In fact the paroli apps can be also launched
using a simple dbus call, but actually they seem to work only if the
launcher is still opened (while launching them with the main Launcher in
background causes Paroli to crash).

However it would be important to keep the dialer/log/contacts/messages
and other main paroli applications always in background to make them
popping-up quckly.

I think that this would be the best way to use the nice paroli telephony
related applications with an illume-based distro.

-- 
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: font size in other window managers

2009-06-24 Thread Laszlo KREKACS
On Wed, Jun 24, 2009 at 4:39 PM, Michal Brzozowski ruso...@poczta.fmwrote:


 I find that the problem persists in Paroli. The menu fonts are normal, but
 when typing an sms the font is really small. Where does Paroli take the font
 sizes from?



It is created as a gui.elementary.Entry, in msgs2.py line 275:
   textbox = gui.elementary.Entry(parent.window.elm_obj)

See the file:
http://git.paroli-project.org/?p=paroli.git;a=blob;f=paroli-applications/msgs2/msgs2.py;h=0676372f2aed28767c2dacde068429c74060234a;hb=HEAD

Some more complicated things are created from python, but normally
everything
is created from .edc files.

So you need to digg a bit into elementary to see how it calculates the
default font size.

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


Re: Om2009 testing release 5

2009-06-24 Thread Laszlo KREKACS
On Wed, Jun 24, 2009 at 6:21 PM, Marco Trevisan (Treviño)
m...@3v1n0.net wrote:

 Michal Brzozowski wrote:
  Now I have Serenity again, the illume keyboard is turned off again
  (yay), the battery app shows the state wrong (!)

 Ive not tried with paroli, but when I compile e17 from svn and I upgrade
 the version I've in my Om2008 partition I've to go in Illume-settings -
 Advanced - Battery Meter - Advanced - Hardware - Internal.
 Then it counts correctly.

Yepp it works. Thanks.


  I don't understand anything from this, why is Paroli duplicating the
  options from illume-settings?

Because when you use your phone do you care which engine it renders?
For a simple (smart)phone you only want to set the basic (everyday) things.

Thats why it is a dedicated settings app inside paroli. Keep it simple
and stupid;)

Laszlo

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


Re: Why one cannot recommend the freerunner as a daily phone (was Re: Is a FreeRunner sufficient for me?)

2009-06-24 Thread David Ford
do you understand the weight involved with using c++?  without very very 
careful management, c++ is rather hefty for embedded devices.  granted, 
having 128M to work in is indeed far more tenable than smaller devices 
but it's still onerous.

C is much more lightweight and very functional.  any benefits of c++ 
usually don't overcome the drawbacks for embedded devices.

-d

On 06/24/09 07:09, mobi phil wrote:
 Hey!! Is this kind of phrase i am not interested in c++.  driving 
 the linux phone development? I can never understand how is it possible 
 to have such a huge gap on the scale between C programmers and C++ 
 programmers? Why are C++ programmers dying out? Is it because some C 
 programmers never managed to get the point with C++ and those who did, 
 switched automatically to Java? I propose a C wrapper arround Qt, for 
 the C programmers, and everybody will still benefit, beleive me. QT is 
 a treasure, is a nice clean code! And it is fast!

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


Re: Why one cannot recommend the freerunner as a daily phone (was Re: Is a FreeRunner sufficient for me?)

2009-06-24 Thread Michal Brzozowski
2009/6/24 David Ford da...@blue-labs.org

 do you understand the weight involved with using c++?  without very very
 careful management, c++ is rather hefty for embedded devices.  granted,
 having 128M to work in is indeed far more tenable than smaller devices
 but it's still onerous.

 C is much more lightweight and very functional.  any benefits of c++
 usually don't overcome the drawbacks for embedded devices.



What drawbacks do you mean? That is uses more memory?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Why one cannot recommend the freerunner as a daily phone (was Re: Is a FreeRunner sufficient for me?)

2009-06-24 Thread David Ford
that is one typical aspect.

Michal Brzozowski wrote:
 2009/6/24 David Ford da...@blue-labs.org mailto:da...@blue-labs.org

 do you understand the weight involved with using c++?  without
 very very
 careful management, c++ is rather hefty for embedded devices.
  granted,
 having 128M to work in is indeed far more tenable than smaller devices
 but it's still onerous.

 C is much more lightweight and very functional.  any benefits of c++
 usually don't overcome the drawbacks for embedded devices.


  
 What drawbacks do you mean? That is uses more memory?


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


Re: linphone 3.1.0

2009-06-24 Thread MicVM



Al Johnson wrote:
 
 On Wednesday 25 March 2009, Paul Fertser wrote:
  Problems:
  * I haven't got it to do sound yet - it seems unhappy with the alsa
  device capabilities. I don't know if this is a configuration issue or a
  fundamental problem.

 I guess you face the same issue with borked /etc/asound.conf as
 others. It has dmix as the default device, and dmix obviously doesn't
 support recording. Probably you can remove /etc/asound.conf altogether
 or try to mimic configuration of any desktop distro. Or just configure
 linphone to use hw:0,0 by default.

 Also, don't forget that a special voip.state should be loaded before
 trying to input/output sound. It uses DAI mode 10 and arecord -D
 hw:0,0 | aplay -D hw:0,0 is known to work.
 
 I suspected as much, but couldn't confirm at the time. I had only given it
 a 
 cursory check with the config that used to work for me with v1.6 and
 2007.2. 
 Now I can confirm it works using Brian Code's asound.conf and the voip-
 handset.state that comes with milestone5. 
 
 Brian's config is available at:
 http://www.koolu.org/asound.conf
 

Thanks for the precious hints guys. I am running shr unstable and linphone 3
there eats up to 80% of cpu time and so makes a conversation impossible. Did
u do the same experience there?

-- 
View this message in context: 
http://n2.nabble.com/linphone-3.1.0-tp2529764p3151058.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


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


strange df behaviour

2009-06-24 Thread ivvmm
Hello list,

found strange df behaviour. I'm using my micro sd which came with FR
only for openstreetmaps. As a result it is filled with great amount of them.

The filesystem on it is ext3. The df program from virtualbox reports it
is filled 84%. But one cannot write there, because no space is
available. Outputs:


r...@om-gta02 ~ $ df
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/root   252544142744109800  57% /
none 6042856 60372   0% /dev
shmfs60428 0 60428   0% /dev/shm
/dev/mmcblk0p1  479836382001 73061  84% /media/card
volatile 60428  1572 58856   3% /var/volatile


r...@om-gta02 ~ $ echo tetetette  /media/card/te
-sh: can't create /media/card/te: No space left on device



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


Re: strange df behaviour

2009-06-24 Thread Marcel
Am Mittwoch, 24. Juni 2009 22:01:39 schrieb ivvmm:
 Hello list,

 found strange df behaviour. I'm using my micro sd which came with FR
 only for openstreetmaps. As a result it is filled with great amount of
 them.

 The filesystem on it is ext3. The df program from virtualbox reports it
 is filled 84%. But one cannot write there, because no space is
 available. Outputs:


 r...@om-gta02 ~ $ df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/root   252544142744109800  57% /
 none 6042856 60372   0% /dev
 shmfs60428 0 60428   0% /dev/shm
 /dev/mmcblk0p1  479836382001 73061  84% /media/card
 volatile 60428  1572 58856   3% /var/volatile


 r...@om-gta02 ~ $ echo tetetette  /media/card/te
 -sh: can't create /media/card/te: No space left on device

All the small files might have used up all the inodes (?) on the 
filesystem. I'm not into all that filesystem terms, but filesystems have a 
maximum count of files that can be stored. OSM tiles are very small files, 
but there are tons of them, so that might be the reason.

--
Marcel

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


Re: strange df behaviour

2009-06-24 Thread Sven Klomp
 The filesystem on it is ext3. The df program from virtualbox reports it
 is filled 84%. But one cannot write there, because no space is
 available. Outputs:
 
 
 r...@om-gta02 ~ $ df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/root   252544142744109800  57% /
 none 6042856 60372   0% /dev
 shmfs60428 0 60428   0% /dev/shm
 /dev/mmcblk0p1  479836382001 73061  84% /media/card
 volatile 60428  1572 58856   3% /var/volatile
 
 
 r...@om-gta02 ~ $ echo tetetette  /media/card/te
 -sh: can't create /media/card/te: No space left on device

I think you run out of inodes because of maps data.
Run df -i

Sven



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


Re: is 0.4A sufficient for charging?

2009-06-24 Thread ivvmm
Alexander Lehner wrote:

 BTW: Could you please send a link to the shop where you found this DC 
 converter?

Yes, I can. But here are two problems.

First: they have not published it still on their website.

Second: it is in Russian only.

the link: http://velobig.ru



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


Re: strange df behaviour

2009-06-24 Thread ivvmm
Sven Klomp wrote:

 
 I think you run out of inodes because of maps data.
 Run df -i
 

Virtualbox does not know about such flags.

When will we have the ability to switch to GNU coreutils?..



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


SHR annoyances (+ a few workarounds)

2009-06-24 Thread Jon Levell
Hi,

I'm using SHR-Unstable as my daily phone, it works but there are
some things that bug me, mostly  I can live with or work around them.
It occurs to me other people might have better work arounds so I
thought I'd post my current list and see what happens:

Wifi
=
It seems reliable with the WPA2 networks I use it with but I can't
seem to turn it off in SHR-settings and once I've connected to a network 
I  can't reconnect to any network without rebooting. (I
know there's work going on in the kernel relating to this).
Workaround: After I've finished using wifi, I always reboot the
phone so that next time I want to connect, it works


Midori
===
Aside from the superuser-warning banner (which will be gone in
the next release), the keyboard shortcuts (e.g. F11 for
full screen) aren't available in Literki. There's a config
file for accelerator keys (~/.config/midori/accels) but it seems
to get overwritten every time it loads
Workaround: Live without those keys (Hmm... I ought to try write
protecting the file)

Dictator

The version in the repositories seems to just record crackling
if I try and record my voice - this used to work.

Watching videos
===
I'd like to watch videos on my FR. I've encoded it using the command
listed in the video playback section of:
http://trac.shr-project.org/trac/wiki/Customize
But with mplayer-video the sound and pictures become out of sync.
I've not tested it with intone-video from opkg.org as there's a clash
with the updated versions of the elementary libraries


Ringtones
=
I've altered my default ringtones to 8bit mono so they are quicker to 
load and to stop.


Vagalume in the repo/image
==
It crashes
Workaround: Use the one from opkg.org


Hum in landscape

When the phone is in landscape mode (really useful when typing with
Literki) there's a quiet but persistent hum.


Notifier

It pops up to tell me I have an unread message but the messages app
has already popped up to tell me that. (There was a request for
comments on the shr-devel mailing list but I wasn't comfortable
commenting there as I'm not currently developing anything).


Navit
==
In the repos it takes a lot of configuring to:
   * show an icon in Illume
   * Stop its dependencies blocking sound on resume
   * finding the libraries it needs
   * configuring the UI
   * making the speech happen far enough in advance for car use
Workaround: I've foolishly lost my highly tweaked config, when
I've finished reworking it, I'll post it somewhere

Scummvm
===
The keyboard doesn't show up so you can't type a filename to
save your game unless I'm missing something. (You need to turn
off sound in Scummvm or it crashes before you can start to play).
I guess you need a bluetooth keyboard

Messaging/Contacts app

Sometimes I can't seem to enter text into the textarea that
has focus if I've recently changed focus. It sometimes stops
me typing a number into a new contact
Workaround: I add a contact by typing a number into the dialer
and then saving it.


I think that's all the ones I can think off for now.

Jon.

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


Re: Om2009 testing release 5

2009-06-24 Thread Xavier Cremaschi
I see none of my contacts... am I missing something obvious or is it a bug ?

Xavier.


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


Re: Why one cannot recommend the freerunner as a daily phone (was Re: Is a FreeRunner sufficient for me?)

2009-06-24 Thread Michal Brzozowski
Hmm, that is one very aspect of C++ I wasn't aware of.

2009/6/24 David Ford da...@blue-labs.org

 that is one typical aspect.

 Michal Brzozowski wrote:
  2009/6/24 David Ford da...@blue-labs.org mailto:da...@blue-labs.org
 
  do you understand the weight involved with using c++?  without
  very very
  careful management, c++ is rather hefty for embedded devices.
   granted,
  having 128M to work in is indeed far more tenable than smaller
 devices
  but it's still onerous.
 
  C is much more lightweight and very functional.  any benefits of c++
  usually don't overcome the drawbacks for embedded devices.
 
 
 
  What drawbacks do you mean? That is uses more memory?


 ___
 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: strange df behaviour

2009-06-24 Thread Marc Bantle
ivvmm schrieb:
 Hello list,

 found strange df behaviour. I'm using my micro sd which came with FR
 only for openstreetmaps. As a result it is filled with great amount of them.

 The filesystem on it is ext3. The df program from virtualbox reports it
 is filled 84%. But one cannot write there, because no space is
 available. Outputs:
   
I ran into the same problem some time ago.
I format relevant partitions specifying the
block-size and inode-size.

  mkfs.ext3 -b 1024 -i 4096 /dev/mmcblk0p5 -L mmc5
 
This worked fine for me sofar :-)

Marc

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


Re: Why one cannot recommend the freerunner as a daily phone (was Re: Is a FreeRunner sufficient for me?)

2009-06-24 Thread mobi phil
memory?... this remembers me about women... you can give the same amount of
money to a blond, black, brunette, blue eyes etc. women... all of them they
will spend it the same nanosecond...
give the same money to a good businessman He will use it carefully...

the programming language does not make too much difference neither. Give the
same memory to an unconscious programmer he will waste it the same, just in
few lines of code whatever C or C++ or C-- his is programming. Only issue
could be memory fragmentation, that with a little care could be avoided in
C++ as well. Average C++ programmers have no idea how to save memory. But
C++ at least helps you a bit more to think in patterns, to keep much more
order with less effort.

I think if one keeps for the backend all the legacy (not pejorative ) C
code, but coding against a simple widgetset for the GUI in C++ is not a bad
idea. Creating a C wrapper, was not really a joke, for only C programmers...

I am not saying that C++ is better for the embedded devices, far from that.
Just that Qt has a much better abstraction than other toolkits, and is
easier to use than few other toolkits. And besides that produces much better
user experience. And it is portable. Encourage programmers to create GUI
with QT, in few days there will be somebody who will port that to windows CE
as there is QT toolkit for CE as well. Then maybe wince programmers would
also think about programming against some more generic toolkit etc.

By the way... did anybody reverse engineer' a bit the iphone ?or
Android?(not necessarily only the code, but gui patterns I think paying a
little attention to their way of doing things maybe will inspire a bit.

would not like to offend... just some random ideas...

mobip...@mobiphil.com


On Wed, Jun 24, 2009 at 8:08 PM, David Ford da...@blue-labs.org wrote:

 do you understand the weight involved with using c++?  without very very
 careful management, c++ is rather hefty for embedded devices.  granted,
 having 128M to work in is indeed far more tenable than smaller devices
 but it's still onerous.

 C is much more lightweight and very functional.  any benefits of c++
 usually don't overcome the drawbacks for embedded devices.

 -d

 On 06/24/09 07:09, mobi phil wrote:
  Hey!! Is this kind of phrase i am not interested in c++.  driving
  the linux phone development? I can never understand how is it possible
  to have such a huge gap on the scale between C programmers and C++
  programmers? Why are C++ programmers dying out? Is it because some C
  programmers never managed to get the point with C++ and those who did,
  switched automatically to Java? I propose a C wrapper arround Qt, for
  the C programmers, and everybody will still benefit, beleive me. QT is
  a treasure, is a nice clean code! And it is fast!

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




-- 
being mobile, but including technology
http://mobiphil.com
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Om2009 testing release 5

2009-06-24 Thread Michal Brzozowski
2009/6/19 Michal Brzozowski ruso...@poczta.fm

  I had the phone go into unresumable suspend. I received a call while it
 was suspended, it woke up and I answered the call. I don't remember if I put
 it down or the other side. Then the phone went to suspend again, and there
 was another call coming, I heard it in my radios speakers, but the phone
 didn't wake up. I didn't wake up with the power button as well. I restarted
 it and tried to get the logs (/var/log/..), but it seems frameworkd only
 keeps a small portion of them, as the logs from before the restart got
 overwritten. I tried to reproduce the same scenario by myself, but without
 success.

 Is there a way to make Paroli and frameworkd keep old logs and not deleting
 them?

 Michal


It happened again. The phone suspended while I was talking, and wouldn't
wake up after the call ended.

Does not waking up from suspend necessarily mean it's a kernel bug? It only
happened just after a call.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SHR annoyances (+ a few workarounds)

2009-06-24 Thread jeremy jozwik
i think the landscape hum is on all releases. i know for a fact its in
shr-testing

On Wed, Jun 24, 2009 at 1:25 PM, Jon Levellopenm...@coralbark.net wrote:
 Hi,

 I'm using SHR-Unstable as my daily phone, it works but there are
 some things that bug me, mostly  I can live with or work around them.
 It occurs to me other people might have better work arounds so I
 thought I'd post my current list and see what happens:

 Wifi
 =
 It seems reliable with the WPA2 networks I use it with but I can't
 seem to turn it off in SHR-settings and once I've connected to a network
 I  can't reconnect to any network without rebooting. (I
 know there's work going on in the kernel relating to this).
 Workaround: After I've finished using wifi, I always reboot the
 phone so that next time I want to connect, it works


 Midori
 ===
 Aside from the superuser-warning banner (which will be gone in
 the next release), the keyboard shortcuts (e.g. F11 for
 full screen) aren't available in Literki. There's a config
 file for accelerator keys (~/.config/midori/accels) but it seems
 to get overwritten every time it loads
 Workaround: Live without those keys (Hmm... I ought to try write
 protecting the file)

 Dictator
 
 The version in the repositories seems to just record crackling
 if I try and record my voice - this used to work.

 Watching videos
 ===
 I'd like to watch videos on my FR. I've encoded it using the command
 listed in the video playback section of:
 http://trac.shr-project.org/trac/wiki/Customize
 But with mplayer-video the sound and pictures become out of sync.
 I've not tested it with intone-video from opkg.org as there's a clash
 with the updated versions of the elementary libraries


 Ringtones
 =
 I've altered my default ringtones to 8bit mono so they are quicker to
 load and to stop.


 Vagalume in the repo/image
 ==
 It crashes
 Workaround: Use the one from opkg.org


 Hum in landscape
 
 When the phone is in landscape mode (really useful when typing with
 Literki) there's a quiet but persistent hum.


 Notifier
 
 It pops up to tell me I have an unread message but the messages app
 has already popped up to tell me that. (There was a request for
 comments on the shr-devel mailing list but I wasn't comfortable
 commenting there as I'm not currently developing anything).


 Navit
 ==
 In the repos it takes a lot of configuring to:
   * show an icon in Illume
   * Stop its dependencies blocking sound on resume
   * finding the libraries it needs
   * configuring the UI
   * making the speech happen far enough in advance for car use
 Workaround: I've foolishly lost my highly tweaked config, when
 I've finished reworking it, I'll post it somewhere

 Scummvm
 ===
 The keyboard doesn't show up so you can't type a filename to
 save your game unless I'm missing something. (You need to turn
 off sound in Scummvm or it crashes before you can start to play).
 I guess you need a bluetooth keyboard

 Messaging/Contacts app
 
 Sometimes I can't seem to enter text into the textarea that
 has focus if I've recently changed focus. It sometimes stops
 me typing a number into a new contact
 Workaround: I add a contact by typing a number into the dialer
 and then saving it.


 I think that's all the ones I can think off for now.

 Jon.

 ___
 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: is 0.4A sufficient for charging?

2009-06-24 Thread Alexander Lehner


On Thu, 25 Jun 2009, ivvmm wrote:

 Alexander Lehner wrote:

 BTW: Could you please send a link to the shop where you found this DC
 converter?

 Yes, I can. But here are two problems.
 First: they have not published it still on their website.
 Second: it is in Russian only.
 the link: http://velobig.ru

Ok - russian is not my strength ;)

I know a similair project in Germany, short overview here:

http://www.heise.de/kiosk/archiv/ct/2007/23/190_kiosk

Its battery buffered and exactly meant for PDA's and handys.
The article includes Printed Circuit Board mask and 
Bill of Material - for hobby electricians!
I did not make it this way, but my hand crafted toy also always dies due 
to high current ; but as benefit I have a volt and an ampeermeter 
included.

For those who are interested I think I can send a private copy but I'm not 
allowed to post the PDF file public.

Alex.


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


Re: your mail

2009-06-24 Thread mobi phil
A forum is probably better place than email lists if the email lists tend to
cover huge amount of information. Having a forum, you can keep o bit more
order in the knowledge base that is accumulating in the email list.
Tags/labels would be probably even more powerful than the simple categories
in a forum. They would make easier to search in the huge amount of
discussions/shared information on the email list. By encouraging everybody
to use in the Subject field, or inside the conversation tags/labels, it
would be much easier to find information, even with search engines.

I would suggest to extend the [topic] labels to sthg. like

Subject: [kernel][usb][external gps] etc.

or separated by ,

Subject [kernel, usb, external gps]




On Wed, Jun 24, 2009 at 1:08 PM, Michele Brocco ssj2mi...@gmail.com wrote:

 I think that you could also use nabble to have a bit of forum
 experience if you like.

 http://lists.openmoko.org/nabble.html

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




-- 
being mobile, but including technology
http://mobiphil.com
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: your mail

2009-06-24 Thread Marcel
Am Mittwoch, 24. Juni 2009 22:45:54 schrieb mobi phil:
 A forum is probably better place than email lists if the email lists
 tend to cover huge amount of information. Having a forum, you can keep
 o bit more order in the knowledge base that is accumulating in the
 email list. Tags/labels would be probably even more powerful than the
 simple categories in a forum. They would make easier to search in the
 huge amount of discussions/shared information on the email list. By
 encouraging everybody to use in the Subject field, or inside the
 conversation tags/labels, it would be much easier to find information,
 even with search engines.

 I would suggest to extend the [topic] labels to sthg. like

 Subject: [kernel][usb][external gps] etc.

 or separated by ,

 Subject [kernel, usb, external gps]

For such, we would need a list of predefined tags. If everyone chooses 
his/her (do we actually have women [I know about Brenda :)] here?) own 
tags and occasionally has a typo in them, we will get perfect chaos.
Now try to force people to look up a list of tags for possibly fitting 
ones.
I think this whole tagging approach is nice from a technical/programmer's 
point of view, but as a user, I do not even want to think about having to 
tag each and every of my 2000 digital photos, not even talking about 
other files. [I'm sliding off topic, don't I? :)]

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


Re: SHR annoyances (+ a few workarounds)

2009-06-24 Thread arne anka
 Wifi
 =
 It seems reliable with the WPA2 networks I use it with but I can't
 seem to turn it off in SHR-settings and once I've connected to a network
 I  can't reconnect to any network without rebooting. (I
 know there's work going on in the kernel relating to this).
 Workaround: After I've finished using wifi, I always reboot the
 phone so that next time I want to connect, it works

all or any of

ifdown devicename
modprobe -r ar6000
killall wpa_supplicant
mdbus -s org.freesmartphone.ousaged  /org/freesmartphone/Usage  
org.freesmartphone.Usage.ReleaseResource 'WiFi'

is not sufficient?

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


Re: How to fix a broken AUX button ?

2009-06-24 Thread Philippe Lhardy
2009/6/7 Daniel Willmann dan...@totalueberwachung.de:
 Hey,

 On Sun, 7 Jun 2009 15:42:07 +0200
 Philippe Lhardy philippelha...@chez.com wrote:

 2009/5/26 Joseph Reeves iknowjos...@gmail.com:
  Hi Philippe,
 
  Sorry I can't help you with your problem, but I was just replying to
  say that I dropped mine the other day and the AUX button stopped
  working... Keep us informed of any developments with yours.
 


I got my openmoko back debuzzed and with a new AUX button working !
Daniel Willmann fixed both quickly. Most of wating time was shipment travel
france-germany back and forth.
He replaced it with one that he got on another spare phone, seems it
was not an easy task.
Now we know that this is doable :-)

Thanks !

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


Re: SHR annoyances (+ a few workarounds)

2009-06-24 Thread Michal Brzozowski
2009/6/24 Jon Levell openm...@coralbark.net

 Midori
 ===
 Aside from the superuser-warning banner (which will be gone in
 the next release), the keyboard shortcuts (e.g. F11 for
 full screen) aren't available in Literki. There's a config
 file for accelerator keys (~/.config/midori/accels) but it seems
 to get overwritten every time it loads
 Workaround: Live without those keys (Hmm... I ought to try write
 protecting the file)


To avoid the superuser-warning banner... run it as normal user :-)

- Use useradd
- in the desktop file write: (su username; midori)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: SHR annoyances (+ a few workarounds)

2009-06-24 Thread The Digital Pioneer

 Wifi
 =
 It seems reliable with the WPA2 networks I use it with but I can't
 seem to turn it off in SHR-settings and once I've connected to a network
 I  can't reconnect to any network without rebooting. (I
 know there's work going on in the kernel relating to this).
 Workaround: After I've finished using wifi, I always reboot the
 phone so that next time I want to connect, it works


What software are you using for WiFi connections? I use SHR-U and I'm
looking for a good program to manage this.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: strange df behaviour

2009-06-24 Thread Timo Juhani Lindfors
ivvmm unachieva...@gmail.com writes:
 When will we have the ability to switch to GNU coreutils?..

I have been using coreutils for almost a year on my freerunner. It's
quite portable :-)





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


Re: SHR annoyances (+ a few workarounds)

2009-06-24 Thread Paul Fertser
Jon Levell openm...@coralbark.net writes:
 Hum in landscape
 
 When the phone is in landscape mode (really useful when typing with
 Literki) there's a quiet but persistent hum.

This started to happen for me too. I thought that's some hardware
parameter had slightly changed but probably it's some kernel changed
that's provoking it. I think i need to try an older kernel and if it
works, git-bisecting would be trivial...

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: SHR annoyances (+ a few workarounds)

2009-06-24 Thread Adam Jimerson
On Wednesday 24 June 2009 06:21:49 pm Paul Fertser wrote:
 Jon Levell openm...@coralbark.net writes:
  Hum in landscape
  
  When the phone is in landscape mode (really useful when typing with
  Literki) there's a quiet but persistent hum.

 This started to happen for me too. I thought that's some hardware
 parameter had slightly changed but probably it's some kernel changed
 that's provoking it. I think i need to try an older kernel and if it
 works, git-bisecting would be trivial...

Sorry for the OT here but I haven't figured out how to get the phone to work 
in landscape, is there a program that needs installed or something that needs 
enabled?
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


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: SHR annoyances (+ a few workarounds)

2009-06-24 Thread jeremy jozwik
pygtk-rotate, rotate, accel-rotate, NewRotate, TurnScreen, simple-rotate...

check 
http://projects.openmoko.org/search/?type_of_search=softwords=rotateSearch=Search

On Wed, Jun 24, 2009 at 4:05 PM, Adam Jimersonvend...@gmail.com wrote:
 On Wednesday 24 June 2009 06:21:49 pm Paul Fertser wrote:
 Jon Levell openm...@coralbark.net writes:
  Hum in landscape
  
  When the phone is in landscape mode (really useful when typing with
  Literki) there's a quiet but persistent hum.

 This started to happen for me too. I thought that's some hardware
 parameter had slightly changed but probably it's some kernel changed
 that's provoking it. I think i need to try an older kernel and if it
 works, git-bisecting would be trivial...

 Sorry for the OT here but I haven't figured out how to get the phone to work
 in landscape, is there a program that needs installed or something that needs
 enabled?
 --
 We must plan for freedom, and not only for security, if for no other reason
 than only freedom can make security more secure.  Karl Popper

 ___
 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


tango and the missing map tiles

2009-06-24 Thread Tim Abell
Hi all,

I've found that if tango doesn't have a working net connection available 
when you pan around it will generate empty files for the map images and 
then never attempt to re-download them leaving nasty gaps in your coverage.

Here's a quick n dirty script that removes all the empty files so that 
tango will fetch them next time.


r...@om-gta02:~# cat cleanmapcache.sh

#!/bin/sh -v
find Maps/OSM/ -size 0 -type f
find Maps/OSM/ -size 0 -type f -exec rm {} \;


The first line displays the empty tile list, the second deletes them.

Feel free to stick this on the wiki or something. I don't know if this 
needs a bug report.

Om2009

Tim Abell

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


Re: Why one cannot recommend the freerunner as a daily phone (was Re: Is a FreeRunner sufficient for me?)

2009-06-24 Thread Laura Vance
It's not about the programmer managing memory, the C++ compiler produces 
a MUCH larger memory footprint.

I like C++ programming, and I used C for years before that.  My first 
exposure to C++ was when I simply compiled one of my C programs with the 
C++ switch.  An executable file that was about 2k compiled as C became 
about 140k compiled as C++ ... I didn't modify the code at all.

The thing that I think is a complete absurdity is the fact that so much 
of the software for the FR is written in an interpreted language 
(Python).  This alone contributes to the slowness of the device.  Heck, 
the frameworkd is a python program. (top shows python 
/usr/bin/frameworkd).  The core systems need to be compiled.  With a 
past employer, I did most of my development in perl, and I ran into a 
bottleneck in the interpreter for startup time.  I copied the program in 
C++ and did a load comparison of the two.  It was easy to bring the 
system to its knees with the interpreted language, but I couldn't even 
get the cpu load to bump more than a tiny bit using the compiled C++.  
(I write perl using the same structure as my C++, so it's very easy for 
me to port between the two)

This is nothing against python in general, I don't think any interpreted 
language belongs in a phone except provide the interpreter for the 
individual owner to write their own code... but interpreted code should 
not make up the core of the system.  Interpreted languages are excellent 
for rapid prototyping and initial development, but once it's ready for 
any type of release, it should be ported to C (in this case) or C++.

I do use my Freerunner (rev6 that nobody has told me about a buzz... and 
I've asked them) on a daily basis.  I choose not to let my phone go on 
standby, because I had heard about some of the problems with my current 
release, but I'm willing to charge it frequently since I am choosing to 
not let it standby.

At some point, I'd like to get into the SMS code and make it do a few 
things:
- Show the contact rather than the phone number
- Show the actual time the message was received. (currently all messages 
are 1-1-1970)
- Link the SMS message to a voicemail icon (my provider sends a 
message from -@ when I have voicemail and ascii triangle@ when all 
voicemail has been heard).

But that's when I have the time. :)

-Laura


mobi phil wrote:

 memory?... this remembers me about women... you can give the same 
 amount of money to a blond, black, brunette, blue eyes etc. women... 
 all of them they will spend it the same nanosecond...
 give the same money to a good businessman He will use it carefully...

 the programming language does not make too much difference neither. 
 Give the same memory to an unconscious programmer he will waste it the 
 same, just in few lines of code whatever C or C++ or C-- his is 
 programming. Only issue could be memory fragmentation, that with a 
 little care could be avoided in C++ as well. Average C++ programmers 
 have no idea how to save memory. But C++ at least helps you a bit more 
 to think in patterns, to keep much more order with less effort.

 I think if one keeps for the backend all the legacy (not pejorative ) 
 C code, but coding against a simple widgetset for the GUI in C++ is 
 not a bad idea. Creating a C wrapper, was not really a joke, for only 
 C programmers...

 I am not saying that C++ is better for the embedded devices, far from 
 that. Just that Qt has a much better abstraction than other toolkits, 
 and is easier to use than few other toolkits. And besides that 
 produces much better user experience. And it is portable. Encourage 
 programmers to create GUI with QT, in few days there will be somebody 
 who will port that to windows CE as there is QT toolkit for CE as 
 well. Then maybe wince programmers would also think about programming 
 against some more generic toolkit etc.

 By the way... did anybody reverse engineer' a bit the iphone ?or 
 Android?(not necessarily only the code, but gui patterns I think 
 paying a little attention to their way of doing things maybe will 
 inspire a bit.

 would not like to offend... just some random ideas...

 mobip...@mobiphil.com mailto:mobip...@mobiphil.com


 On Wed, Jun 24, 2009 at 8:08 PM, David Ford da...@blue-labs.org 
 mailto:da...@blue-labs.org wrote:

 do you understand the weight involved with using c++?  without
 very very
 careful management, c++ is rather hefty for embedded devices.
  granted,
 having 128M to work in is indeed far more tenable than smaller devices
 but it's still onerous.

 C is much more lightweight and very functional.  any benefits of c++
 usually don't overcome the drawbacks for embedded devices.

 -d

 On 06/24/09 07:09, mobi phil wrote:
  Hey!! Is this kind of phrase i am not interested in c++.  driving
  the linux phone development? I can never understand how is it
 possible
  to have such a huge gap on the scale between C 

Re: SHR annoyances (+ a few workarounds)

2009-06-24 Thread Adam Jimerson
On Wednesday 24 June 2009 07:12:35 pm jeremy jozwik wrote:
 pygtk-rotate, rotate, accel-rotate, NewRotate, TurnScreen, simple-rotate...

 check
 http://projects.openmoko.org/search/?type_of_search=softwords=rotateSearc
h=Search


Thanks for the reply, accel-rotate sounds great would love for it to work as a 
daemon but after install turning my phone does not change the mode of the 
screen.  According to the phone the accel-rotate daemon is running but when I 
run accel-rotate I get a Segmentation fault.  I am running 06/17 release of 
SHR-Unstable
-- 
We must plan for freedom, and not only for security, if for no other reason 
than only freedom can make security more secure.  Karl Popper


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: SHR annoyances (+ a few workarounds)

2009-06-24 Thread jeremy jozwik
wouldnt know, i only use pygtk-rotate. i like telling it when i want
it to rotate : )

On Wed, Jun 24, 2009 at 4:36 PM, Adam Jimersonvend...@gmail.com wrote:
 On Wednesday 24 June 2009 07:12:35 pm jeremy jozwik wrote:
 pygtk-rotate, rotate, accel-rotate, NewRotate, TurnScreen, simple-rotate...

 check
 http://projects.openmoko.org/search/?type_of_search=softwords=rotateSearc
h=Search


 Thanks for the reply, accel-rotate sounds great would love for it to work as a
 daemon but after install turning my phone does not change the mode of the
 screen.  According to the phone the accel-rotate daemon is running but when I
 run accel-rotate I get a Segmentation fault.  I am running 06/17 release of
 SHR-Unstable
 --
 We must plan for freedom, and not only for security, if for no other reason
 than only freedom can make security more secure.  Karl Popper

 ___
 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: tango and the missing map tiles

2009-06-24 Thread Robin Paulson
2009/6/25 Tim Abell t...@timwise.co.uk:
 I've found that if tango doesn't have a working net connection available
 when you pan around it will generate empty files for the map images and
 then never attempt to re-download them leaving nasty gaps in your coverage.

 Here's a quick n dirty script that removes all the empty files so that
 tango will fetch them next time.


 r...@om-gta02:~# cat cleanmapcache.sh

 #!/bin/sh -v
 find Maps/OSM/ -size 0 -type f
 find Maps/OSM/ -size 0 -type f -exec rm {} \;


 The first line displays the empty tile list, the second deletes them.

 Feel free to stick this on the wiki or something. I don't know if this
 needs a bug report.

will yaouh perform a similar task? i assume even though they are
blank, they will have a date and time, thus when yaouh is run, it will
see they are old/the hash is wrong, and replace them?

i might be wrong of course

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


Re: tango and the missing map tiles

2009-06-24 Thread Joseph Booker
On Thu, 25 Jun 2009 00:30:42 +0100
Tim Abell t...@timwise.co.uk wrote:

 Hi all,
 
 I've found that if tango doesn't have a working net connection
 available when you pan around it will generate empty files for the
 map images and then never attempt to re-download them leaving nasty
 gaps in your coverage.
 
 Here's a quick n dirty script that removes all the empty files so
 that tango will fetch them next time.
 
 
 r...@om-gta02:~# cat cleanmapcache.sh
 
 #!/bin/sh -v
 find Maps/OSM/ -size 0 -type f
 find Maps/OSM/ -size 0 -type f -exec rm {} \;
 
 
 The first line displays the empty tile list, the second deletes them.

How about this: (works if you have coreutils)
alias clean-map=find /path/Maps/OSM/ -size 0 -type f -exec rm -v {} \;

-- 
Joseph Booker


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


Re: [SHR-Unstable] Broken Batter Applet

2009-06-24 Thread Tim Abell

bump.
any news on this?
I'm having the same issue in Om2009

Paul Fertser wrote:

Robin Paulson robin.paul...@gmail.com writes:
  

2009/5/26 Thomas White t...@bitwiz.org.uk:


I found that as well.  Is anyone able to comment on what HAL is being used for
in SHR-Unstable?  If it's simply been pulled in as a dependency (e.g. for
X.org) and isn't actively being used (e.g. by X.org for input management),
then it can be removed without breaking anything, which makes the problem go
away.
  

hal appears to be a dependency of xserver-kdrive-fbdev and
xserver-security-policy; is it actually critical for these packages,
or is thomas' assessment correct?

i'm getting the same problem of reported charge



This is a problem that needs to be fixed. For the time being it can be
easily workarounded by using internal method for the battery applet,
but a proper long-term solution is yet to be found.

For that one needs to contact HAL guys and ask them about how exactly
they recommend to use their battery-monitoring interfaces, both from
upper level (how an application should deal with current situation
where we have 1 apm emulation for the battery, one usb power supply
(that according to the hal sources is also considered a battery) and
one real battery) and a lower layer (that real battery monitoring
doesn't work because E's battery gadget assumes the presence of some
sysfs properties that our driver lacks, OTOH i couldn't find any
document describing which sysfs nodes really must be present to be
compliant and which are optional).

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


[Om2009] bluetooth keyboard - key presses not making it to X

2009-06-24 Thread Tim Abell

Hi all,

I've got my bt keyboard connected, and according to hcidump I think the 
keypress events are getting to bluez, however they aren't getting to any 
applications, including xev.


Does anyone know what I need to do to troubleshoot this?

refs:
my hcidump: http://pastebin.ca/1473582 (attached)
my notes so far: http://wiki.openmoko.org/wiki/Freedom_Slim_Keyboard#Om2009
vaguely related bug: https://docs.openmoko.org/trac/ticket/1796
older attempts: http://timwise.wikispaces.com/freedom+universal+keyboard

Thanks

Tim Abell
HCI sniffer - Bluetooth packet analyzer ver 1.42
device: hci0 snap_len: 1028 filter: 0x
 HCI Event: Connect Request (0x04) plen 10
bdaddr 00:0B:0D:8A:35:62 class 0x002540 type ACL
 HCI Command: Accept Connection Request (0x01|0x0009) plen 7
bdaddr 00:0B:0D:8A:35:62 role 0x01
Role: Slave
 HCI Event: Command Status (0x0f) plen 4
Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
 HCI Event: Connect Complete (0x03) plen 11
status 0x00 handle 42 bdaddr 00:0B:0D:8A:35:62 type ACL encrypt 0x00
 HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
handle 42
 HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
bdaddr 00:0B:0D:8A:35:62 mode 1
 HCI Event: Max Slots Change (0x1b) plen 3
handle 42 slots 5
 HCI Event: Command Status (0x0f) plen 4
Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 0
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 17 scid 0x0040
 ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 1 status 0
  Connection pending - No futher information available
 ACL data: handle 42 flags 0x02 dlen 10
L2CAP(s): Info req: type 2
 HCI Event: Command Status (0x0f) plen 4
Unknown (0x00|0x) status 0x00 ncmd 1
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Info rsp: type 2 result 1
  Not supported
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0040 result 0 status 0
  Connection successful
 HCI Event: Read Remote Supported Features (0x0b) plen 11
status 0x00 handle 42
Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00 0x00
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 4
  MTU 48 
 ACL data: handle 42 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 4
  MTU 48 
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 0
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
  Success
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Connect req: psm 19 scid 0x0041
 ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Connect rsp: dcid 0x0041 scid 0x0041 result 0 status 0
  Connection successful
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 16
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 4
  MTU 48 
 ACL data: handle 42 flags 0x02 dlen 18
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 4
  MTU 48 
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Config req: dcid 0x0041 flags 0x00 clen 0
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 14
L2CAP(s): Config rsp: scid 0x0041 flags 0x00 result 0 clen 0
  Success
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 14
L2CAP(d): cid 0x0041 len 10 [psm 19]
  HIDP: Data: Input report
 ACL data: handle 42 flags 0x02 dlen 14
L2CAP(d): cid 0x0041 len 10 [psm 19]
  	
 HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:0B:0D:8A:35:62 mode 2 clkoffset 0x
 HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0040 scid 0x0040
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Disconn req: dcid 0x0041 scid 0x0041
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0040
 HCI Event: Number of Completed Packets (0x13) plen 5
handle 42 packets 1
 ACL data: handle 42 flags 0x02 dlen 12
L2CAP(s): Disconn rsp: dcid 0x0041 scid 0x0041
 HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:0B:0D:8A:35:62 name 'FREEDOM KEYBOARD'
 HCI Command: 

Re: Freerunner's Future - sony ericsson evilness

2009-06-24 Thread Tim Abell
my favourite sony ericsson bug is the one where it waits till your 
memory stick (blergh) is almost totally full (with precious memories 
etc), and then wraps round and overwrites the FAT, followed by a this 
card is not formatted message. I'd link to the bug report but, erm, 
well, there is no bug tracker.


I discovered it when trying to fill mine up with inconsequential mp3s, 
my non techie friend tripped over it when she had filled it up with 
photos. Thank f* for linux, dd and those clever recovery tools.


Tim Abell

Al Johnson wrote:

On Saturday 06 June 2009, Ben Wong wrote:
  

My biggest disappointment has been the fact that my Openmoko Freerunner
(which I've had since helping form the Austin buying group) is still
not _nearly_ as reliable as any cheap simple handset I can get for 10%
of the cost.
  

Not to disagree, I'd like to share that in the short time I've been
using my Freerunner as my only phone it has been much, MUCH, more
reliable than my previous smart phone.



I was particularly amused to find a friend's Sony-Ericsson has the Buzz issue. 
Another bug is a tendency to switch network in the middle of a call when 
roaming, leaving both ends with a silent line. Then there was the long list of 
niggles and frustrations...at least we get to do something about (most of) our 
bugs.



___
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: [Om2009] bluetooth keyboard - key presses not making it to X

2009-06-24 Thread Lon Lentz
  Is the keyboard using encryption?

On Wed, Jun 24, 2009 at 10:57 PM, Tim Abellt...@timwise.co.uk wrote:
 Hi all,

 I've got my bt keyboard connected, and according to hcidump I think the
 keypress events are getting to bluez, however they aren't getting to any
 applications, including xev.

 Does anyone know what I need to do to troubleshoot this?

 refs:
 my hcidump: http://pastebin.ca/1473582 (attached)
 my notes so far: http://wiki.openmoko.org/wiki/Freedom_Slim_Keyboard#Om2009
 vaguely related bug: https://docs.openmoko.org/trac/ticket/1796
 older attempts: http://timwise.wikispaces.com/freedom+universal+keyboard

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


Re: [Om2009] bluetooth keyboard - key presses not making it to X

2009-06-24 Thread Tim Abell
How do I tell?

It all worked fine on my ubuntu box last time I tried.

Tim Abell

Lon Lentz wrote:
   Is the keyboard using encryption?

 On Wed, Jun 24, 2009 at 10:57 PM, Tim Abellt...@timwise.co.uk wrote:
   
 Hi all,

 I've got my bt keyboard connected, and according to hcidump I think the
 keypress events are getting to bluez, however they aren't getting to any
 applications, including xev.

 Does anyone know what I need to do to troubleshoot this?

 refs:
 my hcidump: http://pastebin.ca/1473582 (attached)
 my notes so far: http://wiki.openmoko.org/wiki/Freedom_Slim_Keyboard#Om2009
 vaguely related bug: https://docs.openmoko.org/trac/ticket/1796
 older attempts: http://timwise.wikispaces.com/freedom+universal+keyboard
 

 ___
 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: [Om2009] bluetooth keyboard - key presses not making it to X

2009-06-24 Thread Lon Lentz
  With Apple's keyboards, you have to add 'auth enable; encrypt
enable;' to device {} in hcid.conf. Thought maybe you could be having
the same problem.


On Wed, Jun 24, 2009 at 11:07 PM, Tim Abellt...@timwise.co.uk wrote:
 How do I tell?

 It all worked fine on my ubuntu box last time I tried.

 Tim Abell

 Lon Lentz wrote:
   Is the keyboard using encryption?

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


Re: [Om2009] bluetooth keyboard - key presses not making it to X

2009-06-24 Thread Tim Abell

Oh, ok.

I can't find the file you mention.

r...@om-gta02:/etc/bluetooth# ls
audio.confinput.confmain.conf network.conf  rfcomm.conf

Ta.

Tim Abell


Lon Lentz wrote:

  With Apple's keyboards, you have to add 'auth enable; encrypt
enable;' to device {} in hcid.conf. Thought maybe you could be having
the same problem.


On Wed, Jun 24, 2009 at 11:07 PM, Tim Abellt...@timwise.co.uk wrote:
  

How do I tell?

It all worked fine on my ubuntu box last time I tried.

Tim Abell

Lon Lentz wrote:


  Is the keyboard using encryption?
  


___
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: [SHR-Unstable] Broken Batter Applet

2009-06-24 Thread Paul Fertser
Tim Abell t...@timwise.co.uk writes:
 bump.
 any news on this?
 I'm having the same issue in Om2009

I'm now convinced that this is a problem in both hal and E's battery
gadget. If battery gadget didn't try to average percentages, it would
ignore both usb and apm batteries and calculate the right
value. So hal has oddities that can be considered bugs for sure but
otoh in my opinion battery gadget needs fixing as well (and after
fixing that hal's oddities would become irrelevant).

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: [Om2009] bluetooth keyboard - key presses not making it to X

2009-06-24 Thread Paul Fertser
Lon Lentz lon.le...@gmail.com writes:
   With Apple's keyboards, you have to add 'auth enable; encrypt
 enable;' to device {} in hcid.conf. Thought maybe you could be having
 the same problem.

Both SHR and OM2009 are using bluez4, so no hcid.conf there.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: Why one cannot recommend the freerunner as a daily phone

2009-06-24 Thread Cedric Cellier
-[ Wed, Jun 24, 2009 at 05:32:42PM -0600, Laura Vance ]
 The thing that I think is a complete absurdity is the fact that so much 
 of the software for the FR is written in an interpreted language 
 (Python).  This alone contributes to the slowness of the device.

Not only to the slowness, but to the power inefficiency also : if a script is,
say, 15 times slower than the equivalent C app, it will also draw 15 times more
current from the CPU.


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