Re: How to compile assassin?

2008-08-15 Thread arne anka
aclocal and libtool are installed?

maybe the following links are helpful, too:

http://lists.ibiblio.org/pipermail/freetds/2002q3/008897.html
http://article.gmane.org/gmane.comp.gnu.utils.bugs/10527
http://mail.gnome.org/archives/gnumeric-list/1999-October/msg00074.html

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Accelerometers not working (was Re: Alpha 2 Release of Accelerometer-based Gestures, and Screen Orientation)

2008-08-15 Thread Risto H. Kurppa
some people at -community wrote:
 i'm sad,
 because the hexdump for /dev/input/event2 has no output...

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

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


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

 can this be a hardware fault?



Same here, hexdump /dev/input/event2 and event3 give nothing, so far
have tried after 2 reboots.

Anyone, any thoughts?




r

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: How to compile assassin?

2008-08-15 Thread Rorschach
On Fri, 15 Aug 2008 07:24:49 +0930
Rod Whitby [EMAIL PROTECTED] wrote:

 Most (if not all) images and packages are cross-compiled on an x86 host.

Okay I installed now the toolchain on my system (ubuntu hardy) and tried to 
compile it there. Now the autogen-part works but configure aborts with an error:

[..]
checking pkg-config is at least version 0.9.0... yes
checking for EDJE... configure: error: Package requirements (edje = 0.5.0) 
were not met:

No package 'edje' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables EDJE_CFLAGS
and EDJE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

FATAL: oe_runconf failed



So it says edje is missing but I have installed: libedje-bin, libedje-dev and 
libedje0 . I guess it can't find it? But it's all in a standard-folder:

$ dpkg -L libedje0
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libedje0
/usr/share/doc/libedje0/copyright
/usr/share/doc/libedje0/AUTHORS
/usr/share/doc/libedje0/changelog.Debian.gz
/usr/share/doc/libedje0/README
/usr/lib
/usr/lib/libedje.so.0.9.9
/usr/lib/libedje.so.0
$ dpkg -L libedje-dev
/.
/usr
/usr/include
/usr/include/Edje.h
/usr/include/Edje_Edit.h
/usr/share
/usr/share/doc
/usr/share/doc/libedje-dev
/usr/share/doc/libedje-dev/copyright
/usr/lib
/usr/lib/pkgconfig
/usr/lib/pkgconfig/edje.pc
/usr/lib/libedje.a
/usr/share/doc/libedje-dev/AUTHORS
/usr/share/doc/libedje-dev/changelog.Debian.gz
/usr/share/doc/libedje-dev/README
/usr/lib/libedje.so

I also tried setting PKG_CONFIG_PATH to /usr/lib/pkgconfig or 
/usr/lib/pkgconfig/edje.pc but with no success :( Also setting EDJE_LIBS to 
/usr/lib/libedje.so.0.9.9 has no impact. Always the same error message. Any 
idea?


signature.asc
Description: PGP signature
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: How to compile assassin?

2008-08-15 Thread Rorschach
On Fri, 15 Aug 2008 11:49:55 +0200
arne anka [EMAIL PROTECTED] wrote:

 somewhere in that big heap of output is a line pointing to a config.log.
 in thet log there's the full error and the code of the test program  
 configure tries to build. ususally that helps to track down the missing  
 file.
 check for fail in config log, around that line lives the interesting  
 part.

Yes I know about config.log but this doesn't help me very much because it just 
points to some header-files: http://paste.ubuntuusers.de/391391/ 


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Official Debian port

2008-08-15 Thread Thomas Krahn
Not sure if this is the reason, but I used the OM2008.8 kernel [1] and 
had no problems with Debian.
There are a few minor error messages while the boot sequence, but so far 
no problem on my GTA02v5.
(I remember a complaint about a driver that was only available on gta01).

Thomas

[1] http://downloads.openmoko.org/releases/Om2008.8/



Joerg Lippmann wrote:
 I tried it just yesternight. It didn't work.

 The SD(HC)-Card was prepard on my main machine like this: 
 1. partition: 8MB formatted vfat 
 for uImage.bin (apart from that: empty). I wasn't sure which kernel-Image to 
 use so I took one from ASU.

 2. partition: 2GB formatted ext2. 
 I copied all the directories from the .tar.bz2 (Prebuilt Filesystem) to this 
 partition.

 wasn't sure which kernel-Image to use so I took one from ASU. It did indeed 
 boot, but when the kernel tried to start init, it panicked:

 Kernel panic - not syncing: No init found. Try passing init= option to kernel.

 ... but I really don't know how to do that without screwing up Neo.

 [EMAIL PROTECTED]
   



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


level.py - Where?

2008-08-15 Thread Thomas Krahn
I've found a screen shot of a clever use of the accelerometers:
http://scap.linuxtogo.org/index.php?page=8

Any idea where I can get level.py from?

Thanks,

Thomas



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS Problem (maybe antenna?)

2008-08-15 Thread Michael Fisher
On Fri, Aug 15, 2008 at 10:56 AM, Ole Kliemann 
[EMAIL PROTECTED] wrote:

 On Fri, Aug 15, 2008 at 11:50:55AM +0200, Sebastian Meyer wrote:
  Which GSM Buzz? Oh, you mean that GSM Buzz... it didn't bother me, but
  well, not having it at all would be better. It's only a question how
  long it will take until new devices without that bug are delivered to
  the distributors and if I want to wait that long ;-)

 For me it's sometimes pretty bad. So I'm looking forward to get it
 fixed.

  Does an external antenna work for you? Because GPS is one of the key
  features I bought the Freerunner (besides the Freerunner beeing the
  OpenMoko Freerunner :-D)
 
  Cheers, Sebastian

 With external antenna the GPS works flawlessly.

 Ole

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


