Re: QtMoko - /opt/qtmoko/bin/lan-network

2009-09-23 Thread Radek Polak
Torfinn Ingolfsen wrote:

 The network script /opt/qtmoko/bin/lan-network have this on line 73:
 
 let COUNT=COUNT+1
 
 I don't know which shell allows this (it's certainly not POSIX), and
 QtMoko (v11 now) which uses bash complains:
 Sep 22 23:05:00 neo Qtopia: + let COUNT=COUNT+1
 Sep 22 23:05:00 neo Qtopia: /opt/qtmoko//bin/lan-network: 1: let: not
 found
 
 If you instead change the line to:
 COUNT=$(( $COUNT + 1 ))

Good catch, its fixed now in my git.

Thanks

Radek


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


Re: QtMoko - how do I get WiFi working?

2009-09-23 Thread Radek Polak
Torfinn Ingolfsen wrote:

 In which package do I find wmiconfig

There is link for debian package on this page

http://wiki.openmoko.org/wiki/Wmiconfig

Regards

Radek


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


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Radek Polak
Torfinn Ingolfsen wrote:

 So unfortunately, it doesn't work. :-/
 I really don't understand why this doesn't work.

Can you check on your router, if freerunner got connected? If yes then
it's DHCP problem. If no then i dont know. If you have latest kernel
(the one in V11) then it should work. You can also check signal
strength.

Regards

Radek


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


Re: [debian?] xserver-xorg-video-glamo very slow with navit

2009-09-23 Thread Erik Andresen

 On Tue, 22 Sep 2009 14:30:06 +0200
 arne anka openm...@ginguppin.de wrote:

 navit came up alright, but it was slw. at a point very early it
 stopped rerendering altogether, the cpu monitor constantly hit 100% and
 never came down again.
 looking with top showed X at 50-60%, often even more and never falling
 below 50%.
 thus, it was completely unusable.

 I'd noticed X.org being very slow with GTK programs as well - e.g. tab
 switching in TangoGPS takes several seconds, and scrolling is much less
 repsonsive than in Kdrive.   At first I attributed it to GEM overheads in
 the
 DRI driver, but then I noticed that it happens with the mainline (non-KMS)
 driver as well.  So far, I have no idea at all what's causing it...

hmm, can't reproduce that here on my debian installation with kernel
stolen from SHR. Switching in TangoGPS is felt  1s.

greetings,
Erik


-- 
Whenever you find that you are on the side of the majority, it is time
to reform.
-- Mark Twain


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


Auto home revision 1.1

2009-09-23 Thread sriranjan
Hi,

We have made the home automation software revision 1.1.This does not 
require an external dongle like in the previous one.It operates via 
bluetooth.The phone connects to central home computer and which in turn 
controls the appliance grid.Basically a layered network implementation.

Also included 6-digit numlock based control.

This way one can control all the appliance in an entire building using 
the phone.

Posted in the website http://ideachi.com

Thanks and Regards
Sriranjan


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


Re: Wrong behavior of Ctrl+C

2009-09-23 Thread KaZeR

Hi.



KaZeR wrote:
 
 You might have noticed that when you press ctr+c in a ssh term, the
 process forks instead of breaking.
 
 Why that? Is there a possible fix?
 
 Thanks in advance.
 

Nobody noticed/has the issue, or nobody has a fix? (or maybe nobody cares :D
)

-- 
View this message in context: 
http://n2.nabble.com/Wrong-behavior-of-Ctrl-C-tp3610750p3698333.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


[qtmoko] what sets up the kernel killing machine?

2009-09-23 Thread Jim Morris
Hi,

I added a swap file to my qtmoko v11 setup, but somethign inthe kernel still 
tries to kill stuff 
off, like qdsync (why is that running anyway?) and mediaserver.

So I suspect that there is a setting somewhere that tells something to look for 
processes to kill 
off if memory gets short, but I cannot find it anywhere.

With swap enabled I should be bale to disable that feature.

While I'm at it I'd also like to stop qdsync from running, so any ideas are 
welcome.

Thanks
Jim

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

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


Re: [qtmoko] what sets up the kernel killing machine?

2009-09-23 Thread Jim Morris
Jim Morris wrote:
 Hi,
 
 I added a swap file to my qtmoko v11 setup, but somethign inthe kernel still 
 tries to kill stuff 
 off, like qdsync (why is that running anyway?) and mediaserver.
 
 So I suspect that there is a setting somewhere that tells something to look 
 for processes to kill 
 off if memory gets short, but I cannot find it anywhere.
 
 With swap enabled I should be bale to disable that feature.
 
 While I'm at it I'd also like to stop qdsync from running, so any ideas are 
 welcome.
 
 Thanks
 Jim
 

I think the answer maybe...

  echo 2  /proc/sys/vm/overcommit_memory


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

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


Re: [qtmoko] what sets up the kernel killing machine?

2009-09-23 Thread Jim Morris
Jim Morris wrote:
 Jim Morris wrote:
 Hi,

 I added a swap file to my qtmoko v11 setup, but somethign inthe kernel still 
 tries to kill stuff 
 off, like qdsync (why is that running anyway?) and mediaserver.

 So I suspect that there is a setting somewhere that tells something to look 
 for processes to kill 
 off if memory gets short, but I cannot find it anywhere.

 With swap enabled I should be bale to disable that feature.

 While I'm at it I'd also like to stop qdsync from running, so any ideas are 
 welcome.

 Thanks
 Jim

 
 I think the answer maybe...
 
   echo 2  /proc/sys/vm/overcommit_memory
 
 

Nope it still started killing off processes, I wonder if it is the kernel oom 
or the qtopia oom?

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

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


Re: Qi - why only 3 partitions on SD card?

2009-09-23 Thread openmoko
Torfinn Ingolfsen wrote (ao):
On Tue, Sep 22, 2009 at 9:13 PM, Al Johnson
[1]openm...@mazikeen.demon.co.uk wrote:
 
  I believe it's an arbitrary limit based on the assumption that with no
  gui it
  would be hard to select the intended partition. Given the touble people
  have
  with only 3 partitions it seems well founded.
 
OK, so when Qi is improved so that partition selection is actually
usable, this artificial limitation will go away.

One should create an initramfs which shows a boot menu of some kind.
This is not something qi should provide.

Sander

-- 
Humilis IT Services and Solutions
http://www.humilis.net

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


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread c_c

Hi,
  Have been too busy to get a release out - though I have squashed a few
