*** LiXiaoming has joined #automotive | 05:40 | |
*** thaytan has quit IRC | 06:29 | |
*** LiXiaoming has quit IRC | 06:46 | |
*** jobol has joined #automotive | 07:24 | |
*** leon-anavi has joined #automotive | 07:37 | |
leon-anavi | morning | 07:46 |
---|---|---|
jobol | morning | 07:47 |
*** kooltux_ has joined #automotive | 08:02 | |
dl9pf | morning! | 08:03 |
*** jaillet has joined #automotive | 08:14 | |
*** vrubiolo has joined #automotive | 08:15 | |
*** kooltux_ has quit IRC | 08:28 | |
*** vrubiolo has quit IRC | 08:30 | |
*** vrubiolo has joined #automotive | 08:30 | |
*** skz81 has joined #automotive | 08:31 | |
*** leon-anavi has quit IRC | 08:41 | |
*** leon-anavi has joined #automotive | 08:42 | |
*** scvready has joined #automotive | 09:25 | |
*** skz81 has quit IRC | 09:33 | |
*** skz81 has joined #automotive | 09:37 | |
*** JPK61 has joined #automotive | 11:08 | |
*** tgamblin has joined #automotive | 12:47 | |
scvready | Hi 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 |
scvready | Or I need more in-deep knowledge about the Windowmanager? | 12:59 |
JPK61 | Hello, 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-demo | 13: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 #automotive | 13:17 | |
jobol | JPK61, try something like "afm-util info agl-service-can-low-level@7.99", it will show the port | 13:24 |
jobol | JPK61, have you agl-devel feature activated? | 13:25 |
JPK61 | I 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 |
gkiagia | what is shown then? btw, another way to find the port is to look at the debug messages in journalctl, but that's probably more painful | 13:43 |
JPK61 | I 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 Forlot | 13: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 |
jobol | It is because agl-devel feature isn't activated. | 13:52 |
jobol | In that case services are not exposing any HTTP facility | 13:53 |
jobol | what is the link to the image you use? | 13:53 |
*** JPK6194 has joined #automotive | 14:00 | |
*** JPK61 has quit IRC | 14:01 | |
JPK6194 | I 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 |
dl9pf | it misses agl-devel ! | 14:12 |
dl9pf | need to rebuild with devel on. is that an image from Thomas? | 14:13 |
JPK6194 | Oh okay, jep it is. | 14:13 |
dl9pf | Yes. Then it might be my bad as I did the build and forgot the switch, let see. | 14:15 |
dl9pf | So you need pi3 with all features, html5 and devel | 14:15 |
jobol | The bad thing is that without agl-devel you should normally not be able to log as root either by console or by ssh | 14:18 |
JPK6194 | Jep. It works fine. | 14:21 |
dl9pf | JPK6194: you're on pi3 or pi4 ? | 14:24 |
JPK6194 | on pi3 | 14:24 |
dl9pf | do you have a file build-info ? | 14:24 |
dl9pf | or /etc/platform/build* | 14:25 |
dl9pf | a file in ^^ | 14:25 |
dl9pf | that might help to track it down | 14:25 |
dl9pf | will do a fresh build for you anyway now | 14:25 |
JPK6194 | jep, i have the build-info | 14:31 |
dl9pf | can you pastebin it ? | 14:34 |
JPK6194 | the build or build.json and where? | 14:38 |
*** JPK6194 has quit IRC | 14:46 | |
*** JPK61 has joined #automotive | 14:47 | |
dl9pf | JPK61: stay tuned ... chromium compile takes forever ... | 15:07 |
dl9pf | One-day workshop the monday after FOSDEM about OE/YP - CFP open: https://pretalx.com/oe-workshop-2020/cfp | 15:48 |
*** vrubiolo has quit IRC | 16:11 | |
dl9pf | JPK61: ping | 16:20 |
dl9pf | finally ... got a build: | 16:21 |
dl9pf | http://116.203.98.253/new/ | 16:21 |
JPK61 | thx | 16:21 |
smurray | scvready: 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 part | 16:21 |
*** jobol has quit IRC | 16:24 | |
*** jaillet has quit IRC | 16:34 | |
*** skz81 has quit IRC | 17:15 | |
scvready | smurray: 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 IRC | 18:15 | |
*** vrubiolo has joined #automotive | 19:49 | |
*** tgamblin has quit IRC | 20:40 | |
*** tgamblin has joined #automotive | 21:17 | |
*** vrubiolo has quit IRC | 22:17 | |
*** tgamblin has quit IRC | 23:53 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!