IRC logs for #automotive for Tuesday, 2017-06-27

*** JordonWu has joined #automotive00:29
*** waltminer has quit IRC00:58
furyhmm. so there were some people angry at tesla ever since they started shipping cars for alleged GPL violations / refusal to release applicable source code. i'm wondering two things, really... 1) what use would that source code be to the average joe? 2) how would one comply with such licenses in an AGL-based unit?01:15
furyand to elaborate on #1... i mean, it's not like they can edit that source code and recompile it and reflash their Tesla, unless Tesla also gave them binaries of their secret sauce to bake in...01:15
*** mkelly has joined #automotive01:33
mranostayfury:  Apache 2 on most parts of AGL so not a issue02:06
mranostay<-- is not a lawyer :)02:06
*** mkelly has quit IRC02:08
furyah ok02:11
furybut is that idea even feasible, to enable a user to theoretically recompile from source (plus a blob of whatever proprietary stuff from the OEM) and reflash?02:12
furyor does that end when the build gets customized to the vehicle, only the OEM can ever possibly make a build?02:13
furycause i think that'd be cool to release a head unit that the user can customize themselves02:13
furydunno if it's practical at all (especially with regard to security of the system and whatnot)02:14
smurrayfury: I suspect you'd need to talk to some of the  architecture folks to see what their concept is for stuff like that wrt AGL02:21
furymakes sense02:21
smurrayfury: I've been told the plan is to allow building w/o GPLv3, which means you could release source but disallow booting anything other than factory provided images02:22
smurrayfury: but GPLv3 removal is more of a roadmap thing ATM02:23
furycool02:23
furyyeah, this is all roadmap stuff for me too, just thinking ahead a bit (and maybe getting a bit ahead of myself :P)02:24
smurrayfury: for a standalone d-i-y head-unit, allowing custom images might be okay, but IANAL so I don't know if there are unexpected liability concerns02:25
furyi'm starting to get a decent picture of what is the 70-80% vs. the 20-30%. and i think the 20-30% basically boils down to...your own custom branded home screen / apps / SmartDeviceLink implementation, custom board / BSP, and whatnot02:26
furybut i'm often wrong02:26
furylot of stuff in that "whatnot" :P02:27
smurrayheh, yep02:27
furyi'm not a lawyer either02:27
furysuppose at some point i should consult one...AGL is my first real foray into any open source project02:28
furyi've dabbled and cloned and built before, but this is the only one I've ever submitted a change for (even if it was small :P)02:28
furyand i love how welcoming and helpful it is :D02:29
smurrayheh02:30
smurraywrt shipping requirements for source, I believe SFLC and FSF have some guidelines02:31
*** mdurnev has joined #automotive02:35
mranostayfury: and under compliance doesn't mean the code has to be useful :).. although iirc GPLv2/3 has a must be a buildable as well :)02:36
mranostaydon't recall flashable :)02:36
furyhmm. much to learn i still have :D02:38
furyi get lost in all the licensing lingo02:39
furybut that's not my forte anyway02:39
mranostayyeah i keep away from law things :)02:43
furyas a software guy i'm just like...treat people the way i like to be treated. i'm hoping to be able to contribute something major to AGL, dunno what it is yet, but i feel bad taking all this fantastic code pulled together by AGL and not having a lot to throw back in yet :P02:43
furyi dream big, i guess02:44
furyfor sure if i get to writing the 7" homescreen/demo apps first, i'll toss that in :D02:49
fury1080x1920 portrait squished down to that raspbery pi dsplay is painful02:49
furyi think after fiddling with the radio app i'm at least 33% confident i could do such a thing (modify everything to fit 7" landscape 800x480 or whatever size that display is)02:50
furyplayed around with qml a lot at work the last few weeks, that helps too02:50
*** AlisonChaiken has joined #automotive04:49
*** leon has joined #automotive04:59
*** leon is now known as Guest3402304:59
*** Guest34023 is now known as leon-anavi05:00
leon-anavimorning05:03
mranostayleon-anavi:  not morning in the center of the universe, sir :)05:04
leon-anaviheh :)05:07
leon-anaviit's 8am on my side of the universe ;)05:07
*** shout-user22 has joined #automotive05:11
*** dl9pf_ has joined #automotive05:13
*** clopez_ has quit IRC05:13
*** JackSanchez has quit IRC05:13
*** dl9pf has quit IRC05:14
*** AlisonChaiken has quit IRC05:14
*** JackSanchez has joined #automotive05:15
*** AlisonChaiken has joined #automotive05:15
*** clopez has joined #automotive05:16
*** akilaw has joined #automotive05:20
*** mfritzsch has joined #automotive05:29
*** Figure_ has joined #automotive05:36
*** JordonWu has quit IRC05:36
*** Figure has quit IRC05:39
*** akilaw has quit IRC06:10
*** fredw has joined #automotive06:31
*** testddd has joined #automotive06:37
*** testddd has quit IRC06:41
*** jobol has joined #automotive06:44
*** claneys has joined #automotive07:02
*** rajm has joined #automotive07:14
*** msisov has joined #automotive07:14
*** msisov has quit IRC07:21
*** msisov has joined #automotive07:21
*** [AD]Turbo has joined #automotive07:37
[AD]Turbociao all07:37
*** bruce has joined #automotive07:51
*** bruce is now known as Guest1813507:51
*** kbroulik has joined #automotive07:57
*** toscalix has joined #automotive08:00
*** fredw has quit IRC08:24
*** jacobo has joined #automotive08:35
*** fredw has joined #automotive08:50
*** mfritzsch has quit IRC09:11
*** brlogger has joined #automotive09:27
*** joone_ has joined #automotive09:27
*** kholdfuzion_ has joined #automotive09:28
*** rosch has joined #automotive09:29
*** ZenEntropy has joined #automotive09:33
*** AlisonChaiken has quit IRC09:34
*** JackSanchez has quit IRC09:34
*** joone has quit IRC09:34
*** praneeth has quit IRC09:34
*** araujo has quit IRC09:34
*** kholdfuzion has quit IRC09:34
*** damyan^ has quit IRC09:34
*** rosch_ has quit IRC09:35
*** brlogger` has quit IRC09:35
*** shout-user22 has quit IRC09:38
*** JackSanchez has joined #automotive09:39
*** mfritzsch has joined #automotive09:40
*** AlisonChaiken has joined #automotive09:41
*** praneeth has joined #automotive09:42
*** araujo has joined #automotive09:42
*** araujo has joined #automotive09:42
*** slidercrank has joined #automotive10:11
*** dl9pf_ is now known as dl9pf10:14
*** dl9pf has joined #automotive10:14
*** msisov has quit IRC10:14
*** msisov has joined #automotive10:19
*** damyan^ has joined #automotive10:21
*** msisov has quit IRC10:22
*** akilaw has joined #automotive10:37
akilawhi all10:40
*** Guest18135 has quit IRC10:44
*** Guest18135 has joined #automotive10:45
*** akila_w has joined #automotive11:01
*** akilaw has quit IRC11:04
*** akila_w has quit IRC11:14
*** akila_w has joined #automotive11:15
*** damyan^ has quit IRC11:32
*** damyan^ has joined #automotive11:32
*** chbae has joined #automotive11:42
*** caiortp has joined #automotive11:43
*** caiortp has quit IRC11:44
*** ashwasimha_ has joined #automotive11:44
*** akila_w has quit IRC11:44
*** caiortp has joined #automotive11:45
*** fredw has quit IRC11:58
*** crankslider has joined #automotive12:14
*** slidercrank has quit IRC12:16
*** wesam has joined #automotive12:18
*** rajm has quit IRC12:31
*** msisov has joined #automotive12:37
*** waltminer has joined #automotive12:39
*** rajm has joined #automotive12:45
*** fredw has joined #automotive12:52
*** msisov has quit IRC12:53
*** madhusudhananAnd has joined #automotive13:19
*** akila_w has joined #automotive13:27
*** akila_w has quit IRC13:31
*** madhusudhananAnd has quit IRC13:37
*** akilaw has joined #automotive13:49
*** ashwasimha_ has quit IRC13:53
*** mfritzsch has quit IRC14:07
*** AlisonChaiken has quit IRC14:12
*** mdurnev has quit IRC14:27
*** Vamsi has joined #automotive14:49
*** chbae has quit IRC14:53
*** jlrmagnus has joined #automotive14:59
*** madhusudhananAnd has joined #automotive15:00
*** leon-anavi has quit IRC15:05
*** ZenEntropy has quit IRC15:07
*** madhusudhananAnd has quit IRC15:19
*** kbroulik has quit IRC15:22
*** rajm has quit IRC15:28
*** [AD]Turbo has quit IRC15:49
*** martinkelly has quit IRC16:04
*** idonob has quit IRC16:05
*** martinkelly has joined #automotive16:06
*** jlrmagnus has quit IRC16:15
*** hitendra has joined #automotive16:27
*** crankslider has quit IRC16:31
*** hitendra has quit IRC16:45
*** hitendra has joined #automotive16:46
*** jlrmagnus has joined #automotive16:54
*** fredw has quit IRC17:02
*** jlrmagnus has quit IRC17:04
*** waltminer has quit IRC17:04
*** claneys has quit IRC17:04
*** akila_w has joined #automotive17:13
*** hitendra has quit IRC17:14
*** toscalix has quit IRC17:16
*** akilaw has quit IRC17:16
*** jlrmagnus has joined #automotive17:18
*** jobol has quit IRC17:20
*** hitendra has joined #automotive17:20
*** caiortp has quit IRC17:21
*** hitendra has quit IRC17:24
*** caiortp has joined #automotive17:27
*** _corrupt has joined #automotive17:32
mdpgah, I *hate* that timeout on the binary blob m2 porter gfx driver.17:55
furyyuuuuuuuuuuuup17:56
mdpsuch a POS17:56
mranostayhehe17:57
mranostaymdp: it would nicer if gave an actual warning than just oopsing17:57
*** jlrmagnus has quit IRC17:58
*** jlrmagnus has joined #automotive18:00
mdpmranostay: it's more fun to imagine the new-to-porter users freaking out encountering that.18:06
mranostaymdp: heh i had no clue what the hell was happening at first :)18:06
*** fredw has joined #automotive18:09
*** jacobo has quit IRC18:11
rZrakila_w, maybe you can explain on wiki how to use https://at.projects.genivi.org/wiki/pages/viewpage.action?pageId=1497659718:33
rZr+ zebkit18:34
akila_wsure rZr18:34
akila_wYou mean running a sampleapp right18:34
rZryes18:34
rZrsell your tech ;)18:34
akila_wSure rZr :-)18:49
*** waltminer has joined #automotive19:04
mdpfury, I think you were on the call, but I've got fixes now to address the telephony audio breakage caused by audiomanager. In SPEC-660 and also about to push one for SPEC-710. I think you mentioned running into this sometime back.19:04
furysweet. so it doesn't automatically mute everything?19:04
mdpright19:04
furywoo :D19:04
mdpthe muting was due to an assert and crash and the entire db state being a bit confused..that was a race condition (pending upstream in module-router)19:05
mdpand then once that's in place I noticed that despite module-router/AM being enabled, for some reason the demo config has left module-role-cork enabled which was fighting with module-router over corking state of certain streams19:06
mdpcan't have two policy managers fighting ;)19:06
mdpso easier fix there19:06
furysounds good19:07
furyhehe "sounds"19:07
furyi just built an app with the SDK! i wonder if it installs and runs and shows stuff on screen...19:07
mdpso if you apply spec-660's fix..you'll find the streams are no longer muted..but the phone sink input and source output gets fiddled back to a corked state by the upstream corking module.19:07
furyah19:07
mdpanyway, you can cherry pick those in or wait for it to go upstream if you aren't in a hurry.19:07
furyno worries - I am cool with manually pausing for now. I wish I could figure out why Weston doesn’t start sometimes, that’s about half the time I have to reboot and reboot and reboot to get it to come up19:09
furyooh19:11
furyeeh19:11
furyit almost starts but libQt5SerialPort.so.5 not found19:11
furyguess i need to add a library somehow19:11
furyis that a thing i can add to the image_install_append or do i need to dive deeper?19:16
furybitbake qtserialport19:17
furyezpz :D19:17
mdpyou should make a tty binding for agl ;)19:18
furyyes, that'd be even better19:18
furyone step at a time tho :D want to try and get it running and showing something on the screen, THEN write it the right way :P19:18
mdp+119:18
furycause thus far i have not been able to write something and compile it and have it come up on screen and show something19:19
furyi've had blank icon spaces come up, and i've tapped them and seen blank screens, but nothing showing my QML UI19:19
smurrayfury: you might want to ask on the mailing list how you'd handle something like that library in a standalone app, I could imagine needing to bundle it somehow19:20
furyyeah19:21
furysigh, installed the library, app runs, and even reads the QML file but again, nothing on screen19:21
furywish i knew what i was doing wrong :D19:21
furydo i have to do something special in the qt app to tell it "hey AGL window manager, show me on the screen" or sometihng?19:22
mdpfury, there's definitely interaction where the layer manager must be told to display the surface your app is drawing upon.19:27
furyhmm19:28
furyis that supposed to be happening in the app itself, or do i have to edit the home screen to tell it to do that?19:28
mdpfury, outside of it just working with the demo apps I can't really offer more there..however, I've debugged around that area before and watched the ilm protocol and dumped the state of the surfaces19:28
mdpfury, in the scope of the demo hmi and homescreen, the homescreen does control that.19:29
furyhttps://www.irccloud.com/pastebin/fJBVcU9P/19:30
furysounds like it19:30
furyok, that makes sense now, so homescreen has to make a layer in windowmanager for it19:31
mdpyeah, so take a look at your app's journal log at startup..you'll see what surface and layer is assigned19:31
mdpand you can see the full state using the LayerManagerControl command.19:32
furyi don't see anything in the journal assigning it a surface/layer19:34
furyoh wait19:35
furythat was the first launch that failed19:35
furyooh19:36
furyooh19:36
furyi killed it and restarted it19:36
furyand it shows19:37
furyholy shit19:37
mdpfury, so keep in mind that they way this is organized, in this 1080p portrait mode..your layers are managed such that only that center portion is visible and homescreen's top and bottom "strip" is always visible.19:37
mdpfury, cool.19:37
mdpfury, you can run LayerManagerControl get [surfaces|layers|screens] to see what's been allocated so far and the ids..and you can use the tool to manually fiddle with exposing/adjusting location19:39
*** caiortp has quit IRC19:40
furyyeah19:49
furyi killed it, got some warnings, started it back up again and now it shows up19:50
furytho it has a titlebar19:50
furyweird19:50
furyawesome19:50
furyand now i have to rebuild the kernel to turn on the driver for this usb to serial port that i need to talk to the thing i want to talk to19:50
furycan i just rebuild the kernel alone and drop it in place on /boot or are there multiple files that change when the kernel changes?19:52
*** caiortp has joined #automotive19:53
furyi am super excited and super sad that i have to head home in an hour19:53
furysuper excited cause i got stuff showing up on screen finally :D19:54
smurrayfury: there's module packages19:55
furyoh ok19:55
*** jlrmagnus has quit IRC19:57
furythe config has it not set, do i need to set it as m and then make the module and then drop the module in /lib/modules somewhere, or when i make it m i also have to replace the kernel image itself?19:57
furyoh, kernel-modules-*19:58
furycool19:58
smurrayfury: I don't believe the images have package management enabled.  I typically just re-install to test changes like that19:59
furyok19:59
furysounds good19:59
furyi need to get back to a known clean state on that thing anyway, i dun fiddled around with a bunch of .conf settings and whatnot19:59
smurrayyou could try the sota stuff, but I'm not sure how robust it is atm19:59
furyso i'd add IMAGE_INSTALL_append = " kernel-modules" or something like that?20:00
smurrayI believe it's already picking up that up.  You'll need to tweak the appropriate kernel recipe append to add a new config fragment that enables the module20:01
furyoh ok20:01
furysounds good20:01
furyi think i remember how to do that20:01
smurrayfury: as an e.g., look at the stuff in meta-agl-bsp/meta-renesas/recipes-kernel/linux/20:02
smurrayfury: in meta-agl20:02
*** akila_w has quit IRC20:02
furyyep, started heading that way20:02
furywould i put my recipes in a separate directory or add them to one of the existing appends?20:03
smurrayprobably just add a new .cfg and add it to the list in the existing append(s)20:03
furyok20:03
furysounds good20:04
smurrayI'm guessing the intent would be to maybe do that in a custom layer for a real product20:04
smurraybut if it's something that could be useful upstream, you could do it right in meta-agl20:04
furyyeah. i like serial ports, they make it easy to talk to some things, dunno how much anyone else likes them but yeah :P20:05
furywe have a little board that translates from serial port on a PC to can messages for some of our old devices20:07
smurraygotcha20:08
furyfigured i could just do that instead of buying an expensive USB2CAN until i actually need other CAN messages20:08
furycause the cheap one ($65) is out of stock20:08
smurrayseeed were advertising a $25 one last week, but afaict it looks like windows driver only20:09
furyyeah, i could hop on amazon and search and find 20 different ones that are like $25, but questionable on whether it actually works on linux20:10
furyi figure stick with the ones in mainline20:10
fury8devices usb2can is the cheapest one i found that fits that bill20:10
furyand i guess it's super popular20:10
*** wesam has quit IRC20:11
*** waltminer has quit IRC20:15
*** jlrmagnus has joined #automotive20:19
*** Guest18135 has quit IRC20:28
furyyeesh20:29
furytaking like 6 or 7 minutes just to redo the rootfs after compiling the kernel20:30
mranostayfury: get a SSD :)20:32
furyit's an NVMe, i think20:32
furythough i ordered it through dell's configurator, so dunno how fast it really is20:33
furyi doubt they'd have picked from the top of the line20:33
furyand then this SD card, even the Samsung EVO only like 10-20 megs a second20:34
*** jlrmagnus has quit IRC20:36
*** Figure_ has quit IRC21:09
*** fredw has quit IRC21:24
*** waltminer has joined #automotive21:30
*** jlrmagnus has joined #automotive21:33
*** idonob has joined #automotive21:39
*** idonob has joined #automotive21:41
furyhmm21:46
furyis there a thingy that can open a serial port?21:46
furylike picocom or minicom21:46
furyor some other thing that can test whether it can open and send data and get data back from that USB to serial i plugged in?21:46
furycause this thing is just failing silently21:47
furydoesn't tell me anything21:47
smurrayscreen, maybe, not sure it's in the images21:47
furyi chmodded /dev/ttyUSB0 to 066621:47
furygot screen21:47
furywonder if that works21:47
furyugh21:51
furyeither the keyspan driver is broke, or this keyspan is broke21:51
furyhmm21:52
*** caiortp has quit IRC21:59
furydifferent keyspan does the same thing22:00
furyso i hook up screen to /dev/ttyUSB0 and i got a little paperclip wired from tx to rx so i can see what it thinks i'm sending22:00
furyand i type like qwertyuiop and it'll spit out hhhhhhhhhhhhhhhhh22:00
furyand if i hold a key long enough it'll start displaying that key22:01
waltminerkhilman just wondering if you retried the room reservation for San Jose. Do I need to follow up with hotel?22:01
smurraywaltminer: there were no rooms for the 12th when I tried booking yesterday, any chance that's changed?22:02
smurraywaltminer: when I called, the lady told me no rooms left in the hotel at all on the 12th22:03
waltmineroh really?22:03
waltminerlet me check22:03
smurrayI ended up booking the other nights there, and the 12th somewhere nearby22:04
waltminerI know that our block sold out for the 12th, but they told us yesterday we could add more rooms to the block so it did not sound like they are sold out completely.22:07
waltminerAmy is calling the head honcho22:08
smurraywaltminer: okay, if you do manage to get more rooms for the 12th please let me know22:11
waltminerWill do22:11
khilmanwaltminer: I had same results as smurray.  No rooms on the 12th.22:18
waltminerok22:20
smurraykhilman: I booked at the Hilton around the corner for the 12th since it was close, but it's $$22:26
khilmansmurray: thx, I'll do the same.22:29
*** jlrmagnus has quit IRC22:35
*** jlrmagnus has joined #automotive22:51
waltminerkhilman and smurray I will ask them to extend your stays one night when they add the rooms to the block22:54
waltminerI’ll let you know what I hear22:54
khilmanwaltminer: ok, thx22:55
smurraywaltminer: okay, thanks in advance22:58
*** jlrmagnus has quit IRC23:06
furyit doesn't even pick up the edgeport usb to serial O_o what the dealio23:13
furyi am so close to getting this thing to do something cool and i can't even get a working serial port lol23:13
*** jlrmagnus has joined #automotive23:19
furyargh23:21
furyit's whatever driver is included with the renesas kernel i guess23:21
furythe keyspan works fine on my ubuntu machine23:21
smurrayyeah, the porter is a bit old23:23
smurraykernel, I mean23:24
*** Mathieu_Du has quit IRC23:43
*** treitter has quit IRC23:43
furytime for me to retire it i guess :D23:43
furybut the pi's graphics are a bit slower :(23:43
furylike, even the sliding in of the icons from the home screen is sluggish on the pi compared to the porter23:44
furyi guess that's what you get for having a $300 computer instead of a $35 one23:44
furybut still, i woulda thought the pi's got plenty of GPU power to do simple animations like that23:44
furyi mean, it can play quake 3 :P23:46
mranostayfury: it is more the memory constraints  with the shared RAM with the GPU23:47
furyoh yeah23:47
furyforgot about that23:47
LoveMHzfunny how shared memory archs can actually be faster that way23:47
furythat's gonna be fun too, having to remember not to open too many apps or it'll crash23:47
mranostayLoveMHz: not when you only have 1G of RAM :)23:48
furyis there another little board like the pi that doesn't have all these little gotchas like crappy bluetooth and whatnot? :P23:48
furythat runs on AGL*23:48
LoveMHzOriginal Xbox, 64MBs of shared RAM.23:48
furywoo xbox 123:48
furywonder how that geforce 3 compares to the pi's videocore 423:49
LoveMHzno idea. really it comes down to dev tricks and I'm not aware of a PI demoscene.23:51
furyi wonder, why does agl have to compile qtwebkit? is there a browser hidden in there somewhere or is it just for a prospective app that wants to browse the web?23:51
furyhere in about 10-20 years we'll see a pi demo scene23:52
furysince we see a lot of C64s within the last 10-15 years23:52
mranostayheh well you couldn't run a modern linux on 64mb of ram :)23:52
furyi bet you someone's hackjobbed linux into that xbox23:53
mranostaythere is a reason a lot of openwrt targets are using ancient kernels :)23:53
furyhttps://en.wikipedia.org/wiki/Xbox_Linux23:53
fury"was"23:53
furyyep, damn small linux and whatnot23:54
furywonder how long ago that was23:54
mranostayheh 2.4.2723:54
JEEBxbox was pretty close to standard PC, even more than PS423:54
furywell, almost as new as the kernel in the Tesla Model S!23:55
JEEBjust had very little RAM23:55
JEEBalthough it had more than the PSP which I ran uclinux on for a wee bit23:55
furyi hear they're about to push out 4.4 tho23:55
smurrayfury: there's not really a slam dunk winner for best AGL dev board imo, they all have tradeoffs23:55
furymakes sense23:55
furyi should just get one of each23:55
furyjacinto 6 $2500 ouch...or not23:55
JEEBsounds like enterprise23:56
smurraythe new quad minnowboard might be reasonable.  I find the the turbot a bit slow, but it has decent open graphics drivers23:56
furysweet23:56
furyi love the idea of open graphics drivers23:56
furyreeeeeal tired of rebooting after 3 hours23:57
JEEByea, it helps to have open drivers since they can actually be debugged or improved :)23:57
JEEBbinary dumps generally just... are there23:57
JEEBnot that OSS drivers automagically mean that everything's rosy of course23:57
furyyeah23:57
furybut if you're so inclined, you can literally look at the code and fix it yourself23:57
furynovel thought23:57
smurrayI should try getting current AGL booting on a db410c and see how it works these days, the Linaro folks have apparently improved the BSP23:58
waltminerevery 3 hours, that is a caffeination opportunity23:58
smurraybut it has hassles like the odd power supply and 1.8v 2 mm headers, etc.23:58
LoveMHzIt's actually crazy how close the Xbox was to a PC. The board layout is almost identical to a NVidia reference design, that later was manufactured by some companies such as Asus ;)23:59
furyhehe i tend to avoid caffeine tho :P i'd definitely find an excuse to get up and go take a break, in fact i do that every chance i get23:59

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!