*** tgamblin_ has quit IRC | 01:46 | |
*** tgamblin_ has joined #automotive | 01:46 | |
*** Newami has joined #automotive | 01:57 | |
*** tgamblin_ has quit IRC | 02:26 | |
*** tgamblin_ has joined #automotive | 02:27 | |
*** Newami has quit IRC | 02:49 | |
*** jobol has joined #automotive | 06:42 | |
*** leon-anavi has joined #automotive | 07:31 | |
leon-anavi | hi | 07:47 |
---|---|---|
*** leon-anavi has quit IRC | 07:59 | |
*** leon-anavi has joined #automotive | 08:01 | |
*** walzert has joined #automotive | 08:48 | |
*** jobol has left #automotive | 09:11 | |
walzert | Hello together | 11:02 |
walzert | on 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.org | 11:27 |
dl9pf | waltminer: are both configured for the Interfaces präsent? | 11:28 |
dl9pf | walzert: ^^^^ | 11:29 |
dl9pf | If you changed config files, did you chsmack ? | 11:29 |
walzert | not yet I changed it and it is rebooting | 11:31 |
walzert | okay hvac is working no more error | 11:35 |
walzert | on 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 |
dl9pf | No, this Looks Not Like the LED s | 11:47 |
walzert | I'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 chsmack | 11:58 |
*** vrubiolo has joined #automotive | 12:00 | |
smurray | walzert: I've not tried that in a long time. It's possible you may need to do it as the agl-driver user now | 12:05 |
walzert | okay again a stupid question from how to do that? | 12:07 |
smurray | su agl-driver before trying it, I believe | 12:08 |
*** vrubiolo has quit IRC | 12:13 | |
*** vrubiolo has joined #automotive | 12:16 | |
walzert | @smurray: thank you for that tip, one step further | 12:27 |
*** RzR has joined #automotive | 13:42 | |
*** Newami has joined #automotive | 14:15 | |
*** Newami has quit IRC | 14:25 | |
*** walzert has quit IRC | 14:33 | |
*** walzert has joined #automotive | 14:35 | |
*** walzert has quit IRC | 14:41 | |
*** khem has quit IRC | 14:51 | |
*** khem has joined #automotive | 14:52 | |
*** walzert has joined #automotive | 14:52 | |
*** walzert has joined #automotive | 14: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 |
walzert | is chsmack -a ’_' FILE right? or is it something different? I cought that for audio sometimes | 15:14 |
smurray | yeah, -a '_' if it's something in /etc/ | 15:14 |
dl9pf | Pastebin the logs | 15:15 |
smurray | walzert: 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 halibut | 15:15 |
smurray | walzert: it's entirely possible that things may not work well via afb-client-demo these days due to security changes in halibut | 15:16 |
walzert | @dl9pf: https://pastebin.com/WUnL00Rf | 15:18 |
walzert | @dl9pf: I did some different typos in /etc/dev-mapping.conf as well | 15: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 |
smurray | walzert: you'd have to restart the binding / reboot after doing so, the binding has no ability to dynamically pick up devices | 15:23 |
smurray | walzert: 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, iirc | 15:24 |
dl9pf | ERROR: [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 |
dl9pf | https://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#l108 | 15:29 |
walzert | @smurray: I restarted the service and it seems that the errors away | 15:31 |
walzert | is there an better way to start the can device on startup but before the services? | 15:31 |
smurray | walzert: I almost always reboot when making changes like that, way less hassle | 15:31 |
walzert | I rebooted after doing systemctl enable | 15:32 |
walzert | I tought it would work like on a desktop machine | 15:32 |
smurray | walzert: if that doesn't work reliably, then you'll need add a dependency to ensure the binding starts after the device is brought up | 15:33 |
smurray | walzert: that can be done by dropping a systemd over-ride conf file in /etc/systemd | 15: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 candevice | 15:33 |
smurray | walzert: I'm guessing you have a device that needs a daemon like slcand running? | 15:34 |
walzert | yes | 15:34 |
smurray | yeah, 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 dependency | 15:35 |
smurray | otherwise there's a race condition that is pretty h/w dependent wrt how fast the binding gets started | 15:36 |
smurray | hrm, 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 rpi3 | 15:38 |
smurray | lot less stuff in the telematics image so probably less likely there | 15:38 |
smurray | walzert: 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 do | 15:40 |
walzert | okay thank you very much | 15:41 |
smurray | walzert: it's not ideal, but should work | 15:41 |
smurray | longer 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 state | 15:43 |
*** navidr has joined #automotive | 15:45 | |
walzert | smurray: 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 |
walzert | that is the current state | 16:01 |
*** khem has quit IRC | 16:15 | |
*** khem has joined #automotive | 16:27 | |
*** khem has quit IRC | 16:33 | |
*** khem has joined #automotive | 16:37 | |
*** leon-anavi has quit IRC | 17:27 | |
*** toscalix has joined #automotive | 17:58 | |
*** walzert has quit IRC | 18:33 | |
*** toscalix has quit IRC | 20:23 | |
*** vrubiolo has quit IRC | 21:11 | |
*** AlisonChaiken has quit IRC | 22:07 | |
*** AlisonChaiken has joined #automotive | 22:08 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!