From bb2f79359828ea3c65a8f49432b7b4a386f2d48b Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sat, 10 Feb 2024 22:19:59 +0300 Subject: [PATCH] node-driver: suggest user to check clock device permissions --- spa/plugins/support/node-driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spa/plugins/support/node-driver.c b/spa/plugins/support/node-driver.c index 4aeb650e0..c89076cef 100644 --- a/spa/plugins/support/node-driver.c +++ b/spa/plugins/support/node-driver.c @@ -612,6 +612,7 @@ impl_init(const struct spa_handle_factory *factory, if (this->clock_fd == -1) { spa_log_warn(this->log, "failed to open clock device '%s'", s); + spa_log_warn(this->log, "ensure pipewire has sufficient access permissions to read the device"); } else { this->props.clock_id = FD_TO_CLOCKID(this->clock_fd); } @@ -627,6 +628,7 @@ impl_init(const struct spa_handle_factory *factory, if (this->clock_fd == -1) { spa_log_warn(this->log, "failed to open clock device '%s'", s); + spa_log_warn(this->log, "ensure pipewire has sufficient access permissions to read the device"); } else { this->props.clock_id = FD_TO_CLOCKID(this->clock_fd); }