bugs. Try the attached binary - that's the latest.

   http://n2.nabble.com/file/n3698740/launcher launcher 
-- 
View this message in context: 
http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3698740.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread KaZeR

On Wed, 23 Sep 2009 03:32:51 -0700 (PDT), c_c (via Nabble)
ml-user+165198-1921587...@n2.nabble.com wrote:
 Hi,
   Have been too busy to get a release out - though I have squashed a few
 bugs. Try the attached binary - that's the latest.
 

Thank you.

Unfortunately : 44 SQL error: 21 library routine called out of sequence
I get this error really often (and it segfaults).


-- 
K-


-- 
View this message in context: 
http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3698971.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Qi - why only 3 partitions on SD card?

2009-09-23 Thread Esben Stien
Al Johnson openm...@mazikeen.demon.co.uk writes:

 This limitation is one of the reasons I'm still using u-boot. The
 other is the inability to pass optional kernel parameters when booting
 from NAND.

Why not have something like grub in the boot?. With a keyboard added,
nothing could be more flexible. 

-- 
Esben Stien is b...@e s  a 
 http://www. s tn m
  irc://irc.  b  -  i  .   e/%23contact
   sip:b0ef@   e e 
   jid:b0ef@n n

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


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread Adam Jimerson
Last time something like this happened to me I `rm -rf .launcher` directory
and let it recreate it and everything works again, hope this helps ;)

On Wed, Sep 23, 2009 at 7:30 AM, KaZeR ka...@altern.org wrote:


 On Wed, 23 Sep 2009 03:32:51 -0700 (PDT), c_c (via Nabble)
 ml-user+165198-1921587...@n2.nabble.comml-user%2b165198-1921587...@n2.nabble.com
 wrote:
  Hi,
Have been too busy to get a release out - though I have squashed a few
  bugs. Try the attached binary - that's the latest.
 

 Thank you.

 Unfortunately : 44 SQL error: 21 library routine called out of sequence
 I get this error really often (and it segfaults).


 --
 K-


 --
 View this message in context:
 http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3698971.html
 Sent from the Openmoko Community mailing list archive at Nabble.com.

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

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


[shrunstable] Midori question

2009-09-23 Thread Jan Henkins
Hello all,

I'm using midori - 0.1.10-r2 on SHR unstable, which is a great experience
overall. One of the biggest things I use my FR for is to read ebooks when
I commute on the train using FBReader. Mostly I download ebooks on my PC
and scp it across, because for some reason I cannot download files
properly with Midori. This seems to be a general thing, but the site I
normally frequent for my SciFi fix is the free library at:
http://www.baen.com
Earlier versions of Midori displayed the file instead of download it, but
0.1.10-r2 simply does nothing when I click on any link to download either
.mobi or .zip files. Does other people also experience the same issue?


-- 
Regards,
Jan Henkins


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


QI boot order

2009-09-23 Thread Jan Henkins
Hello all,

There has been a lot of questions regarding QI and booting lately, but
none of the answers helps me out. Please accept my apologies if this
question duplicates some information elsewhere, but in my searches I could
not find an answer.

The scenario:

I'm running SHR-U on flash on my FR, and have two partitions on my SD (one
FAT and the other ext2). I like being able to multi-boot, because then I
can test one distro from SD while I have my everyday distro installed on
flash.

The question:

QI by default tries to boot from SD, and not from NAND flash. How do I
control QI to boot firstly from NAND and then the rest of my SD
partitions? I would really like to get rid of u-boot...

Thanks in advance!


-- 
Regards,
Jan Henkins


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


Emulate right-click for copy/paste?

2009-09-23 Thread Jan Henkins
Hello all,

I've read here and there that it at least used to be possible to emulate a
right-click (I seem to remember somebody managed to get it working in
Om2007). Is it possible at all? If so, any help or ideas would be
appreciated! :-) This is one of the few smart functions still missing on
the FR in a general sense. I would consider moving away from SHR-U to
another distro (not Android yet though, IMHO it's a bit dead at the
moment) where I can get this to work, even though SHR is beyond cool.

-- 
Regards,
Jan Henkins


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


Re: [shrunstable] Midori question

2009-09-23 Thread Adam Jimerson
The problem is Midori is not configured with a downloader, and we can't give
it one because under the Preferences window in Midori the downloader option
is grayed out.

On Wed, Sep 23, 2009 at 8:08 AM, Jan Henkins j...@henkins.za.net wrote:

 Hello all,

 I'm using midori - 0.1.10-r2 on SHR unstable, which is a great experience
 overall. One of the biggest things I use my FR for is to read ebooks when
 I commute on the train using FBReader. Mostly I download ebooks on my PC
 and scp it across, because for some reason I cannot download files
 properly with Midori. This seems to be a general thing, but the site I
 normally frequent for my SciFi fix is the free library at:
 http://www.baen.com
 Earlier versions of Midori displayed the file instead of download it, but
 0.1.10-r2 simply does nothing when I click on any link to download either
 .mobi or .zip files. Does other people also experience the same issue?


 --
 Regards,
 Jan Henkins


 ___
 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: QI boot order

2009-09-23 Thread Christ van Willegen
Jan,

On Wed, Sep 23, 2009 at 1:49 PM, Jan Henkins j...@henkins.za.net wrote:
 QI by default tries to boot from SD, and not from NAND flash. How do I
 control QI to boot firstly from NAND and then the rest of my SD
 partitions? I would really like to get rid of u-boot...

What did the trick for me, although it's not in the Wiki, is this:

- Press and hold AUX
- Press power
- Let go of AUX
- Let go of power

That should skip 1 partition on SD, hope that's enough for you...

Note that this key order is not as it should be! So no guarantees.

Pressing the AUX in the brief time that the LED flashes RED _should_
do it, but I've never reliably been able to do that.

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

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


Re: [shrunstable] Midori question

2009-09-23 Thread Jan Henkins
Hello Adam,

On Wed, September 23, 2009 13:18, Adam Jimerson wrote:
 The problem is Midori is not configured with a downloader, and we can't
 give
 it one because under the Preferences window in Midori the downloader
 option
 is grayed out.

Ah that makes sense, thanks a million! :-)

-- 
Regards,
Jan Henkins


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


Re: Emulate right-click for copy/paste?

2009-09-23 Thread Michal Brzozowski
http://n2.nabble.com/touchpad-on-OM-tp3287638p3287638.html

You get it for free with Literki. Works on any xorg-based distro.

