IRC logs for #automotive for Thursday, 2020-04-16

*** tgamblin_ has quit IRC01:46
*** tgamblin_ has joined #automotive01:46
*** Newami has joined #automotive01:57
*** tgamblin_ has quit IRC02:26
*** tgamblin_ has joined #automotive02:27
*** Newami has quit IRC02:49
*** jobol has joined #automotive06:42
*** leon-anavi has joined #automotive07:31
leon-anavihi07:47
*** leon-anavi has quit IRC07:59
*** leon-anavi has joined #automotive08:01
*** walzert has joined #automotive08:48
*** jobol has left #automotive09:11
walzertHello together11:02
walzerton AGL 9.0.0 I get following errors  "ERROR: can't start system unit *.service for uid 0  [/w/workspace/release-jjb-icefish-snapshot/MACHINE/qemux86-64/label/agl-test-slave/repoclone/output/tmp/work/corei7-64-agl-linux/af-main/icefish+gitAUTOINC+381a0973c9-r0/git/src/afm-urun.c:252]" for signal-composer and low-can  it is the image form downloads.automotivelinux.org11:27
dl9pfwaltminer: are both configured for the Interfaces präsent?11:28
dl9pfwalzert: ^^^^11:29
dl9pfIf you changed config files, did you chsmack ?11:29
walzertnot yet I changed it and it is rebooting11:31
walzertokay hvac is working no more error11:35
walzerton hvac "ERROR: can't open client socket for unix:/run/user/1001/apis/ws/HVAC [/w/workspace/release-jjb-icefish-snapshot/MACHINE/qemux86-64/label/agl-test-slave/repoclone/output/tmp/work/corei7-64-agl-linux/af-binder/icefish+gitAUTOINC+65353dce81-r0/git/src/afb-socket.c:352,afb_socket_open_scheme]" is because I don't have the led's and the other stuff right?11:42
dl9pfNo, this Looks Not Like the LED s11:47
walzertI'm able to connect to mixer via afb-client-demo but not for  agl-service-can-low-level@9.0 did I missed a config file I changed in "/etc/dev-mapping.conf" and did chsmack11:58
*** vrubiolo has joined #automotive12:00
smurraywalzert: I've not tried that in a long time.  It's possible you may need to do it as the agl-driver user now12:05
walzertokay again a stupid question from how to do that?12:07
smurraysu agl-driver before trying it, I believe12:08
*** vrubiolo has quit IRC12:13
*** vrubiolo has joined #automotive12:16
walzert@smurray: thank you for that tip, one step further12:27
*** RzR has joined #automotive13:42
*** Newami has joined #automotive14:15
*** Newami has quit IRC14:25
*** walzert has quit IRC14:33
*** walzert has joined #automotive14:35
*** walzert has quit IRC14:41
*** khem has quit IRC14:51
*** khem has joined #automotive14:52
*** walzert has joined #automotive14:52
*** walzert has joined #automotive14:57
walzert@smurray: should a agl version before 9 work better ? I tried everything and still get two errors. one is no such device.15:13
walzertis chsmack -a ’_' FILE right? or is it something different? I cought that for audio sometimes15:14
smurrayyeah, -a '_' if it's something in /etc/15:14
dl9pfPastebin the logs15:15
smurraywalzert: I don't think anyhing's changed in agl-service-can-low-level between halibut and icefish, but there was a lot of rework in halibut15:15
smurraywalzert: it's entirely possible that things may not work well via afb-client-demo these days due to security changes in halibut15:16
walzert@dl9pf: https://pastebin.com/WUnL00Rf15:18
walzert@dl9pf: I did some different typos in /etc/dev-mapping.conf as well15:19
walzert@smurray: could it be a problem by adding a can device with an file in  /lib/systemd/system  and enable it ober systemctl ?15:21
smurraywalzert: you'd have to restart the binding / reboot after doing so, the binding has no ability to dynamically pick up devices15:23
smurraywalzert: are trying to use the write functionality?  That might be hard to do from the command-line since there's a separate permission associated with it, iirc15:24
dl9pfERROR: [API low-can] Error sending : 32 Broken pipe [/w/workspace/release-jjb-icefish-snapshot/MACHINE/intel-corei7-64/label/agl-test-slave/repoclone/output/tmp/work/corei7-64-agl-linux/agl-service-can-low-level/9.0.1-r0/git/low-can-binding/utils/socketcan-bcm.cpp:110,write_message]15:28
dl9pfhttps://gerrit.automotivelinux.org/gerrit/gitweb?p=apps/agl-service-can-low-level.git;a=blob;f=low-can-binding/utils/socketcan-bcm.cpp;hb=HEAD#l10815:29
walzert@smurray: I restarted the service  and it seems that the errors away15:31
walzertis there an better way to start the can device on startup but before the services?15:31
smurraywalzert: I almost always reboot when making changes like that, way less hassle15:31
walzertI rebooted after doing systemctl enable15:32
walzertI tought it would work like on a desktop machine15:32
smurraywalzert: if that doesn't work reliably, then you'll need add a dependency to ensure the binding starts after the device is brought up15:33
smurraywalzert: that can be done by dropping a systemd over-ride conf file in /etc/systemd15:33
walzert@dl9pf: so the error is away and I don't see messages on the can device but I think  it could be the configuration of my candevice15:33
smurraywalzert: I'm guessing you have a device that needs a daemon like slcand running?15:34
walzertyes15:34
smurrayyeah, devices with built-in kernel drivers like the rcar3 ones don't really have any issues, but USB based ones that need slcand or the like to start and create the vcan bridge device as canX need a dependency15:35
smurrayotherwise there's a race condition that is pretty h/w dependent wrt how fast the binding gets started15:36
smurrayhrm, I have a similar systemd unit for slcand in meta-agl-telematics-demo, but I guess I never hit the race on the telematics demo on rpi315:38
smurraylot less stuff in the telematics image so probably less likely there15:38
smurraywalzert: take a look at meta-agl/meta-agl-profile-graphical/recipes-apis/agl-service-windowmanager/agl-service-windowmanager_git.bb, the do_install_append in there adds an over-ride to make agl-service-windowmanager depend on weston-ready, it's somewhat similar to what you could do15:40
walzertokay thank you very much15:41
smurraywalzert: it's not ideal, but should work15:41
smurraylonger term, I could see that the binding may need to be a bit more involved in device configuration/control, there's currently e.g. no way to handle devices going into error state15:43
*** navidr has joined #automotive15:45
walzertsmurray: okay I will have a look there tomorrow.  after restarting the service  the error messages are gone by changing  temp in the hvac app.  still no messages on the bus.16:01
walzertthat is the current state16:01
*** khem has quit IRC16:15
*** khem has joined #automotive16:27
*** khem has quit IRC16:33
*** khem has joined #automotive16:37
*** leon-anavi has quit IRC17:27
*** toscalix has joined #automotive17:58
*** walzert has quit IRC18:33
*** toscalix has quit IRC20:23
*** vrubiolo has quit IRC21:11
*** AlisonChaiken has quit IRC22:07
*** AlisonChaiken has joined #automotive22:08

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