Re: /bin/sh: Syntax error: ( unexpected building kernel

2008-12-07 Thread Asheesh Laroia
On Mon, 8 Dec 2008, Rui Castro wrote:

 Hi,

 I've been trying to compile openmoko kernel and I can't even start
 because of this dummy error:
 -
 $ ./build dummy
 scripts/kconfig/conf -s arch/arm/Kconfig

 scripts/kconfig/conf -s arch/arm/Kconfig
 CHK include/linux/version.h
 /bin/sh: Syntax error: ( unexpected

The script probably has bashisms.  Set /bin/sh to /bin/bash and you'll do 
fine.

See My production system has broken and I just want to get it back up! 
at https://wiki.ubuntu.com/DashAsBinSh .

-- Asheesh.

-- 
The Tree of Learning bears the noblest fruit, but noble fruit tastes bad.

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


Re: [android] Answer calll problems

2008-11-05 Thread Asheesh Laroia

On Wed, 5 Nov 2008, Denis Galv√£o wrote:


And the people from Android are not willing to have such buttons in a
soft way, they will not put them on software, the phone must have at
least four buttons.

How could we survive?


Easy, you fork Android, and do git merge from time to time.

I am happy to offer git hosting.

-- Asheesh.

--
The worst is enemy of the bad.___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtExtended] Anyone got Facebook Integration working?

2008-10-07 Thread Asheesh Laroia
On Wed, 8 Oct 2008, Devendra Gera wrote:

 Hi,
 Has anyone got Facebook contacts integration working yet?

I haven't tried it, but if it comes time that people want email addresses 
out of their Facebook friends, I have code that reliably OCRs email 
addresses out of their emailgen.php image generator.

-- Asheesh.

-- 
The qotc (quote of the con) was Liz's:
My brain is paged out to my liver.

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


Re: problem accessing SD Card SanDisk SDSDQ-8192-E11M

2008-09-10 Thread Asheesh Laroia
On Mon, 8 Sep 2008, Kevin Squire wrote:

 I did try setting the clock lower, (e.g., sd_max_clk=500, even 
 250), but that didn't help.

Keep going to 1/5 of the last value.  Does that help?  A 2GB card I bought 
was only stable at about that clock rate.

At 1/2 of that last value, I think it sometimes worked, just not during 
heavy I/O; that's why I use the word stable.

-- Asheesh.

-- 
lilo Fairlight: udp is the light margarine of tcp/ip transport protocols :)
-- Seen on #Linux

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


Re: Lemmings

2008-08-31 Thread Asheesh Laroia
On Sun, 31 Aug 2008, Justyn Butler wrote:

 Pingus is really great fun with a touchscreen - I used to play it on a 
 tablet PC. It's easier than using a mouse because you just tap the 
 action button (ie dig) and then tap each of the penguins you want to 
 start digging/etc.

 If someone gets it going on the Neo I may never get anything done ever 
 again.

Your wish is my command.

http://packages.debian.org/search?keywords=pingus indicates it's available 
for Debian for FreeRunner.

-- Asheesh.

-- 
Isn't it conceivable to you that an intelligent person could harbor
two opposing ideas in his mind?
-- Adlai Stevenson, to reporters

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


Re: Debian Install.sh error when run under Qtopia

2008-08-22 Thread Asheesh Laroia
On Sat, 23 Aug 2008, Ganesha Krishna wrote:

 Hi,
   I tried Debian install.sh under Qtopia and hit this brick wall.
 (Nandfash = Qtopia 08.08 + kernel from the same package)
 --
 ./install.sh  all
 
 ..
 P: Configuring package apt
 P: Configuring helper cdebootstrap-helper-apt
 E: Internal error: install

I got that error until I downclocked my MMC/micro SD card.  Then it went 
away.

If I had more time, I would wrap the install.sh in a loop where it tries 
this, and if it detects an error, downclocks the MMC clock and retries. 
Right now mine's running at 2.5 Mhz.

-- Asheesh.

-- 
A programming language is low level when its programs require attention
to the irrelevant.

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


Re: Public build host (proposal)

2008-07-24 Thread Asheesh Laroia
On Thu, 24 Jul 2008, Christ van Willegen wrote:

 Well, that's about it :-) A simple Ubuntu- or Debian-machine 'out
 there' on the Internet with up-to-date bild env and the poosibility to
 scp files over would be ideal now :-)

You can borrow an account on my machine for now if you like.  Email me 
off-list.

(Keeping the list in the loop for some reason.)

-- Asheesh.

-- 
This is a job for BOB VIOLENCE and SCUM, the INCREDIBLY STUPID MUTANT DOG.
-- Bob Violence

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


Re: OSCON get together

2008-07-22 Thread Asheesh Laroia
On Sun, 13 Jul 2008, Sameer Verma wrote:

 I will be there as well.

