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

2011-07-25 Thread Sebastian Reinhardt

Ok, the battery problem is gone and navit is working.
The last problem, GPRS connection with German Vodafone network, is 
partially solved. I had started the QtMoko which was installed on NAND 
(there the dialup- file was created by QtMoko). I copied and renamed the 
file and rebooted from sd-card.

The content of /etc/ppp/peers/dialup1310986139 is:
---
115200
lcp-echo-failure 0
lcp-echo-interval 0
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
crtscts
ipcp-accept-local
noipdefault
modem
user vodafone
demand
idle 120
defaultroute
connect-delay 7
remotename dialup1310986139
---
Now I am able to dial in to the Vodafone network. I set GPRS- connection 
to default gateway, but I can not get any webpage in Aurora or any 
other  data (ex. pings on console). If I type in ifdown usb0 (not 
connected to PC!), then I can surf in web!?! Is this ok? Is there an 
better easier solution? The route- command shows two default gateways (I 
think this is the problem) and any ping s were done by using usb0- 
device...strange. If I switch of the usb0- device, the route entry of 
usb0 is automatically deleted and after ifup usb0 this entry is 
created again and getting data via usb0 is possible.

--

Kind regaards

Sebastian Reinhardt



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


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

2011-07-25 Thread Patryk Benderz
[cut]
 The content of /etc/ppp/peers/dialup1310986139 is:
 ---
 115200
 lcp-echo-failure 0
 lcp-echo-interval 0
 novj
 nobsdcomp
 novjccomp
 nopcomp
 noaccomp
I think most of operator uses at least one of compression methods to
save bandwidth. Turning off these options is unwise.
[cut]

 defaultroute
This command tells pppd to add your vodafone PPP connection as default
route.

 connect-delay 7
 remotename dialup1310986139
 ---
 Now I am able to dial in to the Vodafone network. I set GPRS-
 connection to default gateway
This should be done earlier by pppd, thus not necessary.

 , but I can not get any webpage in Aurora or any other  data (ex.
 pings on console). If I type in ifdown usb0 (not connected to PC!
 ), then I can surf in web!?! Is this ok?
No. Set up routing correctly. PPP scripts allow to start commands on
creating and destroying PPP connection.

  Is there an better easier solution? The route- command shows two
 default gateways (I think this is the problem)
you are correct. There should be only one default GW.

  and any ping s were done by using usb0- device...strange. If I switch
 of the usb0- device, the route entry of usb0 is automatically deleted
Are you sure. Few lines above you have mentioned, that you have two
GW... anyway, I would avoid setting up routing to your PC host via usb0
interface as a default route. Use static route instead.

-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


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


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

2011-07-25 Thread Dmitry Chistikov
Patryk Benderz, Jul. 25, 2011, 14:42 +0200:
   and any ping s were done by using usb0- device...strange. If I switch
  of the usb0- device, the route entry of usb0 is automatically deleted
 Are you sure. Few lines above you have mentioned, that you have two
 GW... anyway, I would avoid setting up routing to your PC host via usb0
 interface as a default route. Use static route instead.

I would suggest simply setting the metric of the default route via usb0
to, say, 10.

-- 
Dmitry Chistikov

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


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

2011-07-22 Thread Patryk Benderz
[cut]
 But now, the GPRS problem is still unsolved. Can anybody give me an 
 hint/ suggestion?
Please cut citations - there is no need to resend all this. Is this a new SIM 
card? Did you use it in another phone?
-- 
Patryk LeadMan Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


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


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

2011-07-21 Thread Sebastian Reinhardt

