[QTmoko debian] How to change display brightness / sound volume from command line

2011-11-13 Thread robin
Hi 

is there anything similiar to the fso commands to set the display brightness in
qtmoko v36? I would like to extend my navit xml by a button to automatically dim
to 10% (first click) and back to 90% (second click). 


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


navit / making announcement not execute a command line call as well

2011-11-13 Thread robin
Maybe someone from the openmoko list is using navit and has an idea if one can
make the announcement tag not only announce the the next direction to turn to
but also to execute a command as well.

My idea would be to have navit fully dimmed if one is travelling on the correct
path. Once a there are crossings and directions are announced the display will
change brightness via a fso call. once travelling on the right track again the
display should be dimmed again.

anyone has any idea?


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


Re: [QTmoko debian] How to change display brightness / sound volume from command line

2011-11-13 Thread Timo Juhani Lindfors
robin spielr...@web.de writes:
 is there anything similiar to the fso commands to set the display
 brightness in

om backlight brightness 10

sets it to 10%


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


Re: navit / making announcement not execute a command line call as well

2011-11-13 Thread Ed Kapitein
Hi Robin,

I have something like this in my navit.xml:
speech type=cmdline data=/home/navit/scripts/say_it.sh '%s'/

and /home/navit/scripts/say_it.sh is a script  that does some post
processing for speech,
but you can make it do anything i guess.
The %s is passed on to the script as command line parameters, so you
could first handle
$* in the script and then dim/brighten the screen.

Kind regards,
Ed


On 11/13/2011 07:32 PM, robin wrote:
 Maybe someone from the openmoko list is using navit and has an idea if one can
 make the announcement tag not only announce the the next direction to turn to
 but also to execute a command as well.

 My idea would be to have navit fully dimmed if one is travelling on the 
 correct
 path. Once a there are crossings and directions are announced the display will
 change brightness via a fso call. once travelling on the right track again the
 display should be dimmed again.

 anyone has any idea?


 ___
 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


ffalarms custom command

2010-05-19 Thread Petr Vanek
i have been using ffalarms daily and really like it. thanks for it!

have one feature request - in reality, it makes a really great atd
frontend :), would it be possible to implement a feature
to choose whether alarm should be sound or not and also to run custom
command? As all the other structure is there and it makes little sense
to start a second project with very similar aim, this could nicely
provide a way to auto turn off our freerunner in the evening and do
wake in the morning... as well as run and manage automated events... 

cheers

Petr


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


Re: ffalarms custom command

2010-05-19 Thread Łukasz Pankowski
Petr Vanek van...@penguin.cz writes:

 i have been using ffalarms daily and really like it. thanks for it!

 have one feature request - in reality, it makes a really great atd
 frontend :), would it be possible to implement a feature
 to choose whether alarm should be sound or not and also to run custom
 command? As all the other structure is there and it makes little sense
 to start a second project with very similar aim, this could nicely
 provide a way to auto turn off our freerunner in the evening and do
 wake in the morning... as well as run and manage automated events...

Hi,

In a sense it is already there: you can put any command as a player in a
config file.  BUT: at the moment you can declare only single player and
so there is no GUI way to select between them which I think you suggest?

But then to modes would be possible: an alarm (with the snooze/ack gui)
and the background command (possibly with an output to some logfile
and/or gui message if command fails).

At the moment I put quite low priority to ffalarms compared to the
real/rest-of life, so I can not give any promise when I could implement
this feature though I could find it useful myself to change phone
profile to silent/vibrate for some regular events.


 cheers

 Petr


 ___
 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: Triggering Literki from command line?

2010-04-16 Thread Neil Jerram
On 16 April 2010 05:10, Alex Teiche xelap...@gmail.com wrote:
 Hey everyone, is there a way to make literki pop up from the command
 line?  I want it to happen from within a shell script.  Hackable:1
 does it somehow, but I can't figure it out from the source code.

literki 

But is that what you meant?

 Neil

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


Re: Triggering Literki from command line?

2010-04-16 Thread Michal Brzozowski
2010/4/16, Alex Teiche xelap...@gmail.com:
 Hey everyone, is there a way to make literki pop up from the command
 line?  I want it to happen from within a shell script.  Hackable:1
 does it somehow, but I can't figure it out from the source code.

 Thanks!

Sorry, it's not possible. It shouldn't be hard to implement, but I'm
traveling for another couple of months so can't help you.

If you feel like hacking literki, the best way to do it is by sending
an X event I think.

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


Re: Triggering Literki from command line?

2010-04-16 Thread Timo Jyrinki
2010/4/16 Neil Jerram neiljer...@googlemail.com:
 literki 

 But is that what you meant?

He certainly meant unhiding the keyboard of already running literki process.

-Timo

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


Re: Triggering Literki from command line?

2010-04-16 Thread Jens Seidel
On Fri, Apr 16, 2010 at 07:43:09PM +0300, Timo Jyrinki wrote:
 2010/4/16 Neil Jerram neiljer...@googlemail.com:
  literki 
 
  But is that what you meant?
 
 He certainly meant unhiding the keyboard of already running literki process.

In this case I'm sure xwit can do it. It allows access to many basic X
functions, see xwit(1).

Jens

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


Triggering Literki from command line?

2010-04-15 Thread Alex Teiche
Hey everyone, is there a way to make literki pop up from the command
line?  I want it to happen from within a shell script.  Hackable:1
does it somehow, but I can't figure it out from the source code.

Thanks!

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


[shr-u 20100306] new power key command action params

2010-03-25 Thread jeremy jozwik
last night i just re-flashed to shr-u 20100306. after the reflash i
was playing around in illum2 and remapped some keys.

i have now lost the power key command action parameter and would like
to know what the default command should be.

pressing restore defaults in the enlightenment key bindings is of no help.

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


[shr] terminal command for keyboard setting

2009-10-24 Thread jeremy jozwik
hello list. for many months ive been using literki as my keyboard. in
order to get the maximum benifite out of it i disabled the elementary
keyboard. trouble is that blasted elementary error on full screen.

there are only one of two of my packages that generate this error, so
that got me thinking is there a way to set the none keyboard via a
terminal command?

that way i can just make the desktop icon read a script file that
enables the keyboard for what ever packages crash the most.

- jeremy

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


Re: [shr] terminal command for keyboard setting

2009-10-24 Thread Lars Hennig
Am Samstag 24 Oktober 2009 schrieb jeremy jozwik:
 hello list. for many months ive been using literki as my keyboard. in
 order to get the maximum benifite out of it i disabled the elementary
 keyboard. trouble is that blasted elementary error on full screen.

 there are only one of two of my packages that generate this error, so
 that got me thinking is there a way to set the none keyboard via a
 terminal command?

I prefer literki, too. But I went back to qwo instead. Reason is:
Even if I tried to exchange the illume keyboard with a dummy skript, the 
enlightenment error occured as if you chose none as keyboard.

The only thing you can do, seems to be waiting for a fix in enlightenment.



-- 
Lars

 Lubarsky's Law of Cybernetic Entomology:
   There's always one more bug.

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


Re: [shr] terminal command for keyboard setting

2009-10-24 Thread jeremy jozwik
On Sat, Oct 24, 2009 at 8:02 AM, Lars Hennig n...@el-hennig.de wrote:
 I prefer literki, too. But I went back to qwo instead. Reason is:
 Even if I tried to exchange the illume keyboard with a dummy skript, the
 enlightenment error occured as if you chose none as keyboard.

 The only thing you can do, seems to be waiting for a fix in enlightenment.

sorry, i may have made that not clear enough.

for general usage the enlightenment keyboard would be set to none.
then if i run... lets say FFalarms it would enable the enlightenment
board so it does not die when i go to clock mode.

generally i set my alarm right before i go to bed. and often times im
not 100% when i set it so i forget to enable the keyboard. click the
clock and BAM... wait for the phone to restart

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


Re: [shr] terminal command for keyboard setting

2009-10-24 Thread Michal Brzozowski
2009/10/24 jeremy jozwik jerjoz.for...@gmail.com

 On Sat, Oct 24, 2009 at 8:02 AM, Lars Hennig n...@el-hennig.de wrote:
  I prefer literki, too. But I went back to qwo instead. Reason is:
  Even if I tried to exchange the illume keyboard with a dummy skript, the
  enlightenment error occured as if you chose none as keyboard.
 
  The only thing you can do, seems to be waiting for a fix in
 enlightenment.

 sorry, i may have made that not clear enough.

 for general usage the enlightenment keyboard would be set to none.
 then if i run... lets say FFalarms it would enable the enlightenment
 board so it does not die when i go to clock mode.

 generally i set my alarm right before i go to bed. and often times im
 not 100% when i set it so i forget to enable the keyboard. click the
 clock and BAM... wait for the phone to restart


One solution that I found satisfactory was getting rid of enlightenment and
using a different WM.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using gps from command line

2009-07-21 Thread David Fokkema
On Sat, 2009-07-18 at 20:13 +0200, Laszlo KREKACS wrote:

 So anybody can show me a working code using the gps through frameworkd?

Like this?


import dbus
import time

bus = dbus.SystemBus()
usage = bus.get_object('org.freesmartphone.ousaged',
   '/org/freesmartphone/Usage')

gps = bus.get_object('org.freedesktop.Gypsy', '/org/freedesktop/Gypsy')
gps_device = dbus.Interface(gps, 'org.freedesktop.Gypsy.Device')
gps_position = dbus.Interface(gps, 'org.freedesktop.Gypsy.Position')

print usage.GetResourcePolicy('GPS')
print usage.GetResourceState('GPS')

usage.RequestResource('GPS')
print usage.GetResourceState('GPS')

t = time.time()
while True:
print 'Connection:', gps_device.GetConnectionStatus()
print 'Fix:', gps_device.GetFixStatus()
print 'Position:', gps_position.GetPosition()
time.sleep(2)
if time.time() - t  10:


break

usage.ReleaseResource('GPS')
print usage.GetResourceState('GPS')


David


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


Using gps from command line

2009-07-18 Thread Laszlo KREKACS
Hi!

I tried to follow a gps tutorial on my freeerunner using om2009.t5:
http://totalueberwachung.de/blog/2008/10/14/fso-tutorial-part-1-gps

cli-framework
usageiface.RequestResource(GPS)
gpsposition.GetPosition()

And it only returns with (0, 0, 0.0, 0.0, 0.0).

I thought it is because it didnt get a fix, but it is the same after a
half an hour.

So anybody can show me a working code using the gps through frameworkd?

Best regards,
 Laszlo

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


Re: at command

2009-07-13 Thread Rask Ingemann Lambertsen
On Tue, Jul 07, 2009 at 02:37:22PM -0700, Test wrote:
  
 I am playing w/ some AT commands. If you know what are these AT commands for? 
 let me know, and also how to use them?

   AT+CLVL is documented in the 3GPP 07.07 and 27.007 specs which you can
find here:

http://www.3gpp.org/ftp/Specs/html-info/0707.htm
http://www.3gpp.org/ftp/Specs/html-info/27007.htm

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