Great - email me off-list and let's chat about setting up a BOF or 
something. (-:

-- Asheesh.

-- 
You are dishonest, but never to the point of hurting a friend.

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


Re: OSCON get together

2008-07-13 Thread Asheesh Laroia
On Sat, 12 Jul 2008, Dirk Bergstrom wrote:

 Are any of you going to be at OSCON?  Do you want to do a BoF session, 
 or schedule some other get together?

I will be there all week and would love to BoF.

-- Asheesh.

-- 
Noncombatant:  A dead Quaker.
-- Ambrose Bierce

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


Re: San Francisco Bay Area Meetup

2008-07-12 Thread Asheesh Laroia
On Fri, 11 Jul 2008, Vijay Vaidyanathan wrote:

 Hi ...
 I have a shiny new FreeRunner that I am planning to play with over the
 weekend, but I find the information on the Wiki a little hard to get started
 with.

Hi all,

Sadly I'm out of town for much of the next few weeks - but any time after 
August 17 I'd love to catch up with Bay Area OpenMoko fans.

-- Asheesh.

-- 
Lost interest?  It's so bad I've lost apathy.

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


Re: GSM Carrier

2008-07-04 Thread Asheesh Laroia
On Fri, 4 Jul 2008, arne anka wrote:

 Or with a little more work you can make the entire thing transparent by 
 setting up a VPN on one of those ports and just directing linux to 
 route all traffic over the VPN.

 i'm sure, if it was that easy to circumvent the restrictions imposed on 
 a 5$ plan, t-mobile would have dropped it already.

If you think that's funny, T-Mobile wifi (in the US) allows you to route 
port 53/UDP to the world before you pay them.  So OpenVPN to a machine on 
port 53 and you're golden.

There is a common mistake in the geek community that once people are aware 
of the problems, they fix them.

-- Asheesh.

-- 
Hildebrant's Principle:
If you don't know where you are going, any road will get you there.

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


Re: GSM Carrier

2008-07-03 Thread Asheesh Laroia
On Thu, 3 Jul 2008, ian douglas wrote:

 Brad Pitcher wrote:
 That is exactly right.  I thought I read about some work around for the 
 port restriction, but I didn't dare to try it so I stuck with the 
 add-on.


 Well, in theory, if you're writing your own app and have a spare IP 
 address, you could write the app to answer on port 12345 and configure 
 that IP address via iptables to listen on port 80 but forward internally 
 to your app on port 12345. Pretty simple redirection.

What I have done in the past is use 'ssh -D' to create a local SOCKS 
proxy to tunnel to another machine running SSHD on port 993.

There are weird latency effects involved in laying all your connections 
over a single TCP connection; better would be see if one can abuse TCP 
packets to a remote port 993 and treat it as UDP, and then do OpenVPN. 
(Or just see if you can do UDP on that network.)

-- Asheesh.

-- 
It's always sad when the fleas leave, because that means your dog is dead.
-- Wesley T. Williams

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


Re: GSoC Project Status Update 04: Speech Recognition in Openmoko

2008-06-29 Thread Asheesh Laroia
On Sun, 29 Jun 2008, saurabh gupta wrote:

Besides this, some modification is being done in the noise rejection
 part since it can degrade the performance wildly. I will use zero crossing
 rate and short term energy algorithm for end point detection. My model will
 also use left to right HMM. But for properly training HMM models one needs
 more than one training sequence. It means that in speaker dependent
 recognition, for training any word, one needs to utter the same word two or
 three times so that proper modeling of HMM parameters take place. When more
 than one training sequence is used for training, baum welch or K-means
 segmental method gives better modeling of HMM  parameters.

The training problem is interesting.  Here is my idea; please let me know 
if it's bogus:

The user utters a phrase and the HMM classifies it as meaning something. 
We can wait a short while to see if the user does something to indicate 
that this classification is incorrect.  If there is no such action, and if 
the HMM had low confidence of its classification, train it on the 
utterance just issued so that next time it would be more confident (and 
presumably catch further variants).

Obviously, there is the danger of over-training.  It seems we can mitigate 
that through (1) our detection that the utterance was correctly classified 
by the HMM, given that the user didn't do anything to correct it, and (2) 
perhaps limiting the system to only do this re-training if the counter of 
how many training data have been used for this particular classification 
is below some constant.  That constant could decay over time, for example, 
to allow us to gently migrate to varying patterns (and so that if a phone 
transfers owners it would gracefully switch to the new patterns).

Thoughts?

 Next To Do:
 1)Porting the whole code on openmoko platform:
 2)testing with real adc channel of Freerunner
 3)Proper testing of noise handling and recognition on freerunner

Your Next To Do list looks pretty great and full enough even without my 
suggestion, but I'm still curious what you and others think. (-:

-- Asheesh.

-- 
The chief cause of problems is solutions.
-- Eric Sevareid

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


Re: GSoC Project Status Update 04: Speech Recognition in Openmoko

