Re: power drain after wifi connection

2011-05-27 Thread Alfa21-mobile
 I am quite sure they are not called after disconnect. I think that the kernel
 is responsible to turn wifi off in suspend (unless you want to keep it on 
 during
 suspend e.g. for wake-on-wlan function).

 Yes, in suspend the kernel turns off the module completely, it
 shouldn't drain anything, at least it never used to.


ok, after some testing sessions I can confirm a unbind/bind cycle can
be used as workaround and the battery is in safe.
also empirically, I feel my gta02 gets warm a little when in stdby if
I do not unbind, removing the rear cover, in the area between the
battery and the smile hole.
instead if I never use wifi or unbind/rebind after the use, it keeps
the normal (ambient) temperature.

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


Re: x11vnc and QTMoko

2011-05-27 Thread Philip Rhoades

giacomo,


On 2011-05-25 20:26, giacomo 'giotti' mariani wrote:

On 05/04/2011 08:45 PM, Philip Rhoades wrote:

giacomo,


On 2011-05-03 01:03, giacomo 'giotti' mariani wrote:



Not sure what you mean about QX

I thought that x11vnc could stay for: vnc for x11, i.e. vnc for qx.
But it does not work in qx even, at least for me.


- what I do is:

- from my desktop ssh to neo:

ssh 192.168.0.202

- and then start my script:

./px11vnc.sh

- from another window on my desktop run:

vncviewer 192.168.0.202

my Neo display then shows up on my desktop and as long as I keep the
mouse pointer in the Neo window I can type into text messages etc from
the desktop machine.

I do exactly the same, but I can't input...


Does that help?

No, but thanks alike.



Hmmm . . not sure what else I can suggest . . and clicking with the
mouse on Neo icons definitely doesn't work either?

Phil.

Hi Phil,
I installed a new OS (kubuntu 11.04) and a new vnc client (krdc) and I
tried x11vnc again.

I obtained similar results, with the same problem, but I noticed an
error (new?):

25/05/2011 12:05:02 pipeinput: starting: ./qt_tslib_inject_kbdhack.pl...
Can't locate ./kbdhack.pl in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at ./qt_tslib_inject_kbdhack.pl line 36.

Have you got any idea on when I can find that file?



That is one of the file I placed on the site for download - it should be 
in the same directory with px11vnc.sh - I just have them in:


/root

and run them from there.

Regards,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au

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


Re: x11vnc and QTMoko

2011-05-27 Thread giacomo 'giotti' mariani

Hi Philip,

[...]
25/05/2011 12:05:02 pipeinput: starting: 
./qt_tslib_inject_kbdhack.pl...

Can't locate ./kbdhack.pl in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl .) at ./qt_tslib_inject_kbdhack.pl line 36.

Have you got any idea on when I can find that file?



That is one of the file I placed on the site for download - it should 
be in the same directory with px11vnc.sh - I just have them in:


/root

and run them from there.

Regards,

Phil.
Thank you very much, but in 
http://qtmoko.sourceforge.net/download/x11vnc/ I can't see it... could 
you please send the its link?


Cheers
   Giacomo

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


Dialling INTO a wireless broadband modem with OpenMoko

2011-05-27 Thread Philip Rhoades

People,

I have a remote server with a wireless broadband modem (dongle) on it 
and when am visiting the remote site I can make sure the dongle is 
connected to the provider and leave it running like that.  The 
connection usually stays up for some days - allowing me to log in to it 
remotely - but inevitably the dongle disconnects.  I am wondering if it 
would be possible to use minicom on the Freerunner to dial the phone 
number of the remote dongle, make a connection and give me a dumb 
terminal login to the server that the dongle is on.  It seems that this 
would just be a wireless version of what I used to do in the good ol' 
days with wired, acoustic modems connected to standard phone lines.  Is 
there some way to do what I want?  If it is possible, it would be a much 
nicer solution than leaving the remote dongle connected to the provider.


Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au

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


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-27 Thread Paul Fertser
Philip Rhoades p...@pricom.com.au writes:
 I am wondering if it would be possible to use minicom on the
 Freerunner to dial the phone number of the remote dongle, make a
 connection

If CSD[1] is available from your provider, then you can do that,
right. If not, all you can do is to write some smart enough script
that would do something with the connection once it tears off (in
fact, probably simply adding persist option to pppd will suffice).

[1] http://en.wikipedia.org/wiki/Circuit_Switched_Data

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-27 Thread Philip Rhoades

Paul,


On 2011-05-28 04:25, Paul Fertser wrote:

Philip Rhoadesp...@pricom.com.au  writes:

I am wondering if it would be possible to use minicom on the
Freerunner to dial the phone number of the remote dongle, make a
connection


If CSD[1] is available from your provider, then you can do that,
right. If not, all you can do is to write some smart enough script
that would do something with the connection once it tears off (in
fact, probably simply adding persist option to pppd will suffice).

[1] http://en.wikipedia.org/wiki/Circuit_Switched_Data



OK, I will check with VirginMobile (Australia) but if that doesn't work 
I could switch to Telstra.  Are there some working scripts around to do 
the PPP stuff?


Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au

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


[QtMoko] Melodiq patch proposal

2011-05-27 Thread Delian
Hi,
I'm wandering why melodiq doesn't working anymore, so I've checked the code.
Audiotag has changed a little the way it pass the PHPSESSID ( now through a 
cookie).

I've not tried this patch because I've not a working buildhost but it will 
work, I suppose ( or maybe with some little changes ).

232c232
 runProc(curl -F uploadedfile=@ + SAMPLE2_FILE +  -F step=21 
http://audiotag.info/index.php;);
---
 runProc(curl -F uploadedfile=@ + SAMPLE2_FILE +  -F step=21 -c - 
http://audiotag.info/index.php;);
367c367
 sid = extractVal(name=\PHPSESSID\ value=\, \);
---
 sid = extractVal(PHPSESSID   , \n);

Explaination:
add -c - to curl command: instruct curl to store cookie and send it to stdout.

Change extactVal strings to follow the cookie display format of curl. ( I'm 
not sure if this is ok)

It's a 5 min patch, you're warned :)

Bye!

-- 
Marco aka Delian

# On IRC freenode my nickname is: /marco

-
I would love to change the world, but they won't give me the source code
-


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


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-27 Thread Paul Fertser
Hi,

On Sat, May 28, 2011 at 06:59:33AM +1000, Philip Rhoades wrote:
 On 2011-05-28 04:25, Paul Fertser wrote:
 Philip Rhoadesp...@pricom.com.au  writes:
 I am wondering if it would be possible to use minicom on the
 Freerunner to dial the phone number of the remote dongle, make a
 connection

 If CSD[1] is available from your provider, then you can do that,
 right. If not, all you can do is to write some smart enough script
 that would do something with the connection once it tears off (in
 fact, probably simply adding persist option to pppd will suffice).

 OK, I will check with VirginMobile (Australia) but if that doesn't work  
 I could switch to Telstra.  Are there some working scripts around to do  
 the PPP stuff?

There's plenty of examples for using gprs/3g under GNU/Linux the
manual way.

I assume you're already using pppd for establishing the connection
from the remote system to some host in the internet that you
control. I think simply adding persist lcp-echo-failure 10
lcp-echo-interval 5 options to its config (/etc/ppp/options or
/etc/ppp/peers/yourpppdscript or some other way specific to how you
start pppd) should be enough.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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