at command

2009-07-07 Thread Test
 
I am playing w/ some AT commands. If you know what are these AT commands for? 
let me know, and also how to use them?
 
at+frq
at+clvl
at+fpw
 
thanks


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


Re: at command

2009-07-07 Thread Reid Thompson
Test wrote:
  
 I am playing w/ some AT commands. If you know what are these AT commands 
 for? let me know, and also how to use them?
  
 at+frq
 at+clvl
 at+fpw
  
 thanks
 
 
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

google at modem command set

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


Re: at command

2009-07-07 Thread Mike Montour
Test wrote:
  
 I am playing w/ some AT commands. If you know what are these AT commands 
 for? let me know, and also how to use them?

AT+CLVL sets the audio output volume from the Calypso (see for example 
http://docs.openmoko.org/trac/ticket/2121).

I don't know about the others but one of the references linked from 
http://wiki.openmoko.org/wiki/Hardware:AT_Commands might have some 
information.


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


Re: Command-line Yaouh! clone

2009-04-26 Thread rhn
On Thu, 23 Apr 2009 10:40:19 +0200, Carlo Minucci ge...@napodano.com
wrote:
 rhn ha scritto:
 This program was started before Yaouh! was published. Initially, it only
 downloaded the empty tiles, so I called it fill_gaps.py. For a long
time,
 I
 felt it's sufficient, so I didn't change it. Recently, I decided that I
 need something smarter - I tried out Yaouh!, which didn't have some of
 the
 funcionaltiy I wanted. The code was a bit messy, too.
   
 
 which funcionality do you want on yaouh? :)
 
The features I listed in the original post... Falling back to other mirrors
when a file can't be downloaded, removing old files and command-line
operation. I think merging both programs would be the best. I'd do it
myself, but I couldn't find my way through the code...

-- 
Cheers,
rhn

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


Re: Command-line Yaouh! clone

2009-04-24 Thread rixed
 Personally I'd like to be able to dump tangogps (or similar that uses
 png tiles) and use something that's able to render the map from vector
 data.

Roadmap ?
(available on maemo, not tried on openmoko yet)


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


Re: Command-line Yaouh! clone

2009-04-24 Thread Helge Hafting
rhn wrote:
 On Thu, 23 Apr 2009 15:45:28 +0200, Helge Hafting helge.haft...@hist.no
 wrote:
 Risto H. Kurppa wrote:
 On Thu, Apr 23, 2009 at 4:11 PM, Helge Hafting helge.haft...@hist.no
 wrote:
 These here sound good to me to have around (in Yaouh, too)
 * skipping files modified recently
 How recent would that be?
 I run yaouh to get the latest tiles where I have updated the map. Of
 course, this is often the same tiles as I refreshed a couple of days
 earlier. So I think this has to be optional. Some kind of uses need to
 check fairly new tiles.
 
 I use the program in exactly the same way. Skipping files is not for sake
 of less transfer, but for less time spent on contacting remote servers
 (that's the same reason why I believe deleting files long unused is
 necessary). As of now, skipping files one day old is completely sufficient
 for me. Unless you do many updates every day and the tile server gets
 updated quicker than in my area.
 The value should be adjustable (including 0) in my opinion.

Sometimes yaouh crash (or the phone crash.) When restarting the 
download, avoiding checking the same stuff again would be nice. Skipping 
the most recent files will do that - another way is to have the app 
record how far it gets and restart from the same place.

 
 * forcing download empty tiles
 What does that mean?
 
 The current version treats the empty files (size 0) left by tangoGPS as
 ones needed to download by force, that is, not checking for the server
 modification date.
 
 For example download every tile that has 2 (or 3 or four) neighbors
 downloaded to 'fill the gaps' in the map.

 
 That's an interesting idea... unfortunately, the program would need to be
 rewritten because it uses recursive traversal of dictionaries now (and I
 think Yaouh! does so, too).
 
Yaouh recurses through the directories, but python lets you control the 
order. You can have the top level first or the bottom level first.


 Ah, excellent!
 It'd also be nice to have an option for automatically zooming out.
 That is, if I have a bunch of tiles at zoom 15 (downloaded using 
 tangogps perhaps) then I want the zoom 14 tiles covering the same area, 
 as well as the zoom 13 tiles, and so on all the way up to the top.

 Of course, the number of tiles quickly gets lower as one goes up, and 
 usually hits a tile that is there already after a few levels.

 
 I think this will be the next thing I implement when I get some free time.
 
I'm looking forward to that. :-)

 Another thing that'd be nice to have, is duplicate tile detection.
 There are a lot of sea tiles, empty land tiles, and probably some 
 tiles containing only forest or similiar. This could save lots of space, 
 but not download time. It'd still be necessary to check if empty land 
 suddenly isn't empty anymore.
 
 Is it really that good? Thousands of tiles wold be necessary to make any
 real difference, even if the internal storage of a Freerunner is used. 

I have about 60.000 tiles. The blank tile has size 103. I assume that 
any tile with actual detail won't compress so well. There are 28.000 
such tiles, almost half of them.

On ext3, they actually use 4096 byte each, as they have to use whole 
blocks. That's 109MB saved from a total of 316MB.

A reiserfs system with tail packing might get closer to the 2.75MB 
actually needed.


 A  few megabytes saved when a few hundred is laying there isn't worth the
 trouble. Imagine storing modify dates for each sea tile independently when
 they are all symlinked to the same file (if you want to use the skipping
 functionality mentioned above to save time).
 
ls -l shows me different timestamps for a file and for the symlink 
pointing to it. The symlink timestamp seems to be the creation time for 
the link. The file timestamp is updated when the file is updated, no 
matter what link is used to update it.

So symlinks can indeed be used. When you check a symlink and find that 
the file has changed - break the link and download the now unique file. 
(In theory, it might match another existing file, e.g. when empty land 
turns into empty forest.)

When the file isn't changed, just delete the link and recreate it, in 
order to force a new link timestamp.

Helge Hafting

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


Command-line Yaouh! clone

2009-04-23 Thread rhn
This program was started before Yaouh! was published. Initially, it only
downloaded the empty tiles, so I called it fill_gaps.py. For a long time, I
felt it's sufficient, so I didn't change it. Recently, I decided that I
need something smarter - I tried out Yaouh!, which didn't have some of the
funcionaltiy I wanted. The code was a bit messy, too.

I improved my program instead.
Now it includes:
* lists of fallback URLs,
* If-Modified-Since HTTP headers,
* removal of files unused for a specified time
* skipping files modified recently
* forcing download empty tiles
* customizing the fallback rules (currently, the fallback lists are
different for diffferent zoom levels)

It doesn't:
* take any command-line parameters
* have a GUI
* check md5 (it's not really needed with If-Modified-Since
* download in multiple threads

It's written in Python, so it could be used to improve Yaouh!. It requires
urllib for downloading, which might not be installed by default in some
distributions.

-- 
Cheers,
rhn#!/usr/bin/env python
import os
import os.path
import sys
#sys.path.pop(0)
import urllib2
import time


first_uri = 'http://b.andy.sandbox.cloudmade.com/tiles/cycle/%d/%d/%d.png'
#path = 'http://127.0.0.1:/tiles/cycle/%d/%d/%d.png'
fallback_uri = 'http://c.tile.openstreetmap.org/%d/%d/%d.png'
fallback_uri = 'http://c.tah.openstreetmap.org/Tiles/tile/%d/%d/%d.png'
age_threshold = 60 * 60 * 24
delete_threshold = 60 * 60 * 24 * 30


lowzoom = [first_uri, fallback_uri]
highzoom = [fallback_uri, fallback_uri]


class InvalidPathException(Exception):
pass


def get_file(full_path, url, force=False):
if force:
hdrs = {}
else:
hdrs = {'If-Modified-Since': time.strftime(%a, %d %b %Y %H:%M:%S GMT, time.gmtime(os.stat(full_path)[-2]))}
request = urllib2.Request(url, headers=hdrs)
o = urllib2.urlopen(request)

a = o.read()
if len(a) == 0:
raise Exception('Downloaded empty file.')
outp = open(full_path, 'w')
outp.write(a)
outp.close()


def download(file_path, uri_list, params, force=False):
a, b, c = params
stats = os.stat(file_path)

for uri in uri_list:
try:
get_file(file_path, uri % (a, b, c), force)
os.utime(file_path, (stats.st_atime, time.time())) # is this needed?
return
except urllib2.HTTPError, e:
if e.code == 304:
os.utime(file_path, (stats.st_atime, time.time()))
print 'Up to date'
return
print e, 'falling back'
except Exception, e:
print e, 'falling back'


for dir_, subdirs, files in os.walk('.'):
for file_ in files:
file_path = os.path.join(dir_, file_)
try:
root, a, b, c = file_path[:-4].split('/') #TOSO: change to sys.path
a, b, c = int(a), int(b), int(c)
except:
print file_path, 'omitted'
continue
if a  14:
uris = highzoom
else:
uris = lowzoom

stats = os.stat(file_path)
if time.time() - stats.st_atime  delete_threshold:
print 'DELETE', file_path
os.unlink(file_path)
elif stats.st_size == 0:
print 'NULL', file_path
download(file_path, uris, (a, b, c), True)
elif time.time() - stats.st_mtime  age_threshold:
print 'FULL', file_path
download(file_path, uris, (a, b, c), False)
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Command-line Yaouh! clone

2009-04-23 Thread Carlo Minucci
rhn ha scritto:
 This program was started before Yaouh! was published. Initially, it only
 downloaded the empty tiles, so I called it fill_gaps.py. For a long time, I
 felt it's sufficient, so I didn't change it. Recently, I decided that I
 need something smarter - I tried out Yaouh!, which didn't have some of the
 funcionaltiy I wanted. The code was a bit messy, too.
   

which funcionality do you want on yaouh? :)

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


Re: Command-line Yaouh! clone

2009-04-23 Thread Risto H. Kurppa
On Thu, Apr 23, 2009 at 11:40 AM, Carlo Minucci ge...@napodano.com wrote:
 which funcionality do you want on yaouh? :)


These here sound good to me to have around (in Yaouh, too)
* skipping files modified recently
* forcing download empty tiles

Does someone actally know how much load it creates on (new :) OSM
servers to update X mb of tiles with y% to be updated? Are there still
ways to decrease this?


r


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

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


Re: Command-line Yaouh! clone

2009-04-23 Thread Helge Hafting
Risto H. Kurppa wrote:
 On Thu, Apr 23, 2009 at 11:40 AM, Carlo Minucci ge...@napodano.com wrote:
 which funcionality do you want on yaouh? :)
 
 
 These here sound good to me to have around (in Yaouh, too)
 * skipping files modified recently

How recent would that be?
I run yaouh to get the latest tiles where I have updated the map. Of 
course, this is often the same tiles as I refreshed a couple of days 
earlier. So I think this has to be optional. Some kind of uses need to 
check fairly new tiles.

 * forcing download empty tiles
What does that mean?

 
 Does someone actally know how much load it creates on (new :) OSM
 servers to update X mb of tiles with y% to be updated? Are there still
 ways to decrease this?

A tile tends to be 10-30kB. Perhaps 20kB on average? A header check is 
about 100 byte.

So X MB of tiles is about 1000X/20=50X tiles. All 50X tiles get checked, 
so 50X*100 byte is about 5X kB.

Of these 50X tiles, y% gets updated, and is on average 20kB.
so, 50X*y/100*20kB = 10Xy kB.

So with these numbers, you get 5X+10Xy kB or (5+10y)X kB to transfer.

Helge Hafting




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


Re: Command-line Yaouh! clone

2009-04-23 Thread Risto H. Kurppa
On Thu, Apr 23, 2009 at 4:11 PM, Helge Hafting helge.haft...@hist.no wrote:
 These here sound good to me to have around (in Yaouh, too)
 * skipping files modified recently

 How recent would that be?
 I run yaouh to get the latest tiles where I have updated the map. Of
 course, this is often the same tiles as I refreshed a couple of days
 earlier. So I think this has to be optional. Some kind of uses need to
 check fairly new tiles.

yep, of course optional and as you said, an addition to be able to
download only tiles updated less than D days would be nice, too, I
guess..

 * forcing download empty tiles
 What does that mean?

For example download every tile that has 2 (or 3 or four) neighbors
downloaded to 'fill the gaps' in the map.

 Does someone actally know how much load it creates on (new :) OSM
 servers to update X mb of tiles with y% to be updated? Are there still
 ways to decrease this?

 So with these numbers, you get 5X+10Xy kB or (5+10y)X kB to transfer.

So 300MB of tiles with 30% updated it would generate (5+10*30)*300 kB
= 89MB or so.. ok.. I wonder if it's ok for OSM people if people start
doing it like this a lot more than they now do.


r

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

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


Re: Command-line Yaouh! clone

2009-04-23 Thread Helge Hafting
Risto H. Kurppa wrote:
 On Thu, Apr 23, 2009 at 4:11 PM, Helge Hafting helge.haft...@hist.no wrote:
 These here sound good to me to have around (in Yaouh, too)
 * skipping files modified recently
 How recent would that be?
 I run yaouh to get the latest tiles where I have updated the map. Of
 course, this is often the same tiles as I refreshed a couple of days
 earlier. So I think this has to be optional. Some kind of uses need to
 check fairly new tiles.
 
 yep, of course optional and as you said, an addition to be able to
 download only tiles updated less than D days would be nice, too, I
 guess..
 
 * forcing download empty tiles
 What does that mean?
 
 For example download every tile that has 2 (or 3 or four) neighbors
 downloaded to 'fill the gaps' in the map.
 
Ah, excellent!
It'd also be nice to have an option for automatically zooming out.
That is, if I have a bunch of tiles at zoom 15 (downloaded using 
tangogps perhaps) then I want the zoom 14 tiles covering the same area, 
as well as the zoom 13 tiles, and so on all the way up to the top.

Of course, the number of tiles quickly gets lower as one goes up, and 
usually hits a tile that is there already after a few levels.

 Does someone actally know how much load it creates on (new :) OSM
 servers to update X mb of tiles with y% to be updated? Are there still
 ways to decrease this?
 
 So with these numbers, you get 5X+10Xy kB or (5+10y)X kB to transfer.
 
 So 300MB of tiles with 30% updated it would generate (5+10*30)*300 kB
 = 89MB or so.. ok.. I wonder if it's ok for OSM people if people start
 doing it like this a lot more than they now do.

If people start doing this a lot, then transparent proxies at the 
various ISPs will take much of the load. :-)


Another thing that'd be nice to have, is duplicate tile detection.
There are a lot of sea tiles, empty land tiles, and probably some 
tiles containing only forest or similiar. This could save lots of space, 
but not download time. It'd still be necessary to check if empty land 
suddenly isn't empty anymore.

Helge Hafting



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


Re: Command-line Yaouh! clone

2009-04-23 Thread Yoann ARNAUD
Risto H. Kurppa a écrit :

 So 300MB of tiles with 30% updated it would generate (5+10*30)*300 kB
 = 89MB or so.. ok.. I wonder if it's ok for OSM people if people start
 doing it like this a lot more than they now do.

This has already been discussed in OpenstreetMap Talk-fr. A guy from
bearstech (Rodolphe Quideville) made a mirror for France and some
cities, here :

http://prosper.bearstech.com/~rodo/osm/tar/

I suggest you to ask him for adding the cities/countries you need (give
him x_min x_max... as in info*.php).


-- 
Yoann.

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


Re: Command-line Yaouh! clone

2009-04-23 Thread Alex (Maxious) Sadleir
On Thu, Apr 23, 2009 at 11:44 PM, Yoann ARNAUD yarn...@crans.org wrote:

 Risto H. Kurppa a écrit :

  So 300MB of tiles with 30% updated it would generate (5+10*30)*300 kB
  = 89MB or so.. ok.. I wonder if it's ok for OSM people if people start
  doing it like this a lot more than they now do.

 This has already been discussed in OpenstreetMap Talk-fr. A guy from
 bearstech (Rodolphe Quideville) made a mirror for France and some
 cities, here :

 http://prosper.bearstech.com/~rodo/osm/tar/http://prosper.bearstech.com/%7Erodo/osm/tar/

 I suggest you to ask him for adding the cities/countries you need (give
 him x_min x_max... as in info*.php).


 This is something OSM should get into. I would like to get all the kinds of
things Cloudmade offer (navit? osm/xml?) for all of Australia but only for
my city. Does OSM currently have a way of working out the boundary-box of a
city? If not, I'd certainly help make boxes if there was a web interface
for sending them in. Either way, someone (OSM? Openmoko community?) could
automatically offer zip/tar/tbz files of all the tiles needed in the correct
TangoGPS structure.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Command-line Yaouh! clone

2009-04-23 Thread Stefan Monnier
 It'd also be nice to have an option for automatically zooming out.
 That is, if I have a bunch of tiles at zoom 15 (downloaded using 
 tangogps perhaps) then I want the zoom 14 tiles covering the same area, 
 as well as the zoom 13 tiles, and so on all the way up to the top.
 Of course, the number of tiles quickly gets lower as one goes up, and 
 usually hits a tile that is there already after a few levels.

Yes, that would be welcome.  Actually, more to the point TangoGPS's
download the view + 4 levels down should also download the all levels
above (after all, downloading levels N and above only take 33% more
timespace than downloading level N).

 If people start doing this a lot, then transparent proxies at the 
 various ISPs will take much of the load. :-)

I haven't heard of any ISP using transparent proxies around here.

 Another thing that'd be nice to have, is duplicate tile detection.
 There are a lot of sea tiles, empty land tiles, and probably some
 tiles containing only forest or similiar. This could save lots of space,

Yes, on an ext3 filesystem, it would save 4kB per duplicate file.

Personally, I'd also want to see Yaouh (or the corresponding
functionality) integrated into TangoGPS (probably by first making clear
that the download operation only fills holes in the cache and doesn't
refetch things that are already cached, and then by providing a new
command refresh all the tiles in the current area (above and below)).


Stefan


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


Re: Command-line Yaouh! clone

2009-04-23 Thread rhn
On Thu, 23 Apr 2009 15:45:28 +0200, Helge Hafting helge.haft...@hist.no
wrote:
 Risto H. Kurppa wrote:
 On Thu, Apr 23, 2009 at 4:11 PM, Helge Hafting helge.haft...@hist.no
 wrote:
 These here sound good to me to have around (in Yaouh, too)
 * skipping files modified recently
 How recent would that be?
 I run yaouh to get the latest tiles where I have updated the map. Of
 course, this is often the same tiles as I refreshed a couple of days
 earlier. So I think this has to be optional. Some kind of uses need to
 check fairly new tiles.

I use the program in exactly the same way. Skipping files is not for sake
of less transfer, but for less time spent on contacting remote servers
(that's the same reason why I believe deleting files long unused is
necessary). As of now, skipping files one day old is completely sufficient
for me. Unless you do many updates every day and the tile server gets
updated quicker than in my area.
The value should be adjustable (including 0) in my opinion.

 
 * forcing download empty tiles
 What does that mean?
 

The current version treats the empty files (size 0) left by tangoGPS as
ones needed to download by force, that is, not checking for the server
modification date.

 For example download every tile that has 2 (or 3 or four) neighbors
 downloaded to 'fill the gaps' in the map.
 

That's an interesting idea... unfortunately, the program would need to be
rewritten because it uses recursive traversal of dictionaries now (and I
think Yaouh! does so, too).

 Ah, excellent!
 It'd also be nice to have an option for automatically zooming out.
 That is, if I have a bunch of tiles at zoom 15 (downloaded using 
 tangogps perhaps) then I want the zoom 14 tiles covering the same area, 
 as well as the zoom 13 tiles, and so on all the way up to the top.
 
 Of course, the number of tiles quickly gets lower as one goes up, and 
 usually hits a tile that is there already after a few levels.
 

I think this will be the next thing I implement when I get some free time.

 Another thing that'd be nice to have, is duplicate tile detection.
 There are a lot of sea tiles, empty land tiles, and probably some 
 tiles containing only forest or similiar. This could save lots of space, 
 but not download time. It'd still be necessary to check if empty land 
 suddenly isn't empty anymore.

Is it really that good? Thousands of tiles wold be necessary to make any
real difference, even if the internal storage of a Freerunner is used. A
few megabytes saved when a few hundred is laying there isn't worth the
trouble. Imagine storing modify dates for each sea tile independently when
they are all symlinked to the same file (if you want to use the skipping
functionality mentioned above to save time).

-- 
Cheers,
rhn

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


Re: Command-line Yaouh! clone

2009-04-23 Thread Risto H. Kurppa
On Thu, Apr 23, 2009 at 6:31 PM, Stefan Monnier
monn...@iro.umontreal.ca wrote:
 Personally, I'd also want to see Yaouh (or the corresponding
 functionality) integrated into TangoGPS (probably by first making clear
 that the download operation only fills holes in the cache and doesn't
 refetch things that are already cached, and then by providing a new
 command refresh all the tiles in the current area (above and below)).

Personally I'd like to be able to dump tangogps (or similar that uses
png tiles) and use something that's able to render the map from vector
data. ~ something that Navit does but with some functionality that
tangogps has and navit doesn't (easy gui to save track, trip
information etc etc).  This way a LOT of space  bandwith would be
saved if bitmaps wouldn't have to be loaded but a vector map.


r


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

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


Re: Command-line Yaouh! clone

2009-04-23 Thread The Digital Pioneer
I second that motion. :P I downloaded the planet.bin vector map just so I
would have it when I got a hold of a app to use it, but I can't figure out
Navit and I like TangoGPS's UI anyways.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Command-line Yaouh! clone

2009-04-23 Thread Robin Paulson
2009/4/24 Alex (Maxious) Sadleir maxi...@gmail.com:
 This is something OSM should get into. I would like to get all the kinds of
 things Cloudmade offer (navit? osm/xml?) for all of Australia but only for
 my city. Does OSM currently have a way of working out the boundary-box of a
 city? If not, I'd certainly help make boxes if there was a web interface
 for sending them in. Either way, someone (OSM? Openmoko community?) could
 automatically offer zip/tar/tbz files of all the tiles needed in the correct
 TangoGPS structure.


there are multiple ways to figure out/get the data for the boundary
box of any arbitrary area:
1. go to
www.informationfreeway.org and the lat/lon under your mouse will be
shown as you move it around. you can convert this into an osm download
request via the api (see the osm wiki of rdetails)

2. go to openstreetmap.org and click on export. there are numerous
options there for getting the data

3. have a dig around on wiki.openstreetmap.org there's tons of
information about getting/using the data

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


Missing MAKE Command

2009-04-13 Thread waqar afridi
Hello All

I have missing *make* Command in my Openmoko, when i try to build something,
i can not because of *make*. Where can i download it from. if its in Source
code, then how to compile it. and if u want me to download it directly to
phone using *opkg*, plzz also mention the command for it.

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


Re: Illume - Command line to display the keyboard ?

2009-03-22 Thread Marco Trevisan (Treviño)
Yaroslav Halchenko wrote:
 thanks for the snippet!
 
 but imho the best (and proper) way would be to create an illume
 action (not external script) so it could be assignable to a shortcut

I agree. However this one works also with non-illume keyboards... That's
why I've used this approach. If I'll find some time I'll try to patch
illume itself too. ;)

-- 
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: Illume - Command line to display the keyboard ?

2009-03-18 Thread Francesco de Virgilio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

kimaidou ha scritto:
 Oups, sorry I just had not thought there was some help !
 Thanks a lot, it works well.
 
 I think you should package it into an simple ipk file, and put it on
 opkg.org http://opkg.org, so that everybody can enjoy it !

Yeah, could anyone package it? :) It'll be very useful!

 Anyway thanks a lot

Thanks from me :)

- --
Francesco de Virgilio
*Ubuntu-it Member and Wiki Editor*
   mailto:frad...@ubuntu-it.org
   http://wiki.ubuntu-it.org/FrancescoDeVirgilio
*Wikimedia Italia Member*
   http://en.wikipedia.org/wiki/User:Fradeve11
*OpenStreetMap Mapper*
   http://www.openstreetmap.org/user/Fradeve11
*Blog*
   http://fradeve.netsons.org
Love - Peace - Freedom - Free Software
GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknA9gkACgkQRi2TsGSC4FYbewCePB5AlsWfsp8viOD/II0szuMD
+pgAoKovvSBkwVNI1BRoO5Bcd1K3RwAc
=331i
-END PGP SIGNATURE-

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


Re: Illume - Command line to display the keyboard ?

2009-03-18 Thread Yaroslav Halchenko
thanks for the snippet!

but imho the best (and proper) way would be to create an illume
action (not external script) so it could be assignable to a shortcut

On Wed, 18 Mar 2009, Francesco de Virgilio wrote:

 kimaidou ha scritto:
  Oups, sorry I just had not thought there was some help !
  Thanks a lot, it works well.

  I think you should package it into an simple ipk file, and put it on
  opkg.org http://opkg.org, so that everybody can enjoy it !

 Yeah, could anyone package it? :) It'll be very useful!

  Anyway thanks a lot

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



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


Re: Illume - Command line to display the keyboard ?

2009-03-13 Thread kimaidou
Oups, sorry I just had not thought there was some help !
Thanks a lot, it works well.

I think you should package it into an simple ipk file, and put it on
opkg.org, so that everybody can enjoy it !

Anyway thanks a lot

Kimaidou

2009/3/13 Joel Newkirk freerun...@newkirk.us

 On Thu, 12 Mar 2009 10:17:13 +0100
 kimaidou kimai...@gmail.com wrote:

  Hi!
 
  Hum, I tried again, and from SSH too, but the command
  /home/root/Scripts/illume-kbd-show does not hide the keyboard if it
  is here. Could you send by email the binary you are using ? (if
  possible) NB: I am using this file :
  http://3v1n0.tuxfamily.org/openmoko/illume-kbd-show
 
  Thanks
  Kimaidou

 --help gives some hints... ;)  Try illume-kbd-show -t (for 'toggle')

 j

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


Re: Illume - Command line to display the keyboard ?

2009-03-12 Thread kimaidou
Hi!

Hum, I tried again, and from SSH too, but the command
/home/root/Scripts/illume-kbd-show does not hide the keyboard if it is here.
Could you send by email the binary you are using ? (if possible)
NB: I am using this file :
http://3v1n0.tuxfamily.org/openmoko/illume-kbd-show

Thanks
Kimaidou

2009/3/11 Marco Trevisan (Treviño) m...@3v1n0.net

 kimaidou wrote:
  Thanks very much for sharing your tool !
  I am using SHR + Illume, and I would like to make the illume keyboard
  appear when short clicking on AUX. So I went to the Illume configuration
  -- Input -- Key Bindings, and added the command
  /home/root/Scripts/illume-kbd-show on the Aux press.

 Yes, I did that too.

  This works well, but I cannot use the same Aux button to hide the
  keyboard. The best for that would be that your script first test wether
  the keyboard is displayed or not, and display / hide it depending on the
  display status. Do you think it is possible ?

 Really? I don't know if you're using the latest binary (or if I've
 uploaded the correct one :P), but it sends by default the toggle
 command; using that the keyboard shows when it's hidden and hides when
 it's shown... It works well to me.
 You can try it from ssh too.

 --
 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

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


Re: Illume - Command line to display the keyboard ?

2009-03-12 Thread Joel Newkirk
On Thu, 12 Mar 2009 10:17:13 +0100
kimaidou kimai...@gmail.com wrote:

 Hi!
 
 Hum, I tried again, and from SSH too, but the command
 /home/root/Scripts/illume-kbd-show does not hide the keyboard if it
 is here. Could you send by email the binary you are using ? (if
 possible) NB: I am using this file :
 http://3v1n0.tuxfamily.org/openmoko/illume-kbd-show
 
 Thanks
 Kimaidou

--help gives some hints... ;)  Try illume-kbd-show -t (for 'toggle')

j

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


Re: Illume - Command line to display the keyboard ?

2009-03-11 Thread kimaidou
Hi

Thanks very much for sharing your tool !
I am using SHR + Illume, and I would like to make the illume keyboard appear
when short clicking on AUX. So I went to the Illume configuration -- Input
-- Key Bindings, and added the command /home/root/Scripts/illume-kbd-show
on the Aux press.
This works well, but I cannot use the same Aux button to hide the keyboard.
The best for that would be that your script first test wether the keyboard
is displayed or not, and display / hide it depending on the display
status. Do you think it is possible ?

Thanks again.
Kimaidou

2009/3/11 Marco Trevisan (Treviño) m...@3v1n0.net

 kimaidou wrote:
  I am running SHR testing, and I am trying to display the keyboard with a
  very short press on AUX (like under Hackable:1). To map the keys, I use
  illume configuration : Input  Key binding. I have not found with google
  and wiki search how to display the keyboard, such as when clicking on
  the icon qwerty.

 The illume keyboard supports the matchbox protocol that works over x11
 xevents, that's why I've written this small c program [1] that basically
 sends the _MB_IM_INVOKER_COMMAND x-atom that can control the illume
 (and matchbox) keyboard.

 You can try this binary too, simply run illume-kbd-show to show the
 keyboard it and illume-kbd-show -k to hide it.

 Using that code as base we could also use the ecore_x keyboard atoms
 (_E_VIRTUAL_KEYBOARD*) to select the keyboard to be used and so on...


 [1] http://3v1n0.tuxfamily.org/openmoko/illume-kbd-show.c
 [2] http://3v1n0.tuxfamily.org/openmoko/illume-kbd-show

 --
 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

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


Re: Illume - Command line to display the keyboard ?

2009-03-11 Thread Marco Trevisan (Treviño)
kimaidou wrote:
 Thanks very much for sharing your tool !
 I am using SHR + Illume, and I would like to make the illume keyboard
 appear when short clicking on AUX. So I went to the Illume configuration
 -- Input -- Key Bindings, and added the command
 /home/root/Scripts/illume-kbd-show on the Aux press.

Yes, I did that too.

 This works well, but I cannot use the same Aux button to hide the
 keyboard. The best for that would be that your script first test wether
 the keyboard is displayed or not, and display / hide it depending on the
 display status. Do you think it is possible ?

Really? I don't know if you're using the latest binary (or if I've
uploaded the correct one :P), but it sends by default the toggle
command; using that the keyboard shows when it's hidden and hides when
it's shown... It works well to me.
You can try it from ssh too.

-- 
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


Illume - Command line to display the keyboard ?

2009-03-10 Thread kimaidou
Hi all

I am running SHR testing, and I am trying to display the keyboard with a
very short press on AUX (like under Hackable:1). To map the keys, I use
illume configuration : Input  Key binding. I have not found with google and
wiki search how to display the keyboard, such as when clicking on the icon
qwerty.

Thanks for your help

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


Re: Open IPKG packages from command line

2009-03-09 Thread Risto H. Kurppa
On Mon, Mar 9, 2009 at 3:12 AM, Stefan Monnier monn...@iro.umontreal.ca wrote:
 I have been able to extract some packages by using tar -zxvf after
 renaming the extension to tar.gz - though I cant with all packages (and
 I dont know why).

 Try it with `file': it will usually tell you what kind of file you're
 looking at.  `ipkg' packages have used various formats over time, the
 ones I remember are .tar.gz and ar.  In bith cases, the content is a few
 meta files plus a .tar.gz (so you stupidly get double compression if the
 outer wrapper is .tar.gz).

AFAIK file should return you a 'debian binary' file format for ipk packages now.

r


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

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


Re: Open IPKG packages from command line

2009-03-09 Thread Stefan Monnier
 AFAIK file should return you a 'debian binary' file format for ipk
 packages now.

Duh, it does now indeed.  I can see why it can be useful, but for it
would also sometimes be useful to know that it's a subtype of `ar'.


Stefan


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


Re: Open IPKG packages from command line

2009-03-08 Thread Rask Ingemann Lambertsen
On Tue, Feb 17, 2009 at 10:10:14AM +0100, Kasper Johansen wrote:
 Hi list.
 
 Is it possible to extract a IPK-package (some_package.ipk)? I do not 
 want to install anything - just inspect the package on my Ubuntu-machine.

   man dpkg-deb

 I have been able to extract some packages by using tar -zxvf after 
 renaming the extension to tar.gz - though I cant with all packages (and 
 I dont know why).

   Because they are not supposed to be gzipped tar archives. The ones you
can extract with tar -zxvf are broken.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

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


Re: Open IPKG packages from command line

2009-03-08 Thread Risto H. Kurppa
On Sun, Mar 8, 2009 at 9:55 PM, Rask Ingemann Lambertsen
r...@sygehus.dk wrote:
 On Tue, Feb 17, 2009 at 10:10:14AM +0100, Kasper Johansen wrote:
 Hi list.

 Is it possible to extract a IPK-package (some_package.ipk)? I do not
 want to install anything - just inspect the package on my Ubuntu-machine.

   man dpkg-deb

try
ar x file.ipk

r



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

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


Re: Open IPKG packages from command line

2009-03-08 Thread Stefan Monnier
 I have been able to extract some packages by using tar -zxvf after 
 renaming the extension to tar.gz - though I cant with all packages (and 
 I dont know why).

Try it with `file': it will usually tell you what kind of file you're
looking at.  `ipkg' packages have used various formats over time, the
ones I remember are .tar.gz and ar.  In bith cases, the content is a few
meta files plus a .tar.gz (so you stupidly get double compression if the
outer wrapper is .tar.gz).


Stefan



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


Open IPKG packages from command line

2009-02-17 Thread Kasper Johansen
Hi list.

Is it possible to extract a IPK-package (some_package.ipk)? I do not 
want to install anything - just inspect the package on my Ubuntu-machine.

I have been able to extract some packages by using tar -zxvf after 
renaming the extension to tar.gz - though I cant with all packages (and 
I dont know why).

Can anyone point in the direction on how to do so?

-- 
Med venlig hilsen
Kasper Johansen
Udviklingskonsulent og software engineer
KNJ IT-solutions - Engvej 3 - DK-4970 Rødby
Mail : kaspe...@gmail.com
Telefon  : +45 31593812
Telefon  : +45 26173812


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


Re: Open IPKG packages from command line

2009-02-17 Thread Gunnar Aastrand Grimnes
.ipk are like debian (or indeed ubuntu) packages, i.e. they are
initially packaged with ar, not tar. Unpacking will give you a meta-data
file plus control.tar.gz. and data.tar.gz, which you can untar as usual.
data.tar.gz is meants to be untarred in /, i.e. it contains all folders
up from usr, var, etc.

- Gunnar

Kasper Johansen wrote:
 Hi list.
 
 Is it possible to extract a IPK-package (some_package.ipk)? I do not 
 want to install anything - just inspect the package on my Ubuntu-machine.
 
 I have been able to extract some packages by using tar -zxvf after 
 renaming the extension to tar.gz - though I cant with all packages (and 
 I dont know why).
 
 Can anyone point in the direction on how to do so?
 


-- 
Gunnar Aastrand Grimnes
gunnar.grimnes [AT] dfki.de

DFKI GmbH
Knowledge Management
Trippstadter Strasse 122
D-67663 Kaiserslautern
Germany

Office: +49 631 205 75-117
Mobile: +49 177 277 4397



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


Re: Open IPKG packages from command line

2009-02-17 Thread Kasper Johansen
For future reference: ar -x some_package.ipk did the trick.

Thank you Gunnar!


Gunnar Aastrand Grimnes wrote:
 .ipk are like debian (or indeed ubuntu) packages, i.e. they are
 initially packaged with ar, not tar. Unpacking will give you a meta-data
 file plus control.tar.gz. and data.tar.gz, which you can untar as usual.
 data.tar.gz is meants to be untarred in /, i.e. it contains all folders
 up from usr, var, etc.

 - Gunnar

 Kasper Johansen wrote:
   
 Hi list.

 Is it possible to extract a IPK-package (some_package.ipk)? I do not 
 want to install anything - just inspect the package on my Ubuntu-machine.

 I have been able to extract some packages by using tar -zxvf after 
 renaming the extension to tar.gz - though I cant with all packages (and 
 I dont know why).

 Can anyone point in the direction on how to do so?
 


-- 
Med venlig hilsen
Kasper Johansen
Udviklingskonsulent og software engineer
KNJ IT-solutions - Engvej 3 - DK-4970 Rødby
Mail : kaspe...@gmail.com
Telefon  : +45 31593812
Telefon  : +45 26173812


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


Re: Open IPKG packages from command line

2009-02-17 Thread Risto H. Kurppa
On Tue, Feb 17, 2009 at 11:47 AM, Kasper Johansen k...@spernj.org wrote:
 For future reference: ar -x some_package.ipk did the trick.

 Thank you Gunnar!


 Gunnar Aastrand Grimnes wrote:
 .ipk are like debian (or indeed ubuntu) packages, i.e. they are
 initially packaged with ar, not tar. Unpacking will give you a meta-data
 file plus control.tar.gz. and data.tar.gz, which you can untar as usual.
 data.tar.gz is meants to be untarred in /, i.e. it contains all folders
 up from usr, var, etc.

 - Gunnar

Indeed, thank you both for asking  answering - I've been planning to
learn to create .deb packages for a long time. Now that I'm able to
open .deb and .ipk packages (didn't know earlier how to do it) the
whole thing makes a lot more sense :) Now I still need to find out
when the included scripts (preinst prerm postrm) are run and where are
$D and $OPT defined.

Thanks again :)

r

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

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


Re: Open IPKG packages from command line

2009-02-17 Thread Kasper Johansen
Risto H. Kurppa wrote:
 On Tue, Feb 17, 2009 at 11:47 AM, Kasper Johansen k...@spernj.org wrote:
   
 For future reference: ar -x some_package.ipk did the trick.

 Gunnar Aastrand Grimnes wrote:
 
 .ipk are like debian (or indeed ubuntu) packages, i.e. they are
 initially packaged with ar, not tar. Unpacking will give you a meta-data
 file plus control.tar.gz. and data.tar.gz, which you can untar as usual.
 data.tar.gz is meants to be untarred in /, i.e. it contains all folders
 up from usr, var, etc.
   

 Indeed, thank you both for asking  answering - I've been planning to
 learn to create .deb packages for a long time. Now that I'm able to
 open .deb and .ipk packages (didn't know earlier how to do it) the
 whole thing makes a lot more sense :) Now I still need to find out
 when the included scripts (preinst prerm postrm) are run and where are
 $D and $OPT defined
Hi Risto.

If you want to create .ipk-packages, you should take a look at the 
ipkg-build.sh-script. You basically just do this:

ipkg-build.sh folder_with_files/


In the folder_with_files-folder you then put stuff like:
usr/share/applications/shortcut.desktop
opt/my_application/app.rb
CONTROL/control



It is very easy to use. You can read about the script here:
http://www.oesf.org/index.php?title=IPKG_Howto


You can download the script here:
http://www.oesf.org/howto/downloads/ipkg-build.sh


Further more, I have created a script, which reads all .ipk-packages 
in its own folder and creates a Packages.gz-file from that, so you can 
easily set up your own repository. If you (or anyone else) is 
interested, I would gladly share the source-code for this script with 
you all.

I will even set up a SVN for the script, if anyone wants to help develop it.

-- 
Med venlig hilsen
Kasper Johansen
Mail : kaspe...@gmail.com
Telefon  : +45 26173812


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


Re: console command history

2008-10-16 Thread DJDAS




Carsten Gerlach ha scritto:

  Hi,
Am Dienstag 14. Oktober 2008 3:13:14 am schrieb Joel Newkirk:
  
  
On Mon, 13 Oct 2008 22:26:10 +0100, Stroller wrote


  Isn't it in .bashrc or .bash_profile?

Stroller.
  

it is for bash, but OM distros are using an sh/ash replacement builtin to
busybox.

  
  
~/.bashrc is for bash. What is the corresponding file for sh/ash? ~/.ashrc? or 
~/.shrc?

Greetings, Carsten

  

I use ~/.profile and it seems to work :)
My 2 cents ;)




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


Re: [Om2008.9] using qtmail on command line

2008-10-16 Thread Max Giesbert
hi matthias,

i just updated the wiki page you referred to. i managed to initiate a
call. the sms functionality must be quite similar.

good luck


max


Matthias Apitz schrieb:
 El día Wednesday, October 15, 2008 a las 02:55:30PM +0200, Max Giesbert 
 escribió:
 
 hi matthias,

 have you considered using the dbus interface of FSO for this purpose?

 cheers
 
 Hello Max,
 
 Do you have a bit more information about that? I went to the Wiki page
 about D-Bus: http://wiki.openmoko.org/wiki/D-Bus but this is outdated or
 incomplete (again); I've played around with this:
 
 # dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
 org.openmoko.Dialer.Dial string:08961308351
 Failed to open connection to session message bus: dbus-launch failed to
 autolaunch D-Bus session: Autolaunch requested, but X11 support not
 compiled in.
 Cannot continue.
 
 # export 
 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GJbsqe78BO,guid=c08c2c056c7ef84e3fc4a09048f59782
 
 (the DBUS_SESSION_BUS_ADDRESS I've got by just doing 'cat /proc/*/environ | 
 fgrep DBUS')
 
 # dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
 org.openmoko.Dialer.Dial string:08961308351
 Error org.freedesktop.DBus.Error.ServiceUnknown: The name
 org.openmoko.Dialer was not provided by any .service files
 
 So, now I'm lost :-(
 
 Thx
 
   matthias

-- 
exactt technology
Dipl. Inf. (FH) Max Giesbert

Schießstättstr. 16  T: +49 17 75 07 53 44
D-80339 München F: +49 89 1 22 21 97 02

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


Re: console command history

2008-10-16 Thread Xavier Cremaschi
papa-piet a écrit :
 Fox Mulder schrieb:
 I didn't try it with 2008.9 because i only use debian
 
 I did.
  shh into your Neo workerd for me, but scp didn't, it looked like a
 timeout.
 
 Greetings

Same behavior here, with bash I can ssh, but not scp.
Here is the end of a scp -vvv with sh : http://pastebin.com/m475828a
Here is the end of a scp -vvv with bash : http://pastebin.com/m5164a60e

With bash I cannot :
scp localfile [EMAIL PROTECTED]:/tmp
nor
scp [EMAIL PROTECTED]:/tmp/file localfile

Xavier.


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


Re: console command history

2008-10-16 Thread Joel Newkirk
On Thu, 16 Oct 2008 14:12:26 +0200, Xavier Cremaschi
[EMAIL PROTECTED] wrote:
 papa-piet a écrit :
 Fox Mulder schrieb:
 I didn't try it with 2008.9 because i only use debian
 
 I did.
  shh into your Neo workerd for me, but scp didn't, it looked like a
 timeout.
 
 Greetings
 
 Same behavior here, with bash I can ssh, but not scp.
 Here is the end of a scp -vvv with sh : http://pastebin.com/m475828a
 Here is the end of a scp -vvv with bash : http://pastebin.com/m5164a60e
 
 With bash I cannot :
 scp localfile [EMAIL PROTECTED]:/tmp
 nor
 scp [EMAIL PROTECTED]:/tmp/file localfile
 
 Xavier.

Interesting.  I usually use SFTP instead of SCP, just a matter of habit.

I tested (Raster's prior image + FSO, uname -a gives Linux iota.newkirk.us
2.6.24 #1 PREEMPT Fri Sep 26 14:13:25 EST 2008 armv4tl unknown)
and both sftp and scp work for me as expected, with
root:Kepdp5b2.52RA:0:0:root:/home/root:/bin/bash in /etc/passwd.  Oh, and
I have a root password set.  I've not tested with ssh-key, since I don't
have that handy here at work.

My suspicions fall on either differing dropbear (Dropbear sshd v0.51)
config or different bash packages.  (GNU bash, version 3.2.39(1)-release
(arm-angstrom-linux-gnueabi), installed from FSO repository)

j


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


Re: console command history

2008-10-16 Thread Carsten Gerlach
Hi,

Am Donnerstag 16. Oktober 2008 9:41:33 am schrieb DJDAS:
 I use ~/.profile and it seems to work :)

yes, this works good, thank you. Now I can use aliases :-)

Greetings, Carsten


-- 
Hier ist mein öffentlicher GPG-Schlüssel:
http://daswaldhorn.funpic.de/gpg.html
=
www.stopptdievorratsdatenspeicherung.de


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: console command history

2008-10-16 Thread Fox Mulder
Joel Newkirk wrote:
 On Thu, 16 Oct 2008 14:12:26 +0200, Xavier Cremaschi
 [EMAIL PROTECTED] wrote:
 papa-piet a écrit :
 Fox Mulder schrieb:
 I didn't try it with 2008.9 because i only use debian
 I did.
  shh into your Neo workerd for me, but scp didn't, it looked like a
 timeout.

 Greetings
 Same behavior here, with bash I can ssh, but not scp.
 Here is the end of a scp -vvv with sh : http://pastebin.com/m475828a
 Here is the end of a scp -vvv with bash : http://pastebin.com/m5164a60e

 With bash I cannot :
 scp localfile [EMAIL PROTECTED]:/tmp
 nor
 scp [EMAIL PROTECTED]:/tmp/file localfile

 Xavier.
 
 Interesting.  I usually use SFTP instead of SCP, just a matter of habit.
 
 I tested (Raster's prior image + FSO, uname -a gives Linux iota.newkirk.us
 2.6.24 #1 PREEMPT Fri Sep 26 14:13:25 EST 2008 armv4tl unknown)
 and both sftp and scp work for me as expected, with
 root:Kepdp5b2.52RA:0:0:root:/home/root:/bin/bash in /etc/passwd.  Oh, and
 I have a root password set.  I've not tested with ssh-key, since I don't
 have that handy here at work.
 
 My suspicions fall on either differing dropbear (Dropbear sshd v0.51)
 config or different bash packages.  (GNU bash, version 3.2.39(1)-release
 (arm-angstrom-linux-gnueabi), installed from FSO repository)

The first thing i always did on my different distros was to replace
bash-busybox with real bash and replace dropbear with openssh. Maybe you
should try this combo to get scp to work again because i never got any
problems with it.

Ciao,
 Rainer

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


[Om2008.9] using qtmail on command line

2008-10-15 Thread Matthias Apitz

Hello,

I figured out that 'qtmail' is the application for sending SMS (and
other messages); is there a way to SSH to the FR and send a SMS from
the command line, for example like:

$ ssh [EMAIL PROTECTED]

[EMAIL PROTECTED]:~# qtmail +491704527211 Hello World

or even:

[EMAIL PROTECTED]:~# qtmail +491704527211  file

That would be nice, I think

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread Max Giesbert
hi matthias,

have you considered using the dbus interface of FSO for this purpose?

cheers


max


Matthias Apitz schrieb:
 Hello,
 
 I figured out that 'qtmail' is the application for sending SMS (and
 other messages); is there a way to SSH to the FR and send a SMS from
 the command line, for example like:
 
 $ ssh [EMAIL PROTECTED]
 
 [EMAIL PROTECTED]:~# qtmail +491704527211 Hello World
 
 or even:
 
 [EMAIL PROTECTED]:~# qtmail +491704527211  file
 
 That would be nice, I think
 
   matthias

-- 
exactt technology
Dipl. Inf. (FH) Max Giesbert

Schießstättstr. 16  T: +49 17 75 07 53 44
D-80339 München F: +49 89 1 22 21 97 02

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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread Matthias Apitz
El día Wednesday, October 15, 2008 a las 02:55:30PM +0200, Max Giesbert 
escribió:

 hi matthias,
 
 have you considered using the dbus interface of FSO for this purpose?
 
 cheers

Hello Max,

Do you have a bit more information about that? I went to the Wiki page
about D-Bus: http://wiki.openmoko.org/wiki/D-Bus but this is outdated or
incomplete (again); I've played around with this:

# dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
org.openmoko.Dialer.Dial string:08961308351
Failed to open connection to session message bus: dbus-launch failed to
autolaunch D-Bus session: Autolaunch requested, but X11 support not
compiled in.
Cannot continue.

# export 
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GJbsqe78BO,guid=c08c2c056c7ef84e3fc4a09048f59782

(the DBUS_SESSION_BUS_ADDRESS I've got by just doing 'cat /proc/*/environ | 
fgrep DBUS')

# dbus-send --print-reply --dest=org.openmoko.Dialer /org/openmoko/Dialer 
org.openmoko.Dialer.Dial string:08961308351
Error org.freedesktop.DBus.Error.ServiceUnknown: The name
org.openmoko.Dialer was not provided by any .service files

So, now I'm lost :-(

Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows

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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread William Kenworthy
There was something posted a few weeks back on how to do this.  I just
searched my (incomplete) archive and cant find it - but it can be done!
It was one of the OM guys I think ...

Sorry, not much help other than confirmation it can be done :)
BillK

On Wed, 2008-10-15 at 14:33 +0200, Matthias Apitz wrote:
 Hello,
 
 I figured out that 'qtmail' is the application for sending SMS (and
 other messages); is there a way to SSH to the FR and send a SMS from
 the command line, for example like:
 
 $ ssh [EMAIL PROTECTED]
 
 [EMAIL PROTECTED]:~# qtmail +491704527211 Hello World
 
 or even:
 
 [EMAIL PROTECTED]:~# qtmail +491704527211  file
 
 That would be nice, I think
 
   matthias
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!


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


Re: [Om2008.9] using qtmail on command line

2008-10-15 Thread Marco Trevisan (Treviño)
Matthias Apitz wrote:
 I figured out that 'qtmail' is the application for sending SMS (and
 other messages); is there a way to SSH to the FR and send a SMS from
 the command line, for example like:
 [EMAIL PROTECTED]:~# qtmail +491704527211 Hello World

I don't really know if there's a way to do it, btw an Italian user found
a workaround for this. The article [1] is written in Italian but the
code (in python) should be easy to understand.
If I'm not remembering wrong, using D-bus, is possible to retrieve only
SMSs and calls (not to send).

[1] http://gecco.wordpress.com/2008/10/13/openmoko-spedire-sms-da-terminale/


-- 
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: console command history

2008-10-14 Thread Fox Mulder
W.Kenworthy wrote:
 On Mon, 2008-10-13 at 22:21 -0400, Joel Newkirk wrote:
 On Tue, 14 Oct 2008 12:29:59 +1100, Sarton O'Brien
 [EMAIL PROTECTED] wrote:
 On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote:
 On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED]
 wrote:
 If you use bash on OM than do it the same way how it is done in a
 normal
 linux pc. You must export HISTFILESIZE=1000 to set the number of
 lines
 saved to 1000. Just put this command in an adequate file to be
 executed
 at start like profile or bashrc.

 Ciao,
  Rainer
 Indeed, but how then do I tell it to use bash instead of ash for
 Terminal
 and ssh?
 vi /etc/passwd?

 Sarton
 (Ok, I'll go sit in the corner for five minutes wearing the stupid hat... 
 I already knew that from desktop/server context but for some reason my
 brain just didn't make the connection...)

 Thanks.

 j

 be aware that doing this used to break X and other things during boot-up
 - not sure why but funny things happened ...
 
 Only work around I found was to log in as usual, and type bash at the
 command prompt.
 
 Be interesting to see if this is still the case ...

The busybox-bash doesn't support all features the real bash does why i
installed the bash from the repository. I only did this with 2007.2 and
it works flawless. I didn't try it with 2008.9 because i only use debian
on my neo at the monent.
To use bash i only had to edit passwd and nothing else.

Ciao,
 Rainer

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


Re: console command history

2008-10-14 Thread papa-piet
 Fox Mulder schrieb:
 I didn't try it with 2008.9 because i only use debian

I did.
 shh into your Neo workerd for me, but scp didn't, it looked like a
timeout.

Greetings

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


Re: console command history

2008-10-13 Thread David Samblas

El lun, 13-10-2008 a las 17:02 -0400, Joel Newkirk escribió:
 How can I enlarge the console command history?  I'm used to being able to
 peruse hundreds of lines of previous commands in bash, the limit to ~16
 lines is maddening.
 
 j
 
I want to know how to do is too, I'm one os those lazy up arrow
smashers :)
 
 
 ___
 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: console command history

2008-10-13 Thread Fox Mulder
If you use bash on OM than do it the same way how it is done in a normal
linux pc. You must export HISTFILESIZE=1000 to set the number of lines
saved to 1000. Just put this command in an adequate file to be executed
at start like profile or bashrc.

Ciao,
 Rainer


David Samblas wrote:
 El lun, 13-10-2008 a las 17:02 -0400, Joel Newkirk escribió:
 How can I enlarge the console command history?  I'm used to being able to
 peruse hundreds of lines of previous commands in bash, the limit to ~16
 lines is maddening.

 j

 I want to know how to do is too, I'm one os those lazy up arrow
 smashers :)

 ___
 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

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


Re: console command history

2008-10-13 Thread Stroller

On 13 Oct 2008, at 22:02, Joel Newkirk wrote:

 How can I enlarge the console command history?  I'm used to being  
 able to
 peruse hundreds of lines of previous commands in bash, the limit to  
 ~16
 lines is maddening.

Isn't it in .bashrc or .bash_profile?

Stroller.


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


Re: console command history

2008-10-13 Thread Joel Newkirk
On Mon, 13 Oct 2008 22:26:10 +0100, Stroller
[EMAIL PROTECTED] wrote:
 
 On 13 Oct 2008, at 22:02, Joel Newkirk wrote:
 
 How can I enlarge the console command history?  I'm used to being
 able to
 peruse hundreds of lines of previous commands in bash, the limit to
 ~16
 lines is maddening.
 
 Isn't it in .bashrc or .bash_profile?
 
 Stroller.

it is for bash, but OM distros are using an sh/ash replacement builtin to
busybox.

j


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


Re: console command history

2008-10-13 Thread Sarton O'Brien
On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote:
 On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED] wrote:
  If you use bash on OM than do it the same way how it is done in a normal
  linux pc. You must export HISTFILESIZE=1000 to set the number of lines
  saved to 1000. Just put this command in an adequate file to be executed
  at start like profile or bashrc.
 
  Ciao,
   Rainer

 Indeed, but how then do I tell it to use bash instead of ash for Terminal
 and ssh?

vi /etc/passwd?

Sarton

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


Re: console command history

2008-10-13 Thread Joel Newkirk
On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED] wrote:
 If you use bash on OM than do it the same way how it is done in a normal
 linux pc. You must export HISTFILESIZE=1000 to set the number of lines
 saved to 1000. Just put this command in an adequate file to be executed
 at start like profile or bashrc.
 
 Ciao,
  Rainer

Indeed, but how then do I tell it to use bash instead of ash for Terminal
and ssh?

j


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


Re: console command history

2008-10-13 Thread Joel Newkirk
On Tue, 14 Oct 2008 12:29:59 +1100, Sarton O'Brien
[EMAIL PROTECTED] wrote:
 On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote:
 On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED]
 wrote:
  If you use bash on OM than do it the same way how it is done in a
 normal
  linux pc. You must export HISTFILESIZE=1000 to set the number of
 lines
  saved to 1000. Just put this command in an adequate file to be
 executed
  at start like profile or bashrc.
 
  Ciao,
   Rainer

 Indeed, but how then do I tell it to use bash instead of ash for
 Terminal
 and ssh?
 
 vi /etc/passwd?
 
 Sarton

(Ok, I'll go sit in the corner for five minutes wearing the stupid hat... 
I already knew that from desktop/server context but for some reason my
brain just didn't make the connection...)

Thanks.

j



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


Re: console command history

2008-10-13 Thread Sarton O'Brien
On Tuesday 14 October 2008 13:21:21 Joel Newkirk wrote:
  vi /etc/passwd?
 
  Sarton

 (Ok, I'll go sit in the corner for five minutes wearing the stupid hat...
 I already knew that from desktop/server context but for some reason my
 brain just didn't make the connection...)

 Thanks.

Hehe, don't stress :)

I grew up on BSD (94/95) which has always been pretty baron so for a good long 
while before most of the automation existed, I did everything by hand and then 
continued doing it even when I didn't have to :S

chsh was the first thing I checked for though :)

Everything is so abstract now it's easy to forget the bottom layer.

Sarton

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


Re: console command history

2008-10-13 Thread W.Kenworthy
On Mon, 2008-10-13 at 22:21 -0400, Joel Newkirk wrote:
 On Tue, 14 Oct 2008 12:29:59 +1100, Sarton O'Brien
 [EMAIL PROTECTED] wrote:
  On Tuesday 14 October 2008 12:17:06 Joel Newkirk wrote:
  On Mon, 13 Oct 2008 23:21:18 +0200, Fox Mulder [EMAIL PROTECTED]
  wrote:
   If you use bash on OM than do it the same way how it is done in a
  normal
   linux pc. You must export HISTFILESIZE=1000 to set the number of
  lines
   saved to 1000. Just put this command in an adequate file to be
  executed
   at start like profile or bashrc.
  
   Ciao,
Rainer
 
  Indeed, but how then do I tell it to use bash instead of ash for
  Terminal
  and ssh?
  
  vi /etc/passwd?
  
  Sarton
 
 (Ok, I'll go sit in the corner for five minutes wearing the stupid hat... 
 I already knew that from desktop/server context but for some reason my
 brain just didn't make the connection...)
 
 Thanks.
 
 j
 
be aware that doing this used to break X and other things during boot-up
- not sure why but funny things happened ...

Only work around I found was to log in as usual, and type bash at the
command prompt.

Be interesting to see if this is still the case ...

BillK




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


Re: [u-boot] Wrong image format for bootm command

2008-10-07 Thread Ian
The issue is that somehow your u-boot environment, which is stored in
a separate partition to u-boot itself (and therefore not reset when
you flash u-boot), has been cleared. There's a solution here:

http://wiki.openmoko.org/wiki/Uboot#What_if_I_borked_my_bootloader_environment_and_don.27t_get_a_prompt_anymore.3F

Let me know if you have any trouble - I did this myself (on purpose)
the other day, so it's still fairly fresh in my mind.

Cheers,
-Ian

On Sat, Oct 4, 2008 at 6:42 AM, Matthew Lane [EMAIL PROTECTED] wrote:
 Hey,

 I'm having trouble booting my neo.  I can get into NOR flash, and NAND
 flash, but the NAND flash only supplies one option: the Boot command.
 This command prints a message saying Wrong image format for the bootm
 command.

 I have grabbed the latest u-boot from:
 http://downloads.openmoko.org/daily/gta02v5_and_up-u-boot.bin
 I have flashed this into my NAND using dfu-util from my NOR with no errors.

 My flash image is currently the FDOM image.  I was attempting to install
 debian on my uSD.  I updated to the latest uboot, configured it using a
 script provided at debian.org, and then booted into my flash image and
 proceeded to install debian.  The process halted after partitioning,
 which then advised to use 'cu' to add some environmental variables to
 booting.  After this, I rebooted and began receiving these errors.

 I currently cannot boot into anything.  I can log into NOR (which seems
 fine) but I am unable to flash a working NAND (Just that boot option).

 Thanks!


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




-- 
http://darkstarshout.blogspot.com/
--
On the day *I* go to work for Microsoft, faint oinking sounds will be
heard from far overhead, the moon will not merely turn blue but
develop polkadots, and hell will freeze over so solid the brimstone
will go superconductive.
 -- Erik Raymond, 2005
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

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


Re: [u-boot] Wrong image format for bootm command

2008-10-07 Thread gromez
I have a strange thing with U-boot and Wrong image format for bootm
command too.
I have installed Debian on /dev/mmcblk0p3 and when I select Boot
option in u-boot, the first time it displays this error message and
next time it boots correctly.
Any idea why it wouldn't boot the first time I select Boot ?

Thanks

Jérôme

On Tue, Oct 7, 2008 at 8:40 PM, Ian [EMAIL PROTECTED] wrote:
 The issue is that somehow your u-boot environment, which is stored in
 a separate partition to u-boot itself (and therefore not reset when
 you flash u-boot), has been cleared. There's a solution here:

 http://wiki.openmoko.org/wiki/Uboot#What_if_I_borked_my_bootloader_environment_and_don.27t_get_a_prompt_anymore.3F

 Let me know if you have any trouble - I did this myself (on purpose)
 the other day, so it's still fairly fresh in my mind.

 Cheers,
 -Ian

 On Sat, Oct 4, 2008 at 6:42 AM, Matthew Lane [EMAIL PROTECTED] wrote:
 Hey,

 I'm having trouble booting my neo.  I can get into NOR flash, and NAND
 flash, but the NAND flash only supplies one option: the Boot command.
 This command prints a message saying Wrong image format for the bootm
 command.

 I have grabbed the latest u-boot from:
 http://downloads.openmoko.org/daily/gta02v5_and_up-u-boot.bin
 I have flashed this into my NAND using dfu-util from my NOR with no errors.

 My flash image is currently the FDOM image.  I was attempting to install
 debian on my uSD.  I updated to the latest uboot, configured it using a
 script provided at debian.org, and then booted into my flash image and
 proceeded to install debian.  The process halted after partitioning,
 which then advised to use 'cu' to add some environmental variables to
 booting.  After this, I rebooted and began receiving these errors.

 I currently cannot boot into anything.  I can log into NOR (which seems
 fine) but I am unable to flash a working NAND (Just that boot option).

 Thanks!


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




 --
 http://darkstarshout.blogspot.com/
 --
 On the day *I* go to work for Microsoft, faint oinking sounds will be
 heard from far overhead, the moon will not merely turn blue but
 develop polkadots, and hell will freeze over so solid the brimstone
 will go superconductive.
 -- Erik Raymond, 2005
 --
 Please avoid sending me Word or PowerPoint attachments.
 See http://www.gnu.org/philosophy/no-word-attachments.html

 ___
 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


[u-boot] Wrong image format for bootm command

2008-10-03 Thread Matthew Lane
Hey,

I'm having trouble booting my neo.  I can get into NOR flash, and NAND 
flash, but the NAND flash only supplies one option: the Boot command.  
This command prints a message saying Wrong image format for the bootm 
command.

I have grabbed the latest u-boot from:
 http://downloads.openmoko.org/daily/gta02v5_and_up-u-boot.bin
I have flashed this into my NAND using dfu-util from my NOR with no errors.

My flash image is currently the FDOM image.  I was attempting to install 
debian on my uSD.  I updated to the latest uboot, configured it using a 
script provided at debian.org, and then booted into my flash image and 
proceeded to install debian.  The process halted after partitioning, 
which then advised to use 'cu' to add some environmental variables to 
booting.  After this, I rebooted and began receiving these errors.

I currently cannot boot into anything.  I can log into NOR (which seems 
fine) but I am unable to flash a working NAND (Just that boot option).

Thanks!


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


GSM AT command to disable/change caller ID?

2008-07-17 Thread Ken Restivo
My old, cheap 7-11 ATT pay-as-you-go Nokia phone had a neat feature which 
would disable the Caller ID.

Are there any AT commands I can issue on the FR to do the same feature? I'm 
guessing it was a feature of the GSM modem, or maybe it was an instruction to 
the carrier network, issued via the modem.

I need this because the number I use for my FR is *not* my real number-- my 
main number is a VOIP number and I have it forwarded to the cellphone.

It'd be REALLY GREAT if there was a way to change the caller ID number to be my 
actual main phone number, not the phone disposable number of my pay-as-you-go 
cellphone plan.

-ken

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


Re: GSM AT command to disable/change caller ID?

2008-07-17 Thread Alexey Feldgendler
On Thu, 17 Jul 2008 08:50:48 +0200, Ken Restivo [EMAIL PROTECTED] wrote:

 My old, cheap 7-11 ATT pay-as-you-go Nokia phone had a neat feature  
 which would disable the Caller ID.

 Are there any AT commands I can issue on the FR to do the same feature?  
 I'm guessing it was a feature of the GSM modem, or maybe it was an  
 instruction to the carrier network, issued via the modem.

GSM features like this one are controlled by “dialling” certain special  
numbers:
http://web.telia.com/~u47904776/gsmkode.htm#nummerpres

Note that not every cell provider implements this, and some charge for it.

 It'd be REALLY GREAT if there was a way to change the caller ID number  
 to be my actual main phone number, not the phone disposable number of my  
 pay-as-you-go cellphone plan.

You are not allowed to change your caller ID number, for obvious reasons.


-- 
Alexey Feldgendler [EMAIL PROTECTED]
[ICQ: 115226275] http://feldgendler.livejournal.com

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


Re: GSM AT command to disable/change caller ID?

2008-07-17 Thread Ken Restivo
On Thu, Jul 17, 2008 at 10:12:51AM +0200, Alexey Feldgendler wrote:
 On Thu, 17 Jul 2008 08:50:48 +0200, Ken Restivo [EMAIL PROTECTED] wrote:
 
  My old, cheap 7-11 ATT pay-as-you-go Nokia phone had a neat feature  
  which would disable the Caller ID.
 
  Are there any AT commands I can issue on the FR to do the same feature?  
  I'm guessing it was a feature of the GSM modem, or maybe it was an  
  instruction to the carrier network, issued via the modem.
 
 GSM features like this one are controlled by “dialling” certain special  
 numbers:
 http://web.telia.com/~u47904776/gsmkode.htm#nummerpres
 
 Note that not every cell provider implements this, and some charge for it.
 


Thanks!

The command appears to be CLIR, and, unfortunately, there's no global setting 
for it. #31#PhoneNumber, means I have to type it before each call. On land 
phones, there's a *70 (or is it *71), to disable caller ID globally.

So it appears that the Nokia is prepending #31# before each phone number it 
dials.

Is there some way to get the Qtopia dialer (ASU software) to prepend this 
dialing string?

-ken

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


Re: GSM AT command to disable/change caller ID?

2008-07-17 Thread Alexey Feldgendler
On Thu, 17 Jul 2008 10:33:46 +0200, Ken Restivo [EMAIL PROTECTED] wrote:

 The command appears to be CLIR, and, unfortunately, there's no global  
 setting for it. #31#PhoneNumber, means I have to type it before each  
 call. On land phones, there's a *70 (or is it *71), to disable caller ID  
 globally.

 So it appears that the Nokia is prepending #31# before each phone number  
 it dials.

Sorry, I was wrong, the permanent setting for CLIR is controlled by a GSM  
modem command AT+CLIR.


-- 
Alexey Feldgendler [EMAIL PROTECTED]
[ICQ: 115226275] http://feldgendler.livejournal.com

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


Re: GSM AT command to disable/change caller ID?

2008-07-17 Thread AVee
On Thursday 17 July 2008 11:09, Alexey Feldgendler wrote:
 On Thu, 17 Jul 2008 10:33:46 +0200, Ken Restivo [EMAIL PROTECTED] wrote:
  The command appears to be CLIR, and, unfortunately, there's no global
  setting for it. #31#PhoneNumber, means I have to type it before each
  call. On land phones, there's a *70 (or is it *71), to disable caller ID
  globally.
 
  So it appears that the Nokia is prepending #31# before each phone number
  it dials.

 Sorry, I was wrong, the permanent setting for CLIR is controlled by a GSM
 modem command AT+CLIR.

But the #31# will work for as well, but only for the calls you to which you 
are prepending it. I guess the #31# thing is some kind on common standard 
among GSM carriers...

AVee

-- 
Q:  How many psychiatrists does it take to change a light bulb?
A:  Only one, but it takes a long time, and the light bulb has
to really want to change.

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


Re: GSM AT command to disable/change caller ID?

2008-07-17 Thread Ken Restivo
On Thu, Jul 17, 2008 at 11:09:19AM +0200, Alexey Feldgendler wrote:
 On Thu, 17 Jul 2008 10:33:46 +0200, Ken Restivo [EMAIL PROTECTED] wrote:
 
  The command appears to be CLIR, and, unfortunately, there's no global  
  setting for it. #31#PhoneNumber, means I have to type it before each  
  call. On land phones, there's a *70 (or is it *71), to disable caller ID  
  globally.
 
  So it appears that the Nokia is prepending #31# before each phone number  
  it dials.
 
 Sorry, I was wrong, the permanent setting for CLIR is controlled by a GSM  
 modem command AT+CLIR.
 


Thanks!

Is it persistent across phone reboots? Or do I need to add that to some kind of 
connect script that runs every time the phone powers up?

-ken

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


AT command test suite

2007-07-28 Thread Shakthi Kannan
Hi,

I have been looking for an AT command test suite that can be run on
the host. I've tried:

1. Minicom:

Keying in AT commands has to be done manually. I tried using the
built-in runscript feature to automate the process, for example:

  send AT
  send AT+CGMM
  exit

or

  send AT
  send AT+CGMM
  expect {
 
timeout 5
  }

but, it only displays the output of the last sent command. Buffer is
cleared before the next command is issued, I suppose. So, outputs
cannot be logged either.

2. Cquery Perl script from:

ftp://gatling.ikk.sztaki.hu/pub/samsem/

http://gatling.ikk.sztaki.hu/~kissg/gsm/

It works. But, it is under public domain. Do you think it will be good
to tweak it (and put it under GPL) so it can be used to test Neo on
different networks? This information can be put up on the wiki? Is
this method permissible to analyse AT on different networks?

Appreciate your inputs/suggestions,

Thanks,

-- 
Shakthi Kannan
http://www.shakthimaan.com

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


Re: AT command test suite

2007-07-28 Thread Andy Powell
On Saturday 28 July 2007 12:52, Shakthi Kannan wrote:


 It works. But, it is under public domain. Do you think it will be good
 to tweak it (and put it under GPL) so it can be used to test Neo on

Why do you feel the need to apply the GPL to this? It's in the public domain - 
leave it there. 

Andy

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


Re: AT command test suite

2007-07-28 Thread Shakthi Kannan
Hi,

On 7/28/07, Andy Powell [EMAIL PROTECTED] wrote:
 Why do you feel the need to apply the GPL to this? It's in the public domain -
 leave it there.

It is implemented in Perl and command-line.

I thought it will be valuable to write a perl-GTK GUI [1] application
for it, so an end-user can simply 'click' on say a Run AT Test
button or something, which can save the result to a file, and can
possibly submit the results/report to developers.

We could enhance this to the following wiki page to include useful
info as to what works and what doesn't:
http://wiki.openmoko.org/wiki/Neo1973_compatible_cellphone_providers

In case, developers need to debug further, the results/reports might
be useful. Just a thought.

[1] http://gtk2-perl.sourceforge.net/

-- 
Shakthi Kannan
http://www.shakthimaan.com

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


Re: AT command test suite

2007-07-28 Thread Andy Powell
On Saturday 28 July 2007 20:11, Shakthi Kannan wrote:
 Hi,

 On 7/28/07, Andy Powell [EMAIL PROTECTED] wrote:
  Why do you feel the need to apply the GPL to this? It's in the public
  domain - leave it there.

 It is implemented in Perl and command-line.

 I thought it will be valuable to write a perl-GTK GUI [1] application
 for it, so an end-user can simply 'click' on say a Run AT Test
 button or something, which can save the result to a file, and can
 possibly submit the results/report to...

snip

All very laudable goals, but that's not the question I asked.

Andy

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


Re: AT command test suite

2007-07-28 Thread Shakthi Kannan
Hi,

On 7/28/07, Andy Powell [EMAIL PROTECTED] wrote:
 All very laudable goals, but that's not the question I asked.

Because we can enhance the existing Perl code, which is old, dated at
2001, and we want everyone to share the code and benefit from it.

-- 
Shakthi Kannan
http://www.shakthimaan.com

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


Re: voice command line (was: ssh to a phone ... thats awesome !!)

2007-07-28 Thread Gilles Casse
Several attractive links for French language

Gilles

Demo Perlbox-voice-fr using eSpeak + Sphinx2 

http://download.tuxfamily.org/perlboxfr/video/perlbox-voice-fr-demo.flv

commands prefixed by keyword: 
http://www.neufstream.com/relevance/search/perlbox/video/x2n1zw_reconnaissance-vocale-et-mot-cle_tech

webpage:
http://perlboxfr.tuxfamily.org/

Announce linuxfr:
http://linuxfr.org/~Rkraft/24983.html


-- 
Oralux.org http://association.oralux.org


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


voice command line (was: ssh to a phone ... thats awesome !!)

2007-07-27 Thread Mark
ssh is awesome, but in the future when your on the go it would be
handy to have all the commands (shell commands, common keywords and
programs in path) to be bindable to voice commands.  Like voice
dialing, but for a shell.  I know full blown speech recognition is
unlikely, but just commands seems doable.  Does anyone have any
experience with voice learning?

What do you guys think?

Mark

On 7/27/07, Tim Shannon [EMAIL PROTECTED] wrote:
 We need video, or it didn't happing.

 Just kidding, though seriously, I want to see more video online of the
 NEO1973 and open moko in action.


 On 7/27/07, Pranav Desai [EMAIL PROTECTED] wrote:
 
  Hello All,
 
  I just got my Neo. Upgraded the kernel and rootfs and shortly I was
 ssh'ing in to a phone !!
 
  Now on to making a call :-)
 
  Enjoy!
 
  -- Pranav
 
  --
  http://pd.dnsalias.org
  ___
  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



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


Re: voice command line (was: ssh to a phone ... thats awesome !!)

2007-07-27 Thread Pranav Desai
On 7/27/07, Mark [EMAIL PROTECTED] wrote:

 ssh is awesome, but in the future when your on the go it would be
 handy to have all the commands (shell commands, common keywords and
 programs in path) to be bindable to voice commands.  Like voice
 dialing, but for a shell.  I know full blown speech recognition is
 unlikely, but just commands seems doable.  Does anyone have any
 experience with voice learning?


Actually, I had used a tool called cvoicecontrol sometime back for exactly
that, running scripts or cmds using voice. It wasnt very powerful in terms
of how well it could recognize, but was functional enough.

http://www.kiecza.net/daniel/linux/


What do you guys think?

 Mark

 On 7/27/07, Tim Shannon [EMAIL PROTECTED] wrote:
  We need video, or it didn't happing.
 
  Just kidding, though seriously, I want to see more video online of the
  NEO1973 and open moko in action.
 
 
  On 7/27/07, Pranav Desai [EMAIL PROTECTED] wrote:
  
   Hello All,
  
   I just got my Neo. Upgraded the kernel and rootfs and shortly I was
  ssh'ing in to a phone !!
  
   Now on to making a call :-)
  
   Enjoy!
  
   -- Pranav
  
   --
   http://pd.dnsalias.org
   ___
   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
 
 

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




-- 

--
http://pd.dnsalias.org
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: voice command line (was: ssh to a phone ... thats awesome !!)

2007-07-27 Thread Florent THIERY
 Actually, I had used a tool called cvoicecontrol sometime back for exactly
 that, running scripts or cmds using voice. It wasnt very powerful in terms
 of how well it could recognize, but was functional enough.

 http://www.kiecza.net/daniel/linux/

Unfortunately, cvoice control doesn't seem to compile anymore. I did
not manage to debug this. But it's an interesting approach, also taken
by http://perlbox.org/

You may find relevant info about speech recognition (and
command-and-control dialog managers) here :
http://wiki.tuxisalive.com/index.php/Speech_recognition

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


Voice/Command recongnition

2007-06-04 Thread wim delvaux
Hi, 

Do any of you know packages that would allow vocal command recognition much 
like voice dialling on some cell phones ?

This would be handy to start applications without having to navigate through 
menus.

W

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


Re: Voice/Command recongnition

2007-06-04 Thread Thomas Gstädtner

Google and the keywords linux voice recognition are your friends.
(e.g. XVoice, ViaVoice, CMU Sphinx, cvoicecontrol, ...)

2007/6/4, wim delvaux [EMAIL PROTECTED]:


Hi,

Do any of you know packages that would allow vocal command recognition
much
like voice dialling on some cell phones ?

This would be handy to start applications without having to navigate
through
menus.

W

___
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


  1   2   >