Re: Some newbee questions about Qtmoko, navit, Vodafone GPRS and battery capacity

2011-07-20 Thread Sebastian Reinhardt

Am 18.07.2011 16:39, schrieb Martix:

2011/7/18 Sebastian Reinhardts...@lmv-hartmannsdorf.de:

Am 18.07.2011 10:04, schrieb Radek Polak:

Sebastian Reinhardt wrote:

3. If I switch off all radio, exccept the gsm, the battery is unloaded
during night (8-9h). Is this OK or is the battery broken (due to long
storage time at Handheld Linux)?

You need to suspend the phone. This can be done with POWER button or
better
lock the sceen in QtMoko home screen.


Yes. I have done this. Example: yesterday evening, the phone was fully
charged and I choose power off gps power off wifi and power off
bluetooth. I locked the screen before going to bed. Today in the morning
(7-8h later) the battery symbol was showing only one bar. Sometimes I got
the alert of an critical battery level, but not today. So I think, anything
is not ok. :-(

Didn't you enabled GSM deep sleep mode on FR without recamping fix?

http://wiki.openmoko.org/wiki/GSM_oscillating_between_registered_and_not_registered_aka_1024

Anyway, check if GSM deep sleep is disabled. There should be an option
for this in NeoControl.

Best Regards,

Martix

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

Ok, I have activated Depp sleep- option in Neocontrol and now battery 
is discharging slower.


The problem with connecting to Vodafone GPRS and also with navit is 
still there.:-(


--
Kind regaards

Sebastian Reinhardt




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


[QtMoko] Patch to modify default userAgent

2011-07-20 Thread Giacomo 'giotti' Mariani

Hello everyone,
 wondering why the mobile visualization was missing in arora I 
found informations about the userAgent (thanks Sanvy).
Following some links I arrived at 
http://www.ericgiguere.com/tools/http-header-viewer.html which, reached 
from qtmoko-arora showed a given string with no mobile keyword. I 
grepped in qtmoko src code and found that the userAgent is probably 
defined in

qtmoko/qtopiacore/qt/src/3rdparty/webkit/WebKit/qt/Api/qwebpage.cpp

As Sanvy reported a very well working string is the following one:
Mozilla/5.0 (Linux; U; Android 1.5; en-us; HTC Dream Build/FRG83) 
AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1


To reach the desired goal, even if in a dirty way, a added two lines to 
qwebpage.cpp:

2509  }
2510 +   ua.clear();
2511 +   ua = QLatin1String(Mozilla/5.0 (Linux; U; Android 1.5; en-us; 
HTC Dream Build/FRG83) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 
Mobile Safari/533.1);

2512  return ua;
2513  }

Now I'm try to compile it, but I'd like to avoid compiling the whole 
system... I found the directory

build/qtopiacore/target/src/3rdparty/webkit/WebCore/

which contains a good project file, but, when I run make, I get:
[...]
make: arm-linux-g++: Command not found
make: *** [.obj/release-shared-emb-arm/qwebpage.o] Error 127

even if the toolchain is well working under normal conditions  (like, 
for example: build/src/3rdparty/applications/neocontrol).


Thanks for any hints,
Giacomo

--
##
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O  ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##


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