Dear PulseAudio users, I know that setting `log-level = debug` should increase the messages written out to `log-target`. I noticed that the following messages are printed every five seconds to `log-target`. [?] Jan 31 11:47:21 x pulseaudio[3489]: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded Jan 31 11:47:21 x pulseaudio[3489]: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved Jan 31 11:47:26 x pulseaudio[3489]: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionAdded Jan 31 11:47:26 x pulseaudio[3489]: module-console-kit.c: dbus: interface=org.freedesktop.ConsoleKit.Seat, path=/org/freedesktop/ConsoleKit/Seat1, member=SessionRemoved [?] In `module-console-kit.c` [1] the module gets initialized, and the D-Bus connection gets a `filter_cb` added to it. int pa__init(pa_module*m) { [?] if (!dbus_connection_add_filter(pa_dbus_connection_get(connection), filter_cb, u, NULL)) { pa_log_error("Failed to add filter function"); goto fail; } if (pa_dbus_add_matches( pa_dbus_connection_get(connection), &error, "type='signal',sender='org.freedesktop.ConsoleKit',interface='org.freedesktop.ConsoleKit.Seat',member='SessionAdded'", "type='signal',sender='org.freedesktop.ConsoleKit',interface='org.freedesktop.ConsoleKit.Seat',member='SessionRemoved'", NULL) < 0) { pa_log_error("Unable to subscribe to ConsoleKit signals: %s: %s", error.name, error.message); goto fail; } [?] Looking at `filter_cb` there the message seems to be printed by `pa_log_debug(?)`. static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *message, void *userdata) { [?] pa_log_debug("dbus: interface=%s, path=%s, member=%s\n", dbus_message_get_interface(message), dbus_message_get_path(message), dbus_message_get_member(message)); if (dbus_message_is_signal(message, "org.freedesktop.ConsoleKit.Seat", "SessionAdded")) { [?] } add_session(u, path); } else if (dbus_message_is_signal(message, "org.freedesktop.ConsoleKit.Seat", "SessionRemoved")) { [?] remove_session(u, path); } [?] } If I understood the code correctly, it looks like the CK-module is initialized every five seconds on my system. Is that expected/normal? Thanks, Paul [1] http://git.0pointer.de/?p=pulseaudio.git;a=blob;f=src/modules/module-console-kit.c -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100131/1ce93142/attachment.pgp>