Re: Navit problem?

2011-04-12 Thread Radek Polak
On Monday 11 April 2011 17:19:57 Sven Hartrumpf wrote:

 Mon, 11 Apr 2011 11:02:07 +0200, psonek2 wrote:
  http://qtmoko.sourceforge.net/download/Xglamo.deb
 
 Is there a difference between the above file and the one from the debian
 repository?

Xglamo is small embedded version. It's very small (~1MB) and similar e.g. to 
Xfbdev [1] except that it supports glamo.

xserver-xorg-video-glamo is glamo driver for full Xorg server. It's included 
in debian [2]

Regards

Radek


[1] http://packages.debian.org/squeeze/xserver-xfbdev
[2] http://packages.debian.org/en/squeeze/xserver-xorg-video-glamo

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


Re: Navit problem?

2011-04-11 Thread Nick
Gilles Filippini pini at debian.org writes:

 
 Hrabosh a écrit , Le 10/04/2011 19:36:
  Navit seems to run, but it is bigger than
  the screen (I can!t see part of the Navit keyboard, etc.) and I don!t
  have any Navit icon in QX.
 
 I can hardly help you further since I don't use the qtmoko distro. But
 you may want take a look at the wiki pages to find out how to fine tune
 your configuration using the navit.xml file:
 http://wiki.navit-project.org/
 
 _g.
 
 
 
 ___
 Openmoko community mailing list
 community at lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 

Hi everybody,
freshly installed qtmoko_v35 on nand on a freerunner and tried 

1) to install navit via apt-get: doesn't work (apt-get didn't install the
navit.xml for example)

2) to install it via openmobile-zip file. After the map-configuration it starts,
I even get a map, but the gps doesn't work. Starting NeronGPS simultaneously
gives me a gps-signal on Neron but nor on Navit.
I dont get any routing as well.

Did anybody succeed in apt-get install navit ? Or is openmobile the only and
old-fashioned way ?

Where can I see the output from QX/navit ?

Oh gosh, QTmoko is really nice but without Navit .

Greetings,
Nick




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


Re: Navit problem?

2011-04-11 Thread Sven Hartrumpf
Mon, 11 Apr 2011 06:31:24 + (UTC), calypso wrote:
 1) to install navit via apt-get: doesn't work (apt-get didn't install the
 navit.xml for example)

Debian puts navit.xml into /etc/navit/
 
 Did anybody succeed in apt-get install navit?

I still have no X running because I don't know which packages
are needed for Xglamo ...

Ciao
Sven

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


Re: Navit problem?

2011-04-11 Thread Radek Polak
On Sunday 10 April 2011 11:10:24 Carsten Gerlach wrote:

 Wich packages do I have to install for Xglamo?
 
 A apt-cache search glamo gives only the result xserver-xorg-video-glamo
 - X.Org X server -- SMedia Glamo display driver
 
 I have installed this package, but the X server is not starting.
 

http://qtmoko.sourceforge.net/download/Xglamo.deb

Btw it should be as simple as this:

* install qtmoko (v35)
* start qx
* click the button start and when asked choose Xglamo
* wait until everything is installed
* xserver with xterm should start
* twice press AUX to end it

If you want more apps (like navit):

* from shell do apt-get install navit
* run qx
* choose Favourites in menu
* if the package installs .desktop file to /usr/share/application it will have 
icon there, so click it to enable it
* you can use menu-Settings on the application list item to adjust settings 
like window manager.
* if the app does not have .desktop file you can launch xterm and start it from 
there

Regards

Radek


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


Re: Navit problem?

2011-04-11 Thread Radek Polak
On Sunday 10 April 2011 19:36:00 Hrabosh wrote:

 Then I installed Xglamo and Navit seems to run, but it is bigger than
 the screen (I can!t see part of the Navit keyboard, etc.) and I don!t
 have any Navit icon in QX.

Please check QX-Menu-Favourites and enable navit from there - it should work 
if navit installs /usr/share/applications/navit.deskop

The screen could be fixed if you enable window manager in application settings. 
Current QX window manager is quite simple, you might need to use matchbox for 
more complex things.

Regards

Radek

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


Re: Navit problem?

2011-04-11 Thread Gilles Filippini
Sven Hartrumpf a écrit , Le 11/04/2011 08:50:
 I still have no X running because I don't know which packages
 are needed for Xglamo ...

This question has been answered already:
xserver-xorg-video-glamo

_g.



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit problem?

2011-04-11 Thread Sven Hartrumpf
Mon, 11 Apr 2011 15:20:48 +0200, pini wrote:
 Sven a écrit , Le 11/04/2011 08:50:
 I still have no X running because I don't know which packages
 are needed for Xglamo ...
 
 This question has been answered already:
   xserver-xorg-video-glamo

Thanks for your patience.
This worked and automatically installed the following packages:

keyboard-configuration libaudit0 libdrm2 libpciaccess0 libxkbfile1 
x11-xkb-utils xkb-data xserver-common xserver-xorg xserver-xorg-core 
xserver-xorg-input-all xserver-xorg-input-evdev
  xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-glamo

Sven

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


Re: Navit problem?

2011-04-11 Thread Sven Hartrumpf
Mon, 11 Apr 2011 11:02:07 +0200, psonek2 wrote:
 http://qtmoko.sourceforge.net/download/Xglamo.deb

Is there a difference between the above file and the one from the debian
repository?
 
 Btw it should be as simple as this:

...

Thanks for the detailed steps.
X works ok now (with Xglamo from the repository).
Sven

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


Re: Navit problem?

2011-04-11 Thread Hrabosh
Radek Polak píše v Po 11. 04. 2011 v 13:28 +0200:
 On Sunday 10 April 2011 19:36:00 Hrabosh wrote:
 
  Then I installed Xglamo and Navit seems to run, but it is bigger than
  the screen (I can!t see part of the Navit keyboard, etc.) and I don!t
  have any Navit icon in QX.
 
 Please check QX-Menu-Favourites and enable navit from there - it should 
 work 
 if navit installs /usr/share/applications/navit.deskop
 
 Yes, it works!


 The screen could be fixed if you enable window manager in application 
 settings. 
 Current QX window manager is quite simple, you might need to use matchbox for 
 more complex things.
 

Yes, it works too! I've checked:
Prevent suspending
Use window manager
Enable GPS module
Fullscreen

And Navit now seems to run properly. I just need to play with navit.xml
to set correct maps, etc.

Thank you !!

Hrabosh

 Regards
 
 Radek
 
 ___
 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: Navit problem?

2011-04-11 Thread Carsten Gerlach
Hello,

Am Montag 11 April 2011 schrieb Radek Polak:
 Btw it should be as simple as this:

[step by step instructions]

Thanks for this good description, now it works! :-)

Greetings, Carsten

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


Re: Navit problem?

2011-04-10 Thread Sven Hartrumpf
Sat, 9 Apr 2011 14:58:08 +0200, psonek2 wrote:
 When I started QX from the GUI I had to install an X server.
 Which one is recommended? (Xorg or Xglamo?)
 
 I would go for Xglamo - it's very small (~1MB) and well tested.

Thanks for your recommendation.

 I have tested it on fresh v35 install and i worked just fine.

Where to find the package (the package does not seem to have an obvious name)?
The only one I found is:
xserver-xorg-video-glamo

Ciao
Sven

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


Re: Navit problem?

2011-04-10 Thread Carsten Gerlach
Hello,

I have the same problems as Sven, so sorry for hijacking this thread.

Am Samstag 09 April 2011 schrieb Radek Polak:
 Sven Hartrumpf wrote:
  When I started QX from the GUI I had to install an X server.
  Which one is recommended? (Xorg or Xglamo?)
 
 I would go for Xglamo - it's very small (~1MB) and well tested. I have
 tested it on fresh v35 install and i worked just fine.

Wich packages do I have to install for Xglamo?

A apt-cache search glamo gives only the result xserver-xorg-video-glamo - 
X.Org X server -- SMedia Glamo display driver

