Projects/xq/MusicPi.md
... ...
@@ -11,11 +11,15 @@ A music playback device based on a Raspberry Pi 3
11 11
[Installation instructions](https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3)
12 12
13 13
### Create the required users
14
+
15
+
16
+Pulseaudio requires a special user called `pulse` that is in the group `audio`. Create them with the following commapnds
14 17
```
15 18
useradd --home-dir /var/run/pulse pulse
16 19
gpasswd -a pulse audio
17 20
```
18 21
22
+
19 23
### Install required packages:
20 24
21 25
Get `root` with `su` and password `root`, then install a system update and the required packages:
... ...
@@ -24,9 +28,6 @@ Get `root` with `su` and password `root`, then install a system update and the r
24 28
pacman -Syu alsa-firmware alsa-lib alsa-utils avahi pulseaudio pulseaudio-zeroconf
25 29
```
26 30
27
-alsa-topology-conf
28
-alsa-ucm-conf
29
-
30 31
### Adjust config files
31 32
32 33
#### `/etc/pulse/system.pa`
... ...
@@ -46,7 +47,7 @@ load-module module-alsa-card device_id=0 sink_name="Stereoanlage"
46 47
47 48
#### `/etc/systemd/system/pulseaudio.service`
48 49
49
-Create this file:
50
+Create the file:
50 51
51 52
```ini
52 53
[Unit]
... ...
@@ -112,10 +113,3 @@ This downloads a small example file (sounds like a coin in super mario world) an
112 113
curl -O https://mq32.de/public/mariocoin.wav
113 114
aplay mariocoin.wav
114 115
```
115
-
116
-## Packages
117
-
118
-debugging/testing:
119
-```
120
-pulsemixer
121
-```