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


Navit problem?

2011-04-08 Thread Sven Hartrumpf
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?

Greetings
Sven

___
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


Re: espeak, mbrola, utf8, navit : problem with french accentuated letters

2009-01-02 Thread Xavier Cremaschi
Now I am trying to plug everything into speed-dispatcher...

I added in /etc/speech-dispatcher/speechd.conf
   DefaultLanguage fr
   AddModule mbrola sd_generic mbrola.conf
   DefaultModule mbrola

and I created a mbrola.conf in /etc/speech-dispatcher/modules

It works (spd-say bonjour speaks!), but instead of a generic rule :
GenericExecuteSynth \
echo \$DATA\ \
| espeak -v mb-$VOICE $PUNCT -s $RATE -a $VOLUME \
| mbrola -v $VOLUME -e /usr/share/mbrola/$VOICE - -.au \
| $PLAY_COMMAND

I had to hardcode some variables :
GenericExecuteSynth \
echo \$DATA\ \
| espeak -v mb-fr1 \
| mbrola -e /usr/share/mbrola/fr1 - -.au \
| aplay
because /var/log/mbrola.log told me :
Fri Jan  2 11:34:19 2009 [765343]: child: synth command = |echo 
bonjour | espeak -v mb-fr1   -s 160 -a 2.00 | mbrola -v $VOLUME -e 
/usr/share/mbrola/$VOICE - -.au | $PLAY_COMMAND
|
In this line you can see that all variables have not been expanded.


Xavier.

PS : here is my mbrola.conf (with debug info enabled, cf. last line).

# Espeak mbrola output module is based on the generic plugin for Speech
# Dispatcher. It means there is no code written explicitly for
# this plugin, all the specifics are handled in this configuration
# and we call a simple command line client to perform the actual
# synthesis. Use this config file with the sd_generic output module.
#
# IMPORTANT: The audio output method relies on an audio playback
# utility (play, aplay, paplay for OSS, ALSA or Pulse)
# being installed. If this is not the case, consider installing it
# or replace the $PLAY_COMMAND string in the GenericExecuteString below
# with play, paplay or similar.
#
# GenericExecuteSynth is the shell command that should be
# executed in order to say some message. This command must
# stop saying the message on SIGKILL, otherwise it's useless.
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
# which will be substituted for the appropriate value (you
# can modify this value, see other parameters).
# The command can be split into more lines, if necessary, using '\'.
#GenericExecuteSynth \
#echo \$DATA\ \
#| espeak -v mb-$VOICE $PUNCT -s $RATE -a $VOLUME \
#| mbrola -v $VOLUME -e /usr/share/mbrola/$VOICE - -.au \
#| $PLAY_COMMAND
GenericExecuteSynth \
echo \$DATA\ \
| espeak -v mb-fr1 \
| mbrola -e /usr/share/mbrola/fr1 - -.au \
| aplay

# The following three items control punctuation levels None, Some, and All.
# Each of these values will be substituted into the $PUNCT variable 
depending
# on the value passed to speech dispatcher from applications. 

# Note that if an empty string is specified, then $PUNCT will be blank 

# which is a default situation for espeak. 

 

GenericPunctNone   

GenericPunctSome --punct=\()[]{};:\ 

GenericPunctAll --punct 


# GenericStripPunctChars is a list (enclosed in doublequotes) of
# all the characters that should be replaced by whitespaces in
# order not to be badly handled by the output module or misinterpreted
# by shell.
# GenericStripPunctChars  

# If the language you need to pass in $LANG is different
# from the standard ISO language code, you can specify
# which string to use instead. If you wish to use
# other than ISO charset for the specified language,
# you can add it's name (as accepted by iconv) as a
# third parameter in doublequotes.


GenericLanguage   af af utf-8
GenericLanguage   cs cs utf-8
GenericLanguage   de de utf-8
GenericLanguage   el el utf-8
GenericLanguage   en en utf-8
GenericLanguage   es es utf-8
GenericLanguage   fr fr utf-8
GenericLanguage   hr hr utf-8
GenericLanguage   hu hu utf-8
GenericLanguage   it it utf-8
GenericLanguage   la la utf-8
GenericLanguage   nl nl utf-8
GenericLanguage   pl pl utf-8
GenericLanguage   ro ro utf-8
GenericLanguage   sv sv utf-8
GenericLanguage   sw sw utf-8
GenericLanguage   gr gr utf-8
GenericLanguage   cr cr utf-8
GenericLanguage   hu hu utf-8
GenericLanguage   id id utf-8

# AddVoice specifies which $VOICE string should be assigned to
# each language and symbolic voice name. All the voices you want
# to use must be specified here. This list will likely not be
# up-to-date, please check eSpeak documentation and add the voices
# you want to use. Or better use the native espeak module ('espeak'
# not 'espeak-generic')

AddVoiceenMALE1 en1
AddVoiceenMALE2 us2
AddVoiceenMALE3 us3
AddVoiceenFEMALE1   us1

AddVoicedeMALE1 de4
AddVoicedeMALE2 de6
AddVoicedeFEMALE1   de5
AddVoicedeFEMALE2   de7

AddVoicefrMALE1   fr1
AddVoicefrFEMALE1 fr4

AddVoiceitMALE1 it3
AddVoiceitFEMALE1   it4

AddVoiceesMALE1 es1
AddVoiceesMALE2 es2

AddVoicesw

