--- Log opened Wed Jul 22 00:00:44 2015 01:16 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has joined #navit 01:22 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 01:22 -!- mode/#navit [+o KaZeR] by ChanServ 01:30 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has quit [Ping timeout: 246 seconds] 01:52 -!- xenos1984 [~xenos1984@127-166-191-90.dyn.estpak.ee] has joined #navit 02:04 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 02:05 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 02:05 -!- mode/#navit [+o KaZeR] by ChanServ 02:06 -!- jjelen [jjelen@nat/redhat/x-ifcxeydjfgqkeagv] has joined #navit 02:09 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 244 seconds] 02:41 -!- nudeltofu [~nudeltofu@nat49234.hs-niederrhein.de] has joined #navit 02:54 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has joined #navit 04:02 -!- _rd_ [~rd@p57A0F11A.dip0.t-ipconnect.de] has joined #navit 04:42 -!- _rd_ [~rd@p57A0F11A.dip0.t-ipconnect.de] has quit [Ping timeout: 250 seconds] 04:49 -!- jjelen [jjelen@nat/redhat/x-ifcxeydjfgqkeagv] has quit [Quit: Leaving] 04:57 -!- jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has joined #navit 05:01 -!- jjelen [jjelen@nat/redhat/x-bhsmpkznixiviouv] has joined #navit 05:02 -!- jjelen [jjelen@nat/redhat/x-bhsmpkznixiviouv] has quit [Client Quit] 05:02 -!- jjelen [jjelen@nat/redhat/x-ffourhteknaceqvm] has joined #navit 07:55 -!- jjelen [jjelen@nat/redhat/x-ffourhteknaceqvm] has quit [Ping timeout: 264 seconds] 08:21 -!- jjelen [jjelen@nat/redhat/x-lxdvtuajoljniqcj] has joined #navit 08:27 -!- jjelen [jjelen@nat/redhat/x-lxdvtuajoljniqcj] has quit [Ping timeout: 240 seconds] 08:44 -!- jjelen [jjelen@nat/redhat/x-jsvptzfvqyrbzhai] has joined #navit 08:58 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has joined #navit 09:00 -!- jjelen [jjelen@nat/redhat/x-jsvptzfvqyrbzhai] has quit [Ping timeout: 244 seconds] 09:03 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has quit [Ping timeout: 246 seconds] 09:03 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has joined #navit 09:04 #navit: < robertp> hi 09:04 #navit: < robertp> my gpsd said with gpsd -n -N -D 2 /dev/ttyUSB0 09:04 #navit: < robertp> gpsd:WARN: can't use GGA time until after ZDA or RMC has supplied a year. 09:11 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has quit [Ping timeout: 246 seconds] 09:14 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has joined #navit 09:14 #navit: < robertp> gps problem solved... i just had to start gpsd with the right device... damn windows user :D 09:17 -!- jjelen [jjelen@nat/redhat/x-zbgccnfuetphuslf] has joined #navit 09:53 -!- jjelen [jjelen@nat/redhat/x-zbgccnfuetphuslf] has quit [Ping timeout: 244 seconds] 09:58 -!- jjelen [jjelen@nat/redhat/x-wysaiogerrknjxyu] has joined #navit 10:02 -!- jjelen [jjelen@nat/redhat/x-wysaiogerrknjxyu] has quit [Ping timeout: 244 seconds] 10:27 #navit: < rcorello> robertp: hehe :) 10:37 -!- j_f-f [~quassel@jff-webhosting.net] has quit [Remote host closed the connection] 10:40 -!- j_f-f [~quassel@jff-webhosting.net] has joined #navit 10:46 -!- jjelen [jjelen@nat/redhat/x-fcrmvdtlboqsprao] has joined #navit 10:49 -!- _rd_ [~rd@p57A0F11A.dip0.t-ipconnect.de] has joined #navit 10:49 -!- _rd_ [~rd@p57A0F11A.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 11:01 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 11:01 -!- mode/#navit [+o KaZeR] by ChanServ 11:09 -!- xenos1984 [~xenos1984@127-166-191-90.dyn.estpak.ee] has quit [Quit: Leaving.] 11:36 -!- gernot_ [549694d6@gateway/web/freenode/ip.84.150.148.214] has joined #navit 11:37 #navit: < gernot_> hi 11:42 -!- nudeltofu [~nudeltofu@nat49234.hs-niederrhein.de] has quit [Quit: Leaving] 11:54 #navit: <@KaZeR> hi there 11:55 #navit: < gernot_> hi i made some tests. 11:56 #navit: < gernot_> first navit work, but... 11:57 #navit: < gernot_> the build come without spech generator (old flite) but work with my espeakdsp wrapper with espeak (international) 11:59 #navit: < gernot_> GPS dont work out of the box because gltt (closed source) is missed. Here i try the kernel internal driver. 11:59 #navit: < gernot_> Then the nls/gettext problem 11:59 #navit: < gernot_> and the big big problem is the RAM sice of the device. 12:00 #navit: < gernot_> starting navit from the tomtom navigator fail for this problem 12:00 #navit: < gernot_> street search in munich crash ... 12:01 #navit: < gernot_> So i can say that only 64M devices work well. 12:02 #navit: < gernot_> In my case i use swap on SDCARD to get around this. 12:02 #navit: < gernot_> But this need a complete recreating of ttsystem 12:09 -!- jjelen [jjelen@nat/redhat/x-fcrmvdtlboqsprao] has quit [Ping timeout: 250 seconds] 12:19 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has quit [Quit: Page closed] 12:21 #navit: <@KaZeR> ok 12:21 #navit: <@KaZeR> so, still have somw work to do there :) 12:22 #navit: <@KaZeR> i guess that gltt is the biggest blocker now 12:22 #navit: < gernot_> yes. it is 12:23 #navit: < gernot_> opentom.free.fr has a extraction tool in the toolchain 12:23 #navit: < gernot_> You can it easy extract from ttsystem, 12:23 #navit: <@KaZeR> mmm. http://wiki.navit-project.org/index.php/TomTom_development says that we should be able to use gpsd. is it a limitation of your device specifically ? 12:24 #navit: < gernot_> no, tried it not. go the opentom way... 12:25 #navit: < gernot_> but i don't recommend navit for 32M devices like OneXL 12:32 -!- jonathanmaw [~jonathanm@82-70-136-246.dsl.in-addr.zen.co.uk] has quit [Quit: Leaving] 12:35 #navit: < gernot_> please enable demo vehicle and gpsd for tests with speech and gpsd 12:44 #navit: < gernot_> i try gpsd on my system. its better to debug 12:45 #navit: <@KaZeR> so, if we enable gpsd, can we avoid the need for gltt ? 12:46 #navit: < gernot_> the information over gltt are 8 Years old. Try to compile it in the toolchain 12:47 #navit: < gernot_> we have to build and test gpsd first.... 12:48 -!- tryagain [~quassel@178.216.76.122] has joined #navit 12:56 #navit: <@KaZeR> you have a shell access on your tomtom? 13:00 #navit: < gernot_> no, only opentom 13:00 -!- jandegr [4dcb2596@gateway/web/freenode/ip.77.203.37.150] has joined #navit 13:01 #navit: < gernot_> But your built navit work on opentom. So i can test gpsd with it. 13:03 #navit: < gernot_> I try to compile gpsd, but it use scons... dont know this 13:07 #navit: <@KaZeR> i'm asking because if we can get a direct access to the nmea stream, we can avoid the need of gpsd 13:07 #navit: <@KaZeR> http://www.relevantmusic.de/blog/2009/01/script-use-tomtom-as-gps-receiver-for-your-linux-system/ 13:09 #navit: < gernot_> "dumpCommand='cat /var/run/gpspipe' #for TomTom One XL" 13:10 #navit: < gernot_> This is the pipe which gltt write 13:11 #navit: < gernot_> look like other Devices use the kernel driver 13:11 #navit: < gernot_> like in the navit configuration. 13:12 #navit: < gernot_> #dumpCommand='cat /dev/gpsdata' # for other/older TomToms 13:14 #navit: <@KaZeR> i'm reading about gltt 13:22 #navit: < gernot_> At Wikipedia i read that only few 32M deviced use global hammerhead 13:22 #navit: < gernot_> so i see this problem as prio 2 13:23 #navit: < gernot_> deviced=devices 13:27 -!- jandegr [4dcb2596@gateway/web/freenode/ip.77.203.37.150] has quit [Ping timeout: 246 seconds] 13:27 #navit: <@KaZeR> ok your prio #1 ? :) 13:28 #navit: < gernot_> speach 13:28 #navit: < gernot_> test on a 64M tomtom 13:29 #navit: < gernot_> NLS 13:30 #navit: < gernot_> suspend with the exit button 13:30 #navit: < gernot_> Resume... 13:37 -christel(~christel@freenode/staff/exherbo.christel)- [Global Notice] Hey folks, FOSSCON 2015 is coming up in just a month in Philadelphia. Saturday August 22nd at 9am. If you're in 6the area or can make it, stop by http://fosscon.us/Attend for more details and to register. 13:45 #navit: < gernot_> as i read at dpsd/hardware gpsd dont support global hammerhrad 13:46 #navit: < gernot_> so no way to com around gltt on tomtom one 13:51 #navit: < robertp> what does this: 'Fix the speech tag in navit.xml to let navit say:' 'Wenn möglich, bitte wenden' mean? 13:53 #navit: <@KaZeR> it means that we need a small config tweak to let navit know what TTS is available 13:56 #navit: < robertp> ah. okay. 13:58 #navit: < gernot_> robertp:There is by default a echo command.in the config. Replace it e.g. with espeak then navit will speak the text 13:59 #navit: <@KaZeR> robertp: when you'll have internet access, check the script at https://hackaday.io/project/3070-the-cherokee-carputer for a MUCH nicer voice synthesis :) 13:59 #navit: < robertp> ok thank you 14:00 #navit: <@KaZeR> (i meant internet access in the car ) 14:03 -!- jandegr [4dcb2596@gateway/web/freenode/ip.77.203.37.150] has joined #navit 14:10 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has quit [Ping timeout: 246 seconds] 14:15 #navit: <@KaZeR> gernot_: out of curiosity, have you tried the builds from http://download.navit-project.org/navit/tomtom/svn/ ? ( to know what's missing there ) 14:15 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has joined #navit 14:17 #navit: < robertp> wow espeak sounds.... erm... strange 14:17 #navit: < gernot_> No i tried only a older. It blocked boot 14:17 #navit: < gernot_> there is a link in th wiki... 14:19 #navit: < gernot_> searching 14:20 #navit: < gernot_> i tried this one http://www.navit-project.org/~xenos1984/navitom.tar.gz 14:27 #navit: < gernot_> 6122 is broken. only null graphics 14:29 #navit: < gernot_> 5794 is also broken 14:30 #navit: < gernot_> also the current has only null graphics 14:36 #navit: < gernot_> look like the tomtom platform has only few few users 14:37 #navit: < gernot_> go to by a touchscreen for raspberry... 14:38 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has quit [Ping timeout: 246 seconds] 14:38 #navit: < gernot_> there is no sdl in the toolchain 14:53 #navit: <@KaZeR> gernot_: yeah the binaries might have been broken for some time. if we can find a way to emulate a tomtom device we could detect that automatically in the future 14:55 #navit: < gernot_> i dont know about a tomtom emulator 14:57 -!- circleci-bot [~circleci-@ec2-54-205-65-129.compute-1.amazonaws.com] has joined #navit 14:57 #navit: < circleci-bot> No tests: pgrandin's build (#372; push) in navit-gps/navit (gh-pages) -- https://circleci.com/gh/navit-gps/navit/372 14:57 -!- circleci-bot [~circleci-@ec2-54-205-65-129.compute-1.amazonaws.com] has quit [Client Quit] 14:59 -!- circleci-bot [~circleci-@ec2-54-166-39-118.compute-1.amazonaws.com] has joined #navit 14:59 #navit: < circleci-bot> No tests: pgrandin's build (#373; push) in navit-gps/navit (gh-pages) -- https://circleci.com/gh/navit-gps/navit/373 14:59 -!- circleci-bot [~circleci-@ec2-54-166-39-118.compute-1.amazonaws.com] has quit [Client Quit] 15:01 -!- circleci-bot [~circleci-@ec2-54-147-130-53.compute-1.amazonaws.com] has joined #navit 15:01 #navit: < circleci-bot> No tests: pgrandin's build (#374; push) in navit-gps/navit (gh-pages) -- https://circleci.com/gh/navit-gps/navit/374 15:01 -!- circleci-bot [~circleci-@ec2-54-147-130-53.compute-1.amazonaws.com] has quit [Client Quit] 15:02 -!- circleci-bot [~circleci-@ec2-54-161-242-121.compute-1.amazonaws.com] has joined #navit 15:02 #navit: < circleci-bot> No tests: pgrandin's build (#375; push) in navit-gps/navit (gh-pages) -- https://circleci.com/gh/navit-gps/navit/375 15:02 -!- circleci-bot [~circleci-@ec2-54-161-242-121.compute-1.amazonaws.com] has quit [Client Quit] 15:04 -!- circleci-bot [~circleci-@ec2-50-16-126-106.compute-1.amazonaws.com] has joined #navit 15:04 #navit: < circleci-bot> No tests: pgrandin's build (#376; push) in navit-gps/navit (gh-pages) -- https://circleci.com/gh/navit-gps/navit/376 15:04 -!- circleci-bot [~circleci-@ec2-50-16-126-106.compute-1.amazonaws.com] has quit [Client Quit] 15:07 -!- circleci-bot [~circleci-@ec2-23-22-170-168.compute-1.amazonaws.com] has joined #navit 15:07 #navit: < circleci-bot> No tests: pgrandin's build (#377; push) in navit-gps/navit (gh-pages) -- https://circleci.com/gh/navit-gps/navit/377 15:07 -!- circleci-bot [~circleci-@ec2-23-22-170-168.compute-1.amazonaws.com] has quit [Client Quit] 15:20 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has joined #navit 15:24 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has quit [Ping timeout: 246 seconds] 15:26 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has joined #navit 15:54 #navit: < robertp> how can i get keypresses inside a plugin? navit works with rotary now and it speaks to me, too. 16:04 #navit: < gernot_> robertp: espeak? 16:05 #navit: < robertp> yes. it works. 16:05 #navit: < robertp> but for continuing my mp3player plugin, i need to get keypresses 16:06 #navit: < robertp> i cant find how its done in the code... and i dont know where to search for.... 16:06 #navit: < gernot_> is there a other interactive plugin to view? 16:07 #navit: < robertp> i know the j1850 plugin and the pedestrian plugin 16:08 #navit: < robertp> they dont use keys so far, i think 16:09 #navit: < rcorello> robertp: hm. a quick look at the code of the internal gui reveals that they use graphics_add_callback() to register a callback for key press events 16:11 #navit: < rcorello> but i'm not sure if/how you can do that from your own plugin. 16:13 #navit: < rcorello> it seems to be something that you may only be able to do from inside a gui plugin 16:18 #navit: < tryagain> rcorello callbacks (in general) are not plugin-specific. You may register any callback in any plugin. The only thing you will depend upon is something which fires that callback up. 16:20 #navit: < robertp> can a plugin be gui and osd? 16:22 #navit: < tryagain> You can define new osd type in plugin. But are you going to write a completely different gui? Like gui_internal? 16:24 #navit: < robertp> i dont know 16:25 #navit: < robertp> i want a music player inside navit, which has a artist - album - time osd and can be controlled by keypresses or buttons 16:26 #navit: < robertp> but i thought i could do a internal gui page for it too. 16:27 #navit: < robertp> i'm in the beginning of learning navit 16:28 #navit: < tryagain> Osd looks like a good start... After that, you may export some script functions (commands) from your osd and call them from internal gui hml-like code. 16:28 #navit: < tryagain> I think KaZeR has some osd plugin to control music playback. 16:29 #navit: < robertp> but he uses serial to control them 16:29 #navit: <@KaZeR> hey tryagain 16:31 #navit: <@KaZeR> robertp: you need keypress to get update events from your rotaty encoders ? 16:31 #navit: < robertp> no. i need keypress to choose the next artist or album 16:31 #navit: < robertp> or track 16:32 #navit: <@KaZeR> but the keypress is actually an event from your rotary encoders, right ? 16:32 #navit: < robertp> no. 16:32 #navit: <@KaZeR> oh sorry 16:32 #navit: <@KaZeR> keypress or buttons 16:32 #navit: <@KaZeR> just saw it 16:32 #navit: < robertp> the buttons generate a keypress 16:33 #navit: < tryagain> hey KaZeR 16:33 #navit: <@KaZeR> i'll explain why i ask. if the code to convert the button event into a key event is within your code ( e.g. navit embeds the driver to listen to the encoders ) then i would suggest an approach like this : https://github.com/navit-gps/navit/blob/master/navit/plugin/j1850/j1850.c#L207-209 16:33 #navit: <@KaZeR> if the driver is something like evdev, outside of navit, then it's different 16:34 #navit: <@KaZeR> tryagain: have you seen my email about svn / git ? 16:34 #navit: < tryagain> KaZeR nope 16:34 #navit: <@KaZeR> ha. 16:34 #navit: < tryagain> but i've seen xenos' message on the forum :) 16:35 #navit: <@KaZeR> ah :) 16:35 #navit: <@KaZeR> what's your sf username again ? 16:35 #navit: < tryagain> mdankov 16:35 #navit: <@KaZeR> ah right 16:36 #navit: <@KaZeR> yeah you should have got this email. let me check what xenos posted 16:39 #navit: < robertp> i'd like to generate keypresses by a external driver, so someone can use the plugin more easyly and without a raspberrypi 16:39 #navit: <@KaZeR> it makes sense, but it also mean an external dependency. choice is yours anyway :) 16:40 #navit: <@KaZeR> at first i was also using a small python script to fake evdev events for my j1850 plugin 16:42 #navit: < robertp> mh, right. serial would be out of the box with std-c-functions. 16:46 #navit: <@KaZeR> what hardware is your encoder using ? 16:47 -!- jandegr [4dcb2596@gateway/web/freenode/ip.77.203.37.150] has quit [Quit: Page closed] 16:48 #navit: < robertp> how detailed information do you want? 16:49 #navit: <@KaZeR> depends of how much you're willing to type :) there's two aspects to my question : figuring how i can help you, and learning more about how you did it 16:49 #navit: < robertp> all buttons and the rotary are connected to a microcontroller 16:50 #navit: < robertp> this uC also starts and shuts down the pi and does som more misc stuff 16:50 #navit: < robertp> it is connected to the pi via uart (sreial connection) 16:52 #navit: <@KaZeR> ok. if we scrap some code from j1850 we can get your encoder to work really easily. for the usual keys it might be a bit trickier, i need to look into it (but as tryagain said it should be a matter of registering a listerner ) 16:54 #navit: < robertp> it might be easy, because i define the serial communication and i built the device. currently i send one ascii-char for each button, divided by a '0'. 16:55 #navit: <@KaZeR> cool 16:55 #navit: <@KaZeR> then you just need to call something like command_evaluate(&navit, "gui.spotify_volume_up()" ); 16:55 #navit: <@KaZeR> or whatever command you want 16:55 #navit: <@KaZeR> we can probably find how to send an arbitrary fake keypress too 16:56 #navit: < robertp> i want to call a function inside my plugin. 16:56 #navit: < robertp> thats easy. 16:56 #navit: < robertp> connect txd to rxd and send the key-command 16:57 #navit: <@KaZeR> i would advise to seperate your media player and your encoder into two seperate plugins, but it's just my opinioin 16:58 #navit: <@KaZeR> to register something that is callable from anywhere, it's quite easy : https://github.com/pgrandin/navit/blob/staging/navit/navit/gui/internal/gui_internal_command.c#L1238-1245 17:01 #navit: < robertp> ok. and you define USE_SPOTIFY inside your plugin? 17:06 #navit: <@KaZeR> this is defined via cmake : https://github.com/pgrandin/navit/blob/staging/navit/CMakeLists.txt#L125 17:06 #navit: <@KaZeR> and https://github.com/pgrandin/navit/blob/staging/navit/CMakeLists.txt#L422-434 17:07 #navit: <@KaZeR> adding your encoder driver as a plugin should be a one liner : https://github.com/pgrandin/navit/blob/staging/navit/CMakeLists.txt#L402 since the code does not require anything specific 17:08 #navit: < robertp> and the music player requires mpd and mpc, so i should use your way 17:08 #navit: < robertp> ha! thank you 17:13 #navit: <@KaZeR> np. i like the idea of driving mpc too. and it should be quite easy to finish your code and have it work as a plugin 17:13 #navit: <@KaZeR> let me know how i can help 17:18 -!- j_f-f [~quassel@jff-webhosting.net] has quit [Remote host closed the connection] 17:21 -!- j_f-f [~quassel@jff-webhosting.net] has joined #navit 17:21 #navit: < gernot_> time to go. 17:21 #navit: < gernot_> by 17:22 -!- gernot_ [549694d6@gateway/web/freenode/ip.84.150.148.214] has quit [] 17:26 -!- tryagain [~quassel@178.216.76.122] has quit [Remote host closed the connection] 17:48 #navit: < robertp> bye all 17:48 -!- robertp [b20c6bbc@gateway/web/freenode/ip.178.12.107.188] has quit [Quit: Page closed] 20:18 #navit: < Navit> See compile results history at http://download.navit-project.org/logs/navit/stats.html 21:19 #navit: < Navit> See compile results history at http://download.navit-project.org/logs/navit/stats.html 22:46 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 22:47 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has joined #navit 22:47 -!- mode/#navit [+o KaZeR] by ChanServ 22:51 -!- KaZeR [~KaZeR@c-67-161-64-186.hsd1.ca.comcast.net] has quit [Ping timeout: 240 seconds] --- Log closed Thu Jul 23 00:00:46 2015