Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Davide Scaini
I tried linphone yesterday and it works, today i'll try with the correct
alsa state... but seems not that hungry of cpu.
d

On Thu, Feb 19, 2009 at 12:38 AM, Al Johnson
openm...@mazikeen.demon.co.ukwrote:

 On Wednesday 18 February 2009, Daniel Benoy wrote:
  I'm having lots of fun with Debian.  I put an 8GB card in my freerunner,
 [snip]
  I'm also interested trying to set up some VoIP stuff but I've yet to find
  any really suitable software.

 linphone should be available for debian. It won't switch mixer states
 automatically but it should at least work.

 ___
 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: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread nick d.
Daniel,

Can you detail further how you got this GPS position thing working?
What client/server did you use?

Cheers


On Thu, Feb 19, 2009 at 6:52 AM, Daniel Benoy dan...@benoy.name wrote:
 I'm having lots of fun with Debian.  I put an 8GB card in my freerunner, and 
 put Debian, zhone, and illume on it.  (Illume is a fairly recent development, 
 and it still doesn't work quite right.  Here's how you install it if you're 
 interested: http://wiki.openmoko.org/wiki/Debian#Illume)

 Some spiffy projects once you get your OS going:
 - Bluetooth headsets
 - GPRS internet access
 - GPS (I made a page on my Blog that plots my position when the phone is 
 online.  It involved setting up dynamic DNS using bind on my personal server. 
  Fun stuff!)
 - Maybe some games like ScummVM

 I'm also interested trying to set up some VoIP stuff but I've yet to find any 
 really suitable software.

 On Wednesday 18 February 2009 06:33:56 you wrote:
 Hiya gang,

 After a few months of ignoring the OpenMoko scene while I concentrated
 on other things (beagleboard/openpandora) I find myself looking at my
 neo1973 and freerunner gear, and thinking its time to do something
 interesting with these devices again.  But I have no idea what is
 going on with the FR these days ..

 So, I turn to you guys: what would you recommend I put on both/either
 of these machines for a bit of fun today? FDOM, SHR, something else?
 In terms of easy-to-get fun factor, what do you guys suggest?

 ;
 --
 Jay Vaughan





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




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

 ___
 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: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Brian Code

Hi David,

There is a how-to write-up for Linphone that I did a while ago that is  
now at http://wiki.openmoko.org/wiki/Linphone .


In addition, there is a thread on this mailing list with the subject  
VoIP on Freerunner working properly (using linphone and SIP) that  
might be helpful.


Regards,
Brian___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Davide Scaini
right now i'm using debian so linphone comes directly form the repos ;-)
last thing, running:
alsactl -f /usr/share/openmoko/scenarios/voip-handset.state restore
I get: No state is present for card neo1973gta02
...any hint?

recently I tried SHR and it's quite ok, even if has not the same amount of
programs that debian has... on the other hand shr has a working e17+illume.
Maybe shr tips on a debian would be the best choice... hoping for a dream
team 'debshr-ized'.
d

On Thu, Feb 19, 2009 at 1:33 PM, Brian Code brian.c...@koolu.com wrote:

 Hi David,

 There is a how-to write-up for Linphone that I did a while ago that is now
 at http://wiki.openmoko.org/wiki/Linphone .

 In addition, there is a thread on this mailing list with the subject VoIP
 on Freerunner working properly (using linphone and 
 SIP)http://kerneltrap.org/mailarchive/search/%40subject+%22VoIP+on+Freerunner+working+properly+%28using+linphone+and+SIP%29+%22/openmoko-community
 that might be helpful.

 Regards,
 Brian

 ___
 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: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Daniel Benoy
Alright.

I have my own DNS server and domain running BIND.  I created a file named 
/etc/network/if-up.d/99dyndns which is called after an interface comes up and 
does basically this:


#!/bin/sh

INTERFACE=$1

if [ -z $INTERFACE ]; then
  INTERFACE=ppp0
fi

IPADDR=`/sbin/ifconfig $INTERFACE | grep 'inet addr:[0-9]' | awk '{print $2}' | 
cut -d: -f2`

if [ -z $IPADDR ]; then
  echo No IP found
  exit 1
fi

ntpdate time.nist.gov

nsupdate -k /home/root/.dnskeys/Kdynamic.example.com.key.\+187\+59050.private 
EOF
server ns.example.com
zone dynamic.example.com
update delete myphone.dynamic.example.com. A
update add myphone.dynamic.example.com. 30 A $IPADDR
show
send
EOF

exit $?


In short, that script calls nsupdate which, using some private key 
authentication magic, changes my 'myphone.dynamic.example.com' address to the 
IP of my phone's ppp0 interface.  So every time I log in to GPRS I become 
reachable by that address.

Then, I made up a short script on my blog that creates an outgoing connection 
to the gpsd port on my phone's address, and asks it where its current location 
is, then renders the results using the google maps API (which is free to use 
non-commercially).

Now my friends and family can track me (if I give them the password) every time 
I'm on the internet with my phone, complete with spiffy satellite and road maps 
and I got it outputting my speed and heading and such as text.

On Thursday 19 February 2009 07:17:32 you wrote:
 Daniel,
 
 Can you detail further how you got this GPS position thing working?
 What client/server did you use?
 
 Cheers
 
 
 On Thu, Feb 19, 2009 at 6:52 AM, Daniel Benoy dan...@benoy.name wrote:
  I'm having lots of fun with Debian.  I put an 8GB card in my freerunner, 
  and put Debian, zhone, and illume on it.  (Illume is a fairly recent 
  development, and it still doesn't work quite right.  Here's how you install 
  it if you're interested: http://wiki.openmoko.org/wiki/Debian#Illume)
 
  Some spiffy projects once you get your OS going:
  - Bluetooth headsets
  - GPRS internet access
  - GPS (I made a page on my Blog that plots my position when the phone is 
  online.  It involved setting up dynamic DNS using bind on my personal 
  server.  Fun stuff!)
  - Maybe some games like ScummVM
 
  I'm also interested trying to set up some VoIP stuff but I've yet to find 
  any really suitable software.
 
  On Wednesday 18 February 2009 06:33:56 you wrote:
  Hiya gang,
 
  After a few months of ignoring the OpenMoko scene while I concentrated
  on other things (beagleboard/openpandora) I find myself looking at my
  neo1973 and freerunner gear, and thinking its time to do something
  interesting with these devices again.  But I have no idea what is
  going on with the FR these days ..
 
  So, I turn to you guys: what would you recommend I put on both/either
  of these machines for a bit of fun today? FDOM, SHR, something else?
  In terms of easy-to-get fun factor, what do you guys suggest?
 
  ;
  --
  Jay Vaughan
 
 
 
 
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 
 
 
  --
  Daniel Benoy
  http://daniel.benoy.name
  --
  Daniel Benoy
  http://daniel.benoy.name
 
  ___
  Openmoko community mailing list
  community@lists.openmoko.org
  http://lists.openmoko.org/mailman/listinfo/community
 
 



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

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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Risto H. Kurppa
On Thu, Feb 19, 2009 at 5:32 PM, Daniel Benoy dan...@benoy.name wrote:
 In short, that script calls nsupdate which, using some private key 
 authentication magic, changes my 'myphone.dynamic.example.com' address to the 
 IP of my phone's ppp0 interface.  So every time I log in to GPRS I become 
 reachable by that address.

 Then, I made up a short script on my blog that creates an outgoing connection 
 to the gpsd port on my phone's address, and asks it where its current 
 location is, then renders the results using the google maps API (which is 
 free to use non-commercially).

Nice!

Mind sharing this blog script, too?

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: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Risto H. Kurppa
btw. I think one of the best things you can do is to install 2008.12
and run this: http://lists.openmoko.org/nabble.html#nabble-td2353361|a2353361

It'll fix about 2e12 issues and thus making it a very usable phone.
After this you can install all the required apps from opkg.org

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: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Jan Henkins
Hello Risto,


On Thu, February 19, 2009 16:04, Risto H. Kurppa wrote:
 btw. I think one of the best things you can do is to install 2008.12
 and run this:
 http://lists.openmoko.org/nabble.html#nabble-td2353361|a2353361

The above link doesn't work for some reason, please share it again since
it looks like an interesting issue.

-- 
Regards,
Jan Henkins


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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Daniel Benoy
On Thursday 19 February 2009 10:41:58 you wrote:
 On Thu, Feb 19, 2009 at 5:32 PM, Daniel Benoy dan...@benoy.name wrote:
  In short, that script calls nsupdate which, using some private key 
  authentication magic, changes my 'myphone.dynamic.example.com' address to 
  the IP of my phone's ppp0 interface.  So every time I log in to GPRS I 
  become reachable by that address.
 
  Then, I made up a short script on my blog that creates an outgoing 
  connection to the gpsd port on my phone's address, and asks it where its 
  current location is, then renders the results using the google maps API 
  (which is free to use non-commercially).
 
 Nice!
 
 Mind sharing this blog script, too?
 
 r
 


?php
// Read in the line from cache
$fresh = 0;
$cachefile = '/var/cache/gps';
$fh = fopen($cachefile, 'r');
if ($fh) {
  $resp = fread($fh, filesize($cachefile));
  fclose($fh);
}

// Refresh from GPS only if more than a minute has passed since the creation 
time of the cache
if (time() - filemtime($cachefile)  60) {
  print Refreshing from live GPS data ... ;
  for ($i=0; $i3; $i++) {
$sock = @fsockopen(myphone.dynamic.example.com, 2947, $errno, $errstr, 3);
if ($sock) { break; }
  }
  if (!$sock) {
print Could not connect to GPS.  Using cached data.br/;
  } else {
for ($i=0; $i10; $i++) {
  @fwrite($sock, O\n); # Query what we actually want
  $realresp = @fread($sock, 384);
  if (strncmp($realresp, 'GPSD,O=', 7)) {
print !-- Unexpected response from GPS connection. --;
  } elseif (strncmp($realresp, 'GPSD,O=?', 8) == 0) {
print !-- The GPS connection responded, but had no fixed location. 
--;
  } else {
$resp = $realresp;

$fh = fopen($cachefile, 'w');
if ($fh) {
  fwrite($fh, $resp);
  fclose($fh);
  $fresh = 1;
}
print Success!br/;
break;
  }
}
if ($i == 10) {
  print Failed.  Using cached databr/;
}
@fclose($sock);
  }
}

//print($resp);
?

script 
src=http://maps.google.com/maps?file=apiv=2key=MY-GOOGLE-API-KEY-HERE-GET-YOUR-OWN-FROM-GOOGLE;
 type=text/javascript/script

div id=map style=width: 500px; height: 300px/div
script type=text/javascript
  //![CDATA[
if (GBrowserIsCompatible()) {
  var map = new GMap2(document.getElementById(map));
  map.addControl(new GSmallMapControl());
  map.addControl(new GMapTypeControl());
}
  //]]
/script

?php
// Make sure the data is fresh
if ($fresh || time() - filemtime($cachefile)  900) {
  // Parse GPS response
  $location = split( , $resp);
?

  script type=text/javascript
//![CDATA[
  if (GBrowserIsCompatible()) {
map.setCenter(new GLatLng(?php print($location[3])?, ?php 
print($location[4])?), 13);
var point = new GPoint(?php print($location[4])?, ?php 
print($location[3])?);
var marker = new GMarker(point);
map.addOverlay(marker);
  }
//]]
  /script

  Last update (GPS time): ?php print(date(Y-m-d H:i:s, $location[1]))?br/
  Latitude: ?php print($location[3]); ?br/
  Longitude: ?php print($location[4]); ?br/
  Heading: ?php print($location[8]); ?br/
  Ground Speed (km/h): ?php print($location[9]  * 3.6); ?br/
?php } else { ?
  script type=text/javascript
//![CDATA[
  if (GBrowserIsCompatible()) {
map.setCenter(new GLatLng(0, 0), 1);
  }
//]]
  /script

  pUnfortunately, there has been no GPS data update in at least 15 minutes.  
This probably means that the phone is currently unreachable./p
  pThe phone must be connected to a publicly accessible network, such as 
cellular internet GPRS, in order to be reached for GPS location information.   
If the phone is connected to a local wireless LAN which is firewalled, or the 
phone is off or its GPS receiver is deactivated, then it will be unable to 
provide telemetry./p
?php } ?


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

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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-19 Thread Risto H. Kurppa
oh, thanks:

It's the setting builder from Bytestore
http://n2.nabble.com/-2008.12--setting-builder-td2353361ef1958.html

r


On Thu, Feb 19, 2009 at 6:17 PM, Jan Henkins j...@henkins.za.net wrote:
 Hello Risto,


 On Thu, February 19, 2009 16:04, Risto H. Kurppa wrote:
 btw. I think one of the best things you can do is to install 2008.12
 and run this:
 http://lists.openmoko.org/nabble.html#nabble-td2353361|a2353361

 The above link doesn't work for some reason, please share it again since
 it looks like an interesting issue.

 --
 Regards,
 Jan Henkins


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





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

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


Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Jay Vaughan
Hiya gang,

After a few months of ignoring the OpenMoko scene while I concentrated  
on other things (beagleboard/openpandora) I find myself looking at my  
neo1973 and freerunner gear, and thinking its time to do something  
interesting with these devices again.  But I have no idea what is  
going on with the FR these days ..

So, I turn to you guys: what would you recommend I put on both/either  
of these machines for a bit of fun today? FDOM, SHR, something else?   
In terms of easy-to-get fun factor, what do you guys suggest?

;
--
Jay Vaughan





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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Yorick Moko
for the freerunner i would suggest either SHR unstable
or maybe FSO + paroli stuff (haven't tried that one yet)

On Wed, Feb 18, 2009 at 12:33 PM, Jay Vaughan j...@synth.net wrote:
 Hiya gang,

 After a few months of ignoring the OpenMoko scene while I concentrated
 on other things (beagleboard/openpandora) I find myself looking at my
 neo1973 and freerunner gear, and thinking its time to do something
 interesting with these devices again.  But I have no idea what is
 going on with the FR these days ..

 So, I turn to you guys: what would you recommend I put on both/either
 of these machines for a bit of fun today? FDOM, SHR, something else?
 In terms of easy-to-get fun factor, what do you guys suggest?

 ;
 --
 Jay Vaughan





 ___
 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: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Risto H. Kurppa
On Wed, Feb 18, 2009 at 1:33 PM, Jay Vaughan j...@synth.net wrote:
 Hiya gang,

 So, I turn to you guys: what would you recommend I put on both/either
 of these machines for a bit of fun today? FDOM, SHR, something else?
 In terms of easy-to-get fun factor, what do you guys suggest?

Check Kustomizer:
http://wiki.openmoko.org/wiki/Kustomizer
(0.2 has some issues with audio in games etc. Phone calls work ok)

(or devel version at http://www.kurppa.fi/freerunner/kustomizer_devel)

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: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Helge Hafting
Jay Vaughan wrote:
 Hiya gang,
 
 After a few months of ignoring the OpenMoko scene while I concentrated  
 on other things (beagleboard/openpandora) I find myself looking at my  
 neo1973 and freerunner gear, and thinking its time to do something  
 interesting with these devices again.  But I have no idea what is  
 going on with the FR these days ..
 
 So, I turn to you guys: what would you recommend I put on both/either  
 of these machines for a bit of fun today? FDOM, SHR, something else?   
 In terms of easy-to-get fun factor, what do you guys suggest?

SHR is nice. Phone and gps works well. Music player can be made to work 
well too. Lots of games and other software is available at opkg.org.

Helge Hafting

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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Jay Vaughan
 SHR is nice. Phone and gps works well. Music player can be made to  
 work
 well too. Lots of games and other software is available at opkg.org.


yeah i'm settling on this for gta01 for now .. it looks pretty well.

;
--
Jay Vaughan





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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Daniel Benoy
I'm having lots of fun with Debian.  I put an 8GB card in my freerunner, and 
put Debian, zhone, and illume on it.  (Illume is a fairly recent development, 
and it still doesn't work quite right.  Here's how you install it if you're 
interested: http://wiki.openmoko.org/wiki/Debian#Illume)

Some spiffy projects once you get your OS going:
- Bluetooth headsets
- GPRS internet access
- GPS (I made a page on my Blog that plots my position when the phone is 
online.  It involved setting up dynamic DNS using bind on my personal server.  
Fun stuff!)
- Maybe some games like ScummVM

I'm also interested trying to set up some VoIP stuff but I've yet to find any 
really suitable software.

On Wednesday 18 February 2009 06:33:56 you wrote:
 Hiya gang,
 
 After a few months of ignoring the OpenMoko scene while I concentrated  
 on other things (beagleboard/openpandora) I find myself looking at my  
 neo1973 and freerunner gear, and thinking its time to do something  
 interesting with these devices again.  But I have no idea what is  
 going on with the FR these days ..
 
 So, I turn to you guys: what would you recommend I put on both/either  
 of these machines for a bit of fun today? FDOM, SHR, something else?   
 In terms of easy-to-get fun factor, what do you guys suggest?
 
 ;
 --
 Jay Vaughan
 
 
 
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 



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

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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Timo Juhani Lindfors
Daniel Benoy dan...@benoy.name writes:
 I'm also interested trying to set up some VoIP stuff but I've yet to find any 
 really suitable software.

netcat works for very simple demonstrations :-)

target$ netcat -l -p 1234 | aplay -r 44100 -f S16_LE

fr$ alsactl -f voip-handset.state restore
fr$ arecord -r 44100 -f S16_LE | netcat target.example.com 1234


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


Re: Best thing to run on Freerunner and Neo1973 machines today?

2009-02-18 Thread Al Johnson
On Wednesday 18 February 2009, Daniel Benoy wrote:
 I'm having lots of fun with Debian.  I put an 8GB card in my freerunner,
[snip]
 I'm also interested trying to set up some VoIP stuff but I've yet to find
 any really suitable software.

linphone should be available for debian. It won't switch mixer states 
automatically but it should at least work.

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