diff options
Diffstat (limited to 'chaos-at-home')
-rw-r--r-- | chaos-at-home/ch-equinox-t450s.yml | 16 | ||||
-rw-r--r-- | chaos-at-home/ch-equinox-ws.yml | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/chaos-at-home/ch-equinox-t450s.yml b/chaos-at-home/ch-equinox-t450s.yml index ed3d1c3a..767f732e 100644 --- a/chaos-at-home/ch-equinox-t450s.yml +++ b/chaos-at-home/ch-equinox-t450s.yml @@ -68,3 +68,19 @@ else echo "Touchpad not found..." fi + + - name: force pulseaudio sample rates to 48kHz (workadournd for Motu M4) + loop: + - default-sample-rate + - alternate-sample-rate + lineinfile: + path: /etc/pulse/daemon.conf + regexp: ';?\s*{{ item }} = ' + line: '{{ item }} = 48000' + + - name: disable USB Powermanagement for Motu M4 + copy: + content: | + ## Workaround for spurious audio issues with Motu M4 + ATTRS{idVendor}=="07fd", ATTRS{idProduct}=="0008", ATTR{power/control}="on", ATTR{power/persist}="0" + dest: 90-mout-m4-power.rules diff --git a/chaos-at-home/ch-equinox-ws.yml b/chaos-at-home/ch-equinox-ws.yml index d872ca85..5adfb57f 100644 --- a/chaos-at-home/ch-equinox-ws.yml +++ b/chaos-at-home/ch-equinox-ws.yml @@ -33,3 +33,19 @@ fstype: nfs4 opts: nodev,x-systemd.automount,nofail state: mounted + + - name: force pulseaudio sample rates to 48kHz (workadournd for Motu M4) + loop: + - default-sample-rate + - alternate-sample-rate + lineinfile: + path: /etc/pulse/daemon.conf + regexp: ';?\s*{{ item }} = ' + line: '{{ item }} = 48000' + + - name: disable USB Powermanagement for Motu M4 + copy: + content: | + ## Workaround for spurious audio issues with Motu M4 + ATTRS{idVendor}=="07fd", ATTRS{idProduct}=="0008", ATTR{power/control}="on", ATTR{power/persist}="0" + dest: 90-mout-m4-power.rules |