-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
60 lines (44 loc) · 1.98 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
TODO:
audio to host - DONE
mDNS
dbus - DONE?
pipewire server visible on network
bluetooth
Web Resources:
https://gist.github.com/zhgoh/d0874b7d31cf649616fa9d816571ab3c
https://wiki.archlinux.org/title/Bluetooth
https://wiki.alpinelinux.org/wiki/Bluetooth
https://stackoverflow.com/a/71541458/11425397
https://github.com/fdanis-oss/pw_wp_bluetooth_rpi_speaker/tree/master
https://www.reddit.com/r/linux4noobs/comments/18yhs7r/success_story_using_a_raspberry_pi_with_pipewire/
https://github.com/woahbase/alpine-pulseaudio
https://github.com/digrouz/docker-ubu-avahi
https://gitlab.freedesktop.org/pipewire/pipewire/-/wikis/Guide-PulseAudio-Tricks#setup-rtp-network-streaming-between-machines
https://www.collabora.com/news-and-blog/blog/2022/09/02/using-a-raspberry-pi-as-a-bluetooth-speaker-with-pipewire-wireplumber/
Commands:
sudo killall -9 bluetoothd
rfkill block bluetooth
rfkill unblock bluetooth
systemctl stop bluetooth.service
systemctl start bluetooth.service
wpctl status
docker build -t bitshift/smart-speaker .
docker-compose -f smart-speaker.yml up --build > log.txt
docker image ls
docker run -it -v /run/user/1000/pipewire-0:/tmp/pipewire-0 -e XDG_RUNTIME_DIR=/tmp --rm bitshift/smart-speaker /bin/ash
docker run -it -v /run/user/1000/pipewire-0:/tmp/pipewire-0 --rm bitshift/smart-speaker
docker rm test
on host device
ps -fp $(pgrep -d, -x pipewire)
speaker-test -Dpipewire -c2
ls -l /sys/class/bluetooth
grep -Rnw '/etc/wireplumber/' -e 'alsa_monitor.properties'
Old:
https://walkergriggs.com/2022/12/03/pipewire_in_docker/
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1720
https://wiki.alpinelinux.org/wiki/PipeWire#Disable_D-Bus_support
https://stackoverflow.com/questions/28985714/run-apps-using-audio-in-a-docker-container/75775875#75775875
https://wiki.alpinelinux.org/wiki/PipeWire
https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/conf_file.html
https://wiki.archlinux.org/title/PipeWire
https://wiki.archlinux.org/title/PulseAudio#Networked_audio