2009/9/23 Jan Henkins j...@henkins.za.net

 Hello all,

 I've read here and there that it at least used to be possible to emulate a
 right-click (I seem to remember somebody managed to get it working in
 Om2007). Is it possible at all? If so, any help or ideas would be
 appreciated! :-) This is one of the few smart functions still missing on
 the FR in a general sense. I would consider moving away from SHR-U to
 another distro (not Android yet though, IMHO it's a bit dead at the
 moment) where I can get this to work, even though SHR is beyond cool.

 --
 Regards,
 Jan Henkins


 ___
 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: QI boot order

2009-09-23 Thread Jan Henkins
Hallo Christ,

On Wed, September 23, 2009 13:31, Christ van Willegen wrote:
 What did the trick for me, although it's not in the Wiki, is this:

 - Press and hold AUX
 - Press power
 - Let go of AUX
 - Let go of power

 That should skip 1 partition on SD, hope that's enough for you...

 Note that this key order is not as it should be! So no guarantees.

 Pressing the AUX in the brief time that the LED flashes RED _should_
 do it, but I've never reliably been able to do that.

Thanks, this is one step closer, but still not ideal. I was sort of hoping
that one could control QI with some form of configuration method, kinda
like grub or lilo. I'll play a bit more.


-- 
Regards,
Jan Henkins


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


Re: Emulate right-click for copy/paste?

2009-09-23 Thread Jan Henkins
Hello Michal,

On Wed, September 23, 2009 13:40, Michal Brzozowski wrote:
 http://n2.nabble.com/touchpad-on-OM-tp3287638p3287638.html

 You get it for free with Literki. Works on any xorg-based distro.

Thanks, I will give it a go! I was hoping for something in xorg itself
instead of an application layer, but this looks as if it just might do the
trick.

-- 
Regards,
Jan Henkins


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


Re: [shrunstable] Midori question

2009-09-23 Thread Adam Jimerson
On Wed, Sep 23, 2009 at 8:38 AM, Jan Henkins j...@henkins.za.net wrote:

 Hello Adam,

 On Wed, September 23, 2009 13:18, Adam Jimerson wrote:
  The problem is Midori is not configured with a downloader, and we can't
  give
  it one because under the Preferences window in Midori the downloader
  option
  is grayed out.

 Ah that makes sense, thanks a million! :-)


No problem, if you want to try and get that changed then I would open a bug
report in SHR's bug trac I don't see why something like wget can't be used
in this case.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QI boot order

2009-09-23 Thread Al Johnson
On Wednesday 23 September 2009, Jan Henkins wrote:
 Hallo Christ,

 On Wed, September 23, 2009 13:31, Christ van Willegen wrote:
  What did the trick for me, although it's not in the Wiki, is this:
 
  - Press and hold AUX
  - Press power
  - Let go of AUX
  - Let go of power
 
  That should skip 1 partition on SD, hope that's enough for you...
 
  Note that this key order is not as it should be! So no guarantees.
 
  Pressing the AUX in the brief time that the LED flashes RED _should_
  do it, but I've never reliably been able to do that.

 Thanks, this is one step closer, but still not ideal. I was sort of hoping
 that one could control QI with some form of configuration method, kinda
 like grub or lilo. I'll play a bit more.

There's no one configuration file to use, but some level of control is 
available using files in /boot on each partition, as described in the wiki. It 
would be quite easy to write a script or gui to manipulate these, but so far 
nobody has afaik. 


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


Re: Re: Emulate right-click for copy/paste?

2009-09-23 Thread Lars Hennig
 http://n2.nabble.com/touchpad-on-OM-tp3287638p3287638.html You get it for 
 free with Literki. Works on any xorg-based distro.But the price is, that the 
 X-Server crashes when using full screen apps like shr-today or is this fixed 
 already in literki?___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread c_c

Hi,
  Does this happen at startup?
-- 
View this message in context: 
http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3699641.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Emulate right-click for copy/paste?

2009-09-23 Thread Michal Brzozowski
2009/9/23 Jan Henkins j...@henkins.za.net

 Hello Michal,

 On Wed, September 23, 2009 13:40, Michal Brzozowski wrote:
  http://n2.nabble.com/touchpad-on-OM-tp3287638p3287638.html
 
  You get it for free with Literki. Works on any xorg-based distro.

 Thanks, I will give it a go! I was hoping for something in xorg itself
 instead of an application layer, but this looks as if it just might do the
 trick.


There was a way to emulate right click by double clicking, but I don't know
in which layer.

What's your use case?



 --
 Regards,
 Jan Henkins


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


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread KaZeR



c_c wrote:
 
 Hi,
   Does this happen at startup?
 

Nop, it happens quite randomly, i haven't yet been able to pinpoint it.
Sometimes when i open a conversation, sometimes when i send a sms.
In this case, it seems that the message is marked as sent when in fact it
wasn't..
i've moved the .launcher folder, but it didn't help.

The first value in the message appears to change (last time i got 44).
-- 
View this message in context: 
http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3699729.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Updated package for the puzzle collection

2009-09-23 Thread EdorFaus
On Tuesday 22 September 2009 16:53:41 Aapo Rantalainen wrote:
 Looks nice. Release makefile in any place and put link to mailing list.

Well, here's the (cleaned-up) patch for the makefile generator at least.
I've sent this upstream, so hopefully it'll compile out of the box soon.

 27 icons in desktop is way too much. Make a simple application or
 script that loads all icons and shows them with name of game and then
 user can click which want to play (or quit). Then execute that binary.

You make it sound so easy...
I've never done GUI programming in C before, nor any programming at all in 
Python or Perl... I've mostly done PHP and Java the last few years. Do you 
have any hints as to where I should start, to make something like this?

 No monolithic binary.

Agreed. Not by my hand anyway - I've got better things to spend my time on.

 Are some of these games un-playable with touchscreen? Maybe they can
 be dropped until it is fixed.

At least one is (pattern), though I'm intending to try to fix that (see below).
Not sure if I want to remove it just because of that though, it seems some 
people have setups that let them right-click (e.g. using literki), and pattern 
was present in oh-puzzles too.

Some other games are more difficult without right-clicking, but still playable.

 If any game can be modified
 one-button-friendly maybe upstream is interested in it too.

I'm intending to try to do this modification, and have asked upstream if they'd 
be interested in those changes. Can't promise anything about when though.

Oh, and not so much modify the game itself, but making right-click emulation 
possible in the gtk game frontend, for those games that need it.

