*** Newami has joined #automotive | 01:33 | |
*** Newami has quit IRC | 04:13 | |
*** AlisonChaiken has joined #automotive | 04:38 | |
*** Newami has joined #automotive | 04:41 | |
*** jobol has joined #automotive | 05:54 | |
*** GuyElpotato has joined #automotive | 06:15 | |
*** kbroulik has joined #automotive | 06:48 | |
*** Newami has quit IRC | 06:57 | |
*** francesco_kin has quit IRC | 07:00 | |
*** leon-anavi has joined #automotive | 07:25 | |
*** psnsilva has joined #automotive | 08:08 | |
*** leon-anavi has quit IRC | 08:10 | |
*** skz81 has joined #automotive | 08:15 | |
*** leon-anavi has joined #automotive | 08:22 | |
*** walzert has joined #automotive | 08:22 | |
*** kurokawa has joined #automotive | 08:29 | |
walzert | hello together, | 08:29 |
---|---|---|
walzert | I'm working on get AGL on a Intel based Tablet-PC. I have a problem with the sound, internal speaker is working (tested it with urandom on the device with aplay), then I wanted to update the config file "/etc/asound.conf" according the instructions on the troubleshooting part in master. There I was redirected to the "/usr/libexec/agl/4a-hal/etc" directory. I copied the hal-4a-intel.json from "etc.available". What ar | 08:29 |
walzert | e the next steps and how can I help to update the documentation? | 08:29 |
gkiagia | Which version of agl are you using? | 08:31 |
*** khouloud has joined #automotive | 08:34 | |
walzert | gkiagia: 7.90 snapshot 20190604 and 6.0.5 | 08:40 |
*** walzert has quit IRC | 08:50 | |
*** walzert has joined #automotive | 08:50 | |
jobol | walzert, 7.90 and 6.0.5 are VERY different, specially about sound ! | 08:51 |
walzert | so I should decied for 7.90 ? | 08:52 |
walzert | I have although a Microchip Unicens system here for an Up². We need one system that we can show some colleagues here at university. I would be happy if I have a system here that could show the radio example. | 08:58 |
*** kurokawa has quit IRC | 09:06 | |
gkiagia | 20190604 should still be using 4A, so both of them should theoretically work | 09:14 |
gkiagia | but I am not certain on how to configure it | 09:14 |
jobol | walzert, I 95% sure that the best for you is to use Guppy that used 4A and integrated unicens. Guppy version is 7.0.3 | 09:15 |
gkiagia | if you try HH RC3, there's a different audio system there, but I do not guarantee that it will work yet. We are still testing and fixing bugs | 09:15 |
jobol | gkiagia, are you at ALS? | 09:15 |
gkiagia | I am yes | 09:15 |
gkiagia | oh, I just realized 6.0.5 is not Guppy... | 09:16 |
jobol | gkiagia, I'm just discovering the issues with PW and mediaplayer, we should have a talk next week | 09:17 |
gkiagia | are you talking about the smack warnings, or did I break something? | 09:21 |
walzert | jobol and gkiagia thank you | 09:21 |
walzert | I will test it | 09:21 |
jobol | warnings? okay, I thought it was errors, so forgive me. | 09:22 |
gkiagia | my bad, ok... technically, they are error messages, but they are false positives. Pipewire expects to be denied access, which is how it then knows that the application is running in a restricted security context... This code was written with flatpak in mind (I didn't write it) and it could be nicer, but it does not harm either, imho | 09:26 |
gkiagia | so it tries to open /proc/pid/exe and then if it succeeds, it gives full permissions to the application (assumes it is unrestriced).. if it fails, it locks down the permissions and waits for the session manager to apply its own policy | 09:28 |
jobol | What I see is that mediaplayer doesn't play files. But let check later and happy ALS. Do you enjoy? | 09:29 |
gkiagia | then it must be some other issue. I will perform more tests next week. sorry about that | 09:30 |
gkiagia | it was quite nice, thank you :) | 09:30 |
*** toscalix has joined #automotive | 10:14 | |
*** kbroulik has quit IRC | 10:20 | |
*** toscalix has quit IRC | 10:28 | |
walzert | gkiagia, I downloaded the latest release from guppy. the sound devices (intern speaker and unicens are working wit aplay). what are the next steps I have to create a file in "/usr/libexec/agl/4a-hal/etc" right? or have I create the folder and file according to the documentation? "AGL 4A needs to know which HAL shall be used. This is configured in the file:/usr/agl-service-audio-4a/ahl-agl-service-audio-4a-config.js | 11:11 |
walzert | on | 11:11 |
walzert | " | 11:11 |
jobol | walzert, I'm checking with experts here | 11:15 |
walzert | jobol, thank you | 11:15 |
jobol | will take some time because of lunch | 11:16 |
walzert | enjoy your lunch that's more important ;) | 11:16 |
*** jaillet has joined #automotive | 12:47 | |
*** jaillet has left #automotive | 12:48 | |
*** jaillet_ has joined #automotive | 12:51 | |
*** jaillet_ has quit IRC | 12:54 | |
*** jaillet has joined #automotive | 12:54 | |
jaillet | Hi walzert, if you need help about 4a hals, i probably can help, can you summarize what you want to do with audio ? | 13:06 |
jaillet | walzert, from what I understand, you are working on intel boards, on AGL GG, and trying to make radio works, is that correct ? | 13:07 |
walzert | hi jaillet, yes I try to get radio working that I can be sure my sound system is working | 13:10 |
jaillet | walzert, which board are you using ? And what is the content of /usr/libexec/agl/4a-hal/etc directory ? | 13:14 |
walzert | jaillet, I'M using an upsqured with an unicens system and I copied the 4a-hal-unicens to that folder | 13:15 |
walzert | I have altough a tablet with a integrated speaker based on an intel i5m to test it | 13:19 |
*** walzert has quit IRC | 13:23 | |
*** walzert has joined #automotive | 13:26 | |
jaillet | walzert, can you give the result of the '4a-status' command | 13:31 |
walzert | ---- Audio cards detected ---- | 13:32 |
walzert | card 0: Loopback | 13:32 |
walzert | card 2: HDMI | 13:32 |
walzert | card 3: PCH | 13:32 |
walzert | card 4: ep016ch | 13:32 |
walzert | ---- snd-aloop driver availability ---- | 13:33 |
walzert | SUCCESS: Built into the kernel | 13:33 |
walzert | ---- 4a service status ---- | 13:33 |
walzert | SUCCESS: Service is currently running! | 13:33 |
jaillet | ok, it seems that 4a service is running without issue on your board | 13:34 |
jaillet | could you try this command : '4a-play /usr/share/4a/media/Happy_MBB_75.ogg' | 13:34 |
walzert | "status":"Failed to call 'ramp' action on stream" | 13:36 |
walzert | ON-REPLY 1:ahl-4a/multimedia: ERROR | 13:36 |
walzert | { | 13:36 |
walzert | "jtype":"afb-reply", | 13:36 |
walzert | "request":{ | 13:36 |
walzert | "status":"Failed to call 'ramp' action on stream" | 13:36 |
walzert | } | 13:36 |
walzert | } | 13:36 |
jaillet | ok, it seems there is an issue with 4a, can you send me the log file of 4a service using 'journalctl -u *agl-service-audio-4a*.service > 4a.log' command ? | 13:41 |
*** walzert has quit IRC | 13:47 | |
*** walzert has joined #automotive | 13:48 | |
walzert | jaillet, one question my id from the microchip is at the end 16-02 instead of 0C-02 and always in the etc-directory there is a hal-4a-unicens-utp.json~ with the old id | 13:58 |
jaillet | I never had an issue because of files created by vi, but, just to be sure, you can delete the files ending by '~' and restart 4a service using 'systemctl restart *agl-service-audio-4a*.service' | 14:02 |
jaillet | Did you receive my message about 4a service log ? | 14:02 |
walzert | jaillet, yes I got the message. I changed the id and restarted the service and now it's | 14:07 |
walzert | ON-REPLY 1:ahl-4a/multimedia: OK | 14:07 |
walzert | { | 14:07 |
walzert | "response":{ | 14:07 |
walzert | "device_uri":"" | 14:07 |
walzert | }, | 14:07 |
walzert | "jtype":"afb-reply", | 14:07 |
walzert | "request":{ | 14:07 |
walzert | "status":"success" | 14:07 |
walzert | } | 14:07 |
walzert | } | 14:07 |
walzert | but there is no sound now | 14:07 |
walzert | should I send it to you per mail oder in the irc? | 14:08 |
jaillet | By mail is ok, I've just send you my mail in a private message | 14:11 |
*** Newami has joined #automotive | 14:16 | |
jaillet | walzert, the log file indicates that unicens plugin is not found by 4a-hal binding, could give me the result of 'ls -l /usr/libexec/agl/4a-hal/lib/plugins/' command ? | 14:20 |
walzert | -rw-r--r-- 1 root root 1472656 May 15 22:35 hal-bluealsa.ctlso | 14:21 |
walzert | -rw-r--r-- 1 root root 115368 May 15 22:35 hal-unicens-md-input.ctlso | 14:21 |
walzert | -rw-r--r-- 1 root root 172064 May 15 22:35 hal-unicens-output.ctlso | 14:21 |
jaillet | weird, the unicens plugin is there. Can we test audio using up² audio card (through hdmi) ? Just to check if that's a 4a issue. | 14:28 |
*** AlisonChaiken has quit IRC | 14:30 | |
jaillet | walzert, can you also send me the unicens json configuration file you are using (I am wondering if there is something wrong in 'ressources' section) ? | 14:34 |
walzert | jaillet, to your first question therefore I have to copy the hal-4a upsqured-hdmi to etc right? | 14:38 |
walzert | should there be just one .json file in the etc folder? | 14:39 |
jaillet | yes, just one json files in etc directory | 14:45 |
jaillet | and yes, hal-4a-intel-upsquared-hdmi.json should work right away using hdmi sound | 14:46 |
walzert | i changed to an monitor that has hdmi audio and already worked with sound from radio, but no sound | 14:51 |
jaillet | did you use 4a-play command to test audio ? | 14:52 |
walzert | "Play '/usr/share/4a/media/Happy_MBB_75.ogg' on 'hw:Loopback,0,2' | 14:53 |
walzert | The selected card (hw:Loopback) is handle by 4a, call open on 'multimedia' | 14:53 |
walzert | Detected systemd unit file! | 14:53 |
walzert | Port detected: 31002 | 14:53 |
walzert | ON-REPLY 1:ahl-4a/multimedia: OK | 14:53 |
walzert | { | 14:53 |
walzert | "response":{ | 14:53 |
walzert | "device_uri":"hw:1,0,0" | 14:53 |
walzert | }, | 14:53 |
walzert | "jtype":"afb-reply", | 14:53 |
walzert | "request":{ | 14:54 |
walzert | "status":"success" | 14:54 |
walzert | } | 14:54 |
walzert | } | 14:54 |
walzert | " | 14:54 |
walzert | yes | 14:54 |
jaillet | ok, we can try to use snd-aloop instead of avirt | 14:55 |
jaillet | for that, use these commands : 'mv /usr/libexec/agl/smixer/etc/smixer-avirt-4a.json /usr/libexec/agl/smixer/etc/smixer-avirt-4a.json.old' | 14:56 |
jaillet | then 'cp /usr/libexec/agl/smixer/etc/smixer-default-4a.json /usr/libexec/agl/smixer/etc/smixer-avirt-4a.json' | 14:57 |
jaillet | then restart 4a service : 'systemctl restart *agl-service-audio-4a*.service' | 14:57 |
jaillet | the check 4a service status with '4a-status' command | 14:58 |
walzert | jaillet, if i connect my smartphone via bluetooth use media player options it is working | 15:03 |
jaillet | but still no sound with '4a-play' ? | 15:04 |
walzert | no now i will test you new lines | 15:05 |
jaillet | ok | 15:05 |
walzert | i change your lines from smixer-avirt-4a.json to smixer-4a-avirt.json is that ok? | 15:06 |
jaillet | yes, it is possible that the file has been renamed between guppy and master | 15:07 |
walzert | after your lines I restarted and now it is working | 15:10 |
jaillet | ok | 15:11 |
walzert | radio is although working | 15:11 |
jaillet | what radio device are you using ? | 15:11 |
walzert | the adafruit rtl_x | 15:12 |
walzert | "Software Defined Radio Receiver USB Stick - RTL2832 w/R820T" | 15:12 |
walzert | thank you very much | 15:14 |
walzert | the radio is stopping sometimes but it is working | 15:14 |
jaillet | ok, great | 15:15 |
jaillet | do you want to try to have unicens audio working instead of hdmi audio ? | 15:15 |
walzert | yeah it would be great beacuse my touchscreen has no audio and my device with audio has no touch not the best combination | 15:16 |
walzert | is it a lot to do? | 15:16 |
jaillet | just using an up-to-date hal for unicens | 15:17 |
jaillet | i am looking for it right now | 15:17 |
jaillet | could you try this file : https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/4a-hal-configs.git;a=blob;f=devices/hal-4a-unicens-utp.json;h=8d9b522a8d3e32a7a1135040ebc389f313a75ecb;hb=fdf0e3c4c67ceb5ddc77c9c1f27d85c1be2055a6 | 15:17 |
*** skz81 has quit IRC | 15:18 | |
jaillet | changing the path of the audio card like you did before | 15:18 |
walzert | ok one moment | 15:20 |
walzert | Play '/usr/share/4a/media/Happy_MBB_75.ogg' on 'hw:Loopback,0,2' | 15:22 |
walzert | The selected card (hw:Loopback) is handle by 4a, call open on 'multimedia' | 15:22 |
walzert | Detected systemd unit file! | 15:22 |
walzert | Port detected: 31002 | 15:22 |
walzert | connection to localhost:31002/api?token=HELLO&uuid=magic failed: Connection refused | 15:22 |
jaillet | can you send me the result of '4a-status' command | 15:23 |
jaillet | and the 4a service log file | 15:24 |
walzert | ---- Audio cards detected ---- | 15:26 |
walzert | card 0: Loopback | 15:26 |
walzert | card 2: PCH | 15:26 |
walzert | card 3: ep016ch | 15:27 |
walzert | ---- snd-aloop driver availability ---- | 15:27 |
walzert | SUCCESS: Built into the kernel | 15:27 |
walzert | ---- 4a service status ---- | 15:27 |
walzert | WARNING: Service is not currently running! | 15:27 |
walzert | It can be started using the following command: | 15:27 |
walzert | systemctl restart *agl-service-audio-4a*.service | 15:27 |
walzert | send you the log file already | 15:27 |
jaillet | could you check the content of /usr/libexec/agl/etc directory, it seems that no hal has been found by 4a service | 15:27 |
walzert | /usr/libexec/agl/4a-hal/etc? | 15:28 |
jaillet | yes | 15:29 |
jaillet | sorry, forgot a directory ... | 15:29 |
walzert | i saved the file from gerrit and it starts with devices_* | 15:29 |
walzert | rename it? | 15:29 |
jaillet | hal in this directory must begin by hal-4a | 15:29 |
jaillet | and must be json files | 15:30 |
walzert | I had to restart it but now it is working | 15:34 |
walzert | not restart the service restart the whole system | 15:34 |
jaillet | ok, do you have sound using unicens audio ? | 15:35 |
walzert | yes thank you! | 15:36 |
jaillet | you're welcome | 15:37 |
walzert | I just restarted the whole system without the hdmi-audio monitor to be sure the sound is not coming out of that | 15:37 |
jaillet | ok | 15:37 |
jaillet | did you try to play audio with 4a-play, radio, bluetooth ? | 15:37 |
jaillet | (just to have a status on what is working) | 15:41 |
walzert | bluetooth is not working | 15:41 |
jaillet | radio is ok ? | 15:42 |
walzert | it's good it sounds much better and i don't recognize stopping | 15:43 |
walzert | and 4a-play is working | 15:45 |
jaillet | ok, I can send you an email with an updated hal for bluetooth. However, i am not 100% sure it will work. Are you interested ? | 15:45 |
walzert | jaillet, sure but it is ok when i test it on monday? I planed to go home from university @ 15:30 yes ^^ | 15:46 |
walzert | not utc | 15:46 |
jaillet | ok, no problem, we can see if it's workin on monday | 15:47 |
jaillet | Have a nice week-end | 15:47 |
*** khouloud has quit IRC | 15:47 | |
walzert | I wanted to ask you are wokring on the 4a-system? so if you have someting to test I could do it, if it is posbile for me | 15:47 |
*** dgriego has joined #automotive | 15:47 | |
jaillet | yes, I am working on 4a-hal binding, but 4a has been remove from newer version of AGL, so there is not much tests to do on 4a anymore | 15:49 |
walzert | and really thank you for your help and have a nice weekend | 15:49 |
jaillet | however, if you are interested in testing new AGL audio framework (that is using pipewire), you can see with gkiagia if he needs help for test | 15:51 |
walzert | I can try to help where I am needed or my equipment could be helpful. | 15:53 |
walzert | On monday we could test the bluetooth part | 15:54 |
walzert | good bye (: | 15:54 |
jaillet | ok, glad I have been able to help you, bye | 15:55 |
*** walzert has left #automotive | 15:55 | |
*** jaillet has quit IRC | 16:16 | |
*** drleviathan has joined #automotive | 16:25 | |
*** GuyElpotato has quit IRC | 16:34 | |
leon-anavi | My work in progress changes for backporting rpi4 support from master to thud of meta-raspberrypi: https://github.com/leon-anavi/meta-raspberrypi/tree/thud | 16:37 |
leon-anavi | My plan is to bring these specific changes in AGL to support rpi4 | 16:37 |
*** psnsilva has quit IRC | 16:45 | |
*** leon-anavi has quit IRC | 16:55 | |
*** leon-anavi has joined #automotive | 16:57 | |
*** leon-anavi has quit IRC | 17:31 | |
*** jobol has quit IRC | 18:06 | |
*** khouloud has joined #automotive | 20:23 | |
*** Newami has quit IRC | 20:47 | |
*** khem has quit IRC | 22:28 | |
*** khouloud has quit IRC | 22:38 | |
*** khem has joined #automotive | 22:42 | |
*** Newami has joined #automotive | 22:44 | |
*** wildlander has joined #automotive | 23:08 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!