Mycroft Community Forum

Audio Output not working with systemd

I have an Arch Linux ARM instance running on RPI 4B and I tried to follow the steps from there https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/get-mycroft/linux. I followed each step in instructions just fine until I went to Start Mycroft on boot. mycroft.service starts on boot but without audio output. I don’t know why but audio input works just fine. I see in CLI that every command works but just audio input didn’t.

Output device is onboard 3,5mm jack ; Input device is PS3 Eye

Starting mycroft manually without systemd service gives me back my audio output.

I fixed that by using ALSA. Using PulseAudio to output audio still not working, this is why I uninstalled PulseAudio packages.

Here is how I changed ~/.mycroft/mycroft.conf to output to ALSA:

}
  "max_allowed_core_version": 20.8,
  "play_wav_cmdline": "aplay %1",
  "play_mp3_cmdline": "mplayer %1"
}
1 Like

If ALSA is working I say let it keep working :slight_smile:

But if you did want to keep debugging, maybe post your systemd service definitions?