This is a little OT but can anyone give a link or model number of a GPS
antenna that will woke with the FreeRunner?

Thanks,

Michael

-- 
Michael Fisher
[EMAIL PROTECTED]
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: level.py - Where?

2008-08-15 Thread Nicolas Pichon
Thomas Krahn wrote:
 I've found a screen shot of a clever use of the accelerometers:
 http://scap.linuxtogo.org/index.php?page=8
 
 Any idea where I can get level.py from?
 

Arg ! I had the idea for a similar application, but it seems 
somebody coded it before me (I've received my FR this week).

/me is sad

Nicolas.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: gta02, 2007.2: frequent wakeups -- creating workaround

2008-08-15 Thread Joerg Reisenweber
Am Mi  13. August 2008 schrieb arne anka:
  I finally got around to checking this.  The script runs instantly when
  I have cell registration.  So, that explains why my script was taking
  so long.  But what can I do about it?
 
 you could check if you have registration, someway along
 echo -n csr | libgsmd-tool -m shell
 and read the return.
 
 
  If I've suspended my Neo, I
  wouldn't want it waking up (and corrupting the SD card) as soon as I
  move into a cell tower's range...

it's worth mentioning that running GSM without association to a network 
probably drains battery like hell, as GSM-chipsets tend to constantly search 
the whole frequency range for some BS to register. I've experienced factor 5 
to 10 for power consumption.

/jOERG


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


Re: Official Debian port

2008-08-15 Thread Joerg Lippmann
Am Freitag 15 August 2008 schrieb Thomas Krahn:
 Not sure if this is the reason, but I used the OM2008.8 kernel [1] and
 had no problems with Debian.
 There are a few minor error messages while the boot sequence, but so far
 no problem on my GTA02v5.
 (I remember a complaint about a driver that was only available on gta01).

Tried that kernel. Now my old problem is fixed but I encountered another one.
I get lots of messages: 

/sbin/getty: cannot excute binary file

So do neo1973 and freerunner use different binary formats?

btw: how can  I reset the device once it panicked? Do I really have to remove 
the battery everytime?

[EMAIL PROTECTED]
-- 
We will bring freedom and Leberwurst to the Welt, ob sie will oder nicht.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Official Debian port

2008-08-15 Thread xiangfu
Joerg Lippmann wrote:
 Am Freitag 15 August 2008 schrieb Thomas Krahn:
 Not sure if this is the reason, but I used the OM2008.8 kernel [1] and
 had no problems with Debian.
 There are a few minor error messages while the boot sequence, but so far
 no problem on my GTA02v5.
 (I remember a complaint about a driver that was only available on gta01).

 Tried that kernel. Now my old problem is fixed but I encountered another one.
 I get lots of messages: 

 /sbin/getty: cannot excute binary file

 So do neo1973 and freerunner use different binary formats?

 btw: how can  I reset the device once it panicked? Do I really have to remove 
 the battery everytime?
i know there is a button on the debug board can reset the device

 [EMAIL PROTECTED]


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: gta02, 2007.2: frequent wakeups -- creating workaround

2008-08-15 Thread arne anka
 it's worth mentioning that running GSM without association to a network
 probably drains battery like hell, as GSM-chipsets tend to constantly  
 search
 the whole frequency range for some BS to register. I've experienced  
 factor 5
 to 10 for power consumption.

i know, i had a phone once that allowed to disable that -- is there a way
to tell the gsm modem not to do so?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: problem with full duplex voicce Tx on freerunner

2008-08-15 Thread Jim Morris
What Codec are you using?

Rememeber that the ARM has no FPU so if it is a codec that requires floating 
point the FR is not 
going to be able to work in real time.

If you are using G711 or other uncompressed codec the bandwidth may be too high 
for the network you 
are running over.

Lastly you should check that FR can do Full duplex, this is not clear in the 
docs, and maybe a 
simple app that just records voice and sends it back to itself maybe a good 
test for that.


TARUN CHAPLOT wrote:
 
  
 
 Hi,
 Wanted to add some more details to my previous post.  We are having a
 problem with running PJSIP on the neo freerunner, and have tried a
 variety of solutions to fix this but still not successful.   The setup
 that we are using is PJSIP on a Mac with OSX, and PJSIP compiled for
 openmoko.I compiled PJSIP for openmoko by setting the env using command
 source /usr/local/openmoko/arm/setup-env
 and ./configure --host=arm-angstrom-linux-gnueabi.
 
 When we run PJSIP between the Mac and Openmoko, we are encountering two
 problems.  
 
 The first is that only sound from the Mac goes to the Openmoko, when we
 speak into the Openmoko,
  there is no sound output from the Mac.   I have tried 
 already to fix this - such as incorporating the
 state (1)voip-handset.state  (2) voip-headset.state 
 files in /usr/share/openmoko/scenarios/ for full duplex.
 I have also tried with different settings in alsamixer as well. 
 
 
 
 The second problem is that the sound quality is very bad. When we speak
 into the Mac, the sound coming from the Openmoko comes out in stutters
 (on and off every half second). It is also full of static.  When we try
 a VOIP call directly from mac to mac, it works and sounds fine.  
 
 Further, I recorded a .wav file on Mac OS X and freerunner to auto answer the 
 sip call. 
  The recorded .wav file on Mac sounds good enough  while the file of 
 freerunner   stutters a 
 lot and sounds like its missing some packets in between at some interval.
 For reference I am providing the link to get that recorded wav file of 
 freerunner.
 http://rapidshare.com/files/137491007/rec.wav.html 
 
 So far nothing works well.
 
 Thanks in advance for any kind of help.
 
 Tarun 
 - Original Message 
 From: TARUN CHAPLOT [EMAIL PROTECTED]
 To: support@lists.openmoko.org
 Sent: Friday, August 15, 2008 10:47:24 AM
 Subject: problem with full duplex voicce Tx on freerunner
 
 
  Hello
 I am using neo freerunner and have problem with the sound . The voice 
 quality is very bad and its not full duplex.
 Please advise me on that so that I can make some  proper changes to my 
 phone to get better sound quality.
 
 What kind of tests I can do for checking that my mic and speakers 
 working properly.
 
 Any help would be greatly appreciated.
 
 Thanks a lot.
 
 Tarun
 
 
 
 
 
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


-- 
Jim Morris, http://blog.wolfman.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Testing WIFI and GPS hardware

2008-08-15 Thread arne anka
 strength of 27/94 according to the iwlist eth0 scan command. Other
 people have reported that WIFI to unsecured WAPs worked out-of-the-box,

i think, you need at least to associate with the ap, ie use iwconfig to  
set the ap and maybe the channel.

Although I couldn't get WIFI to work under the Locations graphical
 application (which says Searching for your location and then ERROR:
 Unable to locate a fix when I turn on GPS), I haven't heard of much
 success from others either.


not sure, what you're talking about -- wifi or gps?

It would be nice if the wiki had some simple procedures for testing  
 the
 Freerunner to verify that the hardware works as it should

- check whether wifi and gps are enabled
- make sure you got a recent kernel (ie one that includes the gps fix,  
_not_ the one the fr came with)
- make sure you are in a spot where gps works! use a second gps device to  
check, if possible
- do iwconfig eth0 and check the output, do iwlist eth0 scan and check the  
output. if you see meaningful lines (with an wpa nearby you should see it  
as well), he wifi hw is ok
- do
echo 1   
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
cat /dev/ttySAC1
and watch the output, after a while the should be lines with all fields  
filled

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


gta02, 2007.2: evbug?

2008-08-15 Thread arne anka
what is it with evbug?
on every reboot the fr sits there a minute or longer with a blank screen  
but backlight on and does nothing. when i tap the screen or press a button  
only
evbug.c: Event something
is printed on screen.
after a while 4 or 5 formatted messages are printed on screen and the fr  
continues to boot (black/orage splashscreen with please wait).

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


python and FSO MS 2 questions

2008-08-15 Thread C R McClenaghan
I thought I'd try some different things and learn python along the way.

I have FSO MS 2 installed with opkg feeds updated and including the  
angstrom repository feed.

I don't seem to be able to install python packages which appear in the  
angstrom repository, although I have installed other non-python  
packages from angtrom - e.g., libnotify, etc., for the the alpha 2  
version of gestures working. Perhaps there is something about opkg I  
don't understand. I added a base-feeds.conf  per the instructions here 
http://wiki.openmoko.org/wiki/Repositories 
.

With respect to python, I'm assuming that I can install any python  
package/file I choose and it need not come through the opkg system,  
just drop the *.py file(s) where it can be found. Now that leads to  
what is probably simply a python question, but I'll ask it anyway,  
what is the proper way to set PYTHONPATH such that a new directory of  
python files will be found? I tried:

PYTHONPATH=$PWD

where the files were in my current directory and the import statements  
still failed.

Thanks,

Chris

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Using gmail with qtopia?

2008-08-15 Thread Lorn Potter
On Friday 15 August 2008 10:43:31 am Jim Morris wrote:
 Joerg Lippmann wrote:
  Am Dienstag 12 August 2008 schrieb Jim Morris:
  It does not work as encryption is not enabled, there is a bug filed on
  the trolltech bug report page under qtopia.
 
  So I guess I have to be a little more patient.
 
  (Thats one thing openmoko succeeds in teaching you... ;-)
 
  Thanks for the info!
 
  [EMAIL PROTECTED]

 It turns out openssl is disabled in the qtopia builds, and it seems to be
 hard coded, so trying to turn it back on fails. I can;t think why openssl
 would be disabled, but that is why the email client can't talk to gmail.

Probably because openssl license is incompatible with the GPL, without an 
exception for it's advertising clause.



 I've tried to build from the latest snapshot but so far have failed to turn
 on openssl.

 I may have to play around with this for while to find out why, its possible
 the openssl libraries are not in the toolchain, if so I think that can be
 fixed.

 Stay tuned (and Lorn if you see this any ideas?)

-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, Trolltech, a Nokia company


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Testing WIFI and GPS hardware

2008-08-15 Thread Chris Jenks

On Fri, 15 Aug 2008, arne anka wrote:

 strength of 27/94 according to the iwlist eth0 scan command. Other
 people have reported that WIFI to unsecured WAPs worked out-of-the-box,

 i think, you need at least to associate with the ap, ie use iwconfig to
 set the ap and maybe the channel.

OK, I se the ESSID and channel (obtained from iwlist eth0 scan) with

iwconfig eth0 essid myap
iwconfig eth0 channel 11

I notice that the output of iwconfig eth0 gives a setting for the access 
point:

eth0  AR6000 802.11g  ESSID:myap
   Mode:Managed  Frequency:2.462 GHz  Access Point: 00:B4:63:97:AD:27
   Bit Rate=1 Mb/s   Tx-Power=15 dBm   Sensitivity=0/3
   Retry:on
   Encryption key:off
   Power Management:off
   Link Quality:188/94  Signal level:-163 dBm  Noise level:-96 dBm
   Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
   Tx excessive retries:13  Invalid misc:0   Missed beacon:13

and ifconfig eth0 gives values for received and transmitted data:

eth0  Link encap:Ethernet  HWaddr 00:1F:3F:BE:45:2B
   inet6 addr: f58b::263:ceff:fd87:ed25/64 Scope:Link
   UP BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:429957 errors:0 dropped:0 overruns:0 frame:0
   TX packets:12080 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:607951527 (579.7 MiB)  TX bytes:128021 (125.0 KiB)

but if I start pinging an external IP address from the Freerunner and pull 
the USB cable, pings stop returning until I plug the cable back in and 
restart networking on the host.

Although I couldn't get WIFI to work under the Locations graphical
 application (which says Searching for your location and then ERROR:
 Unable to locate a fix when I turn on GPS), I haven't heard of much
 success from others either.

 not sure, what you're talking about -- wifi or gps?

Sorry, I meant GPS, not WIFI.

[...]
 - do
 echo 1  
 /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
 cat /dev/ttySAC1
 and watch the output, after a while the should be lines with all fields filled

I see the same group of lines repeating:

$GPRMC,,V,,N*53
$GPVTG,N*30
$GPGGA,,0,00,99.99,,*48
$GPGSA,A,1,99.99,99.99,99.99*30
$GPGSV,1,1,00*79
$GPGLL,,V,N*64
$GPZDA,00,00*48

but I'm not sure how to interpret them. Thanks for your help!

   Yours,

 Chris

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: python and FSO MS 2 questions

2008-08-15 Thread Alon Levy
You need to have a __init__.py file for python to look at the directory as a
module. So basically:

/home/me/pythondir/__init__.py
/home/me/pythondir/file1.py
/home/me/pythondir/file2.py
...
PYTHONPATH=$PYTHONPATH:/home/me/pythondir

then you can
python -c import file1

__init__.py can contain nothing, easiest way to create it is with touch:

touch /home/me/pythondir/__init__.py

But yes, you should just look at the python docs - try:
http://docs.python.org/tut/node8.html#SECTION00840

Alon

On Fri, Aug 15, 2008 at 10:29 PM, C R McClenaghan [EMAIL PROTECTED]wrote:

 I thought I'd try some different things and learn python along the way.

 I have FSO MS 2 installed with opkg feeds updated and including the
 angstrom repository feed.

 I don't seem to be able to install python packages which appear in the
 angstrom repository, although I have installed other non-python
 packages from angtrom - e.g., libnotify, etc., for the the alpha 2
 version of gestures working. Perhaps there is something about opkg I
 don't understand. I added a base-feeds.conf  per the instructions here
 http://wiki.openmoko.org/wiki/Repositories
 .

 With respect to python, I'm assuming that I can install any python
 package/file I choose and it need not come through the opkg system,
 just drop the *.py file(s) where it can be found. Now that leads to
 what is probably simply a python question, but I'll ask it anyway,
 what is the proper way to set PYTHONPATH such that a new directory of
 python files will be found? I tried:

 PYTHONPATH=$PWD

 where the files were in my current directory and the import statements
 still failed.

 Thanks,

 Chris

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support




-- 
Alon Levy
http://wiki.saymoo.org/
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


gta02, 2007.2, uboot 1.3.2-moko12, recent kernel: what happens to sd card?

2008-08-15 Thread arne anka
i update an hour ago and becaus i want to install debian to my sd card i  
updated ubot to the latest available version  
(u-boot-gta02v5-1.3.1+gitr68+650149a53dbdd48bf6dfef90930c8ab182adb512-r0.bin).
while installing debian every attempt eventually fails becaus of the sd  
card (4gig kingston) with
Input/output error
i remember reading smething about fixes in newer kernels that should get  
rid of some of the problem sw/ sd cards -- are the i/o errors still  
normal atm (at least w/ bigger cards, the included 512mb seems to be ok)?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Using gmail with qtopia?

2008-08-15 Thread Lorn Potter
On Saturday 16 August 2008 5:55:56 am Lorn Potter wrote:

 Probably because openssl license is incompatible with the GPL, without an
 exception for it's advertising clause.

On checking our GPL license, I see there is an openssl exception, so I will  
configure this on now.

-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, Trolltech, a Nokia company


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: python and FSO MS 2 questions

2008-08-15 Thread Michael 'Mickey' Lauer
Am Freitag 15 August 2008 21:29:15 schrieb C R McClenaghan:
 I thought I'd try some different things and learn python along the way.

Good choice!


 I have FSO MS 2 installed with opkg feeds updated and including the
 angstrom repository feed.

Good.


 I don't seem to be able to install python packages which appear in the
 angstrom repository, although I have installed other non-python
 packages from angtrom - e.g., libnotify, etc., for the the alpha 2
 version of gestures working. Perhaps there is something about opkg I
 don't understand. I added a base-feeds.conf  per the instructions here
 http://wiki.openmoko.org/wiki/Repositories .

What is the exact error message?

 With respect to python, I'm assuming that I can install any python
 package/file I choose and it need not come through the opkg system,
 just drop the *.py file(s) where it can be found.

Yes.

 Now that leads to 
 what is probably simply a python question, but I'll ask it anyway,
 what is the proper way to set PYTHONPATH such that a new directory of
 python files will be found? I tried:

 PYTHONPATH=$PWD

 where the files were in my current directory and the import statements
 still failed.

Show us your tree and the error message. Usually python files in the same 
directory are found without changing the pythonpath, otherwise you need to 
usually issue

export PYTHONPATH=path/to/new_package, not directory of new package.

since most packages use

from package import module.

-- 
:M:

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: gta02, 2007.2: frequent wakeups -- creating workaround

2008-08-15 Thread Steven **
Well, you could turn the GSM chip off via the power menu...

I haven't noticed a large power drain when without signal.  It
suspends just fine now and will sit in suspend consistently.
Suspended for an hour uses 1% or so of the battery.  Perhaps one of
the GSM commands in the suspend script is disabling that search.

I have noticed once or twice that the signal strength doesn't report
right after a resume with these commands.  It may have been because I
did a suspend while without signal and a resume with.  I don't really
know...

-Steven

On Fri, Aug 15, 2008 at 1:13 PM, arne anka [EMAIL PROTECTED] wrote:
 it's worth mentioning that running GSM without association to a network
 probably drains battery like hell, as GSM-chipsets tend to constantly
 search
 the whole frequency range for some BS to register. I've experienced
 factor 5
 to 10 for power consumption.

 i know, i had a phone once that allowed to disable that -- is there a way
 to tell the gsm modem not to do so?

 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: gta02, 2007.2: frequent wakeups -- creating workaround -- scripts for apm

2008-08-15 Thread Steven **
Thanks should be directed to Thomas B. [EMAIL PROTECTED].  He's the
one that found the relevant Qtopia source.  Thanks Thomas!

-Steven

On Fri, Aug 15, 2008 at 1:35 PM, arne anka [EMAIL PROTECTED] wrote:
 ok, here they are, teh scripts i use to make the baby sleep.
 the fr still wkaes up from an gsm event after a few hours (6 or 10), but
 still the battery lasts a lot longer now.
 thanks to Stevhen**, who pointed me to the qtopia sources executing the at
 commands on suspend/resume.

 now, if someone could shed some light on what the do and which values are
 sensible/allowed besides 0 and 2? and if there's a way to know which event
 still escapes the guard and how to catch it?

 in /etc/apm/suspend.d/

 #!/bin/sh
 PATH=/usr/bin:/bin

 echo -e AT+CREG=0  | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT+CGREG=0 | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT%CREG=0  | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT%CGREG=0 | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT%CSQ=0   | libgsmd-tool -m atcmd 21  /dev/null


 in /etc/apm/resume.d/

 #!/bin/sh
 PATH=/usr/bin:/bin

 echo -e AT+CREG=2  | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT+CGREG=2 | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT%CREG=2  | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT%CGREG=2 | libgsmd-tool -m atcmd 21  /dev/null
 echo -e AT%CSQ=1   | libgsmd-tool -m atcmd 21  /dev/null


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Testing WIFI and GPS hardware

2008-08-15 Thread arne anka
 and ifconfig eth0 gives values for received and transmitted data:

dunno where those come from.

 eth0  Link encap:Ethernet  HWaddr 00:1F:3F:BE:45:2B
inet6 addr: f58b::263:ceff:fd87:ed25/64 Scope:Link
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:429957 errors:0 dropped:0 overruns:0 frame:0
TX packets:12080 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:607951527 (579.7 MiB)  TX bytes:128021 (125.0 KiB)

 but if I start pinging an external IP address from the Freerunner and  
 pull
 the USB cable, pings stop returning until I plug the cable back in and
 restart networking on the host.

no wonder -- your wlan does not have an ip (the ipv6 one is useless).
you need at least to run
udhcpc -i eth0
to obtain one.

 I see the same group of lines repeating:

 $GPRMC,,V,,N*53
 $GPVTG,N*30
 $GPGGA,,0,00,99.99,,*48
 $GPGSA,A,1,99.99,99.99,99.99*30
 $GPGSV,1,1,00*79
 $GPGLL,,V,N*64
 $GPZDA,00,00*48

 but I'm not sure how to interpret them. Thanks for your help!

well, if you're in a spot with gps reception, after a while (about a  
minute, maybe even longer) between all these ,,, there should be numbers.
i am not that familiar w/ gps, but i think as long as frinst N*?? changes  
it means that your gps receives signals which means that the hw should be  
ok.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Using gmail with qtopia?

