add commisioning flow to readme and udev rule
This commit is contained in:
18
README.md
18
README.md
@@ -159,6 +159,24 @@ sudo cmake --install build # installs to /usr/local/lib
|
|||||||
sudo ldconfig # refresh linker cache
|
sudo ldconfig # refresh linker cache
|
||||||
|
|
||||||
|
|
||||||
|
# Device commisioning
|
||||||
|
- generate id_ed25519 keypair
|
||||||
|
- setup hostname
|
||||||
|
- sudo bash src/auracast/server/provision_domain_hostname.sh box7-summitwave local
|
||||||
|
- activate aes67 service
|
||||||
|
- install udev rule for ptp4l
|
||||||
|
- sudo cp src/service/aes67/90-pipewire-aes67-ptp.rules /etc/udev/rules.d/
|
||||||
|
- sudo udevadm control --log-priority=debug --reload-rules
|
||||||
|
- sudo udevadm trigger
|
||||||
|
- bash src/service/update_and_run_aes67.sh
|
||||||
|
- activate server and frontend
|
||||||
|
- bash srv/service/update_and_run_server_and_frontend.sh
|
||||||
|
- update to latest stable kernel
|
||||||
|
- echo "y" | rpi-update stable
|
||||||
|
- place cert
|
||||||
|
- disable pw login
|
||||||
|
- reboot
|
||||||
|
|
||||||
# Known issues:
|
# Known issues:
|
||||||
- When running on a laptop there might be issues switching between usb and browser audio input since they use the same audio device
|
- When running on a laptop there might be issues switching between usb and browser audio input since they use the same audio device
|
||||||
|
|
||||||
|
|||||||
@@ -657,7 +657,7 @@ if __name__ == "__main__":
|
|||||||
#config.transport='serial:/dev/serial/by-id/usb-ZEPHYR_Zephyr_HCI_UART_sample_95A087EADB030B24-if00,115200,rtscts' #nrf52dongle hci_uart usb cdc
|
#config.transport='serial:/dev/serial/by-id/usb-ZEPHYR_Zephyr_HCI_UART_sample_95A087EADB030B24-if00,115200,rtscts' #nrf52dongle hci_uart usb cdc
|
||||||
#config.transport='usb:2fe3:000b' #nrf52dongle hci_usb # TODO: iso packet over usb not supported
|
#config.transport='usb:2fe3:000b' #nrf52dongle hci_usb # TODO: iso packet over usb not supported
|
||||||
#config.transport= 'auto'
|
#config.transport= 'auto'
|
||||||
config.transport='serial:/dev/ttyAMA3,1000000,rtscts' # transport for raspberry pi
|
config.transport='serial:/dev/ttyAMA4,1000000,rtscts' # transport for raspberry pi
|
||||||
|
|
||||||
# TODO: encrypted streams are not working
|
# TODO: encrypted streams are not working
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ BACKEND_URL = "http://localhost:5000"
|
|||||||
#TRANSPORT2 = "serial:/dev/serial/by-id/usb-ZEPHYR_Zephyr_HCI_UART_sample_CC69A2912F84AE5E-if00,115200,rtscts"
|
#TRANSPORT2 = "serial:/dev/serial/by-id/usb-ZEPHYR_Zephyr_HCI_UART_sample_CC69A2912F84AE5E-if00,115200,rtscts"
|
||||||
|
|
||||||
TRANSPORT1 = 'serial:/dev/ttyAMA3,1000000,rtscts' # transport for raspberry pi gpio header
|
TRANSPORT1 = 'serial:/dev/ttyAMA3,1000000,rtscts' # transport for raspberry pi gpio header
|
||||||
TRANSPORT2 = 'serial:/dev/ttyAMA2,1000000,rtscts' # transport for raspberry pi gpio header
|
TRANSPORT2 = 'serial:/dev/ttyAMA4,1000000,rtscts' # transport for raspberry pi gpio header
|
||||||
QUALITY_MAP = {
|
QUALITY_MAP = {
|
||||||
"High (48kHz)": {"rate": 48000, "octets": 120},
|
"High (48kHz)": {"rate": 48000, "octets": 120},
|
||||||
"Good (32kHz)": {"rate": 32000, "octets": 80},
|
"Good (32kHz)": {"rate": 32000, "octets": 80},
|
||||||
|
|||||||
6
src/service/aes67/90-pipewire-aes67-ptp.rules
Normal file
6
src/service/aes67/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"
|
||||||
Reference in New Issue
Block a user