--
EdorFaus
Index: mkfiles.pl
===
--- mkfiles.pl	(revision 8657)
+++ mkfiles.pl	(working copy)
@@ -1100,7 +1100,7 @@
 \n.
 # You can define this path to point at your tools if you need to\n.
 # TOOLPATH = /opt/gcc/bin\n.
-CC = \$(TOOLPATH)cc\n.
+CC := \$(TOOLPATH)\$(CC)\n.
 # You can manually set this to `gtk-config' or `pkg-config gtk+-1.2'\n.
 # (depending on what works on your system) if you want to enforce\n.
 # building with GTK 1.2, or you can set it to `pkg-config gtk+-2.0'\n.
@@ -1108,9 +1108,9 @@
 # to 1.2 if it isn't found.\n.
 GTK_CONFIG = sh -c 'pkg-config gtk+-2.0 \$\$0 2/dev/null || gtk-config \$\$0'\n.
 \n.
-splitline(CFLAGS = -O2 -Wall -Werror -ansi -pedantic -g  .
+splitline(CFLAGS := -O2 -Wall -Werror -ansi -pedantic -g  .
 	   (join  , map {-I$dirpfx$_} @srcdirs) .
-	`\$(GTK_CONFIG) --cflags`).\n.
+	`\$(GTK_CONFIG) --cflags` \$(CFLAGS)).\n.
 XLDFLAGS = `\$(GTK_CONFIG) --libs`\n.
 ULDFLAGS =#\n.
 INSTALL=install\n,
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Updated package for the puzzle collection

2009-09-23 Thread EdorFaus
On Tuesday 22 September 2009 19:46:50 Steven ** wrote:
 What are the new games?

Filling, Galaxies and Unequal are new, and in a way Loopy too, since it never 
worked (for me anyway) in oh-puzzles. There are also new features, such as 
Loopy supporting more than just square grid layouts (but I don't know 
everything about what's new - I don't even know when oh-puzzles was forked).

 I'd prefer to
 be able to launch a specific game right away, as opposed to some sort
 of launcher script that makes me select which game I want to launch.

Same here, really. But I can understand that others might want one.

 Perhaps you could do both?  By default, install a wrapper script.  But
 also provide a second ipk that creates all the .desktop files for each
 game.

Well, that would have the wrapper show up as an icon even when you have the 
other package installed. However, I could make two extra packages - one for 
separate icons, and one with the wrapper, and Recommends: both as alternatives 
(with OR between them). That should satisfy both use cases, right?

Um... does opkg support Recommends: to suggest installation of other packages?
(Like how apt does unless you tell it not to?)

If not, I suppose I could come up with some kind of postinst magic to remove 
the wrapper if the other package is installed...

 I only play 3 or 4 of the 24 games anyways...

I don't play all of them either. Maybe we could come up with some system for 
the .desktop files that would let the user disable some, without having them 
return when the package is upgraded (like they would if they were deleted)?

Or maybe the games should be split into separate packages? Seems a bit much 
with 27 different packages though, yet otherwise, what games should be put 
together in the same package?

--
EdorFaus

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


Re: [shrunstable] Midori question

2009-09-23 Thread Tony McKeehan
I know there's one trick where you can tap the power button to turn the 
FR on, then press and hold the AUX button for the entire duration that's 
it's lit up red (this is you telling Qi that you want to skip that boot 
option) and it will move on to NAND.

You can find more info at the wiki's Qi page:

http://wiki.openmoko.org/wiki/Qi#Choosing_a_Kernel

-Tonym

Jan Henkins wrote:
 Hello all,

 I'm using midori - 0.1.10-r2 on SHR unstable, which is a great experience
 overall. One of the biggest things I use my FR for is to read ebooks when
 I commute on the train using FBReader. Mostly I download ebooks on my PC
 and scp it across, because for some reason I cannot download files
 properly with Midori. This seems to be a general thing, but the site I
 normally frequent for my SciFi fix is the free library at:
 http://www.baen.com
 Earlier versions of Midori displayed the file instead of download it, but
 0.1.10-r2 simply does nothing when I click on any link to download either
 .mobi or .zip files. Does other people also experience the same issue?


   


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


Re: QI boot order

2009-09-23 Thread Tony McKeehan
Sorry, this was meant to be in response to the Qi question

-Tonym

Tony McKeehan wrote:
 I know there's one trick where you can tap the power button to turn the 
 FR on, then press and hold the AUX button for the entire duration that's 
 it's lit up red (this is you telling Qi that you want to skip that boot 
 option) and it will move on to NAND.

 You can find more info at the wiki's Qi page:

 http://wiki.openmoko.org/wiki/Qi#Choosing_a_Kernel

 -Tonym
   

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


Announcement: Cupcake release 0.1.1 for Freerunner

2009-09-23 Thread Niels Heyvaert


Hi all,

Things are moving ahead.

The community has released v0.1.1 of the Android Cupcake for Freerunner fixing 
the suspend during a call issue.

