mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-26 04:00:04 +01:00
daemon: udev: allow read access to PHC
Allow users to access the PTP hardware clock Related to #3217
This commit is contained in:
parent
89077d16ec
commit
78642cc53b
2 changed files with 16 additions and 0 deletions
6
src/daemon/90-pipewire-aes67-ptp.rules
Normal file
6
src/daemon/90-pipewire-aes67-ptp.rules
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
# This file was installed by PipeWire project for its pipewire-aes67
|
||||||
|
#
|
||||||
|
# This is used to give readonly access to the PTP hardware clock.
|
||||||
|
# PipeWire uses this to follow PTP grandmaster time. It should be synced by another service
|
||||||
|
#
|
||||||
|
KERNEL=="ptp[0-9]*", MODE="0644"
|
||||||
|
|
@ -162,3 +162,13 @@ subdir('filter-chain')
|
||||||
if systemd.found()
|
if systemd.found()
|
||||||
subdir('systemd')
|
subdir('systemd')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
aes67_udevrules = [
|
||||||
|
'90-pipewire-aes67-ptp.rules',
|
||||||
|
]
|
||||||
|
|
||||||
|
if libudev_dep.found()
|
||||||
|
install_data(aes67_udevrules,
|
||||||
|
install_dir : udevrulesdir,
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue