balena-io-experimental / audio

Audio building block for balenaOS, based on pulseaudio.
https://hub.balena.io/blocks
32 stars 13 forks source link

Disable console-kit and ofono modules #16

Closed tmigone closed 4 years ago

tmigone commented 4 years ago

They are not necessary and produce errors below since we don't have pulseaudio dbus interface in balenaOS.

console-kit:

02.06.20 16:35:21 (-0300)  pulseaudio  E: [pulseaudio] module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
02.06.20 16:35:21 (-0300)  pulseaudio  E: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.

ofono:

02.06.20 16:35:21 (-0300)  pulseaudio  E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files