Check out Jim Ancona's announcement:

 This is a bug fix release containing the fix for Issue 3: Suspend during a 
 call (http://code.google.com/p/android-on-freerunner/issues/detail?id=3).
It may be downloaded from the site at 
http://code.google.com/p/android-on-freerunner/

Thanks to Michael Trimarchi for the fix!

Feel free to give it a try.

Niels.

Google Code site: http://code.google.com/p/android-on-freerunner/
Git repository: http://gitorious.org/android-on-freerunner
New mailing list: http://groups.google.com/group/android-on-freerunner
_
Voeg vrienden toe van LinkedIn  Facebook aan je Windows Live
http://profile.live.com/connect
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Announcement: Cupcake release 0.1.1 for Freerunner

2009-09-23 Thread Tony McKeehan
Don't forget to append the next Community Updates page.

http://wiki.openmoko.org/wiki/Community_Updates/Draft_2009-09-30

I'm very happy to see this project moving forward after much stagnation.

-Tonym


Niels Heyvaert wrote:
 Hi all,

 Things are moving ahead.

 The community has released v0.1.1 of the Android Cupcake for Freerunner 
 fixing the suspend during a call issue.

 Check out Jim Ancona's announcement:

   
 This is a bug fix release containing the fix for Issue 3: Suspend during a 
 call (http://code.google.com/p/android-on-freerunner/issues/detail?id=3).
 It may be downloaded from the site at 
 http://code.google.com/p/android-on-freerunner/

 Thanks to Michael Trimarchi for the fix!
 

 Feel free to give it a try.

 Niels.

 Google Code site: http://code.google.com/p/android-on-freerunner/
 Git repository: http://gitorious.org/android-on-freerunner
 New mailing list: http://groups.google.com/group/android-on-freerunner
 _
 Voeg vrienden toe van LinkedIn  Facebook aan je Windows Live
 http://profile.live.com/connect
 ___
 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: Announcement: Cupcake release 0.1.1 for Freerunner

2009-09-23 Thread Niels Heyvaert


 Don't forget to append the next Community Updates page.

 http://wiki.openmoko.org/wiki/Community_Updates/Draft_2009-09-30

Will try to put some text on it somewhere this week.
_
Reageer op foto’s van je vrienden en bekijk hun reacties op de jouwe. 
Gegarandeerd hilariteit! 
http://www.microsoft.com/belux/nl/windows/windowslive/products/photos.aspx
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread c_c

Hi,
  It seems like this error occurs (generally) when the database is accessed
from more than 1 thread at the same time. 
  Are you waiting for the Please Wait... message to change to launcher
before opening a conversation / log / sms or contacts?
  Anyhow, try the attached binary to see if this one helps.
Thanks

http://n2.nabble.com/file/n3700321/launcher launcher 

-- 
View this message in context: 
http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3700321.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread c_c

Hi,
  To be clear - the Please Wait.. message appears in the window title.
  Both 21 SQL Error and 44 SQL Error should happen soon after start but
before the Please Wait ...
changes to Launcher.
  Can you confirm that?
Thanks.
-- 
View this message in context: 
http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3700346.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: fatfingershell ?

2009-09-23 Thread Rafael Ignacio Zurita
Hello Pike,
  and sorry for the late answer.

On Mon, Sep 14, 2009 at 10:03:50AM +0200, pike wrote:
 Hi
 
 I just *love* the fatfingershell
 http://www.youtube.com/watch?v=DV4p414_VJM
 http://fz.hobby-site.org/om/fatfingershell/
 
 .. and i'm really curious if there's been
 any update since april 1 ?

Yes and no. I have almost ready a new version, with
these improvements:
 - optional vibrate for pressed keys
 - a little faster
 - easy scrolling
 - better sources and Makefile
 - perhaps disappear/darken keyboard when no keys are pressed.
 - opkg package

I will upload this version soon.
 
 If I think real hard, there's a number of
 things that come to mind to make it fully
 functional. Some of them I'm puzzling on,
 others are beyond me, but perhaps people
 on this list have suggestions ?

Thanks a lot for the suggestions, I will try to add my TODO list
all of them, to check out which are useful and which are not.
If you would like to help me with some of them, please.. 
I would love to do ffs better. The scripts for easy call/sms/gps
usgin dbus would be great. Somethinkg like c pike to do 
pike a call would be cool, etc ;)

 Here's a list I wrote:
 
 *to handle incoming signals from the dbus:
 
 - handlers to send dbus signals to the
running bash shell. it could be as simple
as a wall message - incoming call from xxx.
I *imagine* thats just a matter of changing
yaml files, but that would break your
'default' phone functionality forever ? You'd
want to temporarily disable some default
handlers while fatfingershell is running.
I wouldnt know how to do that.
Perhaps Siglaunchd can help  ?
http://wiki.openmoko.org/wiki/Siglaunchd
 
 - Non-keyboard handlers to reply to such signals.
E.g. when the phone rings, you may be in the
middle of typing some text, or maybe not using
the keyboard at all (f.e. looking at tangogps).
So you can't type yes to answer the phone;
instead, pressing a button should answer
or cancel the call (and perhaps switch to bash
to start some interactive app, if you werent
already doing something else there ...)
 
 *for the fatfingershell c app itself:
 
 - a separate middle layer, so the transparency
of the middle layer doesnt affect the
transparency of the font
I'm afraid this depends on SDL_Terminal ..
not sure if it can do that at all.

Maybe a little hard with SDL_Terminal. Because we 
can set colors perhaps choosing better ones would help.

 - a slightly bigger font size

too hard now, but I am checking how to do that.
 
 - a way to set the terminal location/rect
to match other keyboard layouts
 
 - a way to use a vertical layout instead.
that makes more sense to me, but also,
SHR-U crashes when resuming from deep sleep
in landscape mode, making ffshell
unusable for now :-(

Aha!, so your problem is landscape ffs with SHR-U :)
I think that is not a ffs problem. SHR-U should reume ok 
if it is in landscape, so we would need check why
SHR-U crashes in that state. After, we can talk if
vertical layout is easy to do or not ;)

 - arrows on the keyboard layout
to use your history.

I use bash -o vi if I remember well, so you can press ESC, and 
use K / J for history :)

 - removing the -d option, focusing on
'selecting' a layout instead. there
might be more then 2 options; and
it could be as simple as copying the
right files to the right place.

Good. I will add that in my current TODO.

 - additional layouts. i'm playing with
those :-)

Let me know if you need help or if I can use those as well :)

 - a 3rd keyboard for special chars
(1 is keys, 2 is numbers, 3 is *) -
I'm short on screen estate already :-)

I think that I added all the good keys. Which special
chars you need?

 *for the package
 
 - a suite of bash scripts to do things,
like send sms's and make calls. these
are around, and i'm playing with them.

That is essential I guess, to do ffs the only tool that we need.
 
 - smart bash tab completion for these
bash scripts, to do them fast. sending
an sms to john could be as quick as
typing s[tab] @j[tab].
no gui is ever going to beat that :-)

Maybe the scripts for those bash scripts could have short short
names, like s for sms, c for call, a for answer, etc.
If the script names are longer, then put them unique names since
the second letter and put them in $PATH, so we would only need
to press two chars+TAB.
 
 - a nice opk package :-)

On its way..

THANKS a lot for all above Pike, I will try to do my best.

Regards.

--
Rafael Ignacio Zurita
Buenos Aires, Argentina

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


Re: [qtmoko] Problems with /home/root on sdcard

2009-09-23 Thread Alexander Syring
On 2009-09-20 Radek Polak wrote:
 [...]
 
 Hi Alexander,
 how do you exactly mount it? Have you copied all the files from
 NAND's /home/root to the sdcard? Otherwise i cant see why it should be
 problem. For me in v11 it works:
 
 http://scap.linuxtogo.org/files/96103d636f82e8717350bb50bfa4b083.png
 
 
 Regards
 
 Radek
 

Hi Radek
I mount it with fstab 

/dev/mmcblk0p2  /home/root  autodefaults

Before I made this

