IRC logs for #automotive for Thursday, 2019-11-21

*** LiXiaoming has joined #automotive05:40
*** thaytan has quit IRC06:29
*** LiXiaoming has quit IRC06:46
*** jobol has joined #automotive07:24
*** leon-anavi has joined #automotive07:37
leon-anavimorning07:46
jobolmorning07:47
*** kooltux_ has joined #automotive08:02
dl9pfmorning!08:03
*** jaillet has joined #automotive08:14
*** vrubiolo has joined #automotive08:15
*** kooltux_ has quit IRC08:28
*** vrubiolo has quit IRC08:30
*** vrubiolo has joined #automotive08:30
*** skz81 has joined #automotive08:31
*** leon-anavi has quit IRC08:41
*** leon-anavi has joined #automotive08:42
*** scvready has joined #automotive09:25
*** skz81 has quit IRC09:33
*** skz81 has joined #automotive09:37
*** JPK61 has joined #automotive11:08
*** tgamblin has joined #automotive12:47
scvreadyHi all, I have a question about the Windowmanager, to create a new role with a new area and a new layer, is as simple as adding these to areas.json, layers.json and roles.db? and the app who wants to be displayed in there only has to do is requestSurface(new_role)?12:56
scvreadyOr I need more in-deep knowledge about the Windowmanager?12:59
JPK61Hello, I'm new here. I'm studying computer science at Reutlingen University and I'm currently writing my bachelor thesis. I have to develop an AGL HTML5 app on a Raspberry Pi 3 with which I can read and write CAN data from a CAN bus. I work with Halibut 8.0.2 and agl-service-can-low-level.wgt in version 7.99. With the command afb-client-demo13:10
JPK61--human 'localhost:31022/api?token=HELLO&uid=magic' I only get "Connecton refuesd". On a surface with Halibut 8.0.2 and agl-service-can-low-level.wgt in version 8.0 it works. Do I use the wrong port here and if so, how do I get the right one? Would it be possible for someone to build me the widget in version 8.0 for the Pi3?13:10
*** thaytan has joined #automotive13:17
jobolJPK61, try something like "afm-util info agl-service-can-low-level@7.99", it will show the port13:24
jobolJPK61, have you agl-devel feature activated?13:25
JPK61I have already tested it with "afm-util info agl-service-can-low-level@7.99" . But no port is shown. I think so, but I'm not sure because I didn't build the AGL image myself.13:36
gkiagiawhat is shown then? btw, another way to find the port is to look at the debug messages in journalctl, but that's probably more painful13:43
JPK61I get the normal information about the widget. But without port.  raspberrypi3:~# afm-util info agl-service-can-low-level@7.99{  "description":"Expose CAN Low Level APIs through AGL Framework",  "name":"agl-service-can-low-level",  "shortname":"",  "id":"agl-service-can-low-level@7.99",  "version":"7.99.1-087a7c0",  "author":"Romain Forlot13:50
JPK61<romain.forlot@iot.bzh>",  "author-email":"",  "width":"",  "height":"",  "icon":"/var/local/lib/afm/applications/agl-service-can-low-level/7.99/icon.png"}13:50
jobolIt is because agl-devel feature isn't activated.13:52
jobolIn that case services are not exposing any HTTP facility13:53
jobolwhat is the link to the image you use?13:53
*** JPK6194 has joined #automotive14:00
*** JPK61 has quit IRC14:01
JPK6194I have the image from the internal university network. Unfortunately I cannot link to it. But as I see it in the BuildConfig, all features are active in the image. "source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-all-features agl-html5-framework agl-profile-graphical-html5 agl-pipewire agl-appfw-smackbitbake agl-demo-platform"14:09
dl9pfit misses agl-devel !14:12
dl9pfneed to rebuild with devel on. is that an image from Thomas?14:13
JPK6194Oh okay, jep it is.14:13
dl9pfYes. Then it might be my bad as I did the build and forgot the switch, let see.14:15
dl9pfSo you need pi3 with all features, html5 and devel14:15
jobolThe bad thing is that without agl-devel you should normally not be able to log as root either by console or by ssh14:18
JPK6194Jep. It works fine.14:21
dl9pfJPK6194: you're on pi3 or pi4 ?14:24
JPK6194on pi314:24
dl9pfdo you have a file build-info  ?14:24
dl9pfor /etc/platform/build*14:25
dl9pfa file in ^^14:25
dl9pfthat might help to track it down14:25
dl9pfwill do a fresh build for you anyway now14:25
JPK6194jep, i have the build-info14:31
dl9pfcan you pastebin it ?14:34
JPK6194the build or build.json and where?14:38
*** JPK6194 has quit IRC14:46
*** JPK61 has joined #automotive14:47
dl9pfJPK61: stay tuned ... chromium compile takes forever ...15:07
dl9pfOne-day workshop the monday after FOSDEM about OE/YP - CFP open: https://pretalx.com/oe-workshop-2020/cfp15:48
*** vrubiolo has quit IRC16:11
dl9pfJPK61: ping16:20
dl9pffinally ... got a build:16:21
dl9pfhttp://116.203.98.253/new/16:21
JPK61thx16:21
smurrayscvready: that's not enough, if you add a completely new role, you'll need to update the default policy engine.  See my recent changes to add remote/second screen support for an example.  It's easier to repurpose an existing role name, as you likely won't have to do the policy part16:21
*** jobol has quit IRC16:24
*** jaillet has quit IRC16:34
*** skz81 has quit IRC17:15
scvreadysmurray: Okey, I'll check the policy_manager code. If I can't manage it, I'll take your advice and change an existing role. Thank you so much for answering :)17:35
*** leon-anavi has quit IRC18:15
*** vrubiolo has joined #automotive19:49
*** tgamblin has quit IRC20:40
*** tgamblin has joined #automotive21:17
*** vrubiolo has quit IRC22:17
*** tgamblin has quit IRC23:53

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