mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
node-driver: suggest user to check clock device permissions
This commit is contained in:
parent
0ff7b1464d
commit
bb2f793598
1 changed files with 2 additions and 0 deletions
|
|
@ -612,6 +612,7 @@ impl_init(const struct spa_handle_factory *factory,
|
||||||
|
|
||||||
if (this->clock_fd == -1) {
|
if (this->clock_fd == -1) {
|
||||||
spa_log_warn(this->log, "failed to open clock device '%s'", s);
|
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 {
|
} else {
|
||||||
this->props.clock_id = FD_TO_CLOCKID(this->clock_fd);
|
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) {
|
if (this->clock_fd == -1) {
|
||||||
spa_log_warn(this->log, "failed to open clock device '%s'", s);
|
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 {
|
} else {
|
||||||
this->props.clock_id = FD_TO_CLOCKID(this->clock_fd);
|
this->props.clock_id = FD_TO_CLOCKID(this->clock_fd);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue