View Full Version : Navit on N900
magellan94
2010-03-17, 18:04
Here's my experience!
I DIT IT!
Well...
- the open map is quite too light, (i've not found even my city near Paris... :/) but i can't critize. I'll try to find routenplaner to test another maps.
- I've putted the right XML files, modified for maps. Ok. Works... but good only with gtk library. I don't understand why, but in submenus of the native interface, impossible to type any route! Setting "no" to normal gui, and "yes" to gtk, i can type and make it calculate. Quite long (not surprising with a beta), but working.
- Executing by the icon make navit unstable. Execute it with root privilege make stable. Perharps a grant problem on some files?
- no crash log, but some alerts to "Can't load "name of the file.xpm". Maybe do i need to put many more icons?
(the XML profile which i tool is from this post
http://talk.maemo.org/showpost.php?p=501976&postcount=127
only modified for the map, and the gui valor).
I'll test it much more, but i can validate that:
- It works
- It is not so complicate as i thought (yeah... it's not automatic... And what? :D)
- Open street map is not enough (for now, will see later) to make a real substitute to a not free map system
- Quite stable (for a first experience), but when executing with xterm.
Why not implement a small .sh which execute
sudo gainroot
./opt/navit/bin/navit
If it's possible, of course.
I'll try to understand why my gui interface doesn't really good...
Did you even try to read the post I gave a link to?
GPS is enabled by default. You either have incorrect xml files, they're at wrong places or you're using the default xml-files. Download the Navit.zip package from Trek1701 post earlier in this thread. Unpack it to /home/user/.navit and modify the files to your liking.
Yes, I read and I followed the instructions, but maybe I didn't understand or it didn't work for me...
I used the Navit.zip pack and I tried to modify navit.xml but I don't know if it is right... so, can you tell me what and how to do?
Thanks :)
Yes, I read and I followed the instructions, but maybe I didn't understand or it didn't work for me...
I used the Navit.zip pack and I tried to modify navit.xml but I don't know if it is right... so, can you tell me what and how to do?
Thanks :)
For starters, start it from xterminal. Just fire up xterminal, and type navit and hit Enter-key. And if possible, paste the output here so we can analyse what's going on.
@Magellan94: Shouldn't be any permission problems. It's true that some POI-images still are missing, they're missing completely from the source (for example shop_grocery.xpm/png). But those missing icons aren't the cause of crash. I think it might have to do with some missing libraries or alike. Will investigate more at it.
I run navit as the default user and it doesn't crash at all. However, I run navit with on a freshly flashed n900.
I will try to release tomorrow a more fresh package from SVN, put the correct dependencies. Hopefully that will solve the problems.
magellan94
2010-03-17, 22:11
For starters, start it from xterminal. Just fire up xterminal, and type navit and hit Enter-key. And if possible, paste the output here so we can analyse what's going on.
@Magellan94: Shouldn't be any permission problems. It's true that some POI-images still are missing, they're missing completely from the source (for example shop_grocery.xpm/png). But those missing icons aren't the cause of crash. I think it might have to do with some missing libraries or alike. Will investigate more at it.
I run navit as the default user and it doesn't crash at all. However, I run navit with on a freshly flashed n900.
I will try to release tomorrow a more fresh package from SVN, put the correct dependencies. Hopefully that will solve the problems.
- For the missing items... not really a problem for me (i'm not really interested by these POi's)
- For the crashes, i cant' blame : it's experimental, compiled without a real support, so i've not to complain^^
- The only thing i can't understand, is that the GUI doesn't work properly... and that is a real problem, cause the GTK makes it looks like a "PC" app, and on a "small" screen... :rolleyes:
So... waiting for the next release!:D
PS:
Here's the alternative link for DL the (for now) last Version:
http://www.mediafire.com/?uzyrd5znjjj
Good night !(for me, it's 11PM in France;) )
magellan94
2010-03-17, 22:23
another strange thing... if i run under root, i've a screen with gtk!
If i run Xterm and bash navit, i get another front end, with specific menus...
Somebody can explain it?
another strange thing... if i run under root, i've a screen with gtk!
If i run Xterm and bash navit, i get another front end, with specific menus...
Somebody can explain it?
You get different behaviour because you don't have same xml files for root (in /root/.navit).
For starters, start it from xterminal. Just fire up xterminal, and type navit and hit Enter-key. And if possible, paste the output here so we can analyse what's going on.
@Magellan94: Shouldn't be any permission problems. It's true that some POI-images still are missing, they're missing completely from the source (for example shop_grocery.xpm/png). But those missing icons aren't the cause of crash. I think it might have to do with some missing libraries or alike. Will investigate more at it.
I run navit as the default user and it doesn't crash at all. However, I run navit with on a freshly flashed n900.
I will try to release tomorrow a more fresh package from SVN, put the correct dependencies. Hopefully that will solve the problems.
I copied *.xml to wrong dir, I copied it in /home/user/.navit/
Now I copied to /etc/navit/ and GPS icon appears.
But no HUD on the map... :)
luipaard
2010-03-18, 00:14
I installed the application. It's very impressive. That would be very nice to use, but first things first.
I'm using OpenStreetMap here. All the local streets are on the map,but they are not showing up on the search field of the navigator. I even added is_in tags to the streets and it didn't help either.
Fortunately I was able to export OpenStreetMap XML data and edit the tags myself. It seems that, if I move the city center some kilometers to the east, the missing streets are listed now. That did the trick, but sure we cannot move the centers of the cities.
Perhaps the reason to the peculiar behaviour is that the big cities are just beside each others here in the capital area of Finland. Can someone explain, what is the way Navit checks if a street is locates to a city?
svalavuo
2010-03-18, 07:24
another strange thing... if i run under root, i've a screen with gtk!
If i run Xterm and bash navit, i get another front end, with specific menus...
Somebody can explain it?
Hi,
You have different environment as root.
I have the exactly same behaving with my N900 + navit. Even this svn -version didn't help :(
The way to keep it stable and get the right UI (for me) is to:
1) run xterminal
2) sudo gainroot
3) run-standalone.sh navit
That way I get the right UI and navit doesn't crash when I try to insert a destination.
Hope this helps to you as well.
magellan94
2010-03-18, 08:52
New log:
- With gtk GUI, get "gdb not found", with no details
-> Crash immedialty, and its crashes when validate a track (with this error)
I've found another "bug", with the bookmark.txt (under /home/user/.navit). File is missing (probably need to be created by recording a bookmark). Made a file manually, and the alert disapear.
I think that the original installation of the Gtk library has been badly made (files or folders missing?)
What do you think about it?
Another annoying thing: I put a smaller map (thinking that is the map size is involved).. no change: the search fields doesn't return the streets i want to have.
But...
Tried to find the streets on the open street map system: they exists! I extracted my own map to XML file (.osm format), found the city, the street, controlled the GPS position with another tool: match! But Navit doesn't find it.
Is there a cache into the apply where is located the city, streets names? Maybe have i to clean it before using a smaller/another map?
New log:
- With gtk GUI, get "gdb not found", with no details
I've found another "bug", with the bookmark.txt (under /home/user/.navit). File is missing (probably need to be created by recording a bookmark). Made a file manually, and the alert disapear.
I think that the original installation of the Gtk library has been badly made (files or folders missing?)
What do you think about it?
gdb is the debugger application. You most probably have no benefit of it. Navit crashed and tried to fire up gdb at the point of code where navit crashed.
magellan94
2010-03-18, 11:07
I installed the application. It's very impressive. That would be very nice to use, but first things first.
I'm using OpenStreetMap here. All the local streets are on the map,but they are not showing up on the search field of the navigator. I even added is_in tags to the streets and it didn't help either.
Fortunately I was able to export OpenStreetMap XML data and edit the tags myself. It seems that, if I move the city center some kilometers to the east, the missing streets are listed now. That did the trick, but sure we cannot move the centers of the cities.
Perhaps the reason to the peculiar behaviour is that the big cities are just beside each others here in the capital area of Finland. Can someone explain, what is the way Navit checks if a street is locates to a city?
I've got the same issue, and then looked inside a XML file. Everything seems to be OK... but, how to convert back an OSM file to a binary?
luipaard
2010-03-18, 12:04
I've got the same issue, and then looked inside a XML file. Everything seems to be OK... but, how to convert back an OSM file to a binary?
If I understood you right, that is quite easy to do for a small map. You can install maptool into your N900 and convert the file there. That is what I did.
The command is:
cat map.osm | maptool map.bin
You need to have the city-place definition at the file. Otherwise Navit cannot recognize the city at all.
If you install Navit into your pc, that can be done at the computer, too. Unfortunately, there seems to be an issue when trying to convert a big map to the binary format.
G'day. Here's a more fresh version, svn3048. I made espeak and librsvg2-common as a dependency. Unpack the file somewhere on your n900 and install with dpkg.
sudo gainroot
dpkg -i /path/to/navit*.deb
apt-get -f install
exit
I did not include any customized xml files yet, so use your own files in /home/user/.navit
Grab the new version here http://rapidshare.com/files/364969894/Navit-svn3048.zip
magellan94
2010-03-18, 13:44
Nice!
One question: do i need to uninstall the previous version? If so, how to?
@magellan: You shouldn't need uninstall if the previous version is svn3014. This pack should overwrite necessary files, in other words this is an upgrade.
magellan94
2010-03-18, 13:54
If I understood you right, that is quite easy to do for a small map. You can install maptool into your N900 and convert the file there. That is what I did.
The command is:
cat map.osm | maptool map.bin
You need to have the city-place definition at the file. Otherwise Navit cannot recognize the city at all.
If you install Navit into your pc, that can be done at the computer, too. Unfortunately, there seems to be an issue when trying to convert a big map to the binary format.
Right... (i'm sorry for my poor english, i'm a french user:))
So... i'v controlled a small XML area, wich is probably contained into the larger map i use. I've checked that the streets are in it, but not seen by Navit in the search process. Then, i've concluded many points:
- The size of the map (.bin format) is signifiant.
- The "city/road" system may have a problem to distinct cities. Many cities are not found because they are certainly "lost" into a large urban area. For example: I want to navigate to "Nanterre", in France. This city is in the surburban zone of Paris, and not seen because of the Paris size.
- I suppose that there's a problem with the "center" concept. If the towns are too close, each town "get" over another, and make them lost each other in the navigation system
These are only ideas... not facts :D
magellan94
2010-03-18, 13:57
@magellan: You shouldn't need uninstall if the previous version is svn3014. This pack should overwrite necessary files, in other words this is an upgrade.
Cool! :D
I've asked it because of dependencies. Your new release embedd many libraries, and, carefully (i'm a programer on Java J2EE) i asked myself "what about versions of each library? If new? Replace? If not, no modification, and potentially problems for the navit binary?"
Well... not really stressing step, if it crashs, i'll uninstall the whole components, and gently reinstall everything :)
magellan94
2010-03-18, 14:51
Issues by installing (update) the last version:
-> no icon for the app in the software list (in the mobile) : Must execute by the Xterm, no icon left on the desktop.
-> Less crashes (for now)
-> Less errors into the debugging tracks.
-> Same issues as before in the map reading (no identification of cities).
EDIT: Got a strange error: xkbd No such file or directory :eek:
I get it working with free garmin map (~10Mb), now I need a decent map (OSM is too bad in my region) :)
Latest r3048 solved a lot of problems (hud, gps receiver, etc)...
Thanks!
Can some one please make another thread with full instruction and video for newbies. Appreciate it. Thanks in advance!
magellan94
2010-03-19, 00:24
I'll make a full tutorial when i'll get a functional version of my configuration ;)
Please be patient!
les_garten
2010-03-19, 00:31
I'll make a full tutorial when i'll get a functional version of my configuration ;)
Please be patient!
A number of people would probably appreciate that! Thanx!
Cheers..................:)
I'll make a full tutorial when i'll get a functional version of my configuration ;)
Please be patient!
magellan94
2010-03-19, 14:36
So a "test" tutorial... it's not complete, but many steps are about to be OK.
Steps and use to install correctly Navit:
1) Control your installed tools
- gainroot for the xterminal
- librsvg2-common
Install Rootsh
The gainroot command is under "rootsh" name in the classical repository... at this step, it's easy. Don't have? download and install it.
Then, reboot your terminal (by security)
The librsvg2-common libraries
Don't panic, it needs to tape few xterminal commands, but nothing hard!
- open Xterminal, then type (line by line)
sudo gainroot
apt-get install librsvg2-common
- you'll see many informations. To make it, you need to have a web connection (Wifi or network... no real importance).
- Wait... then close the x terminal.
2) Get the needed components
A this point, download
- Navit distribution
- Espeak system (for vocal informations)
- Maps you need
- Configuration XML files
3) Navit distribution
http://rapidshare.com/files/364969894/Navit-svn3048.zip
(last valid link 19-03-2010)
4) XML files
Download this file
http://talk.maemo.org/attachment.php?attachmentid=6644&d=1264836319
5) Maps
Here is a little bit complicated reflexion:
witch one?
Look here and read it carefully:
http://wiki.navit-project.org/index.php/Main_Page#Maps
For me, i've take the map here ( Free openstreetmap)
http://maps.navit-project.org/download/
- How to?
Simply: zoom on your area, then click on "select" radio button, then push the "Get map!" button. You'll get ā ***.bin file. Save it locally on your computer.
Don't forget: the bigger area you select, the bigger size the file is;)
Then, rename this file to something easy to remember.
Let's take an example: my file is renamed to france.navit.bin. This will be usefull on the next steps.
6) Espeak component
Espeak is needed for vocal routing. It's easy to install, because you've only to get this app on repositories (please check if you've added the extras and extras-devel repositories).
Then... Download, and wait for the installation!
7) The setup of Navit
So, you've the zip file of navit, and, hopefully, your map! unpack your zip into a folder, and get these files (it's an example, the names may changes between releases):
navit-data_0.2.0~svn3014maemo_all.deb
navit-graphics-gtk-drawing-area_0.2.0~svn3014maemo_armel.deb
navit-gui-gtk_0.2.0~svn3014maemo_armel.deb
navit-gui-internal_0.2.0~svn3014maemo_armel.deb
navit_0.2.0~svn3014maemo_armel.deb
Good!
Now... notice it carefully: the path on a windows is shown as (for example) C:\somewhere\subdirectory", instead of linux where it is like '/etc/navit/'
For now, it looks not useful, but... really...
8) Put the files...
Connect your phone like a mass storage volume. A the root of the new disk (on windows), you'll see many storage directories. Create two directories:
One named ".navit"
One named "navit_maps"
For the ".navit" folder, it's a little bit harder. Why? Because XP (and any other Win system) doesn't like folders with a point. To be honest, the problem is that the point and click system doesn't allow it, but the file system does!
So, two solutions:
1) Create it under the DOS mode.
Click on Start->Execute-> then, type
cmd
You'll get a windows with a Xterminal like (what a pitty... type commands on a "modern" system :D )
Identify which letter is associated to your device. In this small example, it is "J". I can be anything else! Watch carefully, and type the code below:
j:
mkdir ".navit"
2) Create the folder under Xterminal
Open the Xterminal
And type:
cd /home/user/
mkdir .navit
Be careful: DON'T type "sudo gainroot" before these lines, because the users folder is associated to each profile.
For example:
if you copy .xml file into /home/users/.navit without gainroot, when you'll launch Navit, the file will be read.
If you make theses commands under root profile, you'll be obliged to launch Navit with root autorisations... Not so easy as launch Navit from dashboard, not?;)
Done? GOOD! Put the files like this:
- europe.bin into "navit_maps"
- The navit files into the same directory
9) Install the program
Open a Xterminal, then tape these lines
sudo gainroot
dpkg -i /path/to/navit*.deb
In my example, i've putted the files into the "navit_maps" folder, (by copying these files when my device was connected in mass storage mode)
So the shell has to be like this:
sudo gainroot
dpkg -i /home/user/MyDocs/navit_maps/navit*.deb
A little detail: type it exactly! The "*" character is a wildcard symbol, so it's normal. The command line is to install the whole five .deb packages.
Then wait... a litte bit. If the soft ask something, let all by default and answer like the default value shown.
10) Why the files needs to be into a specific folder?
Because we have to parameter the XML files, to explain to navit where the soft will find the maps!
so: Assume this
/home/user/MyDocs is the path to the "root" of the mass storage datas.
Then
/home/user/MyDocs/navit_maps
will be the path to the maps
and
/home/user/.navit will be a path to specific parameters
understood? Well... We need it!
11) What about the configuration?
Well. You've got to know some little things
- The maps has to be configurated
- The path needs to be included into your configuration!
Easy or not? Good question...
12) How to configurate your XML system?
Accept one thing: each user on Linux has his own file architectory. For example: a path named /home/user/subdir will contains a file for the "user" profile, and the "same" path under root user will contains another files.
Got it? So:
Configure the XML : the maps
let's open the maps.xml (from the zip downloaded before), and look in it:
<map type="binfile" enabled="yes" data="/home/user/MyDocs/navit_maps/france.navit.bin"/>
My example shows a maps installed into the "navit_maps" (seen before as a folder when my device was plugged as mass storage)
Modify this line to put the name of the file you've got.
An example? Your file is 'IliveInAmerica.bin". Ok... let's modify the text!
<map type="binfile" enabled="yes" data="/home/user/MyDocs/navit_maps/IliveInAmerica.bin"/>
Warning
- Linux is case sensitive... be carefull when you're typing a text into these files!
- The files under Windows and under Linux are not written with same rules... so, Use Pspad, notepad++ (or any other file writer) to save the .XML files into "Linux/unix" standard.
The XML files: let's copy it!
Put your files into your device under the same directory where the maps are... It's not very clean, but it's easier for me.
Unplug your device. Wait a litte bit (the folders needs to be "reactivated" by the device).
This step is the "harder", because you should be patient, type correctly the shell commands, and use the small keyboard ^^
Then... Get ready!
- First: open the Xteminal app
Type theses commands one by one (at each end line, press Enter)
cp /home/user/MyDocs/navit_maps/*.xml /home/user/.navit
cd /home/user/.navit
ls
Can you see the files? Is it shown correctly? Yes? GOOD! The copy is done!
Type "navit" and press enter!
GOTCHA!
magellan94
2010-03-19, 14:39
Any errors in my tutorial? Tell me, i'll modify it!
Any errors in my tutorial? Tell me, i'll modify it!
I gave a fast glimpse at your instructions and couldn't find any errors. Perhaps a couple steps I would have done otherwise, but it's okay. Hardest part truly seems to be with the xml files, but luckily that needs to be done only once.
I'm planning to include in package a configured xml, so it should ease out this step. I'm not just so sure about how "standard" it would be to install to user's home directory some stuff. Or should I just put the files in /etc/navit and let the user copy them from there?
/h
magellan94
2010-03-19, 17:15
I gave a fast glimpse at your instructions and couldn't find any errors. Perhaps a couple steps I would have done otherwise, but it's okay. Hardest part truly seems to be with the xml files, but luckily that needs to be done only once.
I'm planning to include in package a configured xml, so it should ease out this step. I'm not just so sure about how "standard" it would be to install to user's home directory some stuff. Or should I just put the files in /etc/navit and let the user copy them from there?
/h
IMHO, i'd prefer to get theses files directly, because many users are not power users. But, the big challenge is these files changes the GUI, and it's hard to make an 'universal' GUI.
So... Perharps many others users will modify the navit.xm, and will offers to the community a larger choice of GUI...
I know, it's a dream;)
Marshall Banana
2010-03-19, 17:34
Any errors in my tutorial? Tell me, i'll modify it!
One might have a hard time creating the ".navit" folder because it starts with a "." in the windows explorer (At least i can't under XP, dunno about Vista or 7).
You can create the ".navit" folder as follows (this example assumes that the n900 mass storage drive letter is j):
Start->Run
type cmd and press enter
j:
mkdir ".navit"
Anyone also experience the glitch that car-dark starts as the layout when running Navit on the N900 (the screen is very dark), I had to manually select car everytime I'd start. So much so that I had to remove the car-dark layout definition from navit.xml, so it would start with the car layout.
Even though car should be normally selected by default as it's the first layout in navit.xml
Anyone else had this behavior?
magellan94
2010-03-20, 10:09
One might have a hard time creating the ".navit" folder because it starts with a "." in the windows explorer (At least i can't under XP, dunno about Vista or 7).
You can create the ".navit" folder as follows (this example assumes that the n900 mass storage drive letter is j):
Start->Run
type cmd and press enter
j:
mkdir ".navit"
If you execute the app for a first time, it i'll creat by itself this folder.
I've forgot this step, i include this into the tutorial.
But you're right: the Win file system doesn't allow to create folder with a point into the name.
jacedaface
2010-03-22, 17:49
Hey Magellan94 thanks for the guide!
I installed Navit last night. However at the end of the install in xterminal did say error, although the program is install and will load. I think i may have done somthing incorrect it does seem to crash all the time.
So i have all the .deb/map.bin and map XLM files in the "navit_maps" folder.
then the navit/OSD and speech XML files in the ".navit" folder?
Thanks once again!
EDIT:
Ok so it appears i have fixed the crashing problem i went into xterminal and installed navit again over the top and so far no crashing. i was lucky if i got past 3mins without crashing last night.
Now the icon is no longer there so i have to lunch from xterminal everytime?
Also when searching a destination a lot of places roads towns... that i know exist do not seem to show up?
magellan94
2010-03-23, 09:33
Try to reboot the terminal. It happens that the icon is not shown immediatly. I've seen this issue with few apps, and that with no logical rule about where this app came from! So... you know what you must do :D
debrezdiener
2010-03-23, 10:56
Any errors in my tutorial? Tell me, i'll modify it!
Hi, thanks for the tutorial.
Worked well for me, only one additional action for me was to install espeak and it's dependencies.
Regards debrez
magellan94
2010-03-23, 12:52
Hi, thanks for the tutorial.
Worked well for me, only one additional action for me was to install espeak and it's dependencies.
Regards debrez
Ok: i add it to the tutorial!
svalavuo
2010-03-23, 13:38
Anyone also experience the glitch that car-dark starts as the layout when running Navit on the N900 (the screen is very dark), I had to manually select car everytime I'd start. So much so that I had to remove the car-dark layout definition from navit.xml, so it would start with the car layout.
Even though car should be normally selected by default as it's the first layout in navit.xml
Anyone else had this behavior?
I have the exactly same behaving with navit.
Can be quite annoying.
Ok my start seems to dodgy. When I run the exterminal at the first point. I get the following information, I dont know whether its right or wrong. Thanks
librsvg2-common is not available but is referred to by another package.
this may mean that the package is missing or only available for another source.
librsvg2-common has no installation candidate.
gnasgame3
2010-03-23, 17:23
runnubg navit with espeak , anyone has some video
debrezdiener
2010-03-23, 18:54
Ok my start seems to dodgy. When I run the exterminal at the first point. I get the following information, I dont know whether its right or wrong. Thanks
librsvg2-common is not available but is referred to by another package.
this may mean that the package is missing or only available for another source.
librsvg2-common has no installation candidate.
For me that looks if extra devel or extra testing repos are not activated.
Please read carefully in the wiki before activating them ;-)
Regards debrez
Cheers mate
For me that looks if extra devel or extra testing repos are not activated.
Please read carefully in the wiki before activating them ;-)
Regards debrez
debrezdiener
2010-03-23, 20:40
For the issue of car-dark layout chosen at startup, the navit wiki says, that the sequence of the profiles defined in navit.xml is responsible for the activated option at startup.
Strange is that I experienced also the car-dark layout, but not on every startupt of the program. I will see if I can get a reproducable behaviour and the check the order of the car profiles in navit.xml.
I tested the actual version maggelan94 did the nice tutorial for. For me it works very well, did a few drives around my town. At the moment it seems to run only if started from xterm, if I start from menu it crashes after a few minutes (as reported even with past versions)
When I have my car mount, I will do more tests.At the moment it seems to be a good choice when you need turn-by-turn navigation.
One thing I miss at the moment is the missing possibility to choose house numbers. Anyone knows if this is a map issue?
I use a european OSM map
Regards debrez
One thing I miss at the moment is the missing possibility to choose house numbers. Anyone knows if this is a map issue?
It's a map issue, for many cities you have many streets with house maps in OSM already. For many no house numbers.
Go ahead and contribute to OSM, get OSM2Go on the N900, or edit on the PC, and input house numbers for streets you know, so we all make it better.
hey when you say
dpkg -i /home/user/MyDocs/navit_maps/navit*.deb
where that navit*.deb come from coz all we had was those five files. I get the error file not found.
Also when I changed the name of one of the file to navit*.deb and then tried to run, i still got the same error. Any help please. Thanks
[/QUOTE]
9) Install the program
Open a Xterminal, then tape these lines
sudo gainroot
dpkg -i /path/to/navit*.deb
In my example, i've putted the files into the "navit_maps" folder, (by copying these files when my device was connected in mass storage mode)
So the shell has to be like this:
sudo gainroot
dpkg -i /home/user/MyDocs/navit_maps/navit*.deb
Then wait... a litte bit. If the soft ask something, let all by default and answer like the default value shown.
[/QUOTE]
debrezdiener
2010-03-24, 06:45
hey when you say
dpkg -i /home/user/MyDocs/navit_maps/navit*.deb
where that navit*.deb come from coz all we had was those five files. I get the error file not found.
Also when I changed the name of one of the file to navit*.deb and then tried to run, i still got the same error. Any help please. Thanks
...
...
...
Hi,
with the "*" in the command it's used as a wildcard. Means if you have the five files from the zip as shown below, the wildcard installs all *.deb-files. Otherwise you have to fire up five commands instead of one.
navit-data_0.2.0~svn3048maemo_all.deb
navit-graphics-gtk-drawing-area_0.2.0~svn3048maemo_armel.deb
navit-gui-gtk_0.2.0~svn3048maemo_armel.deb
navit-gui-internal_0.2.0~svn3048maemo_armel.deb
navit_0.2.0~svn3048maemo_armel.deb
For the 'file not found'-error I assume, that you did not copy the deb files to the location you used in the command.
Please take the files from the Navit-svn3048.zip and change your directory in commandline to this location.
You can do this with command "cd /home/user/locationtodebfiles".
Then use
dpkg -i navit*.deb
to install the five debs.
Hope this helps, commandline is always a bit tricky at the beginning *gg*
Regards debrez
magellan94
2010-03-24, 09:55
tutorial udpated to explain the "*" system when launching the .deb installation!
magellan94
2010-03-24, 13:58
For the issue of car-dark layout chosen at startup, the navit wiki says, that the sequence of the profiles defined in navit.xml is responsible for the activated option at startup.
Strange is that I experienced also the car-dark layout, but not on every startupt of the program. I will see if I can get a reproducable behaviour and the check the order of the car profiles in navit.xml.
I tested the actual version maggelan94 did the nice tutorial for. For me it works very well, did a few drives around my town. At the moment it seems to run only if started from xterm, if I start from menu it crashes after a few minutes (as reported even with past versions)
When I have my car mount, I will do more tests.At the moment it seems to be a good choice when you need turn-by-turn navigation.
One thing I miss at the moment is the missing possibility to choose house numbers. Anyone knows if this is a map issue?
I use a european OSM map
Regards debrez
Thanks :o Happy to help the community!
willem43
2010-03-25, 09:06
[/CODE]
2) Create the folder under Xterminal
Open the Xterminal
And type:
cd /home/users/
mkdir .navit
should be cd /home/user/
willem43
2010-03-25, 09:24
Yes, installation of the update works fine. Thanks.
The map loads good.
However, if I choose a destination, and ask to calculate the route, the program ends suddenly.
Is it possible to make a similar tutorial to install the garmin-driver ?
Yes, installation of the update works fine. Thanks.
The map loads good.
However, if I choose a destination, and ask to calculate the route, the program ends suddenly.
Is it possible to make a similar tutorial to install the garmin-driver ?
garmin driver is inbuilt. you need to enable it in maps.xml
willem43
2010-03-25, 16:46
Ok. I have enabled garmin maps in maps.xml; OSM maps are enabled as well. In navit - settings I can choose between the two maps. The path to the garmin map set is correct.
The map set consists of lots of small maps (*.img), a basemap.img, and a file product.tdb. The path is directed towards the basemap.img file.
(/home/user/navit_maps/basemap.img)
Osm maps are working perfectly.
In navit I disabled OSM maps, and enabled the garmin maps, but no map becomes visible.
I have tested the same mapset in QLandkarte GT, where it works perfectly.
What am I doing wrong ?
Ok. I have enabled garmin maps in maps.xml; OSM maps are enabled as well. In navit - settings I can choose between the two maps. The path to the garmin map set is correct.
The map set consists of lots of small maps (*.img), a basemap.img, and a file product.tdb. The path is directed towards the basemap.img file.
(/home/user/navit_maps/basemap.img)
Osm maps are working perfectly.
In navit I disabled OSM maps, and enabled the garmin maps, but no map becomes visible.
I have tested the same mapset in QLandkarte GT, where it works perfectly.
What am I doing wrong ?
Absolutely no idea. I haven't gotten any garmin map to work with navit.
willem43
2010-03-25, 17:34
Disabling the OSMap in maps.xml resulted in the garmin basemap showing in navit. So that's a first result. Zooming in however did not produce maps in more detail. Probably product.tdb is needed , but I do not know to get it working.
magellan94
2010-03-26, 10:50
[/CODE]
2) Create the folder under Xterminal
Open the Xterminal
And type:
cd /home/users/
mkdir .navit
should be cd /home/user/
Tutorial corrected!
Thx!
legoman666
2010-03-26, 12:36
Am I really supposed to read a 31 page thread to figure this out?
Am I really supposed to read a 31 page thread to figure this out?
Umm, sure if you like. But I suggest you take a look at magellan94's tutorial found in this thread and navit wiki. Or, buy Sygic Mobile Maps.
Am I really supposed to read a 31 page thread to figure this out?
You can set the posts per page to 40 in your profile. For me this thread has only 8 Pages! ;)
Am I really supposed to read a 31 page thread to figure this out?
right at the top of the thread table, there's this little thing called "search thread".
great stuff, you should try it.
legoman666
2010-03-26, 16:06
right at the top of the thread table, there's this little thing called "search thread".
great stuff, you should try it.
Really? Wow, thanks!
magellan94
2010-03-29, 08:34
Here's my tutorial:
http://talk.maemo.org/showpost.php?p=573415&postcount=275
arne.anka
2010-03-29, 21:31
any chance, those who succeeded _building_ navit from source could describe in detail, what they did?
i am fighting with automake as others did and face the same issues already asked for -- without any answers so far.
additionally, i have a hard time to understand why navit on maemo is such a hassle (simply dies after about 2 minutes w/o segfault or something) when it works well (though not that fast) on the freerunner with shr or debian.
i'd expected it to work fast and reliable on the n900.
Hi
Compiling navit for n900 needs quite a bit of hacking.
I cannot figure why navit doesn't run for most people more than 2 minutes. I have had it successfully running on a 86km trip without crashing. Since then I have lost interest in navit, as I bought Sygic mobile maps for N900. I might update the package sometime. Currently all my free time goes in fixing my motorcycle.
Hi
Compiling navit for n900 needs quite a bit of hacking.
I cannot figure why navit doesn't run for most people more than 2 minutes. I have had it successfully running on a 86km trip without crashing. Since then I have lost interest in navit, as I bought Sygic mobile maps for N900. I might update the package sometime. Currently all my free time goes in fixing my motorcycle.
Fix that cycle for the summer haha lol I hope to get my nokia n900 tomorrow, I am so excited.... :p
magellan94
2010-03-30, 08:36
Hi
Compiling navit for n900 needs quite a bit of hacking.
I cannot figure why navit doesn't run for most people more than 2 minutes. I have had it successfully running on a 86km trip without crashing. Since then I have lost interest in navit, as I bought Sygic mobile maps for N900. I might update the package sometime. Currently all my free time goes in fixing my motorcycle.
:D Have nice days in mechanical patching :p
garmin maps is the best that i missing in navit.
libgarmin where are you?
:-D
garmin maps is the best that i missing in navit.
libgarmin where are you?
:-D
This has been said a few times before. Garmin support is inbuilt. Enable it in maps.xml. Reading this thread, you would have found out that only a couple have got it working with Garmin maps.
@magellan94: Thanks, I'll enjoy it a lot more when it's finished. Riding under the blue sky...
Garmin Map is working for me... but only the free version.
Other versions are locked/with other structure, so no hope to use these maps on Navit, for now.
However the free Garmin map is ridicolous and it is usefull only to see it working (all europe in 10Mb... in Italy there are little more than 5 roads!)
arne.anka
2010-03-30, 10:25
Hi
Compiling navit for n900 needs quite a bit of hacking.
gee, thanks.
but that is as much infromation i already found.
anybody care to elaborate?
looks like at least _one_ person has been able to build navit for the n900 -- so there should be at least _one_ person able to give more helpful answers, shouldn't there?
gee, thanks.
but that is as much infromation i already found.
anybody care to elaborate?
looks like at least _one_ person has been able to build navit for the n900 -- so there should be at least _one_ person able to give more helpful answers, shouldn't there?
There's AT LEAST two persons before me compiling navit for n900. I'm not a coder so I won't start a tutorial on compiling here. Besides, the way I made it compile sure isn't the "standard" way. Otherwise someone else would already have patched the sources so they would compile cleanly.
But I'll give you a hint, start from here http://talk.maemo.org/showpost.php?p=489818&postcount=13 so did I, thanks to schnebeck. Also check out the wiki for navit on scratchbox, valuable info there too.
arne.anka
2010-03-30, 16:30
the way I made it compile sure isn't the "standard" way. Otherwise someone else would already have patched the sources so they would compile cleanly.
i don't care for standard, as long as it compiles.
then i could figure out how to better and more standard'y.
But I'll give you a hint, start from here http://talk.maemo.org/showpost.php?p=489818&postcount=13 so did I, thanks to schnebeck. Also check out the wiki for navit on scratchbox, valuable info there too.
seen already.
Ok. I have enabled garmin maps in maps.xml; OSM maps are enabled as well. In navit - settings I can choose between the two maps. The path to the garmin map set is correct.
The map set consists of lots of small maps (*.img), a basemap.img, and a file product.tdb. The path is directed towards the basemap.img file.
(/home/user/navit_maps/basemap.img)
What am I doing wrong ?
You should set the path to the TDB file:
mapname.tdb and rename the basemap.img to be
mapname.img.
or use gmapsupp.img file, the one that is for installation on device.
debrezdiener
2010-04-01, 17:38
Today I had to travel around by car, so I took my n900 with me to test navit.
Most of the routes were known by me, so it was no problem to find the target destinations. One big problem with navit is, that e.g. when you have to drive on freeway (german autobahn), that navit is reporting to drive left instead of saying "leave freeway".
I don't know if this is because of OSM or navit software itself.
Another problem is speech output even if you have to drive a long distance straight on. Often navit advices to turn around, even if the route is displayed correctly on the screen. Perhaps a map problem too.
All in all navit is nice to support your driving in an area you are familiar with. But when you are driving in an area you never were before I don't know if it's comfortable.
BTW: The Brodit car mount with flexble windshield mount does the job very well.
Regards debrez
followed the bad instructions in this thread but couldnt get navit to work with garmin maps...... i couldnt install the debs they provide
deusexbeer
2010-04-20, 09:01
http://www.chollya.org/navit/
Recent builds of navit.
Qml gui is also there. But it's under heavy development.
To use it change config to this:
<graphics type="qt_qpainter" w="800" h="424"/>
<gui type="qml" enabled="yes" source="/opt/navit/share/navit/skins" width="800" h="424"/>
libqt4-maemo5 (4.6.2) is required to run, command:
LD_LIBRARY_PATH=/opt/qt4-maemo5/lib/ /opt/navit/bin/navit
And yes. Navit still crashes when started not from console. :)
arne.anka
2010-04-20, 10:02
the last comments imo asked not for new packages, but for instructions how to build themselves.
care to explain, how you built navit?
deusexbeer
2010-04-20, 10:23
the last comments imo asked not for new packages, but for instructions how to build themselves.
care to explain, how you built navit?
I do not make this packages. I just wanted to share a link. Do you know where I can find a newer/better debs? Also this builds are from navit developer. :)
I've tried once to build navit for n900, but LOL no, that's not so easy. Building alone needs some not so trivial steps. Then making debs. So I better leave it to someone who have more experience. And I'm not a linux noob. :*)
arne.anka
2010-04-20, 10:26
d***.
i used to build navit for openmoko freerunner all the time and it was no problem whatsoever.
i am really fed up with maemo's development facilities.
in my opinion it's not worth the trouble. I paid for my sygic mobile maps and am very pleased about it. doesn't crash, find its way, better maps than navit. but grab the sources from the link posted above and compile away...
Hello magellan94,
Thanks for your tutorial. I'm french too and my english is worse than yours....
Navit work well on my N900 but i don't have the 4 icons "zoom+" " zoom-" ..... on the top of my screen but in le OSD.xml files they're present.
One solution ?
www.rzr.online.fr
2010-05-02, 18:10
Any n810 users runing navit ? can you compare to maemo mapper ? since wayfinder is no more usable ...
http://wiki.navit-project.org/index.php/Navit_on_n770/n800/n810
--
http://rzr.online.fr/q/gps
arne.anka
2010-05-02, 18:40
can you compare to maemo mapper ?
the two differences that spring to mind from my little experience with mapper:
- navit does routing -- no need to download precalculated routes.
- navit uses premade compressed maps. for instance the whole of europe is currently at 1.4g and contains all resolutions. mapper needs to download tiles for all resolutions which sum up pretty much to more than 1.4g even for a very small area.
arne.anka
2010-05-02, 18:48
http://www.chollya.org/navit/
Recent builds of navit.
being bored yesterday, i tried the most recent packages at that address.
it still crashes now and then (not necessarily only when not started from cli) -- but not everytime and not that fast (if), as it used to do.
i took care of using the navit.xml included with that package, to make sure no incompatibilities will cause troubles.
so, with that packages, it's a great step forward -- and there's a dbg package available helping to get useful stacktraces when navit crashes.
what's actually more interesting: who and how did he/she create those packages?
deusexbeer
2010-05-06, 10:35
being bored yesterday, i tried the most recent packages at that address.
it still crashes now and then (not necessarily only when not started from cli) -- but not everytime and not that fast (if), as it used to do.
i took care of using the navit.xml included with that package, to make sure no incompatibilities will cause troubles.
so, with that packages, it's a great step forward -- and there's a dbg package available helping to get useful stacktraces when navit crashes.
what's actually more interesting: who and how did he/she create those packages?
He is a navit developer and n900 owner. He's working mostly on Qml GUI, because internal GUI just suxx. %)
I don't know how is he building those packages. But i can ask him.
But i doubt that there will be better builds than from him.
About this crash, main problem: navit does not crashes when started with debugger.
arne.anka
2010-05-06, 10:40
But i doubt that there will be better builds than from him.
it's nbot a question of better, but of standing a slight chance to fix things myself and build packages to test that.
About this crash, main problem: navit does not crashes when started with debugger.
sounds like a race condition, i suspected something already judging from the messages on the console.
do you really mean "debugger" like gdb or only the -dbg package provided?
Hello,
Thanks to all here. I got navit running on my N900 with our help.
1) navit is unstable if started from GUI
I think the D-Bus configuration or implementaion in navit is not correct.
I use this "navit.desktop":
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Navit
Exec=/opt/navit/bin/navit
Icon=navit
#X-Osso-Service=org.navit_project.navit
#X-Osso-Type=application/x-executable
Terminal=true
May this is not a good idea. I don't know for what this D-Bus is used. But it runs stabel with this configuration.
2) I think we should create a new package and upload it into the repository.
To be able to simply install navit and get a working configuration.
Is there some where an explanation about create the navit package (on N900 or on Win XP). Then i can do it.
arne.anka
2010-05-09, 16:16
But i doubt that there will be better builds than from him.
yet another reason to build myself: the current qt-related packages (qt drawing area and qml ui) depend already on qt4.7!
with qt4.6 still in the wake of the mystic pr1.2, i don't dare to guess, when qt4.7 will be available for the n900 ...
arne.anka
2010-05-09, 16:21
#X-Osso-Service=org.navit_project.navit
that's actually a good one. while testing yesternight, it seems indeed very stable.
Is there some where an explanation about create the navit package (on N900 or on Win XP). Then i can do it.
welcome to the club.
my best guess is, somebody will release that top-secret information together with pr 1.2 ...
yet another reason to build myself: the current qt-related packages (qt drawing area and qml ui) depend already on qt4.7!
That's right, yet you say you've tried his latest packages.
How did you install them without qt4.7? Just forced depends and they worked or what?
arne.anka
2010-05-09, 16:29
How did you install them without qt4.7? Just forced depends and they worked or what?
i didn't. still using gtk drawing area and internal gui.
somewhere i read, on maemo the qt drawing area would be faster -- i'd love to test that.
and i even would like to test the qml interface (screenshots anyone?).
but, alas.
The qt painter ui IS much faster, I'm using some older version of it... What's best is that autoscrolling works with the car being in the middle of the screen and the map moving constantly, just like regular nav soft...
The navit version from http://www.chollya.org/navit/ (3313 from 05/28) works very well for me (much better than what is on maemo.org). Also I have no need to modify the navit.desktop file.
What I have to do though to be able to zoom in and out is to add
~ $ cat .navit/OSD.xml
<osd enabled="yes" type="compass" x="-110" y="-60" font_size="250" w="60" h="60" background_color="#000000c8"/>
<osd enabled="yes" type="gps_status" x="-50" y="-60" w="50" h="40" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${vehicle.position_sats_signal}/${vehicle.position_qual}" x="-50" y="-20" font_size="250" w="50" h="20" align="0" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${vehicle.position_speed}" x="0" y="-60" font_size="400" w="110" h="60" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="ETA: ${navigation.item.destination_time[arrival]}" x="110" y="-30" font_size="300" w="170" h="30" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_length[named]}" x="280" y="-30" font_size="300" w="170" h="30" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${navigation.item.destination_time[remaining]}" x="450" y="-30" font_size="300" w="240" h="30" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="In ${navigation.item[1].length[named]} " x="0" y="0" font_size="500" w="245" h="40" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="navigation_next_turn" x="245" y="0" font_size="500" w="60" h="40" background_color="#000000c8" icon_src="$NAVIT_SHAREDIR/xpm/%s_wh_48_48.png" />
<osd enabled="yes" type="text" label="Onto ${navigation.item[1].street_name}" x="305" y="0" font_size="500" w="495" h="40" align="4" background_color="#000000c8"/>
<osd enabled="yes" type="text" label="${navigation.item.street_name}" x="110" y="-60" font_size="500" w="580" h="30" align="0" background_color="#000000c8"/>
<osd enabled="yes" type="button" x="-60" y="50" command="zoom_in()" src="gui_zoom_in.png"/>
<osd enabled="yes" type="toggle_announcer" x="-65" y="130" w="60" h="60" icon_src="$NAVIT_SHAREDIR/xpm/%s_48_48.png"/>
<osd enabled="yes" type="button" x="-60" y="220" command="gui.fullscreen()" src="gui_fullscreen.png"/>
<osd enabled="yes" type="button" x="-60" y="290" command="zoom_out()" src="gui_zoom_out.png"/>
~ $
Destination search works also?
What about libgarmin plugin, does it handle correctly the garmin maps?
Destination search and routing works flawless with osm maps.
I cannot comment on Garmin maps, I have none.
hi
i have tried the files (http://www.chollya.org/navit/ (3313 from 05/28) and the rdorsch OSD file. roughly after 2min and especially when i try to zoom in the OSM map navit does not response anymore. how can i debug?
which maemo version do you use rdorsch?
best peter
The navit version from http://www.chollya.org/navit/ (3313 from 05/28) works very well for me (much better than what is on maemo.org). Also I have no need to modify the navit.desktop file.
What I have to do though to be able to zoom in and out is to add
(...)
This seems like a fabulous tip. Instead of posting that in the middle of a long thread and risk having it lost there, what about adding to the wiki? There is something on the wiki here (http://wiki.maemo.org/Navigation_Tools#Navit).
I agree, I will add it to the wiki.
I started this wiki page and hosted the n8x0 config files. I try to do the same for the n900 (but give me a few days for that :-).
Trac 282 (http://trac.navit-project.org/ticket/282) is now in SVN. This implements the screen unblank patch that I provided many moons ago. Chollya implemented it using the new plugin infrastructure.
I don't have a N900 but I assume it had the same issue as the N8x0 with the screen not staying on.
Gerritv
the Desktop file is used by the Application manager to figure out where it needs to get the program your are trying to launch. the N8x0 used /usr, N900 seems to use /opt as the root, thus the need to change it.
As to building Navit, the wiki (http://wiki.navit-project.org/index.php/Navit_on_Scratchbox_for_N8x0)has all the instructions you need for N8x0 and N900. You can use Sun's Virtualbox to run debian on your WinXP machine, this is how I now do my development. My website (http://tech.psgv.ca)has a debian directory structure in the downsloads section that you can add to the navit source directory.
Gerrit
Hello,
Thanks to all here. I got navit running on my N900 with our help.
1) navit is unstable if started from GUI
I think the D-Bus configuration or implementaion in navit is not correct.
I use this "navit.desktop":
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Navit
Exec=/opt/navit/bin/navit
Icon=navit
#X-Osso-Service=org.navit_project.navit
#X-Osso-Type=application/x-executable
Terminal=true
May this is not a good idea. I don't know for what this D-Bus is used. But it runs stabel with this configuration.
2) I think we should create a new package and upload it into the repository.
To be able to simply install navit and get a working configuration.
Is there some where an explanation about create the navit package (on N900 or on Win XP). Then i can do it.
Anyone using the latest Cholya's version with PR 1.2?
I'm having it fail every time I click the screen...
I can touch and drag the map, to move, but when only clicking it: segfault...
WTF?
kiralema
2010-06-08, 19:18
First of all, thanks a lot guys for providing such an awesome information on Navit installation and usage!
I am also having a problem with Cholya's build . Somehow it requires some additional libraries (from Extras Devel?). So currently I am still using the earlier build 3048, provided by magellan94 in his post (http://talk.maemo.org/showpost.php?p=573415&postcount=275). Again - thanks a lot magellan94!
The only annoyance I've encountered so far is that Navit crashes when running from the desktop, as already pointed out by others. Running from the terminal works fine unless running as "navit &" and then closing the terminal window.
In case if anyone interested, I made a skin, which works a bit better for me than the original one:
http://lh5.ggpht.com/_4qtfOOvGWDM/TA6Om0cnN-I/AAAAAAAAAA0/wQC0EIsJlH8/s800/Screenshot.png
Here's the link to the file with modified XMLs and additional images, which need to be added to your /home/user/.navit folder: https://docs.google.com/leaf?id=0B5TaHg_ACSmrNDYyOGI5MzgtNmJlZi00NTdhLWEwN 2ItMWExNGM0MmQ3YzRh&hl=en
adhiemsumitro
2010-06-10, 09:05
Hi all,
I want to confirm :
- Maemo Pr 1.2
- navit-svn3014
- garmin enabled in navit.xml and maps.xml
- map gmapsupp.img provided by indonesian navigasi.net
no crash after 1hour :-)
saadgadit
2010-06-10, 09:26
hi all,
i want to confirm :
- maemo pr 1.2
- navit-svn3014
- garmin enabled in navit.xml and maps.xml
- map gmapsupp.img provided by indonesian navigasi.net
no crash after 1hour :-)
can u help me with it? May be on private message?
adhiemsumitro
2010-06-10, 10:04
where to start ?
I hope you read completely http://forums.internettablettalk.com/showpost.php?p=573415&postcount=275
saadgadit
2010-06-10, 15:53
where to start ?
I hope you read completely http://forums.internettablettalk.com/showpost.php?p=573415&postcount=275
yes but m still confused about how to setup garmin maps on navit.. ur help will highly be appreciated
adhiemsumitro
2010-06-11, 08:56
@saadgadit :
edit your maps.xml and navit.xml so it says : garmin=yes
and point to destination path of gmapsupp.img
saadgadit
2010-06-11, 10:16
IT GIVES FOLLOWING ERROR(S) WHILE STARTING UP NAVIT.. NAVIT STARTS SUCCESSFULLY BUT SHOWS NO MAP.. I HAD CHANGED THE DEFAULT COORDINATES TO MY HOME TOWN TOO..
~ $ navit
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
:garmin.c:217:1|:libgarmin 0.1-r320 initializing as GPS Backend
:garmin.c:471:1|:Loading /home/user/MyDocs/navit_maps/gmapsupp.IMG as disk image
:garmin_mdr.c:222:1|:HDR len =708 our=554
:garmin.c:983:1|:Using builtin types
:gar2navit.c:66:1|:Please define: poi_goverment_building
:gar2navit.c:66:1|:Please define: poi_bussines_service
:gar2navit.c:66:1|:Please define: poi_bussines_service
:garmin.c:217:1|:libgarmin 0.1-r320 initializing as GPS Backend
:garmin.c:475:1|:Loading /path/to/img as TDB
:garmin_tdb.c:66:1|:Can not open:[/path/to/img] errno=2(No such file or directory)
:garmin.c:251:1|:Implement me
:garmin.c:871:2|:order 18
:garmin.c:805:2|:Looking level=18 for 1158086.000000 3123852.000000 1156086.000000 3125852.000000
:garmin_rgn.c:1291:2|:Found 1 subfiles
:garmin.c:836:3|:sl=6 el=12 level=24
:garmin_obj.c:802:3|:Basemap bits:18 level = 0
:garmin_obj.c:817:3|:Loading 92211984 basemap:yes
:garmin_lbl.c:307:1|:Have 1 countries, 2 regions, 4 cities, 3 zip codes
:garmin_obj.c:849:3|:Loading level:0 bits:24
:garmin.c:851:2|:Loaded 7898 objects
navit:main_real:Using '/home/user/.navit/navit.xml'
:garmin.c:871:2|:order 10
:garmin.c:805:2|:Looking level=10 for 2244517.000000 535809.000000 2241619.000000 542174.000000
:garmin_rgn.c:1291:2|:Found 0 subfiles
:garmin.c:811:1|:Can not find map data for the area: 2244517.000000 535809.000000 2241619.000000 542174.000000
navit:tracking_update:failed to get position data
graphics_gtk_drawing_area:delete:enter this->win=0x15f000
@saadgadit :
edit your maps.xml and navit.xml so it says : garmin=yes
and point to destination path of gmapsupp.img
Hi, does it work with commercial garmin maps?
Re: :garmin.c:475:1|:Loading /path/to/img as TDB
:garmin_tdb.c:66:1|:Can not open:[/path/to/img] errno=2(No such file or directory)
I would look at the file name that you configured. E.g your file name appears to be: /home/user/MyDocs/navit_maps/gmapsupp.IMG from the error dump, but is it .img on the files system? Case matters on linux file names. x.IMG is not the same as x.img.
Or look for /path/to/img in the config file and place the correct file name/path there.
Gerrit
saadgadit
2010-06-13, 08:23
Re: :garmin.c:475:1|:Loading /path/to/img as TDB
:garmin_tdb.c:66:1|:Can not open:[/path/to/img] errno=2(No such file or directory)
I would look at the file name that you configured. E.g your file name appears to be: /home/user/MyDocs/navit_maps/gmapsupp.IMG from the error dump, but is it .img on the files system? Case matters on linux file names. x.IMG is not the same as x.img.
Or look for /path/to/img in the config file and place the correct file name/path there.
Gerrit
thanks friend :).. its working nowwww :).. bt one thing is fishy.. i have to go to show on map to show map on the main screen..
i got mine working with malaysia garmin free map (http://www.malfreemaps.com) , i can see the map, and my location, BUT... how to do the routing/zoom/search...etc?
btw, is POI in garmin loaded in navit?? the default display is 'zoom-out', i can't see anything EXCEPT highway, road, and river.
i got mine working with malaysia garmin free map (http://www.malfreemaps.com) , i can see the map, and my location, BUT... how to do the routing/zoom/search...etc?
btw, is POI in garmin loaded in navit?? the default display is 'zoom-out', i can't see anything EXCEPT highway, road, and river.
Hi Desin,
I have tried to download the Navit from maemo repo. Is that the one that you are having? I keep getting the error "invalid type 'garmin'". did you install any driver for garmin map in order to make it work?
Thanks.
i have managed to make it run already. The one in the repo has no garmin enabled. Got to follow magellan94 link. But the interface and reaction is not as good as expected.
adhiemsumitro
2010-06-22, 13:22
anyone has knowledge to share how to convert 2000++ waypoint into poi or bookmark.txt easily ? i have gpsbabel in handy ..
cjsegninir
2010-06-24, 04:07
Guys,
I'm trying to get some Venezuelan maps on my N900. So far, I got the GPSYV.net (free) maps.
These maps are in Garmin NT format, so I have a bunch of .img files corresponding to the whole Venezuela.
Question is, will Navit read them? Do I need to change anything or just copy the maps into navit_maps?
All help (apart from Magellan's post) will be deeply appreciated (big noob here).
thanks in advance!
adhiemsumitro
2010-06-24, 07:39
Guys,
I'm trying to get some Venezuelan maps on my N900. So far, I got the GPSYV.net (free) maps.
These maps are in Garmin NT format, so I have a bunch of .img files corresponding to the whole Venezuela.
Question is, will Navit read them? Do I need to change anything or just copy the maps into navit_maps?
All help (apart from Magellan's post) will be deeply appreciated (big noob here).
thanks in advance!
can you post here your navit.xml and maps.xml ? they should be in /home/user/.navit
cjsegninir
2010-06-24, 12:09
can you post here your navit.xml and maps.xml ? they should be in /home/user/.navit
Thanks adhiesumitro.
Sorry I can't upload the files, because I haven't installed Navit as yet!
I just want to be sure I'll be able to use the maps (.img Garmin NT format), before going through the installation part.
However, I plan to follow step by step Magellan94's post (http://talk.maemo.org/showpost.php?p=573415&postcount=275), so my files will look exactly like those.
Cheers
adhiemsumitro
2010-06-24, 15:07
Thanks adhiesumitro.
Sorry I can't upload the files, because I haven't installed Navit as yet!
I just want to be sure I'll be able to use the maps (.img Garmin NT format), before going through the installation part.
However, I plan to follow step by step Magellan94's post (http://talk.maemo.org/showpost.php?p=573415&postcount=275), so my files will look exactly like those.
Cheers
ok then,you may come back here after installation and get used to its ui. as far as i can tell, garmin .img works, but i havent tried using routing and bookmark file. good luck !
les_garten
2010-06-24, 15:28
Hi,
Been watching this thread for a long time off and on.
I have Sygic and Mappero that work OK.
Would I want Navit also or instead?
Can someone compare and contrast the various GPS SW available and why you guys like Navit?
For an overview over the navigation tools, see
http://wiki.maemo.org/Navigation_Tools
hey everyone,
I'm trying to get Navit for Garmin to work on my N900 but it doesn't. I followed all the steps with the .xml files and even the step from the Navit Garmin Wiki but it's doesn't work. When i start Navit from my N900 the gps picks up and it crached. I don't know how to fix it.
Can someone help me by giving me if possible all the rigth step to install it with the garmin map? I will really appreciate that.
Cheers Yanness
les_garten
2010-06-25, 00:08
For an overview over the navigation tools, see
http://wiki.maemo.org/Navigation_Tools
GROOVY! Thanx!
esiravegna
2010-06-25, 00:10
Hey folks. Managed to get the qt version working, build 3390 from chollya.org. However, I got the 'invalid garmin type' error with this on my maps.xml:
<map type="garmin" enabled="yes" data="/home/user/navit_maps/GMAPSUPP.IMG"/>
and a mapset accordingly set on navit.xml"
<!-- Mapset template for garmin maps -->
<mapset enabled="yes">
<map type="garmin" enabled="yes" data="/home/user/MyDocs/navit_maps/GMAPSUPP.IMG" debug="4"/>
</mapset>
Does anybody knows if that builds supports garmin maps?
Besides that, when starting navit I got this error:
navit:plugin_load:can't load '/opt/navit/lib/navit/autoload/libplugin_osso.so', plugin_init not found
navit:bookmarks_get_user_data_directory:creating dir /root/.navit
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:map_new:invalid type 'garmin'
The later we know already. Any ideas on if these errors are normal?
And finally. where can I find the Navit.desktop so I can edit it and cease to use the cmd line to start the program?
Thanks so much in advance!
Thanks adhiesumitro.
Sorry I can't upload the files, because I haven't installed Navit as yet!
I just want to be sure I'll be able to use the maps (.img Garmin NT format), before going through the installation part.
However, I plan to follow step by step Magellan94's post (http://talk.maemo.org/showpost.php?p=573415&postcount=275), so my files will look exactly like those.
Cheers
Go ahead and follow Magellan94's post. I've got the Venezuelan Garmin map working in Navit. Besides the steps indicated in that post, you'll need to edit maps.xml to look like:
<map type="garmin" enabled="yes" data="/home/user/MyDocs/navit_maps/GMAPSUPP.IMG"/>
Also, edit the following command lines in navit.xml:
<navit center="10 N -66 E" zoom="256" tracking="1" orientation="-1" recent_dest="10">
The above command line will set your initial position within the Venezuelan map.
<!-- Mapset template for garmin maps -->
<mapset enabled="yes">
<map type="garmin" enabled="yes" data="/home/user/MyDocs/navit_maps/GMAPSUPP.IMG" debug="4"/>
Finally, if you have a Windows OS, do not create the .navit directory in N900 using Windows (even though Windows managed to create the directory with the "dot" in front of "navit", it didn't work for me when copying the files in Xterminal), but rather create it directly in the N900 using Xterminal.
I hope the above helps, and for sure I can confirm that the Garmin Venezuelan map (venrut) works in Navit.
Hey folks. Managed to get the qt version working, build 3390 from chollya.org. However, I got the 'invalid garmin type' error with this on my maps.xml:
<map type="garmin" enabled="yes" data="/home/user/navit_maps/GMAPSUPP.IMG"/>
and a mapset accordingly set on navit.xml"
<!-- Mapset template for garmin maps -->
<mapset enabled="yes">
<map type="garmin" enabled="yes" data="/home/user/MyDocs/navit_maps/GMAPSUPP.IMG" debug="4"/>
</mapset>
Does anybody knows if that builds supports garmin maps?
Besides that, when starting navit I got this error:
navit:plugin_load:can't load '/opt/navit/lib/navit/autoload/libplugin_osso.so', plugin_init not found
navit:bookmarks_get_user_data_directory:creating dir /root/.navit
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:map_new:invalid type 'garmin'
The later we know already. Any ideas on if these errors are normal?
And finally. where can I find the Navit.desktop so I can edit it and cease to use the cmd line to start the program?
Thanks so much in advance!
esiravegna I haven't tried Garmin maps on build 3390. I can confirm they work on build 3048.
willi_iam
2010-06-25, 05:58
... where can I find the Navit.desktop so I can edit it and cease to use the cmd line to start the program?
you can find it in /usr/share/applications/hildon/
Exec=osso-xterm -e navit
works fine
;)
esiravegna
2010-06-25, 12:15
Thanks for your replies, folks!
@gimgag, I've tried the 3048 build as well, however, I found the 3390 QT based build to be much faster, hence my interest on getting garmin working on that :)
@willi_iam: I'll do that, thanks again.
Anyone else can confirm if 3390 works with garmin maps?
les_garten
2010-06-26, 18:19
I installed Navit from the app manager. Things seem setup differently from Magellan's post in March.
Can you guys provide a Howto setup the one from app manager?
I installed Navit from the app manager. Things seem setup differently from Magellan's post in March.
Can you guys provide a Howto setup the one from app manager?
Donwload Navit files from the link indicated in Magellan's post. I'm not sure if the Navit build you download from Application Manager is older than build 3048 (the one used in Magellan's post).
istarbuxs
2010-07-03, 12:05
Hey, I have followed Magellan's post. Though it seems that Navit doesn't show anything up my screen. Navit launches and it's all white.
launching it thru xterm
here are the things i see
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt
navit:vehicle_new:invalid type 'gpsd' ( i know it's not this)
navit: main_real: Using '/etc/navit/navit.xml'
did i do something wrong? need help
map name: PH_Luzon.bin
used xterm (vi) to edit the xml files
thanks in advance!
The latest version (0.2.0+dfsg.1-1maemo1~3446) of navit from http://www.chollya.org/navit is broken:
Icons have 0 byte size. As workaround I extraced the icons from the N8x0 navit package and uploaded them to
http://bokomoko.de/~rd/xpm.tgz
Extract them to
/opt/navit/share/navit/xpm/
and the package should work ok.
Rainer
istarbuxs
2010-07-06, 05:52
Hey, I have followed Magellan's post. Though it seems that Navit doesn't show anything up my screen. Navit launches and it's all white.
launching it thru xterm
here are the things i see
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt
navit:vehicle_new:invalid type 'gpsd' ( i know it's not this)
navit: main_real: Using '/etc/navit/navit.xml'
did i do something wrong? need help
map name: PH_Luzon.bin
used xterm (vi) to edit the xml files
thanks in advance!
help? anyone? :)
Donwload Navit files from the link indicated in Magellan's post. I'm not sure if the Navit build you download from Application Manager is older than build 3048 (the one used in Magellan's post).
Build in repo is 2916 from January. http://maemo.org/packages/view/navit/
FWIW i installed the version from repo and after moving the XML file and grabbing a map as per Magellan's instruction, it "works". My goal is to get the dev to upload a more recent build so more people can/will use this. That failing, i'm going to try to automate as much as possible of the process of installing using the chollya packages and provide a script.
I think this could be a hugely popular app if installation wasn't such a moving target.
I would appreciate feedback from those who have got the more recent builds working: gtk/internal/Qt? I assume the Qt users installed the experimental Qt 4.7 packages to get that working, right? TIA for info.
Edit: Had a chat with chollya on IRC and here's what i learned: Broken libfreetype and need for xslt make autobuilding compatibility a pain, hence reticence of dev to use maemo.org repos. qpainter renderer and internal gui are best combination at the present. Only the qml gui requires Qt 4.7 and it's not complete, anyway; chollya builds are against Qt 4.7 for this reason alone and the qpainter should be compatible with Qt 4.6 (which is installed by default on N900 now).
By forcing the latest qpainter package from chollya's package repo, i got the latest build (3478) to run. I will either provide a script to help others do the same, or work with devs to get new version uploaded.
Other random observations: i'd recommend against using the 3D view, especially when walking/biking due to the lack of compass on the N900. The jitter in GPS leads to swings in heading that cause a lot more redraws than are required in 2D display mode.
Installing Latest Navit
Edit 2011.06: There is a much newer build available in a third party repository. Installation instructions are here (http://talk.maemo.org/showpost.php?p=1025907&postcount=511), later in this same thread. I don't recommend using this script at this point.
Consider this to be Extras-devel level risk (http://wiki.maemo.org/Extras-devel) (experimental/may cause your navel to invert). It is a script that downloads a recent build from http://www.chollya.org/navit (the only developer building packages for Maemo), installs it and the dependencies, and also downloads the configuration files.
To install the latest version of Navit, download this with your N900: 14810 and save to "N900".
Then, make sure you have rootsh installed (use App Manager) and open an xterm window. Type:
mv MyDocs/navit-install.txt .
sudo gainroot
chmod a+x navit-install.txt
./navit-install.txt
exit
Pay attention to the output. You may need to answer "y" to a prompt.. There will be some warnings due to forced install and because of the file moving from the FAT filesystem to Ext. If all goes well it will eventually tell you "You need to copy your map to the navit_maps folder of N900. Name it mymap.bin."
Getting a map
(Note: this part could be done on N900, but is verrrrry slow--do it with a PC.) You can get a map of your area here (http://maps.navit-project.org/download/). Save it to your PC, rename it mymap.bin, and then connect your N900 with USB in Mass Storage mode and copy mymap.bin to the navit_maps folder. Alternative method: If you must do this part on the N900, use a pre-processed map for your country of interest, which can be downloaded from here (http://downloads.cloudmade.com). Pick the <your country>.navit.bin.zip file and download it to navit_maps in the N900 folder (AKA MyDocs). Unzip it. Rename the resulting map to mymap.bin.
To use a free garmin map, you'll need to edit .navit/maps.xml and either copy the existing entry or change it. The type should be "garmin" and the map name altered as appropriate. Garmin maps end with ".img".
If the script ended with "Success", you're done. Run Navit from icon. :cool:
Let me know if it works for you (or doesn't :)), so i can fix mistakes in my script and report bugs to the devs. I will update this post as needed.
Routing
To get routing instructions, you can either use bookmarks or tell navit to use a place as the destination. Do this by zooming in to the place you want to go to and going into the menu. Then select Actions->Map and either "Set as destination" or "Add as bookmark". Cancel routing from the Actions menu by selecting "Stop Navigation".
Tips and Tricks
Get as small of a map area as is useful for you. Map size affects performance. You can have multiple maps and enable/disable them from the GUI menu.
If things are sluggish, zoom in one level. The high-resolution screen of the N900 requires it to really process a lot of image elements at intermediate zoom levels (when many things are visible). I'm looking into changing the zoom level where some features show up to make the default install a bit more snappy.
You can enable the "Northing" option in the menu to make your map always stay with North "up" or rotate with your heading. This setting seems to periodically switch itself off. Sorry.
Known Issues
Some POI icons are broken in this release. This fixes it. This is because they are moving to all svg icons, but svg versions aren't available for some icons. If you have artistic abilities, you might help. ;)
Quitting by "x" in upper right doesn't fully kill app. Use "Quit" button in Actions menu or Ctrl-C in xterm where the app was started to close it. If you accidentally close navit this way, type "killall navit" in xterm to get rid of the rogue process. 1 (http://trac.navit-project.org/ticket/616)
Starting from icon doesn't work if you have closed navit using the Maemo5 quit button. (See previous item.)
Selecting the fullscreen icon sometimes causes a crash. Going fullscreen from the GUI's display menu usually works. 2 (http://trac.navit-project.org/ticket/618)
Issue commented on in previous post can now be fixed by modifying config file for "vehicle" to increase the threshold. 3 (http://trac.navit-project.org/ticket/17)
Searching can be limited due to the nature of OSM and some limitations in navit.
Selecting POIs menu option in GUI leaves navit busy forever. Suggest not doing it. :D 4 (http://trac.navit-project.org/ticket/619)
Fullscreen mode with routing:
11929
Updating navit
Due to the forced dependencies, it would be best to start by uninstalling the previous version. If you originally installed navit with the script, use the uninstall script. Otherwise use App Manager. Then get the latest install script and follow the install instructions above.
Removing navit
This script (http://talk.maemo.org/attachment.php?attachmentid=11924&d=1278693182) will uninstall navit. Download it and move/chown/etc. it in exactly the same way as the above script except that it is called navit-remove.txt instead of navit-install.txt.
11936
Thanks Flandry, nice script!
Some problems:
the .navit folder has to be under /home/user and not /home/user/MyDocs
the name of the map has to be mymap.bin and not mymap.dat
the download of the navit-xml.tar.gz file in the script doesn't work for me (I used the browser to download it)
To create a route just search for a location and set it as destination.
Thanks Flandry, nice script!
Some problems:
the .navit folder has to be under /home/user and not /home/user/MyDocs
I don't really understand what you mean. It is under /home/user in the script.
the name of the map has to be mymap.bin and not mymap.dat
the download of the navit-xml.tar.gz file in the script doesn't work for me (I used the browser to download it)
Oops. Fixed. wget doesn't download attachments with the filename.
The updated script should work completely now. (Crosses fingers.)
I don't really understand what you mean. It is under /home/user in the script.
Ah yes, I was wrong, I missed the "cd /home/user" at the beginning of the script, and because of the not working wget I created the ".navit" folder by hand at the wrong place.
I just tested the script from a wiped navit install and it seems to work. There's also a relatively easy fix for the invisible gui icons described here. I'll include that change to the XML config files next update. Done
I believe this is a complete, simpler replacement to magellan's very helpful but now rather old guide.
DACHIGGA
2010-07-10, 01:13
Hey flandy,
I've run your code and it seems to install fine, gets to the copy your maps dialog.
I've copied the maps over.
But I can't get it to run,
I've typed "navit" in exterm.
I get a ew errors.
map_rect_new_textfile unable to open textfile /home/user/.nait/bookmark.txt
navit: plugin_load:can't load ' /opt/navit/lib/font/libfont_freetype.so', error "libfribidi.so.0: cannot open shared object file: No such file or directory'
navitplugin_load:can't load ' /opt/navit/osd/libosd_core.so', already loaded
Hey flandy,
I've run your code and it seems to install fine, gets to the copy your maps dialog.
I've copied the maps over.
But I can't get it to run,
I've typed "navit" in exterm.
I get a ew errors.
map_rect_new_textfile unable to open textfile /home/user/.nait/bookmark.txt
navit: plugin_load:can't load ' /opt/navit/lib/font/libfont_freetype.so', error "libfribidi.so.0: cannot open shared object file: No such file or directory'
navitplugin_load:can't load ' /opt/navit/osd/libosd_core.so', already loaded
It sounds like it might be trying to use a different renderer or gui. Did you have it installed previously? The script won't overwrite a previous configuration. To clear out the configuration from a previous install, type
rm -r .navit at the xterm prompt and then install (or reinstall) using the script.
I have updated the post with a new script that fixes the GUI icon issue and also adds espeak for voice navigation. It's good for some laughs...
DACHIGGA
2010-07-10, 04:03
hmm...
this is the first time I'ev isntalled navit.
I uninstalled it using your script,
ran the
rm -r .navit command.
Reinstalled
still the same thing.
Anything else you can think of?
hmm...
this is the first time I'ev isntalled navit.
I uninstalled it using your script,
ran the
rm -r .navit command.
Reinstalled
still the same thing.
Anything else you can think of?
The only error message you have there that i don't get is the one about the missing freetype library. I checked and that file doesn't exist on my install, either--but doesn't cause an error. The developer mentioned he statically links freetype to work around broken maemo libraries but i don't know enough about it to know how that could be playing a role here. Let's see if anyone else runs into the same problem.
The only thing i can suggest for you to try at this point is installing the version in the Extras-testing repo to see if it works. Sorry.
DACHIGGA
2010-07-10, 23:30
The only error message you have there that i don't get is the one about the missing freetype library. I checked and that file doesn't exist on my install, either--but doesn't cause an error. The developer mentioned he statically links freetype to work around broken maemo libraries but i don't know enough about it to know how that could be playing a role here. Let's see if anyone else runs into the same problem.
The only thing i can suggest for you to try at this point is installing the version in the Extras-testing repo to see if it works. Sorry.
Thanks for the help BTW.
But just an update, I've reflashed, only installed Open SSH and rootsh then your navit script, still no luck.
Is there anything I'm missing, like something I need before I run your script?
Thanks for the help BTW.
But just an update, I've reflashed, only installed Open SSH and rootsh then your navit script, still no luck.
Is there anything I'm missing, like something I need before I run your script?
I appreciate the feedback. I only have my own device to compare so it's possible that something else i installed is providing the necessary files. I'm assuming it gave you the message about the map this time?
What would be helpful is if you uninstall using my script. Then, check to see what packages it complains about when you try to install the renderer:
sudo gainroot
dpkg -i navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3478_armel.deb
(you can use tab to complete the filename after the first few characters)
If it complains about anything missing besides various Qt libraries, that's probably the culprit.
If that doesn't yield anything useful, you can install the version from the extras repo and see if it works, which would be good to know.
It would also be helpful if i got feedback from anyone else who has tried it.
DACHIGGA
2010-07-11, 20:42
I appreciate the feedback. I only have my own device to compare so it's possible that something else i installed is providing the necessary files. I'm assuming it gave you the message about the map this time?
What would be helpful is if you uninstall using my script. Then, check to see what packages it complains about when you try to install the renderer:
sudo gainroot
dpkg -i navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3478_armel.deb
(you can use tab to complete the filename after the first few characters)
If it complains about anything missing besides various Qt libraries, that's probably the culprit.
If that doesn't yield anything useful, you can install the version from the extras repo and see if it works, which would be good to know.
It would also be helpful if i got feedback from anyone else who has tried it.
I will give it try when I get back to my phone tomorrow.
Thanks again
@Flandry: is libgarmin working on the build you're using? IINM it's not working in the latest, qtpainter enabled SVN build.
I will give it try when I get back to my phone tomorrow.
Thanks again
Here's something more direct to try first:
sudo gainroot
apt-get install libfribidi0
See if it actually installs something or just tells you it's already installed. If that's not installed it's probably the answer.
@Flandry: is libgarmin working on the build you're using? IINM it's not working in the latest, qtpainter enabled SVN build.
Apparently garmin is disabled on chollya's build. Libgarmin hasn't been ported to maemo is what he told me.
Edit: i pointed out to him woglinde's port and he said he'll try a build against it after lunch. :)
Here's something more direct to try first:
sudo gainroot
apt-get install libfribidi0
See if it actually installs something or just tells you it's already installed. If that's not installed it's probably the answer.
Apparently garmin is disabled on chollya's build. Libgarmin hasn't been ported to maemo is what he told me.
Edit: i pointed out to him woglinde's port and he said he'll try a build against it after lunch. :)
Free garmin maps now work. Use the updated install script here and follow the instructions in that post to modify the maps.xml file. The updated install makes sure libfribidi0 is installed, as well.
Edit: The navit project needs a complete set of svg map feature icons to complete the transition to the improved qml/qpainter version. If you are an artist, please consider helping out.
Done, can confirm that your script works swell and libgarmin is now working, at least with my local free garmin map (Malfreemaps)... Though now I have to figure out how to zoom in, search POIs and add precompiled POI files.
It also crashes when I select a precompiled POI as destination, oh well.
Thanks anyway flandry, now we're slowly but surely solving one of the few pet peeves I have left with my N900, the lack of proper maps.
Done, can confirm that your script works swell and libgarmin is now working, at least with my local free garmin map (Malfreemaps)... Though now I have to figure out how to zoom in, search POIs and add precompiled POI files.
It also crashes when I select a precompiled POI as destination, oh well.
Thanks anyway flandry, now we're slowly but surely solving one of the few pet peeves I have left with my N900, the lack of proper maps.
Thanks for the feedback. If you are missing the zoom in button because you kept your original configuration, you can either remove the configuration directory and re-run the install script, or edit the icon filenames at the end of OSM.xml in .navit to refer to .svg files instead of .png files. Be aware that if you do the former you'll have to re-edit to add your map to the xml file and etc.
Clicking on the POI menu option gets my N900 busy doing something forever until i kill navit, so that's definitely in need of work. :D
I agree about the map/navigation comment. It's why i'm stirring the navit pot to see what happens. :cool:
Alright, reinstalled using the script with a empty .navit dir, buttons are showing up.
But for the life of me, Navit refuses to route to anywhere on Garmin maps, any idea why? Also does installing the qt4 libraries actually do anything?
Alright, reinstalled using the script with a empty .navit dir, buttons are showing up.
But for the life of me, Navit refuses to route to anywhere on Garmin maps, any idea why? Also does installing the qt4 libraries actually do anything?
Libgarmin hasn't had a commit in a while. I don't think it's very complete and not getting any closer. According to this (http://wiki.navit-project.org/index.php/Garmin_maps), navigation is not supported in garmin maps. I don't know if that's still true or not.
I'm currently using the internal GUI and the qpainter renderer, forceing install because it was built for Qt4.7. This is so people can use it without installing the experimental Qt4.7 libraries, and because the devs told me that, at present, the internal GUI is the best option. The QML one will eventually replace it for Maemo users. (So to answer the question, you don't need the Qt libraries.)
Hmm, now I have to get rid of them then...
But about the routing issue with garmin maps, that's sad, really.
Flandry worked!
Where is that thanks button...
Seriously thank you, I was already using sygic, mappero and ovi. Wanted to give a try to navit but never had a time to actually sit and dig in cli. With your script is painless and works flawlessly. If only we had more people like you on this forum....
Cheers!
Thanks, Flandry, your script works for me too.
I have a suggestion, you can change the line in maps.xml to:
<map type="binfile" enabled="yes" data="/home/user/MyDocs/navit_maps/*.bin"/>
This way, you don't have to rename the .bin file, Navit will use all maps that you have in that folder.
Installed using Flandry's script provided here: http://talk.maemo.org/showpost.php?p=746245&postcount=383
Navit won't start at all. I didn't have any earlier versions installed before. When launching the navit from terminal I get this:
Nokia-N900:/home/user# navit
navit:bookmarks_get_user_data_directory:creating dir /root/.navit
map_rect_new_textfile unable to open textfile /root/.navit/bookmark.txt
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
And nothing happens after that, excep I see process "navit" taking CPU 90-99%. Any ideas?
I'm glad to hear this is working out for people. :)
Kovach: Thanks, had realized that after the last update and will be including that line and a similar one for garmin maps next time i update the XML. I've also been playing with the OSD layout because the present one takes a lot of precious vertical space.
Installed using Flandry's script provided here: http://talk.maemo.org/showpost.php?p=746245&postcount=383
Navit won't start at all. I didn't have any earlier versions installed before. When launching the navit from terminal I get this:
Nokia-N900:/home/user# navit
navit:bookmarks_get_user_data_directory:creating dir /root/.navit
map_rect_new_textfile unable to open textfile /root/.navit/bookmark.txt
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
And nothing happens after that, excep I see process "navit" taking CPU 90-99%. Any ideas?
The clue is the "#" and the /root/.navit. Yes, kids, this process died of root disease...
DACHIGGA
2010-07-14, 04:53
Hey Flandry.
Thanks a bunch for your help!
Your new script fixed it.
Thanks.
I'm glad to hear this is working out for people. :)
Kovach: Thanks, had realized that after the last update and will be including that line and a similar one for garmin maps next time i update the XML. I've also been playing with the OSD layout because the present one takes a lot of precious vertical space.
The clue is the "#" and the /root/.navit. Yes, kids, this process died of root disease...
Forgot to say that same happens if I run it as regular user. I just ran it root via putty so I could copy&paste the output here easily.
Forgot to say that same happens if I run it as regular user. I just ran it root via putty so I could copy&paste the output here easily.
Well rats then. I thought it was simply a matter of having the wrong config file in use.
Remove the configuration
rm -r .navit
and uninstall using the remove script and then see if the newest install script works. I haven't any other ideas at the moment on what could be wrong, sorry.
Well rats then. I thought it was simply a matter of having the wrong config file in use.
Remove the configuration
rm -r .navit
and uninstall using the remove script and then see if the newest install script works. I haven't any other ideas at the moment on what could be wrong, sorry.
Will do that and report back :) Thanks for the effort!
Edit: that did the trick, works now :)
Will do that and report back :) Thanks for the effort!
Edit: that did the trick, works now :)
Excellent; thanks for reporting back.
I'm interested in feedback from those who try this on whether it proves to be useful to them, and what changes would make it (more) useful. It's not a polished product but has some good stuff under the hood so far. As i don't have a car here, i can't really use it the way many people would.
I'm still hanging out at the IRC channel and have been peeking at the code to get a better idea what's going on and what's under development.
Some interesting facts:
A Palm WebOS version was just released by a port maintainer this week
WinCE and desktop windows and linux versions exist
An Android port is maintained
The Maemo release is just a variation of the main trunk and doesn't require a separate port like Android, Palm, and WinCE. This is due to the debian/linux nature of maemo. :)
Qt is becoming the best target for it, making the progress of navit on maemo (and meego) promising
Well, it seems constantly crash if I hit the full screen -button. Also it's quite unusable while driving because the lag is so high (map refreshes slowly, like every three seconds or so). But I'll keep testing this :)
Well, it seems constantly crash if I hit the full screen -button.
Yes, i noted that in the known issues and reported it in their bug tracker. If you use the menu in the gui to go full screen, it usually works.
Also it's quite unusable while driving because the lag is so high (map refreshes slowly, like every three seconds or so). But I'll keep testing this :)
How big of a map are you using? It's definitely sluggish if i zoom out, but at a reasonable zoom i can pan around fairly smoothly. I just grabbed a metro area map, though (about 15 miles to a side).
DACHIGGA
2010-07-15, 16:06
Oh and I have a minor update.
@Flandry
I think you mentioned before that Navit wouldn't work properly if loaded from the icon, but just for the hell of it, I lauched it using hte icon and it runs fine with no issues. Just thought you'd like to know.
Oh and I have a minor update.
@Flandry
I think you mentioned before that Navit wouldn't work properly if loaded from the icon, but just for the hell of it, I lauched it using hte icon and it runs fine with no issues. Just thought you'd like to know.
Original guide has up-to-date "Known issues" that explain what was going on.
arne.anka
2010-07-23, 14:00
not sure, if i missed it.
but has someone contact to the guy building navit and making it available at chollya.org?
it's great that someone fights the horrible build infrastructure of maemo and creates those packages. but he/she builds the qt parts always against the most recent qt libs which are never available for non-devel users.
could somebody who knows ask him/her to create those packages (qt-painter and gui-qml) against commly used qt libs instead?
and (but i gave up all hope long since) maybe a description how he/she set up the environment and builds those packages?
KiberGus
2010-07-25, 12:23
not sure, if i missed it.
but has someone contact to the guy building navit and making it available at chollya.org?
it's great that someone fights the horrible build infrastructure of maemo and creates those packages. but he/she builds the qt parts always against the most recent qt libs which are never available for non-devel users.
could somebody who knows ask him/her to create those packages (qt-painter and gui-qml) against commly used qt libs instead?
and (but i gave up all hope long since) maybe a description how he/she set up the environment and builds those packages?
Could you please find these packages in extras?
http://maemo.org/packages/view/libqt4-experimental-declarative/
They are only in extras-devel. There is no old stable versions.
Update: Sorry. I didn't understand you right.
not sure, if i missed it.
but has someone contact to the guy building navit and making it available at chollya.org?
it's great that someone fights the horrible build infrastructure of maemo and creates those packages. but he/she builds the qt parts always against the most recent qt libs which are never available for non-devel users.
could somebody who knows ask him/her to create those packages (qt-painter and gui-qml) against commly used qt libs instead?
and (but i gave up all hope long since) maybe a description how he/she set up the environment and builds those packages?
As i already explained, Chollya builds against Qt 4.7 (only in -devel right now) because it's required for the QML gui. It's possible to force install of navit and just not use the QML gui and that doesn't require any Qt packages not on the device by default. You can use my script to do that install or build it yourself. The configure script will not enable QML gui by default so you can build against Qt 4.6 easily enough.
arne.anka
2010-07-26, 09:48
possible to force install of navit
no need to force, the qt dep is in qtpainter and qml, not navit itself.
or build it yourself
well, if you read my previous posts, you would know that i (and several others) have begged _several_ times for instructions how to "build myself". scratchbox does not work (or needs apparently crude hacks), madde does not allow to include external libs (still wondering which genius made that decision) and the same seems to be true for the qt sdk.
so please, if it is that easy, would you care to enlighten us?
if not, refrain from using that stupid phrase!
It took me 3 tries to install but in the end it worked. I had to get this libfribidi0 first which the skript complained about. It also complained about libgarmin0 and libspeechd2 but that seems to be no problem after all.
I also installed espeak but this I am not very happy about. The sound is terrible and seems to be not depend on my volume settings.
How do I deactivate espeak for navit? I already read navit.xml. There is a comment about it and a line which states
<speech type="espeak" enabled="no"/>
which would lead me to believe it is deactivated. But its not. How do I get rid of speech output?
no need to force, the qt dep is in qtpainter and qml, not navit itself.
True, but the qpainter renderer is the best one so it's the one the script installs, hence that package is forced.
well, if you read my previous posts, you would know that i (and several others) have begged _several_ times for instructions how to "build myself". scratchbox does not work (or needs apparently crude hacks), madde does not allow to include external libs (still wondering which genius made that decision) and the same seems to be true for the qt sdk.
so please, if it is that easy, would you care to enlighten us?
if not, refrain from using that stupid phrase!
Charming.
Once all the dependencies were installed i had no trouble getting it to build in scratchbox with a typical procedure (/configure && make stuff). I haven't tried building packages using dpkg-buildpackage yet--just grabbed svn and used the standard build method. You can look at chollya's source package or the one in the repo to see what patches woglinde used to get it working in the autobuilder back in January. One of the patches is now obsolete (the one to revert a then-recent svn revision); i haven't looked into the others yet and did not apply any of them, but also haven't tried the binary that was built.
It took me 3 tries to install but in the end it worked. I had to get this libfribidi0 first which the skript complained about. It also complained about libgarmin0 and libspeechd2 but that seems to be no problem after all.
I also installed espeak but this I am not very happy about. The sound is terrible and seems to be not depend on my volume settings.
How do I deactivate espeak for navit? I already read navit.xml. There is a comment about it and a line which states
<speech type="espeak" enabled="no"/>
which would lead me to believe it is deactivated. But its not. How do I get rid of speech output?
The navit.xml refers to external xml files for different setttings, including speech. Check speech.xml for the real voice directions configuration.
About the volume: apparently espeak doesn't use the "right" sound channel, so the volume setting doesn't affect it. Eventually the internal navit volume will probably control it but for now you can change the amplitude with a switch in the output to espeak in speech.xml file as follows:
-a 50
Where 100 is default. See http://espeak.sourceforge.net/commands.html.
I've also found that adding the -z switch improves performance a bit (truncates empty space at end of phrases), and also liked the results better after speeding up the rate a bit.
arne.anka
2010-07-28, 09:31
Once all the dependencies were installed i had no trouble getting it to build in scratchbox with a typical procedure (/configure && make stuff).
care to describe the setup of your environment resp the steps you took to set it up in detail?
See http://espeak.sourceforge.net/commands.html.
I've also found that adding the -z switch improves performance a bit (truncates empty space at end of phrases), and also liked the results better after speeding up the rate a bit.
Thanks for the hints. After playing with espeak a while I found some settings I will try in the car next.
As the modifiers didn't seem to change anything with German language I completly removed them. Also to me it sounded better when slowing down.
My setting are now espeak -vde -a25 -s120
Maybe I will need to speed up to 140 or 150 and turn up volume a bit. This will be tested when driving and finetuned.
espeak is doing something weird with the sound output, but you can avoid it by using espeak --stdout | aplay. This will respect the volume control of the N900.
Moreover, if you add & at the end (yes, you need & not just &), this will be run in the background, and navit will not freeze while speaking. So I would use:
echo '%s' | espeak -ven+m2+croak --stdout | aplay &
Hello,
I have tried navit with the script in post #383 by flandry. It installed navit on my n900 and I was eventually able to run it using the desktop icon.
I have difficulty finding a lot of places. Is there any plan to enable searching by postcode (UK) for places?
Once all the dependencies were installed i had no trouble getting it to build in scratchbox with a typical procedure (/configure && make stuff).
...
but also haven't tried the binary that was built.
Have you tried the binary that you built since? I can't get the ones I compile to display anything...
I've compiled QT 4.7 for Maemo for the Nokia N900 and then the latest navit Subversion checkout.
I compiled it with:
./configure --enable-static --disable-binding-python --disable-gui-sdl --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling="32,48,64" --enable-svg2png-scaling-flag="32,48,64" --enable-svg2png-scaling-nav="8,16,32,48,64" --disable-samplemap --disable-graphics-sdl --enable-vehicle-maemo --enable-gui-qml --enable-plugin-pedestrian --disable-graphics-null
Now when I run navit, it runs with the following feedback on the console:
$ navit
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:plugin_load:can't load '/usr/lib/navit/osd/libosd_core.so', already loaded
and that's it, no graphical output, nothing. Originally thought the graphics null display was active, that's why I explicitly disabled it.
Doesn't crash or segfault, stays put there running, but no graphical output...
What could be wrong? Any ideas?
adhiemsumitro
2010-08-17, 04:23
any news about osd files for better view ? i tried using osd files from somewhere in this thread (which is compatible with magellan's version) but failed when being used on flandry's version
Installing Latest Navit
Removing navit
This script (http://talk.maemo.org/attachment.php?attachmentid=11924&d=1278693182) will uninstall navit. Download it and move/chown/etc. it in exactly the same way as the above script except that it is called navit-remove.txt instead of navit-install.txt.
11936
Hello Flandry,
I wonder if you would consider revising your uninstall script as it does not remove all that the install script instals. There are still deb files left in /home/user. Also espeak was left on the system after uninstall via script. This is just what I have noticed. Thanks.
ldrojasm
2010-08-29, 20:22
Hi.
Does anyone knows how can I change the default Country on the Towns menu? Reading on the navit wiki page, they mention some white box right under the World Icon, but that doesn't show up on the build I downloaded (right from the repository 0.2.0-svn2916+dfsg.1)
BTW, this is a GREAT appliation! I tried all the other navigation tools (mappero, modrana, nokia maps) and by far this is the one that I like the most!
-Luis
Hi Flandry,
I couldn't run using your script. It seems I'm the only one who is having this problem.. Per your script,
mv MyDocs/navit-install.txt .
sudo gainroot
chmod a+x navit-install.txt
./navit-install.txt
exit
I downloaded navi-install using n900 and tried saving to either Nokia N900, or Documents or MyDocs, then I run from X Terminal either:
mv /navit-install.txt . OR
mv documents/navit-install.txt . OR
mv MyDocs/navit-install.txt .
Then I would get this error:
mv: cannot rename '/navit-install.txt': No such File or Directory OR
mv: cannot rename 'documents/navit-install.txt': No such File or Directory OR
mv: cannot rename 'MyDocs/navit-install.txt': No such File or Directory
Could you tell me what I did wrong?
Thanks,
Have you tried the binary that you built since? I can't get the ones I compile to display anything...
I've compiled QT 4.7 for Maemo for the Nokia N900 and then the latest navit Subversion checkout.
I compiled it with:
./configure --enable-static --disable-binding-python --disable-gui-sdl --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling="32,48,64" --enable-svg2png-scaling-flag="32,48,64" --enable-svg2png-scaling-nav="8,16,32,48,64" --disable-samplemap --disable-graphics-sdl --enable-vehicle-maemo --enable-gui-qml --enable-plugin-pedestrian --disable-graphics-null
Now when I run navit, it runs with the following feedback on the console:
$ navit
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:plugin_load:can't load '/usr/lib/navit/osd/libosd_core.so', already loaded
and that's it, no graphical output, nothing. Originally thought the graphics null display was active, that's why I explicitly disabled it.
Doesn't crash or segfault, stays put there running, but no graphical output...
What could be wrong? Any ideas?
I don't remember anymore if the binary i compiled worked. I think it didn't produce any display and i assumed it was a configuration problem and then got busy with other things. If the navit.xml and files included by it aren't to its liking, then that's often the result.
any news about osd files for better view ? i tried using osd files from somewhere in this thread (which is compatible with magellan's version) but failed when being used on flandry's version
In the build that my script installs, the different aspects of configuration have been broken out into separate files for ease of modifying specific aspects. The OSD description is in OSD.xml.
I have tried modifying the layout but the default is actually pretty good given the landscape orientation and also the GUI is limited. Basically i'm waiting for a working version of the QML GUI to see how that improves things.
Hello Flandry,
I wonder if you would consider revising your uninstall script as it does not remove all that the install script instals. There are still deb files left in /home/user. Also espeak was left on the system after uninstall via script. This is just what I have noticed. Thanks.
Right, it only uninstalls the packages and doesn't delete them. You can delete them using
rm navit*.deb
It also doesn't remove anything that might have been installed by another application, like espeak.
sudo gainroot
apt-get remove espeak
Should accomplish that.
Hi Flandry,
I couldn't run using your script. It seems I'm the only one who is having this problem.. Per your script,
mv MyDocs/navit-install.txt .
sudo gainroot
chmod a+x navit-install.txt
./navit-install.txt
exit
I downloaded navi-install using n900 and tried saving to either Nokia N900, or Documents or MyDocs, then I run from X Terminal either:
mv /navit-install.txt . OR
mv documents/navit-install.txt . OR
mv MyDocs/navit-install.txt .
Then I would get this error:
mv: cannot rename '/navit-install.txt': No such File or Directory OR
mv: cannot rename 'documents/navit-install.txt': No such File or Directory OR
mv: cannot rename 'MyDocs/navit-install.txt': No such File or Directory
Could you tell me what I did wrong?
Thanks,
The first two don't exist. The first one looks for a file in the root of the filesystem called navit-install.txt. The second looks for the file in a non-existent directory called documents (the Documents folder is at MyDocs/.documents (note the period in the name). The last should have worked if you were in the user home directory (the default when you first open an xterm) and saved the script in Nokia N900 (which is the directory called /home/user/MyDocs).
Perhaps you used a hyphen instead of an underscore, or vice versa?
dead_orc
2010-09-23, 13:09
Hi there.
I set up navit successfully and tested it a while.
As I need spoken directions, I fiddled around with eSpeak and it turned out that the directions weren't spoken when the mediaplayer was playing. This was caused by the /etc/pulse/xpolicy.conf file, to which I added the following stanza:
[stream]
property = application.name@equals:"eSpeak"
group = alwayson
That makes the eSpeak-voice hearable even when receiving phone calls. Alternatively, you could use "group = media" to be on the same priority as the media player (i.e. be muted when in calls)
This bugreport (https://bugs.maemo.org/show_bug.cgi?id=5524) helped me greatly.
Also, I'm using the Mbrola voice mb-de5. The ARM-binary from http://tcts.fpms.ac.be/synthesis/ works flawlessly, and the needed files for eSpeak are already shipped. I just downloaded the voice file from the aforementioned website and voila - nice voice talking to me.
Hope that anybody finds these information useful.
Apart from that, the navigation is quite good, considering it's all free. The spoken directions are a bit more complicated to understand than those of "real" navigation systems, but I suppose they use pre-recorded real voices, which gives them some advantage. (of course, this could be done with navit as well. Who's recording? :D) The missing compass in the N900 makes it difficult for navit to know which direction I'm looking, so it gets a bit confused when standing still (e.g. at traffic lights), but the screen usually correctly shows what to do.
Tomorrow, I'll be using it for real navigation, hope it works out well. :)
HELP: I'm trying to install navit (SVN 3582)but my N900 tells me an application package libgpsbt is missing. Can somebody tell me where and how to get it?
I have tried <apt-get install libgpsbt > in X terminal but my N900 tells me "E: could not open lock file /var/lib/dpkg/lock - open (13 permission denied)" and "E: Unable to loch the administration directory (/var/lib/dpk/), are you root?"
Please tell me what to do now...
arne.anka
2010-09-24, 17:25
"... are you root?"
well, _are_ you?
arne.anka
2010-09-24, 17:27
/etc/pulse/xpolicy.conf ...
[stream]
property = application.name@equals:"eSpeak"
group = alwayson
very interesting. i never use the speech feature of navit (disabling in navit conf is usually the first thing), but who knows when that pulse configuration bit will come in handy?
i just changed the script for the last chollya 3541 and works fine
working with garmin maps and openstreet
Wikiwide
2010-10-04, 12:04
I would like to have vector maps... It makes routing so much easier... And it allows you to zoom in without distorting the picture... In an ideal world, maps would be presented as vector data, and only satellite images would be in png format...
But, I don't need garmin maps, I don't like too many dependencies, and I would prefer to have the smallest number of layers of software between the user and the hardware. The dependencies are a nightmare for me...
An example:
program->python-cairo->libcairo2->libfreetype6->zlib1g->libc6
program->python2.5->python2.5-minimal->pymaemo-optify->upstart
The programs used by people are just a tip of the iceberg: the number of the system packages installed automatically is much larger than the number of programs he uses...
It is certainly off-topic. But the point is: I cannot install navit because of its numerous dependencies (why do you need wget, for instance? if it is used only during installation, then find another, normal method of installation), and it seems that navit is the vector map program which makes the best progress and is the most flexible (I like XML).
But, why do all the vector map programs convert XML to something else like .bin or .pak? Cannot Geography Markup Language be viewed directly in some kind of rendering engine, similarly to HTML and SVG, instead of being converted to some special format?
Need help getting the maps to work! I have installed Navit via the application manager on the phone. I have downloaded the map (.bin file) and renamed it. However, I don't know where to put it. I can't find the navit_maps folder. Where is it?
Wikiwide
2010-10-06, 04:39
Quick reply of a human who hasn't got to install navit:
Most likely, you need to save this bin file as:
/home/user/MyDocs/navit_maps/mymap.bin
When in Mass Storage Mode, the way is:
I:/navit_maps/mymap.bin
or
E:/navit_maps/mymap.bin
or
Q:/navit_maps/mymap.bin
or whatever letter was given to the device.
blueicon
2010-10-11, 11:45
Gday everyone,
This is my first post here and I want to say thanks to everyone of you for tying to help others with your efforts and times, keep up good work :)
I installed navit from repo using app manager, then I copied xml files to .navit directory and got my custom map from open street map [.bin file] and I saved it under a directory that I refer to in my maps.xml file.
I launch navit from command line and I get this error
************************************************** *********************************
unable to open textfile /home/user/.navit/bookmark.txt
plugin_osso : osso_navit:error initiating osso context
navit : plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
navit:file_data_read_compressed:uncompress failed
*** glibc detected *** navit: free(): invalid pointer: 0x00078140 ***
======= Backtrace: =========
/lib/libc.so.6[0x4109023c]
/lib/libc.so.6[0x41091558]
/lib/libc.so.6(cfree+0xb8)[0x410917e8]
/usr/lib/libglib-2.0.so.0(g_free+0x44)[0x411e7afc]
navit(file_data_read_compressed+0x15c)[0x1e898]
/opt/navit/lib/navit/map/libmap_binfile.so[0x4041def4]
/opt/navit/lib/navit/map/libmap_binfile.so[0x4041e380]
/opt/navit/lib/navit/map/libmap_binfile.so[0x40421270]
/opt/navit/lib/navit/map/libmap_binfile.so[0x40420700]
/opt/navit/lib/navit/map/libmap_binfile.so[0x404217d8]
navit(map_new+0x64)[0x26cd4]
navit(tan+0x60c8)[0x18760]
/usr/lib/libglib-2.0.so.0(g_markup_parse_context_parse+0x1390)[0x411e6f94]
navit(tan+0x4bd8)[0x17270]
navit(tan+0x5a94)[0x1812c]
/usr/lib/libglib-2.0.so.0(g_markup_parse_context_parse+0x1390)[0x411e6f94]
navit(tan+0x4bd8)[0x17270]
navit(config_load+0xa4)[0x17404]
navit(main_real+0x23c)[0x12ad8]
navit(main+0xc)[0x12864]
/lib/libc.so.6(__libc_start_main+0x108)[0x4103c974]
navit(g_ascii_strcasecmp+0x44)[0x127d8]
======= Memory map: ========
00008000-00052000 r-xp 00000000 b3:02 34830 /opt/navit/bin/navit
00059000-0005e000 rw-p 00049000 b3:02 34830 /opt/navit/bin/navit
0005e000-000bd000 rw-p 0005e000 00:00 0 [heap]
40000000-40001000 rw-p 40000000 00:00 0
40001000-40002000 r--p 01451000 fe:01 6194 /usr/lib/locale/locale-archive
40002000-40005000 r--s 00000000 fe:01 7487 /usr/lib/gconv/gconv-modules.cache
40005000-40006000 rw-p 40005000 00:00 0
40006000-4000b000 r--p 00000000 b3:02 34810 /opt/navit/share/locale/en_GB/LC_MESSAGES/navit.mo
4000b000-4000c000 r--s 00000000 b3:02 115443 /home/user/.fontconfig/65615e97947156be5d60d3d2459d17f8-mipsel.cache-2
4000c000-4000f000 rw-p 4000c000 00:00 0
4000f000-4020f000 r--p 00000000 fe:01 6194 /usr/lib/locale/locale-archive
4020f000-4023f000 rw-p 4020f000 00:00 0
4023f000-40240000 r-xp 00000000 b3:02 34844 /opt/navit/lib/navit/autoload/libplugin_osso.so
40240000-40247000 ---p 00001000 b3:02 34844 /opt/navit/lib/navit/autoload/libplugin_osso.so
40247000-40248000 rw-p 00000000 b3:02 34844 /opt/navit/lib/navit/autoload/libplugin_osso.so
40248000-4024a000 r-xp 00000000 b3:02 34836 /opt/navit/lib/navit/map/libmap_textfile.so
4024a000-40252000 ---p 00002000 b3:02 34836 /opt/navit/lib/navit/map/libmap_textfile.so
40252000-40253000 rw-p 00002000 b3:02 34836 /opt/navit/lib/navit/map/libmap_textfile.so
40253000-402bc000 r-xp 00000000 b3:02 34826 /opt/navit/lib/navit/graphics/libgraphics_gtk_drawing_area.so
402bc000-402c3000 ---p 00069000 b3:02 34826 /opt/navit/lib/navit/graphics/libgraphics_gtk_drawing_area.so
402c3000-402c4000 rw-p 00068000 b3:02 34826 /opt/navit/lib/navit/graphics/libgraphics_gtk_drawing_area.so
402c4000-402c9000 r--s 00000000 fe:01 21725 /usr/var/cache/fontconfig/3830d5c3ddfd5cd38a049b759396e72e-mipsel.cache-2
402c9000-402ca000 r--s 00000000 fe:01 21727 /usr/var/cache/fontconfig/b64a443fb29fd68918eee3276c922bf0-mipsel.cache-2
402ca000-402cb000 r--s 00000000 fe:01 21729 /usr/var/cache/fontconfig/e166eff51bb88345c461ae8d1ca7510a-mipsel.cache-2
402cb000-402cd000 r--s 00000000 fe:01 21731 /usr/var/cache/fontconfig/33a4131ab2947bcca2a0105cf2372d2e-mipsel.cache-2
402cd000-402ce000 r--s 00000000 fe:01 21735 /usr/var/cache/fontconfig/24cfa87181cfa5a1c0a5ecfd4c14c4b3-mipsel.cache-2
402ce000-402cf000 r--s 00000000 fe:01 21737 /usr/var/cache/fontconfig/5aa0758679636099ac12dc31b5ab2fe8-mipsel.cache-2
402cf000-40319000 r-xp 00000000 b3:02 76052 /opt/maemo/usr/lib/libImlib2.so.1.4.0
40319000-40320000 ---p 0004a000 b3:02 76052 /opt/maemo/usr/lib/libImlib2.so.1.4.0
40320000-40321000 rw-p 00049000 b3:02 76052 /opt/maemo/usr/lib/libImlib2.so.1.4.0
40321000-40335000 rw-p 40321000 00:00 0
40335000-40344000 r--p 00000000 fe:01 9289 /usr/share/locale/en_GB/LC_MESSAGES/gtk20.mo
40344000-4034d000 r-xp 00000000 fe:01 5241 /lib/libnss_files-2.5.so
4034d000-40354000 ---p 00009000 fe:01 5241 /lib/libnss_files-2.5.so
40354000-40355000 r--p 00008000 fe:01 5241 /lib/libnss_files-2.5.so
40355000-40356000 rw-p 00009000 fe:01 5241 /lib/libnss_files-2.5.so
40356000-403c0000 r-xp 00000000 b3:02 34841 /opt/navit/lib/navit/font/libfont_freetype.so
403c0000-403c8000 ---p 0006a000 b3:02 34841 /opt/navit/lib/navit/font/libfont_freetype.so
403c8000-403c9000 rw-p 0006a000 b3:02 34841 /opt/navit/lib/navit/font/libfont_freetype.so
403c9000-403d5000 r-xp 00000000 fe:01 82978 /usr/lib/libfribidi.so.0.0.0
403d5000-403dd000 ---p 0000c000 fe:01 82978 /usr/lib/libfribidi.so.0.0.0
403dd000-403de000 rw-p 0000c000 fe:01 82978 /usr/lib/libfribidi.so.0.0.0
403de000-Aborted
/home/user/.navit #
************************************************** *********************************
Could you please help me figure out what went wrong? I'm sorry if this error was solved before and if so give me a link to the solution.
Thanks a lot,
Ahmed
blueicon
2010-10-13, 11:04
Guys, what about making a document that will always contain the most up to date instructions for installing navit. Frankly speaking I don't see it encouraging to go through the 44 pages (they will be much more later on), what about creating a certain thread that's locked for editing that would only contain the most up to date instructions, and make this thread to answer questions or report bugs?
Anyone see this interesting? Just an idea and please share your thoughts about it.
Thanks a lot,
Ahmed
Guys, what about making a document that will always contain the most up to date instructions for installing navit. Frankly speaking I don't see it encouraging to go through the 44 pages (they will be much more later on), what about creating a certain thread that's locked for editing that would only contain the most up to date instructions, and make this thread to answer questions or report bugs?
Anyone see this interesting? Just an idea and please share your thoughts about it.
Thanks a lot,
Ahmed
You're describing a wiki page... feel free to create/update the one for navit at http://wiki.maemo.org/navit.
This post is the easiest way to have a functional installation (of version 3479). There is a somewhat newer version (3541) available (at http://www.chollya.org/navit/) dated Aug 30. To install that, follow the instructions in that post, but do a search and replace of 3479 with 3541 on the install script (and on the remove script if you use it) before executing it. I haven't tested that version yet.
.... and got my custom map from open street map [.bin file]
I have can confirm same problem as blueicon, with the latest from www.chollya.org. I used the map generator web page for custom map, but they would not work. Remove them from map directory.
The pre-made maps from gloudmade work. The web page generated map format is different, for example Linux unzip cannot handle them properly. Also using maptool to generate navit map from .osm format map works.
If you cant use pre-made maps, there are instructions to cut your own region and use maptool in
http://wiki.navit-project.org/index.php/OpenStreetMaps
Not as convenient as using the web page map generator.
blueicon
2010-10-14, 12:21
Thanks a million sconf, it works now, you made my day :)
I notice there is a little problem, the addresses in Arabic are not displayed properly on the map, Arabic letters should be concatenated while they are not concatenated on the map.The Arabic address letters displayed in the status bar below the map are just rectangular shapes.
Also there are some problems with icons...
any help in that? :)
The gps symbol keeps blinking. After some seconds navit crashed then.
rbathgate
2010-10-19, 01:03
Hi,
EDIT: I have got past the first problem (below) now (no idea how!!!), but now during the process, it errors with:
----
E: could not get lock /var/lib/dpkg/lock - open (11 resource temporarily unavailble)
E: unable to lock the adminsitration directory (/var/lib/dpk/g/), is another process using it?
.
Downloading Navit packages...
./navit-install.txt: line 10: wget: not found
./navit-install.txt: line 13: wget: not found
./navit-install.txt: line 16: wget: not found
./navit-install.txt: line 19: wget: not found
Unable to download packages. Connect to the network fist and/or try again later.
----
I am connected to internet via WiFi with no other apps open (other than wifi)
----
(Original Problem Below, now fixed)
I'm having problems with Flandry's installation instructions post (http://talk.maemo.org/showpost.php?p=746245&postcount=383). I'm a newbie so please bear with me.
I have rootsh installed.
Go into x_terminal and I:
type: "mv MyDocs/navit-install.txt ."
hit enter
receive error : "mv: cannot preserve ownership of './navit-install.txt': operation not permitted"
am lost... should be writing the whole 5 lines of code in one line? if so, how do I create a line break without submitting the first line? confused!
-----
Thanks
Hi,
EDIT: I have got past the first problem (below) now (no idea how!!!), but now during the process, it errors with:
----
E: could not get lock /var/lib/dpkg/lock - open (11 resource temporarily unavailble)
E: unable to lock the adminsitration directory (/var/lib/dpk/g/), is another process using it?
.
Downloading Navit packages...
./navit-install.txt: line 10: wget: not found
./navit-install.txt: line 13: wget: not found
./navit-install.txt: line 16: wget: not found
./navit-install.txt: line 19: wget: not found
Unable to download packages. Connect to the network fist and/or try again later.
----
I am connected to internet via WiFi with no other apps open (other than wifi)
----
(Original Problem Below, now fixed)
I'm having problems with Flandry's installation instructions post (http://talk.maemo.org/showpost.php?p=746245&postcount=383). I'm a newbie so please bear with me.
I have rootsh installed.
Go into x_terminal and I:
type: "mv MyDocs/navit-install.txt ."
hit enter
receive error : "mv: cannot preserve ownership of './navit-install.txt': operation not permitted"
am lost... should be writing the whole 5 lines of code in one line? if so, how do I create a line break without submitting the first line? confused!
-----
Thanks
First error was caused by having App Mananger or FApMan open at the time.
The second "error" is just a warning and isn't actually a problem. You'll always get that when moving files from the FAT filesystem of MyDocs to the Ext filesystem of home or opt because of mismatches in filesystem features.
rbathgate
2010-10-19, 02:13
Thanks, that's solved it! :)
I'm now getting Error 404 on chollya.org on a number of instances during 'downloading navit packages'.
This simply due to server load/server being down, and just a case of trying later?
Thanks
EDIT:
Looking at the 404 errors:
It is, in one instance for example, trying to get:
http://www.chollya.org/navit/navit-gui-internal_0.2.0+dfsg.1-1maemo1~3479_armel.deb
However, browsing into:
http://www.chollya.org/navit/
This above file doesn't exist -- but http://www.chollya.org/navit/navit-gui-internal_0.2.0+dfsg.1-1maemo1~3541_armel.deb does -- slightly diferent ~xxxx
I think this is the case for a number of files. Is this therefore a problem with the script requested outdated files?
Thanks
You're right. He released new packages yesterday and that pushed the version the script looks for off the server. I've updated the install script (in this post) to use the release from yesterday. I haven't tested that version, so please let me know how it works for you.
rbathgate
2010-10-19, 06:53
Hey,
Thanks for that. The script seemed to work fine, and ended in Success!
Now however, I don't have the Navit icon to load it from --- can't see it anywhere... am I missing a step?
Thanks
Hey,
Thanks for that. The script seemed to work fine, and ended in Success!
Now however, I don't have the Navit icon to load it from --- can't see it anywhere... am I missing a step?
Thanks
Can't say if you're missing a step, but i just followed those instructions and it worked fine. Didn't spend much time in navit itself, but it did start up and i could pan around in the map.
Repeat the instructions from the beginning to make sure. There's no harm in it.
Also, be aware that the icon shows up as just a blue square at first, as is often the case. I imagine you mean there's no icon at all, but just thought i'd mention that.
rbathgate
2010-10-19, 19:33
Hi,
I ran the removal sscript and it gave me this message:
"package navit is not installed, so not removed
The following packages will be REMOVED:
navit-data navit-graphics-qt-painter navit-gui-internal"
I continued, but the message 'package navit is not installed' suggests something was wrong with the initial installation?
Then during reinstallation attempt, it ends with Success!, but has:
"errors encountered while processing:
navit_0.2.0+dfsg.1-1maemo1~3609_armel.deb"
Any help, most appreciated! (and thanks heaps for help so far!)
Rob
Then during reinstallation attempt, it ends with Success!, but has:
"errors encountered while processing:
navit_0.2.0+dfsg.1-1maemo1~3609_armel.deb"
Any help, most appreciated! (and thanks heaps for help so far!)
Rob
Well, which errors?
rbathgate
2010-10-19, 22:35
The error above the error encountered message is:
----
Unpacking navit (from navit_0.2.0+dfsg.1-1maemo1~3609_armel.deb)...
dpkg-deb (subprocess) : short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit state 2
dpkg: error processing navit_0.2.0+dfsg.1-1maemo1~3609_armel.deb (-- install):
short read in buffer copy (backend dpkg-deb during `./etc/navit/navit.xml')
----
Thanks
The error above the error encountered message is:
----
Unpacking navit (from navit_0.2.0+dfsg.1-1maemo1~3609_armel.deb)...
dpkg-deb (subprocess) : short read in buffer_copy (failed to write to pipe in copy)
dpkg-deb: subprocess paste returned error exit state 2
dpkg: error processing navit_0.2.0+dfsg.1-1maemo1~3609_armel.deb (-- install):
short read in buffer copy (backend dpkg-deb during `./etc/navit/navit.xml')
----
Thanks
:confused::eek:
I have no idea what that means, but it sounds like it could be a corrupted package. You could try running the unistall script again, and then deleting the packages and configuration with these commands in a new xterm window:
rm -r .navit
rm -r navit*
Then install again. Sorry, have no better ideas than that. :/
If that doesn't work, send me a private message. This dialog has probably run on long enough in the thread. :)
rbathgate
2010-10-21, 02:01
Hey all
Just a heads up, the maps created by
http://wiki.navit-project.org/index.php/OpenStreetMaps
Didn't want to work for me - crashed the app during open process...
I turned to a package from http://downloads.cloudmade.com/ and all worked well.
Just incase anyone else has problems...
adhiemsumitro
2010-10-23, 08:05
I just activated chollya.org repository and today it told me about new version,
thru fapman the upgrade process run flawlessly.
but when I try the newly installed navit, I lost the garmin map support (I guess so)
I checked the maps.xml and navit.xml, garmin still enabled. checked the map, the file exist.
someone can tell about this ?
adhiemsumitro
2010-10-23, 14:03
I just activated chollya.org repository and today it told me about new version,
thru fapman the upgrade process run flawlessly.
but when I try the newly installed navit, I lost the garmin map support (I guess so)
I checked the maps.xml and navit.xml, garmin still enabled. checked the map, the file exist.
someone can tell about this ?
update :
I downgraded into 30-aug version (from chollya.org) and that garmin maps appear again ..
maybe yes there s something wrong about garmin maps with that latest version ..
Hi guys,
I am trying Flandryway to install Navit but I haven't been much lucky.
When I start it from the icon, the gps start and then a few second later it crash. But the gsp stay on.
Hs someone else experienced that? Can someone help me please?
Cheers
:confused::eek:
I have no idea what that means, but it sounds like it could be a corrupted package. You could try running the unistall script again, and then deleting the packages and configuration with these commands in a new xterm window:
rm -r .navit
rm -r navit*
Then install again. Sorry, have no better ideas than that. :/
If that doesn't work, send me a private message. This dialog has probably run on long enough in the thread. :)
Hey Flantry,
I have tried install Navit with your way but I haven't been much lucky.
When I start it from the icon, the gps start and then a few second later it crash. But the gsp stay on.
Has someone else experienced that? Can you help me please?
Cheers
Installing Latest Navit
Consider this to be Extras-devel level risk (http://wiki.maemo.org/Extras-devel) (experimental/may cause your navel to invert). It is a script that downloads a recent build from http://www.chollya.org/navit (the only developer building packages for Maemo), installs it and the dependencies, and also downloads the configuration files.
To install the latest version of Navit, download this with your N900: 14810 and save to "N900".
Then, make sure you have rootsh installed (use App Manager) and open an xterm window. Type:
mv MyDocs/navit-install.txt .
sudo gainroot
chmod a+x navit-install.txt
./navit-install.txt
exit
Pay attention to the output. You may need to answer "y" to a prompt.. There will be some warnings due to forced install and because of the file moving from the FAT filesystem to Ext. If all goes well it will eventually tell you "You need to copy your map to the navit_maps folder of N900. Name it mymap.bin."
Getting a map
(Note: this part could be done on N900, but is verrrrry slow--do it with a PC.) You can get a map of your area here (http://maps.navit-project.org/download/). Save it to your PC, rename it mymap.bin, and then connect your N900 with USB in Mass Storage mode and copy mymap.bin to the navit_maps folder. Alternative method: If you must do this part on the N900, use a pre-processed map for your country of interest, which can be downloaded from here (http://downloads.cloudmade.com). Pick the <your country>.navit.bin.zip file and download it to navit_maps in the N900 folder (AKA MyDocs). Unzip it. Rename the resulting map to mymap.bin.
To use a free garmin map, you'll need to edit .navit/maps.xml and either copy the existing entry or change it. The type should be "garmin" and the map name altered as appropriate. Garmin maps end with ".img".
If the script ended with "Success", you're done. Run Navit from icon. :cool:
Let me know if it works for you (or doesn't :)), so i can fix mistakes in my script and report bugs to the devs. I will update this post as needed.
Routing
To get routing instructions, you can either use bookmarks or tell navit to use a place as the destination. Do this by zooming in to the place you want to go to and going into the menu. Then select Actions->Map and either "Set as destination" or "Add as bookmark". Cancel routing from the Actions menu by selecting "Stop Navigation".
Tips and Tricks
Get as small of a map area as is useful for you. Map size affects performance. You can have multiple maps and enable/disable them from the GUI menu.
If things are sluggish, zoom in one level. The high-resolution screen of the N900 requires it to really process a lot of image elements at intermediate zoom levels (when many things are visible). I'm looking into changing the zoom level where some features show up to make the default install a bit more snappy.
You can enable the "Northing" option in the menu to make your map always stay with North "up" or rotate with your heading. This setting seems to periodically switch itself off. Sorry.
Known Issues
Some POI icons are broken in this release. This fixes it. This is because they are moving to all svg icons, but svg versions aren't available for some icons. If you have artistic abilities, you might help. ;)
Quitting by "x" in upper right doesn't fully kill app. Use "Quit" button in Actions menu or Ctrl-C in xterm where the app was started to close it. If you accidentally close navit this way, type "killall navit" in xterm to get rid of the rogue process. 1 (http://trac.navit-project.org/ticket/616)
Starting from icon doesn't work if you have closed navit using the Maemo5 quit button. (See previous item.)
Selecting the fullscreen icon sometimes causes a crash. Going fullscreen from the GUI's display menu usually works. 2 (http://trac.navit-project.org/ticket/618)
Issue commented on in previous post can now be fixed by modifying config file for "vehicle" to increase the threshold. 3 (http://trac.navit-project.org/ticket/17)
Searching can be limited due to the nature of OSM and some limitations in navit.
Selecting POIs menu option in GUI leaves navit busy forever. Suggest not doing it. :D 4 (http://trac.navit-project.org/ticket/619)
Fullscreen mode with routing:
11929
Updating navit
Due to the forced dependencies, it would be best to start by uninstalling the previous version. If you originally installed navit with the script, use the uninstall script. Otherwise use App Manager. Then get the latest install script and follow the install instructions above.
Removing navit
This script (http://talk.maemo.org/attachment.php?attachmentid=11924&d=1278693182) will uninstall navit. Download it and move/chown/etc. it in exactly the same way as the above script except that it is called navit-remove.txt instead of navit-install.txt.
11936
This is w8 i get when trying to use navit
/home/user # navit
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt
plugin_osso:osso_navit:error initiating osso context
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
Maemo applications must be run with the run-standalone.sh script!
QGtkStyle was unable to detect the current GTK+ theme.
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:xinclude:Unable to include /home/user/.navit/OSD.xml
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
navit:main_real:Error parsing '/home/user/.navit/navit.xml': element '��2@�
' not closed
Some months back I enabled a magic setting in the config somewhere that allowed me to press and hold on the display to bring up a menu on the map screen itself, just wondering if anyone might know the particular option so I can enable this again, it made interacting with Navit a pleasure.
Wikiwide
2010-11-19, 21:28
Quick reply...
This is w8 i get when trying to use navit
/home/user # navit
map_rect_new_textfile unable to open textfile /home/user/.navit/bookmark.txt
plugin_osso:osso_navit:error initiating osso context
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
Maemo applications must be run with the run-standalone.sh script!
QGtkStyle was unable to detect the current GTK+ theme.
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:xinclude:Unable to include /home/user/.navit/OSD.xml
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
navit:main_real:Error parsing '/home/user/.navit/navit.xml': element '��2@�
' not closed
Do you have /home/user/.navit/bookmark.txt? Are permissions correct?
The same about /home/user/.navit/OSD.xml
/opt/navit/share/navit/maps/*.xml
Either run as non-root or run with run-standalone.sh script.
In
/home/user/.navit/navit.xml
Where is ��2@�? It's causing problems, it's non-closed, xml cannot be parsed.
Can someone update this page with informations about Navit on the N900? http://wiki.navit-project.org/index.php/Navit_on_n770/n800/n810
gnasgame3
2010-12-02, 17:14
quote <<To use a free garmin map, you'll need to edit .navit/maps.xml and either copy the existing entry or change it. The type should be "garmin" and the map name altered as appropriate. Garmin maps end with ".img".>>
cannot use garmin maps it says invalid type "garmin"
have changed the maps.xml to type garmin
vaporeso
2010-12-08, 02:18
is anyone getting garmin maps to work on this? ive tried last, and 2 previous version and cant get it to work, ive modified the maps.xml on the type part and the file extension part but with no luck at all, any idea?
There seems to be a problem with my qpainter.
The letters of the names don't appear visible but they are there unvisible.
me/user # run-standalone.sh navit
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):enter
graphics_qt_qpainter:graphics_priv* graphics_qt_qpainter_new(navit*, graphics_methods*, attr**, callback_list*):return
navit:plugin_load:can't load '/opt/navit/lib/navit/osd/libosd_core.so', already loaded
navit:xinclude:Unable to include /opt/navit/share/navit/maps/*.xml
map_binfile:map_binfile_open:Failed to load '/home/user/MyDocs/navit_maps/mymap.bin'
graphics_qt_qpainter:void RenderArea::do_resize(QSize):size 533x320
graphics_qt_qpainter:void RenderArea::do_resize(QSize):pixmap 0x216ad0 533x320
navit:main_real:Using '/home/user/.navit/navit.xml'
graphics_qt_qpainter:void RenderArea::do_resize(QSize):size 800x424
graphics_qt_qpainter:void RenderArea::do_resize(QSize):pixmap 0x216ad0 800x424
plugin_osso:osso_cb_hw_state_idle:(inact=0, save=0, shut=0, memlow=0, state=0)
navit:tracking_update:failed to get position data 1 1 1 0
navit:osd_std_click:calling command 'gui.menu()'
gui_internal:gui_internal_set_refresh_callback:con d=(null)
gui_internal:gui_internal_set_refresh_callback:con d=(null)
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_search_list_set_default_ country:country Deutschland
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_search_changed:Town now 'B'
gui_internal:gui_internal_search_changed:process
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_search_changed:Town now 'Be'
gui_internal:gui_internal_search_changed:process
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_search_changed:Town now 'Ber'
gui_internal:gui_internal_search_changed:process
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_search_changed:Town now 'Berl'
gui_internal:gui_internal_search_changed:process
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_search_changed:Town now 'Berli'
gui_internal:gui_internal_search_changed:process
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_search_changed:Town now 'Berlin'
gui_internal:gui_internal_search_changed:process
QPainter::end: Painter not active, aborted
navit:tracking_update:failed to get position data 1 1 1 0
Cannot open file '/opt/navit/share/navit/xpm/gui_select_house_number.svg', because: No such file or directory
gui_internal:image_new_scaled:failed to load gui_select_house_number with 32,32
QPainter::end: Painter not active, aborted
gui_internal:gui_internal_set_refresh_callback:con d=(null)
QPainter::end: Painter not active, aborted
navit:debug_dump_mallocs:mallocs 0
/home/user #
benji.my
2010-12-21, 13:58
anyone still have the 3541 package? i want to use garmin coz only got garmin as updated map here..
NerdKnight
2010-12-27, 23:17
anyone still have the 3541 package? i want to use garmin coz only got garmin as updated map here..
I've uploaded the 3541 files, here you have an intaller with the new links
ChrisPZV
2011-01-03, 12:57
I found another really good method to get Navit to your n900 on www.ethersex.org (http://www.ethersex.de/index.php/Navit_auf_n900). Unfortunately there's a mistake in the repo which makes the n900 not to get the Packages-information from it. So I uploaded the necessary files on my webspaces, corrected the error and used the installation instructions but made one change:
Instead of using "http://chollya.org/navit/" as url to repo I replaced the url with "http://chpohl.de/navit_n900/".
I've to mention that I did an installation of a really old navit version from the maemo extra repo before and just updated it with 'my' repo to version 3684. Everything works fine that way but I assume that just do a clean install from chpohl.de-repo will do as well.
Complete installation instruction will be available on my site soon, I'll anounce it here. (That will include tuned configuration of osd and icons.)
Known bugs so far:
Navit does not give any spoken instructions when not in foreground. When media player is running its sound will be muted while navit wants to say instructions (but one cannot hear anything from navit/espeak).
Have fun using NavIt!
For all who have problems to install navit or remove it:
Install:
dpkg -i navitxxx.deb (for all the packages)
or
apt-get install navit (that resolves the dependencies)
Remove:
dpkg -r navit
This will remove the navit package (-r is short for --remove).
Note that you give only the 'navit' for --remove, while --install requires the entire .deb filename.
--remove will leave configuration files for the package on your system.
A configuration file is defined as any file you might have edited in order to customize the program for your system or your preferences.
This way, if you later reinstall the package, you won't have to set everything up a second time.
However, you might want to erase the configuration files too, so dpkg also provides a --purge option.
dpkg --purge navit will permanently delete every last file (for example *.xml) associated with the navit package.
That should be done for:
navit
navit-data
navit-graphics-qt-qpainter
navit-gui-internal
Missing files could be downloaded here:
http://sourceforge.net/projects/navit/files/navit/0.2.0/
Now have fun and solve your problems
Note there is a new build of Navit on Chollya's site...
Version 3981, I believe. Working well on the N900...
When I get a chance I will upload an updated script & alternate instructions to install manually, for the control freaks like me (basically the script boiled down to command line entries). I also have a a few changes to the navit.xml & speech.xml (starting in fullscreen, following the GPS automatically & slower speech). I think they are useful, and will try to post instructions on how to do them without destroying your install...
There are a few other tweaks I'd like to have. If anyone knows how to edit the navit.xml to remove the fullscreen button on the OSD (but not the menu option), I'd love to know how...
Oh, & I'd love to know how to change the espeak voice to a female voice... if anyone can enlighten me...
PS: Got the female voice thing down... Will post that later,... Now just missing elimination of the fullscreen icon,...
Note: the fullscreen button causes 3981 to crash...
willi_iam
2011-01-20, 07:39
Thanks for the hint to the new version :)
To remove the fullscreen button you have to search for a line similar to:
<osd enabled="yes" type="button" x="0" y="0" command="gui.fullscreen=!gui.fullscreen" src="toggle_fullscreen.xpm"/>
and remove it (or comment it out, if you want to try first ;) )
Thanks for the tip...
That line is found in the OSD.xml file.
Here is Landry's script, updated for the latest (attached, below, I think)...
Install Instructions:
First, Totaly remove existing Navit...
Change to user directory...
********************
cd /home/user/
apt-get install wget libspeechd2 espeak libfribidi0 libgarmin0
********************
********************
wget http://www.chollya.org/navit/navit_0.2.0+dfsg.1-1maemo1~3981_armel.deb
wget http://www.chollya.org/navit/navit-data_0.2.0+dfsg.1-1maemo1~3981_all.deb
wget http://www.chollya.org/navit/navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3981_armel.deb
wget http://www.chollya.org/navit/navit-gui-internal_0.2.0+dfsg.1-1maemo1~3981_armel.deb
********************
Installing...
********************
dpkg -i navit-data_0.2.0+dfsg.1-1maemo1~3981_all.deb
dpkg --force-depends -i navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3981_armel.deb
dpkg -i navit-gui-internal_0.2.0+dfsg.1-1maemo1~3981_armel.deb
dpkg -i navit_0.2.0+dfsg.1-1maemo1~3981_armel.deb
********************
Configuration...
********************
wget -O navit-xml.tar.gz http://talk.maemo.org/attachment.php?attachmentid=11936&d=1278727249
tar -xzf navit-xml.tar.gz
chown -R user .navit
********************
Creating map directory...
********************
mkdir -p MyDocs/navit_maps
********************
You need to copy your map to the navit_maps folder of N900. Name it mymap.bin.
MyDocs/navit_maps/mymap.bin
or edit the Map config file.
The speech.xml can be edited as follows to use a female voice:
<speech type="cmdline" data="echo '%s' | espeak -ven-us+f2" cps="1"/>
To edit the navit.xml, I recommend installing Leafpad (text editor) and launching it from within XTerm (making a backup first):
cd .navit
ls
cp navit.xml navit.old
leafpad navit.xml
Rather than go through all the edits, which can be found on the Navit Wiki, I have attached my navit.xml file (renamed navit-xml.txt & zipped)... To this post.
(Note: does not incl. removing the Fullscreen icon, per above)
Mentalist Traceur
2011-01-21, 07:15
Thanks for the heads up on the newer build, and the install script (even though I'm just gonna manually install the .debs over the old ones, assuming that's not a problem?), since the former is good to know in general and I know the latter helps plenty of people (just like the earlier install script helped me infinitely when I was less confident to install the earlier Navit build.
Would I want to get a new navit.xml file, or will the one from the older build work just fine? (Assuming I don't want the launch-in-full-screen change you made to the one attached in the above post?)
I initially used the one from before & edited mine. So, you should be fine...
2 requests from anyone who might know;
(1) Can anyone explain how one might add a 2D-3D toggle icon to the screen???, &
(2) Similarly, how would one go about adding an icon that would take you to bookmarks &/or the current coordinates menus???
Thanks...
Thanks for the tip...
That line is found in the OSD.xml file.
Here is Landry's script, updated for the latest (attached, below, I think)...
Install Instructions:
First, Totaly remove existing Navit...
Change to user directory...
********************
cd /home/user/
apt-get install wget libspeechd2 espeak libfribidi0 libgarmin0
********************
********************
wget http://www.chollya.org/navit/navit_0.2.0+dfsg.1-1maemo1~3981_armel.deb
wget http://www.chollya.org/navit/navit-data_0.2.0+dfsg.1-1maemo1~3981_all.deb
wget http://www.chollya.org/navit/navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3981_armel.deb
wget http://www.chollya.org/navit/navit-gui-internal_0.2.0+dfsg.1-1maemo1~3981_armel.deb
********************
Installing...
********************
dpkg -i navit-data_0.2.0+dfsg.1-1maemo1~3981_all.deb
dpkg --force-depends -i navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3981_armel.deb
dpkg -i navit-gui-internal_0.2.0+dfsg.1-1maemo1~3981_armel.deb
dpkg -i navit_0.2.0+dfsg.1-1maemo1~3981_armel.deb
********************
Configuration...
********************
wget -O navit-xml.tar.gz http://talk.maemo.org/attachment.php?attachmentid=11936&d=1278727249
tar -xzf navit-xml.tar.gz
chown -R user .navit
********************
Creating map directory...
********************
mkdir -p MyDocs/navit_maps
********************
You need to copy your map to the navit_maps folder of N900. Name it mymap.bin.
MyDocs/navit_maps/mymap.bin
or edit the Map config file.
The speech.xml can be edited as follows to use a female voice:
<speech type="cmdline" data="echo '%s' | espeak -ven-us+f2" cps="1"/>
To edit the navit.xml, I recommend installing Leafpad (text editor) and launching it from within XTerm (making a backup first):
cd .navit
ls
cp navit.xml navit.old
leafpad navit.xml
Rather than go through all the edits, which can be found on the Navit Wiki, I have attached my navit.xml file (renamed navit-xml.txt & zipped)... To this post.
(Note: does not incl. removing the Fullscreen icon, per above)
Thanks i use your scrip, but navit crash at start. I am trying to use garmin maps. I disable userdefined maps, enable garmin maps and change the path to the img file.
Thanks i use your scrip, but navit crash at start.That might be due to the libfreetype bug in maemo which is mentioned in the navit wiki [1] (assuming that this bug still exists in maemo).
As a general question: What is the overall experience concerning stability with recent navit versions on a fully updated N900?
[1] http://wiki.navit-project.org/index.php/Navit_on_Scratchbox_for_N8x0#N900_notes
badboyuk
2011-01-27, 14:10
Thanks for the tip...
That line is found in the OSD.xml file.
Here is Landry's script, updated for the latest (attached, below, I think)...
Install Instructions:
First, Totaly remove existing Navit...
Change to user directory...
********************
cd /home/user/
apt-get install wget libspeechd2 espeak libfribidi0 libgarmin0
********************
********************
wget http://www.chollya.org/navit/navit_0.2.0+dfsg.1-1maemo1~3981_armel.deb
wget http://www.chollya.org/navit/navit-data_0.2.0+dfsg.1-1maemo1~3981_all.deb
wget http://www.chollya.org/navit/navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3981_armel.deb
wget http://www.chollya.org/navit/navit-gui-internal_0.2.0+dfsg.1-1maemo1~3981_armel.deb
********************
Installing...
********************
dpkg -i navit-data_0.2.0+dfsg.1-1maemo1~3981_all.deb
dpkg --force-depends -i navit-graphics-qt-qpainter_0.2.0+dfsg.1-1maemo1~3981_armel.deb
dpkg -i navit-gui-internal_0.2.0+dfsg.1-1maemo1~3981_armel.deb
dpkg -i navit_0.2.0+dfsg.1-1maemo1~3981_armel.deb
********************
Configuration...
********************
wget -O navit-xml.tar.gz http://talk.maemo.org/attachment.php?attachmentid=11936&d=1278727249
tar -xzf navit-xml.tar.gz
chown -R user .navit
********************
Creating map directory...
********************
mkdir -p MyDocs/navit_maps
********************
You need to copy your map to the navit_maps folder of N900. Name it mymap.bin.
MyDocs/navit_maps/mymap.bin
or edit the Map config file.
The speech.xml can be edited as follows to use a female voice:
<speech type="cmdline" data="echo '%s' | espeak -ven-us+f2" cps="1"/>
To edit the navit.xml, I recommend installing Leafpad (text editor) and launching it from within XTerm (making a backup first):
cd .navit
ls
cp navit.xml navit.old
leafpad navit.xml
Rather than go through all the edits, which can be found on the Navit Wiki, I have attached my navit.xml file (renamed navit-xml.txt & zipped)... To this post.
(Note: does not incl. removing the Fullscreen icon, per above)
Tried your script but it didnt/could'nt install some of the packages, I tried running the Nav-it app anyway after whatever got installed but it would just appear as if its trying to start up but return back to the desktop. Done a reboot that still didnt fix it. I then tried to manually download the dependies i needed but keep getting errors such as package has been changed and known as something else and other errors. Could someone please help.
1 of them is espeech which isnt installing.
sondjata
2011-01-27, 14:19
are any of you all seeing the problem with navit announcing highways and highway exits? I'm seeing this on my N800 and cannot figure out why it's doing this. I keep the zoom pretty low so I can see exits coming up on the map, but an announcement would be nice.
Tried your script but it didnt/could'nt install some of the packages,What exactly could not be installed? Which error messages did you get?
badboyuk
2011-01-27, 14:57
What exactly could not be installed? Which error messages did you get?
Thanks for the quick reply, but I have managed to get it working without error and a diff way.
The main error I was having before was it couldnt install the libspeech package.
I figured out that because I use Fast App manager this was having an effect on it as I had disabled all the extras repos etc on the default manager.
But I have as of now disabled all the repos in F.A manager and re-enabled them back in the default and added a new repo for navit and just installed via the app manager, its loaded up nw.
Just need to move the map file in and see how it works.
badboyuk
2011-01-27, 15:23
ok run into problem now tho, its taking ages for the gps to connect and not only that but if i go into Actions->Town and try to enter anything using on the onscreen keys then its not showing anything being typed, even tried the hw keyboard. I cant even change any other settings or do much or anything at all.
Any ideas? I have downloaded the correct the map file for UK and placed it into MyDocs
ok run into problem now tho, its taking ages for the gps to connectWhere are you? The GPS antenna/receiver of the N900 doesn't seem to be the best. This is a well known probem. I can't get a lock in my flat at all, but if I leave the house I get one within seconds.
Go to a place where you can see as much sky as possible, start GPS recorder(should be preinstalled) and see if you can get a lock. You'll need at least 4 satellites to get a position (more is better).
and not only that but if i go into Actions->Town and try to enter anything using on the onscreen keys then its not showing anything being typed, even tried the hw keyboard. I cant even change any other settings or do much or anything at all.
Any ideas?Unfortunately not. I haven't used navit so far. But I'll change that during the weekend.
badboyuk
2011-01-27, 15:51
Where are you? The GPS antenna/receiver of the N900 doesn't seem to be the best. This is a well known probem. I can't get a lock in my flat at all, but if I leave the house I get one within seconds.
Go to a place where you can see as much sky as possible, start GPS recorder(should be preinstalled) and see if you can get a lock. You'll need at least 4 satellites to get a position (more is better).
Unfortunately not. I haven't used navit so far. But I'll change that during the weekend.
Been trying it from home. I shall try it and leave outside. I also have a bluetooth gps, I could use that as well but the onboard gps along with network positioning enabled should pick something up. I just want to see if this app works and if I can enter a route to see how it is.
Hi all,
I have created a navit wiki page http://wiki.maemo.org/Navit to be able to document the latest information in one place. Hopefully some day it's not necessary to read this long thread.
This page is now filled with my information to compile navit.
And a link to a deb file from my build.
This deb file installs a ready configured navit for Austria. So if you are happy with the sample map Linz and the language German then you don't need to configure anything ;-)
If somebody knows how we can put the deb file to extras repository please document it on the navit page.
I hope this is helpful for somebody.
I just installed navit and it seems to work. I haven't tried with GPS (ugly weather) but I can set up routes and the few I chose seem to be ok.
The interface is slightly lagging but it's acceptable.
What I have not found so far is setting up indirect routes (with one or more "via" points).
I use openstreetmap and I miss my home town. :( Strangely my much smaller home village only some kilometers away is in the catalogue. :)
It's on the map and the streets have correct names but I can't find it in the town menu. I guess I'll have to improve this map data.
@rpr:
The packages provided at chollya.org bring their own libfont_freetype.so. So if one uses these packages there is no need to compile it on your own. (just a hint)
I've just read the whole thread and I cannot seem to get to chollya.org site. Anyone else has this problem?
I've just read the whole thread and I cannot seem to get to chollya.org site. Anyone else has this problem?You're right, there is some problem with the site. I still have the debs of revision 3981 in my cache, so I could upload them.
But the forum allows only 483kB attachments and I'd need 3.9MB.
I have no own webspace and I don't know if a link to a one-click hoster would account as an "inappropriate link". Can somebody please shed a light on this?
...
I use openstreetmap and I miss my home town. :( Strangely my much smaller home village only some kilometers away is in the catalogue. :)
It's on the map and the streets have correct names but I can't find it in the town menu. I guess I'll have to improve this map data.
...
I had the same problem. The reason was that some is_in values are in German. So i have translated them into English and afterwards i was able to find all.
e.g. for Austria sed '/is_in/s/Österreich/Austria/g' at.osm | /opt/navit/bin/maptool at.bin
I just searched the osm file for a data record but there really is none for my home town. There are lots of POIs in the town, but not the town itself. It seems like the OpenGeoDB entry is missing in OSM.
That might be due to the libfreetype bug in maemo which is mentioned in the navit wiki [1] (assuming that this bug still exists in maemo).
As a general question: What is the overall experience concerning stability with recent navit versions on a fully updated N900?
[1] http://wiki.navit-project.org/index.php/Navit_on_Scratchbox_for_N8x0#N900_notes
How can i solve that? should i do this?: http://www.internettablettalk.com/wiki/index.php?title=Enabling_freetype_library_with_byt ecode_interpreter
How can i solve that? should i do this?: http://www.internettablettalk.com/wiki/index.php?title=Enabling_freetype_library_with_byt ecode_interpreterThat should work and would be the cleanest solution. However, I don't know if any other programs on the N900 rely on the broken libfreetype library that ships with maemo.
Therefore the safest solution would be to keep the stock library and make only navit use a newer one. You can either accomplish that by compiling navit on your own with the new library like described here [1] or by using the pre-compiled navit packages from chollya [2] which come with their own libfreetype version.
[1] http://wiki.maemo.org/Navit
[2] http://www.chollya.org/navit/
I reinstalled navit from the script and now it works. But my garmin maps didn't work. I edited navit.xml (i disabled openstreet maps, enabled garmin maps and edited the img path). My openstreet map works but i realy want the garmin maps. How can i enable libgarmin?
I think that i enable libgarmin. But i still can't see the map. How can i know if the map is locked?.
Hi, i try this:
Libgarmin
To support garmin maps you need this driver.
Download source: svn co http://libgarmin.svn.sourceforge.net/svnroot/libgarmin/libgarmin/dev libgarmin
./autosh.sh
./configure --prefix=/opt/navit/lib/3rdparty --libdir=/opt/navit/lib/3rdparty
make
make install
# create so file:
cd src
gcc -shared -o libgarmin.so *.o
cp libgarmin.so /opt/navit/lib/3rdparty
when i type ./autosh.sh i get this error:
./autosh.sh: line 2: aclocal: command not found
And when i try apt-get install aclocal:
E: Couldn't find package aclocal
badboyuk
2011-02-04, 17:20
I uninstalled and re-installed it , using the script again and it worked and installed everything this time round.
I just took it out for a test and can say that it does work but it can be frustrating to use especially when you want to input a route in, all the other options in the menu are pointless, including the quit option as it just quits if u accidently press the fullscreen icon anyway :P
The electronic voice is annoying and unclear at times, wish a normal voice could be added in.
Overall still seems quite buggy and would definetly be better if some more improvements could be made, mainly an easier menu structure for saving routes and creating new 1s.
But nice effort tho as there isnt much out there for the n900 in this area :)
Navit on the N900 is not as good as the Navit imlementation on an Android device. But considering all the other GPS options for the N900 that are decent are either online apps, comercial or both, it not too bad.
Major bugs/problems are;
1) OpenStreetMaps will peg streets to the nearest town name (& some of them are obscure, out-dated or wrong)
2) You are limited to the onscreen keyboard within Navit & it is buggy (doesn't update cases, #s, etc)
3) Synthesized voices are not always clear
4) Routing will sometimes force you to go the long wayaround, rather that identify shortcuts.
Other than those, it's great.
sondjata
2011-02-07, 15:52
Am I the only one who's navit does not announce highways or highway exits?
Do anybody has problems when they want to set a destination? I have tried it out but everytime I set a destination the app crash out...
Anyone know what is the solution?
Thanks
vBulletin® v3.8.8, Copyright ©2000-2025, vBulletin Solutions, Inc.