I have installed this package, but the X server is not starting.

  I tried both, but with no success (I saw Raptor install packages,
  but no error message; it could be that the root fs is full now).
  
  So, I tried
  
  apt-get install xserver-xorg
  
  which worked, but starting xterm (or navit) from QX leads to:
  
  Unable to connect to X server
 
 If you try runningX from command line does it work? Maybe uninstall the
 xserver-xorg (or remove /usr/bin/X) and QX should use Xglamo automatically.

A start of X gives the error

Failed to load module fbdev 

So I installed the package xserver-xorg-video-fbdev

Now the error was:

(EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed 
(/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or 
directory)
(EE) GLX: could not load software renderer

After the installing libxcb-glx0 libgl1-mesa-swx11 libgl1-mesa-dri I get no 
error messages, only this output

root@neo:~# X

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-rc9 armv5tel Debian
Current Operating System: Linux neo 2.6.34-qtmoko #1 Tue Mar 29 19:36:17 UTC 
2011 armv4tl
Kernel command line: loglevel=4 console=tty0 console=ttySAC2,115200 
init=/sbin/init ro  mtdparts=physmap-flash:-(nor);neo1973-
nand:0x0004(qi),0x0004(depr-ub-
env),0x0080(kernel),0x000a(depr),0x0004(identity-
ext2),0x0f6a(rootfs)  g_ether.dev_addr=00:1F:11:01:55:3F 
g_ether.host_addr=00:1F:11:01:55:40  root=/dev/mmcblk0p1 rootdelay=1 
console=tty0 loglevel=3 rootwait
Build Date: 19 February 2011  03:00:40PM
xorg-server 2:1.7.7-13 (Cyril Brulebois k...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sun Apr 10 11:03:15 2011
(==) Using system config directory /usr/share/X11/xorg.conf.d
Primary device is not PCI
SELinux: Disabled on system, not enabling in X server

The screen becomes black and after clicking on the screen the graphic is 
redrawn. But a start of navit gives the old message

root@neo:~# navit
navit:main_init:Warning: LC_ALL is set, this might lead to problems (e.g. 
strange positions from GPS)
map_rect_new_textfile unable to open textfile /root/.navit/bookmark.txt

(unknown:1081): Gtk-WARNING **: cannot open display:

Greetings, Carsten
-- 

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


Re: Navit problem?

2011-04-10 Thread Hrabosh

If you are connected via SSH, you need to set DISPLAY variable first.

Something like:

root@neo:~# DISPLAY=:0.0 navit


may work...


Hrabosh




Carsten Gerlach píše v Ne 10. 04. 2011 v 11:10 +0200:
 Hello,
 
 I have the same problems as Sven, so sorry for hijacking this thread.
 
 Am Samstag 09 April 2011 schrieb Radek Polak:
  Sven Hartrumpf wrote:
   When I started QX from the GUI I had to install an X server.
   Which one is recommended? (Xorg or Xglamo?)
  
  I would go for Xglamo - it's very small (~1MB) and well tested. I have
  tested it on fresh v35 install and i worked just fine.
 
 Wich packages do I have to install for Xglamo?
 
 A apt-cache search glamo gives only the result xserver-xorg-video-glamo - 
 X.Org X server -- SMedia Glamo display driver
 
 I have installed this package, but the X server is not starting.
 
   I tried both, but with no success (I saw Raptor install packages,
   but no error message; it could be that the root fs is full now).
   
   So, I tried
   
   apt-get install xserver-xorg
   
   which worked, but starting xterm (or navit) from QX leads to:
   
   Unable to connect to X server
  
  If you try runningX from command line does it work? Maybe uninstall the
  xserver-xorg (or remove /usr/bin/X) and QX should use Xglamo automatically.
 
 A start of X gives the error
 
 Failed to load module fbdev 
 
 So I installed the package xserver-xorg-video-fbdev
 
 Now the error was:
 
 (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed 
 (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or 
 directory)
 (EE) GLX: could not load software renderer
 
 After the installing libxcb-glx0 libgl1-mesa-swx11 libgl1-mesa-dri I get no 
 error messages, only this output
 
 root@neo:~# X
 
 X.Org X Server 1.7.7
 Release Date: 2010-05-04
 X Protocol Version 11, Revision 0
 Build Operating System: Linux 2.6.31-rc9 armv5tel Debian
 Current Operating System: Linux neo 2.6.34-qtmoko #1 Tue Mar 29 19:36:17 UTC 
 2011 armv4tl
 Kernel command line: loglevel=4 console=tty0 console=ttySAC2,115200 
 init=/sbin/init ro  mtdparts=physmap-flash:-(nor);neo1973-
 nand:0x0004(qi),0x0004(depr-ub-
 env),0x0080(kernel),0x000a(depr),0x0004(identity-
 ext2),0x0f6a(rootfs)  g_ether.dev_addr=00:1F:11:01:55:3F 
 g_ether.host_addr=00:1F:11:01:55:40  root=/dev/mmcblk0p1 rootdelay=1 
 console=tty0 loglevel=3 rootwait
 Build Date: 19 February 2011  03:00:40PM
 xorg-server 2:1.7.7-13 (Cyril Brulebois k...@debian.org) 
 Current version of pixman: 0.16.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Sun Apr 10 11:03:15 2011
 (==) Using system config directory /usr/share/X11/xorg.conf.d
 Primary device is not PCI
 SELinux: Disabled on system, not enabling in X server
 
 The screen becomes black and after clicking on the screen the graphic is 
 redrawn. But a start of navit gives the old message
 
 root@neo:~# navit
 navit:main_init:Warning: LC_ALL is set, this might lead to problems (e.g. 
 strange positions from GPS)
 map_rect_new_textfile unable to open textfile /root/.navit/bookmark.txt
 
 (unknown:1081): Gtk-WARNING **: cannot open display:
 
 Greetings, Carsten



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


Re: Navit problem?

2011-04-10 Thread Gilles Filippini
Carsten Gerlach a écrit , Le 10/04/2011 11:10:
 A start of X gives the error
 
 Failed to load module fbdev 

What is in your xorg.conf file?

Here is mine:

pini@debian-gta02:~$ cat /etc/X11/xorg.conf
# Xorg configuration for an Openmoko FreeRunner
Section InputClass
Identifier  Clic droit
MatchIsTouchscreen  on
Option  EmulateRightButton1
EndSection

Section Device
Identifier  Configured Video Device
Driver  glamo
#   Driver  fbdev
EndSection

_g.



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit problem?

2011-04-10 Thread Hrabosh
Sven Hartrumpf píše v So 09. 04. 2011 v 12:11 +0200:
 Hi.
 
 Fri, 08 Apr 2011 21:26:31 +0200, pini wrote:
  I am trying Navit for the first time and followed these instructions:
  
  http://wiki.openmoko.org/wiki/QtMoko#Navit_Installation
  
  Works fine, but after the suggested reboot, I just see
  Enter PIN the press Unlock (no numbers field as usual).
  The screen and the buttons do not react in any way.
 
 I had to flash again :-(
 
  IIUC qtmoko is based on Debian. Why not install
 
 Because I trusted the Wiki page :-)
 Could someone knowledgable update the Navit section, please?
 (OK, _if_ I get Navit working (see below), I could do this myself.)
 
  Navit from the
  appropriate Debian repository?
 
 OK. I tried this now.
 
 The following works without adjusting repositories:
 
 apt-get install navit

I did the same. Also gpsd should be installed.

Then I installed Xglamo and Navit seems to run, but it is bigger than
the screen (I can!t see part of the Navit keyboard, etc.) and I don!t
have any Navit icon in QX.




 
 When I started QX from the GUI I had to install an X server.
 Which one is recommended? (Xorg or Xglamo?)
 I tried both, but with no success (I saw Raptor install packages,
 but no error message; it could be that the root fs is full now).
 
 So, I tried
 
 apt-get install xserver-xorg
 
 which worked, but starting xterm (or navit) from QX leads to:
 
 Unable to connect to X server
 
 Ciao
 Sven
 
 ___
 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: Navit problem?

2011-04-10 Thread Gilles Filippini
Hrabosh a écrit , Le 10/04/2011 19:36:
 Navit seems to run, but it is bigger than
 the screen (I can!t see part of the Navit keyboard, etc.) and I don!t
 have any Navit icon in QX.

I can hardly help you further since I don't use the qtmoko distro. But
you may want take a look at the wiki pages to find out how to fine tune
your configuration using the navit.xml file:
http://wiki.navit-project.org/

_g.



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Navit problem?

2011-04-10 Thread Carsten Gerlach
Hello,

Am Sonntag 10 April 2011 schrieb Gilles Filippini:
 Carsten Gerlach a écrit , Le 10/04/2011 11:10:
  A start of X gives the error
  
  Failed to load module fbdev
 
 What is in your xorg.conf file?

I didn't have this file. So I created it with your template and after a reboot 
the known error at starting navit Gtk-WARNING **: cannot open display: is 
gone.

Navit starts (the background color occurs), but it directly gets frozen. And 
if you click on the screen, the desktop becomes visible step by step.

By the way this happens only if i start navit in the terminal on the neo 
directly. If I want to start it over a ssh session from my laptop I get the 
well nown error:

root@neo:~# navit
navit:main_init:Warning: LC_ALL is set, this might lead to problems (e.g. 
strange positions from GPS)
map_rect_new_textfile unable to open textfile /root/.navit/bookmark.txt

(unknown:1388): Gtk-WARNING **: cannot open display: 

It is possible to start a program over ssh on an other device?


Thanks, Carsten

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


Re: Navit problem?

2011-04-09 Thread Sven Hartrumpf
Hi.

Fri, 08 Apr 2011 21:26:31 +0200, pini wrote:
 I am trying Navit for the first time and followed these instructions:
 
 http://wiki.openmoko.org/wiki/QtMoko#Navit_Installation
 
 Works fine, but after the suggested reboot, I just see
 Enter PIN the press Unlock (no numbers field as usual).
 The screen and the buttons do not react in any way.

I had to flash again :-(

 IIUC qtmoko is based on Debian. Why not install

Because I trusted the Wiki page :-)
Could someone knowledgable update the Navit section, please?
(OK, _if_ I get Navit working (see below), I could do this myself.)

 Navit from the
 appropriate Debian repository?

OK. I tried this now.

The following works without adjusting repositories:

apt-get install navit

When I started QX from the GUI I had to install an X server.
Which one is recommended? (Xorg or Xglamo?)
I tried both, but with no success (I saw Raptor install packages,
but no error message; it could be that the root fs is full now).

So, I tried

apt-get install xserver-xorg

which worked, but starting xterm (or navit) from QX leads to:

Unable to connect to X server

Ciao
Sven

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


Re: Navit problem?

2011-04-09 Thread Radek Polak
Sven Hartrumpf wrote:

 When I started QX from the GUI I had to install an X server.
 Which one is recommended? (Xorg or Xglamo?)

I would go for Xglamo - it's very small (~1MB) and well tested. I have tested 
it on fresh v35 install and i worked just fine.

 I tried both, but with no success (I saw Raptor install packages,
 but no error message; it could be that the root fs is full now).
 
 So, I tried
 
 apt-get install xserver-xorg
 
 which worked, but starting xterm (or navit) from QX leads to:
 
 Unable to connect to X server

If you try runningX from command line does it work? Maybe uninstall the 
xserver-xorg (or remove /usr/bin/X) and QX should use Xglamo automatically.

Regards

Radek

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


Re: Navit problem?

2011-04-08 Thread Gilles Filippini
Sven Hartrumpf a écrit , Le 08/04/2011 17:50:
 Hi all.
 
 (This is on a freerunner with qtmoko v35.)
 
 I am trying Navit for the first time and followed these instructions:
 
 http://wiki.openmoko.org/wiki/QtMoko#Navit_Installation
 
 Works fine, but after the suggested reboot, I just see
 Enter PIN the press Unlock (no numbers field as usual).
 The screen and the buttons do not react in any way.
 
 What to do now?

IIUC qtmoko is based on Debian. Why not install Navit from the
appropriate Debian repository?

_g.



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community