--- Log opened Tue Jul 05 00:00:25 2016 01:44 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has joined #navit 02:26 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has joined #navit 03:16 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has quit [Ping timeout: 252 seconds] 03:26 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has joined #navit 04:19 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has quit [Ping timeout: 250 seconds] 04:49 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has quit [Ping timeout: 272 seconds] 06:53 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has joined #navit 07:09 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has joined #navit 11:22 -!- Robotaxi [3ef5dbf5@gateway/web/freenode/ip.62.245.219.245] has quit [Ping timeout: 250 seconds] --- Log opened Tue Jul 05 11:30:08 2016 --- Log closed Tue Jul 05 11:35:08 2016 --- Log opened Tue Jul 05 11:37:34 2016 --- Log closed Tue Jul 05 11:43:16 2016 --- Log opened Tue Jul 05 11:43:28 2016 --- Log closed Tue Jul 05 11:45:29 2016 --- Log opened Tue Jul 05 11:46:24 2016 11:46 -!- Irssi: Log file /domains/irclogs.navit.ie/public_html/irclogs/#navit-%Y-%m-%d.log opened 11:46 -!- Irssi: Log file /domains/irclogs.navit.ie/public_html/irclogs/#navit-%Y-%m-%d.log opened 11:46 #navit: < Number6> what about now? 11:46 #navit: < NavitLogger> Thank you for fixing me, Number6 12:59 #navit: < kazer> hi there 13:00 #navit: < kazer> hey Number6 ! 13:05 -!- kazer [~kazer@2601:643:8104:ba60:eea8:6bff:fef8:449] has quit [Ping timeout: 264 seconds] 13:06 -!- robertp [5cd93f32@gateway/web/freenode/ip.92.217.63.50] has joined #navit 13:06 #navit: < robertp> hi 13:09 -!- jandegr [5bb1f420@gateway/web/freenode/ip.91.177.244.32] has joined #navit 13:42 -!- Josue_ [bb87482a@gateway/web/freenode/ip.187.135.72.42] has joined #navit 13:43 -!- kazer [~kazer@2601:643:8104:ba60:eea8:6bff:fef8:449] has joined #navit 13:43 #navit: < Josue_> Hello Kazer, are u there? 13:45 #navit: < kazer> hi Josue_ 13:46 #navit: < Josue_> thanks for answering, i'm the guy who's trying to put a physical button on Navit 13:47 #navit: < Josue_> excuse me if my english isn't good at all, is not my native language, i'm doing my best 13:48 #navit: < robertp> Hi Josue, can you explain, how you want to attach a button? 13:48 #navit: < robertp> What's your hardware? 13:49 #navit: < Josue_> ok sure, i'm using a Raspberry pi 2 13:49 #navit: < Josue_> i want to attach a button using the GPIO and i want to show the street's name on Navit when pressing it 13:52 #navit: < robertp> I'd recommend a script in the background that polls the gpio and send a "keypress" or a dbus message to navit. I used "keypress" from a background c-program 13:54 #navit: < robertp> I used a gpio from within a navit plugin via wiringpi, too but that might have crashed navit randomly. 13:55 #navit: < Josue_> ok, so first of all i need to make a script to read the button attached to the gpio correct? 13:56 #navit: < robertp> a c-program will do the job, too. So yes. 13:56 #navit: < Josue_> and when read it, i need to send a command to Navit right? 13:56 #navit: < robertp> yes 13:57 #navit: < kazer> Josue_: i agree with robertp. a script that sends a dbus event is the easiest way to get started 13:57 #navit: < kazer> also, welcome to our IRC channel :) 13:57 #navit: < robertp> But this is one of a couple of possible approaches. 13:59 #navit: < kazer> yep. another one would be to start a navit plugin. 13:59 #navit: < Josue_> oh thanks man 13:59 #navit: < Josue_> it's a pleasure to be here 14:01 #navit: < robertp> if you install xdotool, you can easily simulate keypresses 14:01 #navit: < Josue_> excuse me, how can i read the dbus event on Navit? 14:02 #navit: < kazer> you'll probably need to add an event in think. Look into ./binding/dbus/binding_dbus.c for an example 14:03 #navit: < Josue_> ok 14:04 #navit: < kazer> instead of xdotool i also used python to inject uinput events in the past : http://tjjr.fi/sw/python-uinput/ 14:06 #navit: < robertp> Languages, where the variables start with $ are devils work. 14:07 #navit: < Josue_> that's sounds great, so, if i undestand, once i have the button connected and have read it in the python script, i just need to program the line as a keypress on Navit? 14:08 #navit: < kazer> haha robertp 14:09 #navit: < kazer> Josue_: that's one approach yeah. Have you used wiringPi in the past? 14:09 #navit: < Josue_> no i haven't 14:09 #navit: < Josue_> but i'll try to use it :D 14:09 #navit: < kazer> ok :) it's quite easy to use 14:10 #navit: < kazer> here's a basic example : https://github.com/pgrandin/nerfhack/blob/master/nerf.c 14:10 #navit: < Josue_> excellent :) 14:10 #navit: < robertp> Josue_, you will also need to set the pull up and pull down resistors on the gpio pin. That issue made a lot of headache to me. ;) 14:11 #navit: < kazer> that's line 72 and forth in the example i shared. You need to define that your pin is an input, and set the pull-up 14:11 #navit: < kazer> then you can read the state using digitalRead() 14:13 #navit: < Josue_> ok the same as Arduino coding or quit similar 14:15 #navit: < Josue_> so in general, i need to make a program that reads my input, in this case the button, once i have that, i just need to run the program in the background and execute navit 14:16 #navit: < Josue_> on navit's code, i need to put a sentence that reads a key that i can simulate or use the "keypress" command 14:17 #navit: < kazer> that's the hacky but easiest way to start i think. once this works, we can easily convert this code to a native navit plugin. No need for something running in the background then 14:17 #navit: < kazer> actually starting a plugin isn't really complicated either 14:17 #navit: < Josue_> allright great!!! 14:18 #navit: < Josue_> wow this is amazing ejejeje 14:18 #navit: < kazer> https://github.com/navit-gps/navit/blob/trunk/navit/plugin/j1850/j1850.c is a decent example of doing something similar : it reads the input events from a serial port and triggers actions 14:18 #navit: < kazer> most of the code is to handle the serial port itself 14:19 #navit: < kazer> if you go that way you'll get a plugin that you just need to declare in your navit.xml like this : 14:20 #navit: < Josue_> of course, yeah i got it 14:21 #navit: < kazer> great :) 14:21 #navit: < Josue_> wow i have a lot of things to try now jeje 14:22 #navit: < kazer> awesome :) let us know if you have more questions 14:23 #navit: < kazer> btw : Navit was mentionned in this book : https://www.nostarch.com/carhacking 14:24 #navit: < Josue_> thanks a lot,you two really helped me 14:24 #navit: < Josue_> Regards from Mexico 14:25 #navit: < kazer> you're welcome! 14:26 #navit: < Josue_> i really appreciate your help and all your advices 14:29 #navit: < kazer> that's the open source power :) 14:30 #navit: < Josue_> of course it is 14:30 #navit: < Josue_> awsome 14:34 #navit: < robertp> Josue_ Be careful, Kazer is used to pull innocent people into development! 14:35 #navit: < robertp> He did this with me too, and now i am totally addicted. 14:36 #navit: < Josue_> ajajaja, i'm just starting and i think this is purely adictive 14:36 #navit: < Josue_> i can feel that power :P 14:36 #navit: < Josue_> AJAJAJAJA 14:37 #navit: < kazer> haha :) 14:39 #navit: < kazer> talking about innocent victims, jandegr are you around ? 14:39 #navit: < jandegr> just being a silent victim 14:41 #navit: < kazer> ok :) i was wondering if there was some news on the iphone port front ? 14:43 #navit: < jandegr> I got everything working as far as can be tested without a device, with some hacks 14:45 #navit: < kazer> ok. how can i help? i don't have my jailbroken device with me right now but i can do some tests later today 14:46 #navit: < jandegr> we do NOT jailbreak :) 14:47 #navit: < kazer> ok so how can i test on my stock device? :) 14:47 #navit: < kazer> if the wiki is up to date i'll give it a try 14:48 #navit: < jandegr> if you have a box with xcode we could go over the steps/hacks and you can test it with a real device I suppose 14:49 #navit: < kazer> i need to install xcode but yeah 14:52 #navit: < Josue_> i'm sorry to get into your conversation but it really sounds great, do you have a page to read about your projects? i'll be glad to know more about what you do 14:53 #navit: < jandegr> I solved the crashes and worked around cmp0003 but to get something that can be published as a repeatable scenario I need some help 14:54 #navit: < jandegr> and we need a proper fix for 'include stdlib.h if malloc.h not found', I just hardcoded it to test 14:54 #navit: < jandegr> and maybe a few more of such issues 14:55 #navit: < kazer> Josue_: feel free to interrupt, that's the point of this channel. We are talking about jandegr's work on fixing the ios build of navit 14:55 #navit: < kazer> our wiki is super slow right now ( i need to move it somewhere else) so i'll share the wiki page asap 14:56 -!- Elodie [62f843d2@gateway/web/freenode/ip.98.248.67.210] has joined #navit 14:56 #navit: < Josue_> thanks a lot 15:08 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has quit [Ping timeout: 276 seconds] 15:14 -!- Elodie [62f843d2@gateway/web/freenode/ip.98.248.67.210] has quit [Ping timeout: 250 seconds] 15:26 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has joined #navit 15:38 #navit: < Marc0> hello everybody, does navit on android start without navit.xml navit.xml.local? 15:38 #navit: < Marc0> i have a black screen here 15:40 #navit: < jandegr> Marc0 test with the one from google play, github android port has issues 15:40 #navit: < Marc0> jandegr: i'm using the play store version 15:42 #navit: < jandegr> hmm, that one is known to work ok 15:42 #navit: < Marc0> 07-05 21:28:37.955 11441 11441 I System.out: Navit:exit -> stop ZANaviMapDownloaderService --------- 15:42 #navit: < Marc0> ah, that's different 15:42 #navit: < jandegr> zanavi is another channel :) 15:43 #navit: < Marc0> yes :D 15:43 #navit: < jandegr> but zanavi from a few days ago works as well :) 15:44 #navit: < Marc0> *that* works, yes 15:54 #navit: < Marc0> navit runs, i can see events in logcat output 15:54 #navit: < Marc0> but the screen is black :/ 15:55 #navit: < Marc0> 07-05 21:53:22.914 29486 29486 E Navit : timestamp for navigate_to expired! not using data 15:55 #navit: < Marc0> any idea? 15:56 #navit: < Marc0> or *must* there be data? 15:56 #navit: < jandegr> no need 15:57 #navit: < jandegr> using a custom navit.xml ? 15:57 #navit: < Marc0> no navit.xml or navit.xml.local at all, fresh installation 15:58 #navit: < Marc0> no output of "adb shell ls -la /sdcard/navit" 15:59 #navit: < Marc0> that directory seems to be empty 15:59 #navit: < jandegr> is gui internal working ? 16:00 #navit: < Marc0> right now there is nothing displayed at all 16:00 #navit: < jandegr> and the android menu ? 16:01 #navit: < Marc0> works 16:01 #navit: < Marc0> i'm told navit is running :) 16:01 #navit: < jandegr> you have the yellow/brownish background ? 16:02 #navit: < Marc0> nnnooo (?) 16:02 #navit: < Marc0> background of what? 16:05 #navit: < jandegr> are you a betatester ? 16:05 #navit: < Marc0> yes 16:06 #navit: < jandegr> I just installed (as betatester) from the store 0.5.1+git:0243770 16:07 #navit: < jandegr> works on jellybean 16:08 #navit: < Marc0> 0.5.1-6660 16:08 #navit: < Marc0> not gitish version 16:09 #navit: < Marc0> I have the 6.0 android (don't know its name) 16:10 #navit: < Marc0> ah, marshmellow 16:11 #navit: < Marc0> no marshmellow in wiki, maybe that's a point? 16:11 #navit: < jandegr> this one is known to work (the google play version for non betatesters) https://github.com/navit-gps/navit/releases?after=R6499 16:11 -!- Josue_ [bb87482a@gateway/web/freenode/ip.187.135.72.42] has quit [Quit: Page closed] 16:14 #navit: < jandegr> just installed on a marhsmallow device the non-betatesters version directly from google play and it works 16:15 #navit: < jandegr> issues have already been reported for versions after december 31 16:19 #navit: < jandegr> kazer do you have a link for the signed version of 0.5.0 apk ? 16:23 -!- jandegr [5bb1f420@gateway/web/freenode/ip.91.177.244.32] has quit [Quit: Page closed] 16:38 -!- robertp [5cd93f32@gateway/web/freenode/ip.92.217.63.50] has quit [Quit: Page closed] 16:54 #navit: < Marc0> bye 17:54 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has quit [Quit: Leaving.] 20:29 #navit: < alex____> hi there 23:05 -!- xenos1984 [~xenos1984@118-166-191-90.dyn.estpak.ee] has joined #navit --- Log closed Wed Jul 06 00:00:28 2016