2008-08-15 Thread Jim Morris
Lorn Potter wrote:
 On Saturday 16 August 2008 5:55:56 am Lorn Potter wrote:
 
 Probably because openssl license is incompatible with the GPL, without an
 exception for it's advertising clause.
 
 On checking our GPL license, I see there is an openssl exception, so I will  
 configure this on now.
 

great then you can close bug 221231 - [Neo] Encrypted Mail Account Settings not 
working

-- 
Jim Morris, http://blog.wolfman.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Using gmail with qtopia?

2008-08-15 Thread Cédric Berger
On Fri, Aug 15, 2008 at 23:04, Jim Morris [EMAIL PROTECTED] wrote:
 Lorn Potter wrote:
 On checking our GPL license, I see there is an openssl exception, so I will
 configure this on now.


 great then you can close bug 221231 - [Neo] Encrypted Mail Account Settings 
 not working


good news !

Since I could not try yet : in IMAP config you can set a maximum size
for retrieved mails (good), but will at least all messages headers be
downloaded ?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Using gmail with qtopia?

2008-08-15 Thread Lorn Potter
Jim Morris wrote:
 Lorn Potter wrote:
 On Saturday 16 August 2008 5:55:56 am Lorn Potter wrote:

 Probably because openssl license is incompatible with the GPL, without an
 exception for it's advertising clause.
 On checking our GPL license, I see there is an openssl exception, so I will  
 configure this on now.

 
 great then you can close bug 221231 - [Neo] Encrypted Mail Account Settings 
 not working
 