Re: espeak, mbrola, utf8, navit : problem with french, accentuated letters

2009-01-02 Thread Gilles Casse
Xavier Cremaschi wrote:
 
 I added in /etc/speech-dispatcher/speechd.conf
   DefaultLanguage fr
   AddModule mbrola sd_generic mbrola.conf
   DefaultModule mbrola
 
 and I created a mbrola.conf in /etc/speech-dispatcher/modules


Your mbrola.conf works fine, variables expanded correctly 
(speech-dispatcher 0.6.7 / hackable:1). Perhaps unexpected characters? 
For comparision, my files are there:
http://soft.oralux.net/speech-dispatcher/sd-mbrola.tgz

There is though a huge latency for talking a small text using mbrola + 
the fr5 database, around 3 seconds :-/
fr5 is around 5MB, copied on /tmp.

Best regards,
Gilles


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


espeak, mbrola, utf8, navit : problem with french accentuated letters

2009-01-01 Thread Xavier Cremaschi
Hi,

I am trying to use espeak+mbrola and navit to obtain a french-speaking GPS.

At the end I will need navit to produce french sentences 
(navit-locale-fr is not installed because I don't use 0.0.4-r1 but 
svn-1865), but for the moment espeak is the problem.


But when I run espeak -v fr napoleon.txt (napoleon.txt being an UTF-8 
Unicode text file containing the first paragraph of
http://fr.wikipedia.org/wiki/Napol%C3%A9on_Ier#La_formation_militaire ) 
  espeak tries to spell accentuated letters.
For example for the word représentant I hear :
 repr-e accent aigu-sentant (repr-e with accent-sentant)


If I do on my PC with Debian and espeak 1.37
 espeak -v mb-fr1 -f napoleon.txt
I can see things like :
e   56   0 106 80 102 100 102
p   75

but on my FreeRunner with Om2008.12 and espeak 1.37 I see
e   81   0 103 80 96 100 96
@   87   0 96 80 92 100 92
_   1
a   47   0 99 80 96 100 96
k   92
s   100
a~  59   0 99 80 96 100 96
t   85
E   63   0 99 80 96 100 96
g   65
y   148  0 103 80 96 100 96
_   1
p   75


this aksatEgy is the accent aigu in repr-e accent aigu-sentant

napoleon.txt seems :
- ok while doing 'cat' on it (using ssh in Konsole - kde virtual terminal)
- '..' instead of accent in vi (using ssh in Konsole)
- some accents ok, some not in vim (using ssh in Konsole)
- no accents in openmoko-terminal2


What can I do to have a full utf8 environment able to support french 
language ?


Xavier Cremaschi.

PS :
$echo $LANG
fr_FR.UTF-8





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


Re: espeak, mbrola, utf8, navit : problem with french accentuated, letters

2009-01-01 Thread Gilles Casse
Xavier Cremaschi omega.xav...@gmail.com wrote:
 I am trying to use espeak+mbrola and navit to obtain a french-speaking GPS.
   
Great!
Indeed mbrola-linux-strongarm2-static works on the FR, for listers 
interesting in:
http://tcts.fpms.ac.be/synthesis/mbrola/bin/pocketlinux/mbr301h.zip

The issue with French accent is the same than the one with the German 
character:
http://lists.openmoko.org/pipermail/community/2008-December/038801.html

I am currently using an old OM distro and hackable:1 and can't help 
further sorry for installing the locales on OM 2008.12.

Breetings,
Gilles


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


Re: espeak, mbrola, utf8, navit : problem with french accentuated, letters

2009-01-01 Thread Xavier Cremaschi
Gilles Casse a écrit :
 The issue with French accent is the same than the one with the German 
 character:
 http://lists.openmoko.org/pipermail/community/2008-December/038801.html

Yes I noticed that ;)

 I am currently using an old OM distro and hackable:1 and can't help 
 further sorry for installing the locales on OM 2008.12.

In fact I cannot found any glibc-locale-fr package installable, so I did 
a copy of my /usr/lib/locale/locale-archive, following your example. Now 
it works

As mentioned on http://espeak.sourceforge.net/mbrola.html
$espeak -v mb-fr1 -f napoleon.txt | mbrola -e /usr/share/mbrola/fr1 - 
test.wav
$mplayer test.wav
works and it is not too bad.

But I cannot pipe the output from mbrola through aplay. The pipe seems 
to lack of some headers :
$espeak -v mb-fr1 -f napoleon.txt | mbrola -e /usr/share/mbrola/fr1 - 
test.wav
$file test.wav
test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, 
mono 16000 Hz

$espeak -v mb-fr1 -f napoleon.txt | mbrola /usr/share/mbrola/fr1 - - | 
cat  test.wav
$file test.wav
test.wav: data

Size are also a bit different, the piped one is 44 bytes smaller.


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


Re: espeak, mbrola, utf8, navit : problem with french, accentuated, letters (Xavier Cremaschi)

2009-01-01 Thread Gilles Casse
Xavier Cremaschi wrote:
 But I cannot pipe the output from mbrola through aplay. The pipe seems 
 to lack of some headers :
 $espeak -v mb-fr1 -f napoleon.txt | mbrola -e /usr/share/mbrola/fr1 - 
 test.wav

yes, the header is removed, just supply the rate and format according to 
the mbrola voice, e.g. for fr1:
aplay -r16000 -fS16

Greetings,
Gilles


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