I have a new prototype enclosure. I followed the same set of steps I always do to build mycroft, but now the enclosure cannot pair. I see this is in audio.log:
Speak: My apologies, something unexpected has happened.
Speak: I need to restart the pairing process.
Speak: Your device is not currently registered.
Speak: An error occurred while processing a request in Pairing Skill
I dug and it turns out there were two pulseaudio
processes being started - one by the user pi, which is expected, and another by the user gdm, which is new.
The solution was to add a line to both the files /usr/lib/systemd/user/pulseaudio.socket
and /usr/lib/systemd/user/pulseaudio.service
so that gdm can not start a second copy.
...
ConditionUser=!root
ConditionUser=!gdm
...
I rebooted after this change and was then able to pair the new device. Strange.
Ubuntu desktop was not starting a second pulseaudio a few months ago. Just a head’s up in case somebody else hits it.
-Mike Mac