I will once an updated toolchain rolls out internally :)



-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, Trolltech, a Nokia company

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Using gmail with qtopia?

2008-08-15 Thread Jim Morris
Lorn Potter wrote:
 Jim Morris wrote:
 Lorn Potter wrote:
 On Saturday 16 August 2008 5:55:56 am Lorn Potter wrote:

 Probably because openssl license is incompatible with the GPL, 
 without an
 exception for it's advertising clause.
 On checking our GPL license, I see there is an openssl exception, so 
 I will  configure this on now.


 great then you can close bug 221231 - [Neo] Encrypted Mail Account 
 Settings not working

 
 I will once an updated toolchain rolls out internally :)
 

Yea I had to manually copy the libopenssl and libcrypto to the toolchain and on 
the FR itself I had
to
ln -s /usr/lib/libcrypto.so.0.9.7 /usr/lib/libcrypto.so
and
ln -s /usr/lib/libssl.so.0.9.7 /usr/lib/libssl.so

To get it to work.


-- 
Jim Morris, http://blog.wolfman.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Using gmail with qtopia?

2008-08-15 Thread Jim Morris
Cédric Berger wrote:
 On Fri, Aug 15, 2008 at 23:04, Jim Morris [EMAIL PROTECTED] wrote:
 Lorn Potter wrote:
 On checking our GPL license, I see there is an openssl exception, so I will
 configure this on now.

 great then you can close bug 221231 - [Neo] Encrypted Mail Account Settings 
 not working

 
 good news !
 
 Since I could not try yet : in IMAP config you can set a maximum size
 for retrieved mails (good), but will at least all messages headers be
 downloaded ?
 

Yes it seems to try to download all the headers, which can take forever if you 
have a lot of email 
on gmail.

However even though it said I have several thousand messages in the All Mail 
folder, I could see the 
headers but when I clicked the get message I got an error about it not being 
found. It also appears 
there is no sorting or filtering on messages in an IMap folder.


-- 
Jim Morris, http://blog.wolfman.com

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: gta02, 2007.2: frequent wakeups -- creating workaround -- scripts for apm

2008-08-15 Thread Thomas B.
On Fri, Aug 15, 2008 at 03:16:58PM -0500, Steven ** wrote:
 Thanks should be directed to Thomas B. [EMAIL PROTECTED].  He's the
 one that found the relevant Qtopia source.  Thanks Thomas!

Glad that I could help :-)

Regards,
Thomas


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support