maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   [MOD] Enable Traffic/Automatic day-night in Drive & Traffic in Maps (https://talk.maemo.org/showthread.php?t=85353)

sillieidiot 2012-07-24 02:52

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by mbanck (Post 1241559)
Hrm, did you also apply the "optimized route" patch from http://talk.maemo.org/showpost.php?p...&postcount=189 ?

Would be usefule to know whether the behaviour you saw was possibly because of the patch and route option.

nope. only used the stable patch with the map colors and traffic.

sony123 2012-07-24 04:41

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by mbanck (Post 1241562)
I went through the thread again, and the only possible feedback I saw was the post from sillieidiot I just replied to.

As the optimized-route patch is not included in colin.stephane's UNSTABLE patch, I guess not many tried it yet.

Ok then let's wait for more feedback.

sony123 2012-07-24 04:47

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by sillieidiot (Post 1241968)
nope. only used the stable patch with the map colors and traffic.

I think I experienced this a couple of times, but I don't use Drive app often enough to see a pattern...

efion 2012-07-24 05:17

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
I use the patch methodes, and it says it's all done, but nothing's happen, the map colors button still day and night, and LA traffic doesn't show up.

Updated: Sorry, wrong patches, it's all working by now :)

Kroll 2012-07-26 10:01

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
~ # apt-get install -y --reinstall nokia-drive-
qml && sync && patch -p0 -i Patch-to-enable-tra
ffic-and-day-night-autoswitch-in-drive-for-N9-P
R1.3.diff
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Пакеты, которые будут обновлены:
nokia-drive-qml
обновлено 1, установлено 0 новых пакетов, переустановлено 1 переустановлено, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 1,817kБ архивов.
После данной операции, объём занятого дискового пространства возрастёт на 0B.
Получено:1 https://downloads.maemo.nokia.com ./ nokia-drive-qml 2.0.8+0m8 [1,817kB]
Получено 1,817kБ за 1с (1,320kБ/c)
(Чтение базы данных ... на данный момент установлено 50599 файлов и каталогов.)
Подготовка к замене пакета nokia-drive-qml 2.0.8+0m8 (используется файл .../nokia-drive-qml_2.0.8+0m8_armel.deb) ...
Распаковывается замена для пакета nokia-drive-qml ...
aegis-installing nokia-drive-qml (from 'com.nokia.maemo')
Обрабатываются триггеры для desktop-file-utils...
Обрабатываются триггеры для applauncherd-launcher ...
Настраивается пакет nokia-drive-qml (2.0.8+0m8) ...
Updating desktop entries... Done
sh: patch: not found
~ #

nothing happend, there is no Traffic on the map.

kfahoo 2012-07-26 10:15

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by mbanck (Post 1239818)
But if people want to test around, here is a patch: http://paste.debian.net/download/179798

(Setting routeOptionType to 2 instead of 3 clearly selects the shortest route for me)

will it work if I just simply change
Code:

routeType: RouteOptions.TYPE_FASTEST
to
Code:

routeType: RouteOptions.3
?




Quote:

Originally Posted by Kroll (Post 1243154)
~ #
sh: patch: not found
~ #

nothing happend, there is no Traffic on the map.

first install patch from http://harmattan-dev.nokia.com/pool/...+0m6_armel.deb

Kroll 2012-07-26 10:26

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by kfahoo (Post 1243158)

#
~ # dpkg -i patch_2.6-2+maemo7+0m6_armel.deb
Aegis rejecting patch_2.6-2+maemo7+0m6_armel.deb: Could not open debian archive
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
~ #

mbanck 2012-07-26 15:09

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by kfahoo (Post 1243158)
will it work if I just simply change
Code:

routeType: RouteOptions.TYPE_FASTEST
to
Code:

routeType: RouteOptions.3
?

I believe I tried that, but I got an error message back and it did not work. If you manage to get it to work (i.e. you get no additional error messages on the console if you start it in debug mode), that would make things easier. Note that I believe TYPE_FASTEST is the default, so if you get an error, it will silently revert to TYPE_FASTEST and appear to be working.

taviman 2012-07-26 19:13

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
Quote:

Originally Posted by Kroll (Post 1243165)
#
~ # dpkg -i patch_2.6-2+maemo7+0m6_armel.deb
Aegis rejecting patch_2.6-2+maemo7+0m6_armel.deb: Could not open debian archive
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
~ #

Kroll, move the patch_2.6 to "Downloads" with Filebox.

devel-su
rootme
cd home/user/MyDocs/Downloads
dpkg -i patch_2.6*.deb

this worked for me.

Kroll 2012-07-27 07:04

Re: [MOD] How to enable Traffic/Automatic day-night in Drive for PR1.2/1.3
 
@taviman
Thanks! That worked for me too!


All times are GMT. The time now is 12:05.

vBulletin® Version 3.8.8