From e087a75dc44d747600574f7481d072d7d40c26ee Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 14 May 2021 03:35:19 +0200 Subject: Motu M4 workarounds --- chaos-at-home/ch-equinox-t450s.yml | 16 ++++++++++++++++ chaos-at-home/ch-equinox-ws.yml | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'chaos-at-home') 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 -- cgit v1.2.3