mount /dev/mmcblk0p2 /mnt
cp -a /home/root /mnt/
umount /mnt 

The Problem is, that no graphic appear

Regards 

Alex

P.S. I updated to v11 with kernel v11

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


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Tschaka



Torfinn Ingolfsen wrote:
 
 Hi,
 
 Ok, now I have QtMoko v11 instaled, and I am trying to get Wireless
 working
 again.
 Now I am using the QT network script, /opt/qtmoko//bin/lan-network from a
 shell (via ssh).
 I have changed the script so it doesn't do ifdown / ifup usb0. (The
 passpharse is also changed)
 Here is what I have done:
 /opt/qtmoko/bin/lan-network install eth0 dhcp
 /opt/qtmoko/bin/lan-network install eth0 wireless -essid kg4 -authmode
 WPA-PSK password TKIP
 
 neo:~# /opt/qtmoko//bin/lan-network start eth0
 LAN: Starting config script for lan plugin
 LAN: With params : start
 LAN: starting eth0
 Starting wireless
 + . /root/Settings/Network/wireless/eth0
 + WIRELESS_ESSID=kg4
 + WIRELESS_AUTH_MODE=WPA-PSK
 + WIRELESS_WPA_PSK=password
 + WIRELESS_PAIRWISE=TKIP
 + WIRELESS_GROUP=TKIP
 + WPACONF=/etc/wpa_supplicant/wpa_supplicant.conf
 + echo
 + echo ctrl_interface=/var/lib/wpa_supplicant
 + echo ctrl_interface_group=0
 + echo eapol_version=1
 + echo fast_reauth=1
 + echo ap_scan=1
 + echo network={
 + [ -n kg4 ]
 + echo ssid=kg4
 + [ -n  ]
 + echo proto=WPA2 WPA RSN
 + [ -n WPA-PSK ]
 + echo key_mgmt=WPA-PSK
 + [ -n TKIP ]
 + echo pairwise=TKIP
 + [ -n TKIP ]
 + echo group=TKIP
 + [ -n password ]
 + echo psk=password
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + [ -n  ]
 + echo }
 + /sbin/ifconfig eth0 up
 + [  !=  ]
 + /sbin/iwconfig eth0 ap any
 + [  !=  ]
 + /sbin/iwconfig eth0 rate auto
 + [  !=  ]
 + [  !=  ]
 + [  !=  ]
 + /usr/sbin/wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -B
 -ieth0
 + + sleep 3
 logger -t WPA
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 + /sbin/udhcpc -n -i eth0
 + try_ip eth0
 + COUNT=0
 + echo Trying to find ip: 0
 Trying to find ip: 0
 + [ 0 -gt 10 ]
 + /sbin/ifconfig eth0
 + grep inet[^6]
 + awk BEGIN{FS=:}{print $2}
 + awk {print $1}
 udhcpc (v0.9.9-pre) started
 + IP=
 + [ -n  ]
 + sleep 1
 Sending discover...
 + COUNT=1
 + [ 1 -gt 10 ]
 + /sbin/ifconfig eth0
 + + grep inet[^6]
 + awk {print $1}
 awk BEGIN{FS=:}{print $2}
 + IP=
 + [ -n  ]
 + sleep 1
 Sending discover...
 + COUNT=2
 + [ 2 -gt 10 ]
 + /sbin/ifconfig eth0
 + + grep inet[^6]
 awk BEGIN{FS=:}{print $2}
 + awk {print $1}
 + IP=
 + [ -n  ]
 + sleep 1
 + COUNT=3
 + [ 3 -gt 10 ]
 + /sbin/ifconfig eth0
 + grep inet[^6]
 + + awk {print $1}
 awk BEGIN{FS=:}{print $2}
 + IP=
 + [ -n  ]
 + sleep 1
 Sending discover...
 + COUNT=4
 + [ 4 -gt 10 ]
 + /sbin/ifconfig eth0
 + grep inet[^6]
 + awk {print $1}
 + awk BEGIN{FS=:}{print $2}
 + IP=
 + [ -n  ]
 + sleep 1
 + COUNT=5
 + [ 5 -gt 10 ]
 + /sbin/ifconfig eth0
 + + + grep inet[^6]awk BEGIN{FS=:}{print $2}
 awk {print $1}
 
 + IP=
 + [ -n  ]
 + sleep 1
 + COUNT=6
 + [ 6 -gt 10 ]
 + /sbin/ifconfig eth0
 + grep inet[^6]
 + awk BEGIN{FS=:}{print $2}
 + awk {print $1}
 + IP=
 + [ -n  ]
 + sleep 1
 Lease failed:
 No lease, failing.
 + COUNT=7
 + [ 7 -gt 10 ]
 + /sbin/ifconfig eth0
 + grep inet[^6]
 + awk BEGIN{FS=:}{print $2}
 + awk {print $1}
 + IP=
 + [ -n  ]
 + sleep 1
 + COUNT=8
 + [ 8 -gt 10 ]
 + /sbin/ifconfig eth0
 + grep inet[^6]
 + awk BEGIN{FS=:}{print $2}
 + awk {print $1}
 + IP=
 + [ -n  ]
 + sleep 1
 + COUNT=9
 + [ 9 -gt 10 ]
 + /sbin/ifconfig eth0
 + awk BEGIN{FS=:}{print $2}+ grep inet[^6]
 + awk {print $1}
 
 + IP=
 + [ -n  ]
 + sleep 1
 + COUNT=10
 + [ 10 -gt 10 ]
 + /sbin/ifconfig eth0
 + awk {print $1}+ awk BEGIN{FS=:}{print $2}
 + grep inet[^6]
 
 + IP=
 + [ -n  ]
 + sleep 1
 + COUNT=11
 + [ 11 -gt 10 ]
 + stop eth0
 + print_debug stopping interface eth0
 + [ 1 -eq 1 ]
 + echo LAN: stopping interface eth0
 LAN: stopping interface eth0
 + [ 1 -eq 1 ]
 + echo LAN: stopping interface eth0
 + /sbin/ifconfig eth0 0.0.0.0 down
 + ifdown eth0
 ifdown: interface eth0 not configured
 + ps aux
 + grep [u]dhcpc .*-i eth0
 + awk {print $2}
 + DHCP_PIDS=
 + [ -n  ]
 + ps aux
 + grep [w]pa_supplicant .* -ieth0
 + awk {print $2}
 + WPASUP_PIDS=2391
 + [ -n 2391 ]
 + kill 2391
 + [ -e /home/root/Documents/eth0.txt ]
 neo:~#
 
 So unfortunately, it doesn't work. :-/
 I really don't understand why this doesn't work.
 -- 
 Regards,
 Torfinn Ingolfsen
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 


