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 running"X" 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 ) 
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

(: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 running"X" 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 ) 
> 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
> 
> (: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  "EmulateRightButton""1"
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


Bluetooth keyboards

2011-04-10 Thread Sven Hartrumpf
Hi all.

Will bluetooth keyboards work with the freerunner (qtmoko)?
I am especially interested in the
"Freedom Pro Bluetooth Keyboard",
but recommendations are welcome :-)

An alternative could be the one from the wiki:
http://wiki.openmoko.org/wiki/Freedom_Slim_Keyboard
But there is no mention of qtmoko support?

Ciao
Sven

___
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:


_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

(: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: Bluetooth keyboards

2011-04-10 Thread David Lanzendörfer
>Hi all.
Howdy

>Will bluetooth keyboards work with the freerunner (qtmoko)?
Well. It's a fully featured linux.
I recently bought a bluetooth headset.
Works like charm together with my FreeRunner (SHR)
Shouldn't be SUCH a problem to also get it running
under QtMoko and so I guess something simple as a keyboard
will even be less tinkering to get it working.
I bet there are thousand and one HowTos around.

http://www.ubuntugeek.com/howto-setup-bluetooth-keyboard-and-mouse-in-ubuntu.html

Bluetooth+HCID is the keyword

>I am especially interested in the
>"Freedom Pro Bluetooth Keyboard",
>but recommendations are welcome :-)
Yes.

>An alternative could be the one from the wiki:
>http://wiki.openmoko.org/wiki/Freedom_Slim_Keyboard
>But there is no mention of qtmoko support?
The distro only has to serve the needed bt-tools,
then everything will work.

>Ciao
>Sven
best regards
lev


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

2011-04-10 Thread Nick
Gilles Filippini  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:
> 
> 
> _g.
> 
> 
> 
> ___
> Openmoko community mailing list
> community  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-10 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