2008-06-29 Thread Asheesh Laroia
On Mon, 30 Jun 2008, saurabh gupta wrote:

 You have identified the correct and justified problem in training. I thought
 to handle it in this way. Whenever a user runs this application, the GUI for
 speech recognition will ask it to go in training or recognition mode. In
 training mode, after uttering a word, the GUI will again ask the user to
 utter the same word again and so on. The user will have to feed the training
 word three times (I have assumed that constant to be three) to fully create
 a word in the vocabulary. If the user terminates the application or
 mishandles it before three sequences, the application will not save the
 word.

What do you mean mishandles?

 However there is no easy way to detect the mishandling since if the user 
 neither terminates the application nor speaks training word again, 
 application can pick the louder noise thinking it as the training word 
 and wrong result will be produced. This is always a bigger problem in 
 speech related applications since environment noise as well as end point 
 detection is quite difficult in real world scenario.

You are speaking of the training mode, which I agree is important.

I am instead talking about making the normal use mode a training mode, in 
a way, to non-intrusively improve accuracy.

At least, that's my guess - I think it would be worthwhile to run some 
experiments to see if it's really true!  But if you can explain to me why 
this idea is invalid from the start than maybe we can skip the 
experiments. (-;

-- Asheesh.

-- 
Clear the laundromat!!  This whirl-o-matic just had a nuclear meltdown!!

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


Re: HOPE and OpenMoko

2008-06-29 Thread Asheesh Laroia
On Tue, 24 Jun 2008, Bert Hartmann wrote:

 I don't know if anyone on the list is planning on attending the last 
 H.O.P.E. (http://www.thelasthope.org/) but I could easily see the groups 
 overlapping. It's in NYC a couple weeks after the dates suggested by 
 Steve a week or so ago. (Steve was talking about July 1st/4th, HOPE is 
 July 18-20) Hopefully this means that the FreeRunner will be in our 
 hands in time for it.

I hope so, and I think so!

I've been playing with a Neo1973 on and off in the past nearly-year and 
I'd be happy to chat with others who have been playing with OM hardware or 
who soon will be!

And I will be coming in from out of town to HOPE, though I'll decline your 
group offer for now. (-:

-- Asheesh.

-- 
Remember:  Silly is a state of Mind, Stupid is a way of Life.
-- Dave Butler

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


Re: Bitfrost

2008-06-15 Thread Asheesh Laroia
On Sun, 15 Jun 2008, Dale Schumacher wrote:

 Bitfrost looks likes an interesting security model.  It would be well 
 worth consideration.

The Bitfrost security software isn't fully ready yet, and still being 
integrated with OLPC's sugar package.

It is a nice model, but it is very focused on an interactive computer with 
cleanly separated applications; a tightly-integrated phone would be a less 
obvious match.

Not to throw cold water on the party, just to say, Wait and see a little 
more, and also, try out some OLPC software images in emulators and check 
out the current state of it. (-:

-- Asheesh.

-- 
It's easy to get on the internet and forget you have a life
-- Topic on #LinuxGER

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


Re: regarding the 'data security' thread recently

2008-06-13 Thread Asheesh Laroia
On Tue, 10 Jun 2008, Dave O'Connor wrote:

 see the look on his face when cops walk up to him :)

For this reason I look forward to the GTA03's proposed camera.

-- Asheesh.

-- 
Think honk if you're a telepath.

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


Re: Click Feedback?

2008-06-10 Thread Asheesh Laroia
On Tue, 10 Jun 2008, Michael 'Mickey' Lauer wrote:

 Hi guys,

 we have been shipping pulseaudio (which is quite a CPU hog on embedded 
 systems) on our rootfs for quite a while now. The main reason not to use 
 alsa directly was because of mixing, since alsa dmix absolutely does not 
 cut it.

Is it a CPU hog even when the sounds are all the same frequency and no 
resampling has to be done?

If so, and if the beep file is not the same sample rate as call audio, can 
we resample the beep file?

-- Asheesh.

-- 
Take heart amid the deepening gloom that your dog is finally getting
enough cheese.
 -- National Lampoon, Deteriorata

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


Re: Android on Freerunner ... Would it be possible ?

2008-05-31 Thread Asheesh Laroia

On Sun, 1 Jun 2008, Piotr Duda wrote:


Mikko Rauhala pisze:
[...]

Being a VM platform that just happens to run Linux at the bottom,
probably their jitter will require some work in addition to simple
recompilation, but shouldn't be an unreasonable amount of work.

I think that it could be more work that it seems at first glance. Yes, 
Android is VM platform and yes it runs linux at the bottom, but AFAIK 
its native libs (libc for example) is not taken from gnu/linux as they 
are. I read that libc is BSD based and is tuned/modified/completely 
rewritten (depending where you read it from) by google... what does this 
mean, dont know now yet... I hope that it is not very different from 
that what we know


I look forward to installing...

Google Android/Linux

...and finally telling RMS I'm running Linux on my phone.

-- Asheesh.

--
Chism's Law of Completion:
The amount of time required to complete a government project is
precisely equal to the length of time already spent on it.

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