Try with AES instead of TKIP. Set it on your router and try to connect
again. i had it, that TKIP just didnt work somehow. AES works flawlessly.
-- 
View this message in context: 
http://n2.nabble.com/QtMoko-v11-WiFi-take-2-tp3696344p3700606.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org

Re: fatfingershell ?

2009-09-23 Thread pike
Hi

 I just *love* the fatfingershell
 http://www.youtube.com/watch?v=DV4p414_VJM
 http://fz.hobby-site.org/om/fatfingershell/

 .. and i'm really curious if there's been
 any update since april 1 ?
 
 Yes and no. I have almost ready a new version

That's very cool. I have been playing with the
idea on and off. The suite of bash scripts to
do calls etc is actually ofcourse indepent
from the actual terminal used - in my eyes,
fatfingershell is rather a type of terminal
than a shell. it's bash in a fancy terminal.

So, I've been playing on an adapted/finetuned
bash - where for example autocompletion also
takes your call history and addressbook into
account :-) c[tab] pi[tab] would call pike.
It would work in vala-terminal just as well.
But still, just playing.

I'm not in favor of one char commands - i
like the fact that the terminal would
literally type out call if you type c[tab].
This way, getting familiar with the available
commands is really easy. Ofcourse, it implies
there should be no other commands with a c
on your path.

Anyway - looking forward to the improvements !

thanks,
*-pike

PS. Some ideas here:
http://wiki.openmoko.org/wiki/User:Pike/FFShell





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


Re: Emulate right-click for copy/paste?

2009-09-23 Thread Laszlo KREKACS
On Wed, Sep 23, 2009 at 2:18 PM, Jan Henkins j...@henkins.za.net wrote:
 I've read here and there that it at least used to be possible to emulate a
 right-click

In any elementary app long pushing on a textblock popups a small select and
cut/copy/paste menu.

So its builtin. I tested in paroli's sms app, intone's lyrics view.

Best regards,
 Laszlo

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


Re: Launcher - v 0.37 Release UPDATED (inbuilt contacts, sms and phonelog)

2009-09-23 Thread c_c

Hi,
  Even Better - try this binary. 
http://n2.nabble.com/file/n3700793/launcher launcher 
-- 
View this message in context: 
http://n2.nabble.com/Launcher-v-0-37-Release-UPDATED-inbuilt-contacts-sms-and-phonelog-tp3552019p3700793.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

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


Re: [qtmoko] what sets up the kernel killing machine?

2009-09-23 Thread Radek Polak
Jim Morris wrote:

 Nope it still started killing off processes, I wonder if it is the kernel oom 
 or the qtopia oom?

Kernel oom - you can enable verbose logging:

echo '9'  /proc/sys/kernel/printk

and check dmesg or:

tail -f /var/log/messages