Am 20.07.2011 13:41, schrieb 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.:-(


I downloaded the latest version of navit and used an new navit.xml- 
file. Now navit works (I think, I deleted the section with html 
definition of the subpages?!?)!


It seems that the deep sleep- option solved the battery problem.

But now, the GPRS problem is still unsolved. Can anybody give me an 
hint/ suggestion?


--
Kind regaards

Sebastian Reinhardt



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


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


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

2011-07-18 Thread Radek Polak
Sebastian Reinhardt wrote:

 2. I tried to use Vodafone GPRS (Germany). But this did not work! I get
 a failure notice, that file /etc/ppp/peers/dialup1310463241 was not
 found. I found an example file in /usr/share/doc/ppp/examples called
 peers-gprs. But I am not sure about the config entries in this file
 and if I need another files.So has anybody an working Vodafone
 configuration for Germany and can tell me someting about the correct
 entries in these files? I made the config with the Qtmoko GUI, but these
 file(s) are missing :-(

It should be possible to configure GPRS with the GUI. You need to fill APN and 
sometimes also dummy username and password.

 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.

Regards

Radek

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


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

2011-07-18 Thread Giacomo 'giotti' Mariani

Hello,

  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.

Regards

Radek
I also suggest you, if it is not what you do, to look at the status of 
the radios with om, just tobe sure ;-)


Regards
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


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

2011-07-18 Thread Sebastian Reinhardt

Am 18.07.2011 10:04, schrieb Radek Polak:

Sebastian Reinhardt wrote:


2. I tried to use Vodafone GPRS (Germany). But this did not work! I get
a failure notice, that file /etc/ppp/peers/dialup1310463241 was not
found. I found an example file in /usr/share/doc/ppp/examples called
peers-gprs. But I am not sure about the config entries in this file
and if I need another files.So has anybody an working Vodafone
configuration for Germany and can tell me someting about the correct
entries in these files? I made the config with the Qtmoko GUI, but these
file(s) are missing :-(

It should be possible to configure GPRS with the GUI. You need to fill APN and
sometimes also dummy username and password.

I have done it wit the gui, but then the described file was missing and 
I got no gprs connection (aborts immediately after pressing connect).
After deleting and configuring again, the failure notice is still there. 
Please take a look at:
http://scap.linuxtogo.org; id=4090 (uploaded screenshot of qtmoko 
config dialog)

/var/log/messages is showing this line:
--
Jul 18 12:53:17 neo Qtopia: /usr/sbin/pppd: Can't open options file 
/etc/ppp/peers/dialup1310986139: No such file or directory

--
In /etc/ppp/peers/ is only an file called provider!

The name of dialup- file is changed, is this correct?


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. :-(

Regards

Radek

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



Alos, I have installed navit with apt-get. Now I get connection to 
gpsd and the position is displayed.

But I got a new problem:
If I tab on the map, to get the access to navit's menu, navit is crashing.

Staring navit eith QX shows this log-messages:
---
 (II) verbosity set to 5
Jul 18 12:16:31 neo Qtopia: Using GLAMO 3362 card
Jul 18 12:16:31 neo Qtopia: (II) Screen: 16/16 depth/bpp
Jul 18 12:16:31 neo Qtopia: (II) vram size:8323072, onscreen vram 
size:614400, offscreen vram size:7708672

Jul 18 12:16:31 neo Qtopia: (II) initialising offscreen pixmaps
Jul 18 12:16:32 neo Qtopia: error opening security policy file 
/usr/lib/xserver/SecurityPolicy
Jul 18 12:16:32 neo Qtopia: Extended Input Devices not yet supported. 
Impelement it at line 637 in ../../../../hw/kdrive/src/kinput.c
Jul 18 12:16:33 neo Qtopia: Could not init font path element 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

Jul 18 12:16:33 neo Qtopia:
Jul 18 12:16:33 neo Qtopia: (process:2430): Gtk-WARNING **: Locale not 
supported by C library.

Jul 18 12:16:33 neo Qtopia: ^IUsing the fallback 'C' locale.
Jul 18 12:16:34 neo Qtopia:
Jul 18 12:16:34 neo Qtopia: (unknown:2430): Gdk-WARNING **: locale not 
supported by C library
Jul 18 12:16:34 neo Qtopia: navit:convert_to_attrs:failed to create 
attribute 'announce' with value '1'
Jul 18 12:16:34 neo Qtopia: vehicle_gpsd:vehicle_gpsd_try_open:Trying to 
connect to localhost:default

Jul 18 12:16:34 neo Qtopia: netlib_connectsock() returns socket on fd 21
Jul 18 12:16:34 neo Qtopia: vehicle_gpsd:vehicle_gpsd_try_open:Connected 
to gpsd fd=21 evwatch=0xb2a50
Jul 18 12:16:36 neo Qtopia: navit:main_real:Using 
'/home/root/.navit/navit.xml'

Jul 18 12:16:36 neo Qtopia: navit:osd_set_std_graphic:accesskey (null)
Jul 18 12:16:37 neo last message repeated 9 times

Then navit is working. But If I try to access menu, navit is going down:

Jul 18 12:17:04 neo Qtopia: GNU gdb (GDB) 7.0.1-debian
Jul 18 12:17:04 neo Qtopia: Copyright (C) 2009 Free Software Foundation, 
Inc.
Jul 18 12:17:04 neo Qtopia: License GPLv3+: GNU GPL version 3 or later 
http://gnu.org/licenses/gpl.html
Jul 18 12:17:04 neo Qtopia: This is free software: you are free to 
change and redistribute it.
Jul 18 12:17:04 neo Qtopia: There is NO WARRANTY, to the extent 
permitted by law.  Type show copying

Jul 18 12:17:04 neo Qtopia: and show warranty for details.
Jul 18 12:17:04 neo Qtopia: This GDB was configured as arm-linux-gnueabi.
Jul 18 12:17:04 neo Qtopia: For bug reporting instructions, please see:
Jul 18 12:17:04 neo Qtopia: 

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

2011-07-18 Thread Martix
2011/7/18 Sebastian Reinhardt s...@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


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

2011-07-17 Thread Sebastian Reinhardt
Hi, a few weeks ago I purchased an Freerunner. I decided to install 
Qtmoko v3.5 on an 8GB sd-card. Most things working like a charm. But I 
have some problems:
1. I installed navit form the zip- file, according to the wiki. But I do 
not get the gps position, in NeronGPS I get the fix. I installed also 
gpsd via apt-get and by starting  /usr/sbin/gpsd -F 
/var/run/gpsd.sock -P /var/run/gpsd.pid /dev/ttySAC1 I get NMEA output 
with gpsmon. The navit.xml- file includes also the line vehicle 
name=Local GPS profilename=car enabled=yes active=1 
source=gpsd://localhost gpsd_query=w+xj . So there is the problem?


2. I tried to use Vodafone GPRS (Germany). But this did not work! I get 
a failure notice, that file /etc/ppp/peers/dialup1310463241 was not 
found. I found an example file in /usr/share/doc/ppp/examples called 
peers-gprs. But I am not sure about the config entries in this file 
and if I need another files.So has anybody an working Vodafone 
configuration for Germany and can tell me someting about the correct 
entries in these files? I made the config with the Qtmoko GUI, but these 
file(s) are missing :-(


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)?


Ok, these are the first questions about my new Freerunner. The additonal 
questions about using my VirtualLaser Keyboard (Bluetooth connection, 
working with my openSUSE 11.3 Notebook) and the use of an external, USB 
connected LAN- adapter are asked later. :-)


--
Kind regaards

Sebastian Reinhardt




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


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

2011-07-17 Thread Timo Juhani Lindfors
Sebastian Reinhardt s...@lmv-hartmannsdorf.de writes:
 1. I installed navit form the zip- file, according to the wiki.

I'm not a qtmoko user but I know about navit. Can you give me a link to
the binary you used? Does it have source code too?

 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)?

If the phone is not in suspend this will definitely happen.

-Timo

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


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

2011-07-17 Thread Alishams Hassam
install navit with apt-get, it will show up in QX. then ensure the
option for the gps module is checked and you're good to go.

On 7/17/11, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 Sebastian Reinhardt s...@lmv-hartmannsdorf.de writes:
 1. I installed navit form the zip- file, according to the wiki.

 I'm not a qtmoko user but I know about navit. Can you give me a link to
 the binary you used? Does it have source code too?

 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)?

 If the phone is not in suspend this will definitely happen.

 -Timo

 ___
 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