you will see that it's kernel who is killing processes. But i have no
idea why :(

Radek


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


Re: Qi - why only 3 partitions on SD card?

2009-09-23 Thread Warren Baird
On Tue, Sep 22, 2009 at 4:36 PM, Paul Fertser fercer...@gmail.com wrote:

 I really can't understand the desire to multi-boot. And btw the recent
 poll proved that most users use Qi IIRC. A clear evidence it's already
 usable for them.


here's a couple of use cases:

1  I have a working shr-u install on my phone, and want to experiment with
the shr-testing candidate - however I want the capability to revert back to
the working shr-u install if I have problems with shr-testing.   This is the
situation I'm in right now.

2. More generally - I have a working distro I like, but am curious to try
one or more of the other distros.

3. I'm a developer working on an app for the FR, and I want to make sure
that it works well on debian, SHR, and QtMoko (using QX), but only have one
FR.

In the 'bad old days', when I was experimenting with the early OM 2009 TRs,
I often had to boot back to QtEI to actually be able to make an outgoing
phone call.

I definitely think there are many valid reasons for multi-booting.

I have a slightly more interesting issue - my aux button doesn't work any
more after my daughter dropped my FR one too many times...   So my solution
for multi-boot involves renaming the appropriate boot directory on the SD
card before rebooting...   far from ideal...

Warren


-- 
Warren Baird - Photographer and Digital Artist
http://www.synergisticimages.ca
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


OpenBSD

2009-09-23 Thread Michael Fisher
I read there is an OpenBSD port for OpenMoko. Has anyone tried it and if so,
how well does it perform? Does it even boot?
Thanks,

Mike

-- 
Michael Fisher
desno...@gmail.com
Sent from Tampa, Florida, United States
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - /opt/qtmoko/bin/lan-network

2009-09-23 Thread Torfinn Ingolfsen
Here is another:
If you runt WPA-PSK with AES you will get this output from the script:
+ . /root/Settings/Network/wireless/eth0
+ WIRELESS_ESSID=kg4
+ WIRELESS_AUTH_MODE=WPA-PSK
+ WIRELESS_WPA_PSK=j85first
+ WIRELESS_PAIRWISE=CCMP TKIP
/root/Settings/Network/wireless/eth0: 1: TKIP: not found
+ WIRELESS_GROUP=CCMP TKIP
/root/Settings/Network/wireless/eth0: 1: TKIP: not found

To fix that, change lines 277 and 278 into:
echo WIRELESS_PAIRWISE=\CCMP TKIP\  $TMP_FILE;
echo WIRELESS_GROUP=\CCMP TKIP\  $TMP_FILE;

HTH
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Torfinn Ingolfsen
Hi,

On Wed, Sep 23, 2009 at 6:01 PM, Tschaka stuff4tsch...@gmx.net wrote:

 Try with AES instead of TKIP. Set it on your router and try to connect
 again. i had it, that TKIP just didnt work somehow. AES works flawlessly.


I tried with WPA-PSK / AES. It didn't work any better:
neo:/# /opt/qtmoko/bin/lan-network install eth0 wireless -essid kg4
-authmode WPA-PSK password AES
LAN: Starting config script for lan plugin
LAN: With params : install
LAN: eth0 wireless -essid kg4 -authmode WPA-PSK password AES
lan-network wireless -essid kg4 -authmode WPA-PSK password AES
neo:/# /opt/qtmoko/bin/lan-network start eth0
LAN: Starting config script for lan plugin
LAN: With params : start
LAN: starting eth0
Starting wireless
+ . /root/Settings/Network/wireless/eth0
+ WIRELESS_ESSID=kg4
+ WIRELESS_AUTH_MODE=WPA-PSK
+ WIRELESS_WPA_PSK=password
+ WIRELESS_PAIRWISE=CCMP TKIP
+ WIRELESS_GROUP=CCMP TKIP
+ WPACONF=/etc/wpa_supplicant/wpa_supplicant.conf
+ echo
+ echo ctrl_interface=/var/lib/wpa_supplicant
+ echo ctrl_interface_group=0
+ echo eapol_version=1
+ echo fast_reauth=1
+ echo ap_scan=1
+ echo network={
+ [ -n kg4 ]
+ echo ssid=kg4
+ [ -n  ]
+ echo proto=WPA2 WPA RSN
+ [ -n WPA-PSK ]
+ echo key_mgmt=WPA-PSK
+ [ -n CCMP TKIP ]
+ echo pairwise=CCMP TKIP
+ [ -n CCMP TKIP ]
+ echo group=CCMP TKIP
+ [ -n password ]
+ echo psk=password
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ]
+ echo }
+ /sbin/ifconfig eth0 up
+ [  !=  ]
+ /sbin/iwconfig eth0 ap any
+ [  !=  ]
+ /sbin/iwconfig eth0 rate auto
+ [  !=  ]
+ [  !=  ]
+ [  !=  ]
+ /usr/sbin/wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -B+
logger -t WPA
+ sleep 3
 -ieth0
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
+ /sbin/udhcpc -n -i eth0
udhcpc (v0.9.9-pre) started
+ try_ip eth0
+ COUNT=0
+ echo Trying to find ip: 0
Trying to find ip: 0
+ [ 0 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk BEGIN{FS=:}{print $2}
+ grep inet[^6]+ awk {print $1}

+ IP=
+ [ -n  ]
+ sleep 1
Sending discover...
+ COUNT=1
+ [ 1 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk {print $1}
+ awk BEGIN{FS=:}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
Sending discover...
+ COUNT=2
+ [ 2 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk+ awk {print $1}
 BEGIN{FS=:}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=3
+ [ 3 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk BEGIN{FS=:}{print $2}
+ Sending discover...
grep inet[^6]
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=4
+ [ 4 -gt 10 ]
+ /sbin/ifconfig eth0
+ + awk {print $1}+ awk BEGIN{FS=:}{print $2}
grep inet[^6]

+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=5
+ [ 5 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=:}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
Lease failed:
No lease, failing.
+ COUNT=6
+ [ 6 -gt 10 ]
+ /sbin/ifconfig eth0
+ + grep inet[^6]+ awk BEGIN{FS=:}{print $2}
awk {print $1}

+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=7
+ [ 7 -gt 10 ]
+ /sbin/ifconfig eth0
+ + awk {print $1}
+ grep inet[^6]
awk BEGIN{FS=:}{print $2}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=8
+ [ 8 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk BEGIN{FS=:}{print $2}
+ grep inet[^6]
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=9
+ [ 9 -gt 10 ]
+ /sbin/ifconfig eth0
+ awk+ grep inet[^6]
+ awk BEGIN{FS=:}{print $2}
 {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=10
+ [ 10 -gt 10 ]
+ /sbin/ifconfig eth0
+ grep inet[^6]
+ awk BEGIN{FS=:}{print $2}
+ awk {print $1}
+ IP=
+ [ -n  ]
+ sleep 1
+ COUNT=11
+ [ 11 -gt 10 ]
+ stop eth0
+ print_debug stopping interface eth0
+ [ 1 -eq 1 ]
+ echo LAN: stopping interface eth0
LAN: stopping interface eth0
+ [ 1 -eq 1 ]
+ echo LAN: stopping interface eth0
+ /sbin/ifconfig eth0 0.0.0.0 down
+ ifdown eth0
ifdown: interface eth0 not configured
+ ps aux
+ grep [u]dhcpc .*-i eth0
+ awk {print $2}
+ DHCP_PIDS=
+ [ -n  ]
+ ps aux
+ + awk {print $2}
grep [w]pa_supplicant .* -ieth0
+ WPASUP_PIDS=5845
+ [ -n 5845 ]
+ kill 5845
+ [ -e /home/root/Documents/eth0.txt ]
neo:/#






-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Torfinn Ingolfsen
Hi,
Two quick questions for those who have a working wireless using WPA-PSK  in
QtMoko:

1) are you using Qi to boot the installation? (If the answer is no, what are
you using?)
2) Is your installation on a SDcard or in NAND?

(I am using Qi, and my installation is on a SDcard partition)
-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[qtmoko] battery level indicator

2009-09-23 Thread Jim Morris
It looks like the battery indicator does not work, at least after a suspend, 
maybe these errors have 
something to do with it, they appear after coming out of the first suspend, 
after that the battery 
always looks full, unless its charging which does indicate.

[  814.75] Restarting tasks ... done.
[  814.87] bq27000-battery bq27000-battery.0: battery service reschedule 
failed
[  817.695000] pcf50633 0-0073: usb curlim to 500 mA
[ 3254.28] HDQ error: 1
[ 3254.295000] HDQ responds again
[ 3254.435000] power_supply battery: driver failed to report `temp' property
[ 4977.83] HDQ error: 1
[ 4977.845000] HDQ responds again
[ 5129.84] HDQ error: 1
[ 5129.855000] HDQ responds again
[ 5129.995000] power_supply battery: driver failed to report `temp' property
[ 5712.895000] HDQ error: 1
[ 5712.915000] power_supply battery: driver failed to report `voltage_now' 
property
[ 5737.91] HDQ responds again
[ 6929.315000] HDQ error: 1
[ 6929.33] HDQ responds again
[ 7005.32] HDQ error: 1
[ 7005.335000] HDQ responds again
[ 7005.585000] power_supply battery: driver failed to report `charge_full' 
property
[ 7664.26] HDQ error: 1
[ 7664.275000] HDQ responds again
[ 7664.52] power_supply battery: driver failed to report `charge_full' 
property

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

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


Re: QtMoko - v11 - WiFi take 2

2009-09-23 Thread Torfinn Ingolfsen
Another thought crossed my mind:
Is there a switch (software) that must be turned on to active the radio of
the WLAN on the FreeRunner?
Perhaps I am missing something very obvious here
(But if the radio was off, 'iwlist eth0 scan' wouldn't show anything,
right?)

-- 
Regards,
Torfinn Ingolfsen
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community