From e533ccd7debdfc3ac7872fee9290f4b32ca14af8 Mon Sep 17 00:00:00 2001
From: j1nx
Date: Fri, 27 Sep 2024 18:21:25 +0000
Subject: [PATCH] Remove sj201 alsa card profile for now
---
.../usr/lib/udev/rules.d/91-vocalfusion.rules | 11 ----
.../mixer/profile-sets/sj201.conf | 52 -------------------
2 files changed, 63 deletions(-)
delete mode 100644 buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/lib/udev/rules.d/91-vocalfusion.rules
delete mode 100644 buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa-card-profile/mixer/profile-sets/sj201.conf
diff --git a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/lib/udev/rules.d/91-vocalfusion.rules b/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/lib/udev/rules.d/91-vocalfusion.rules
deleted file mode 100644
index 014da27d..00000000
--- a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/lib/udev/rules.d/91-vocalfusion.rules
+++ /dev/null
@@ -1,11 +0,0 @@
-SUBSYSTEM!="sound", GOTO="vocalfusion_end"
-ACTION!="change", GOTO="vocalfusion_end"
-KERNEL!="card*", GOTO="vocalfusion_end"
-
-# PulseAudio profile sets
-ATTR{id}=="sj201",ENV{PULSE_PROFILE_SET}="sj201.conf"
-
-# ALSA profile sets
-ATTR{id}=="sj201",ENV{ACP_PROFILE_SET}="sj201.conf"
-
-LABEL="vocalfusion_end"
diff --git a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa-card-profile/mixer/profile-sets/sj201.conf b/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa-card-profile/mixer/profile-sets/sj201.conf
deleted file mode 100644
index c32f722e..00000000
--- a/buildroot-external/board/ovos/raspberrypi/rootfs-overlay/usr/share/alsa-card-profile/mixer/profile-sets/sj201.conf
+++ /dev/null
@@ -1,52 +0,0 @@
-# /usr/share/alsa-card-profile/mixer/profile-sets/sj201.conf
-
-[General]
-auto-profiles = no
-
-[Mapping xvf3510-asr]
-device-strings = hw:%f,1
-channel-map = front-left
-exact-channels = yes
-fallback = yes
-paths-input = xvf3510-asr
-priority = 2
-direction = input
-
-[Mapping xvf3510-comms]
-device-strings = hw:%f,1
-channel-map = front-right
-exact-channels = yes
-fallback = yes
-paths-input = xvf3510-comms
-priority = 3
-direction = input
-
-[Mapping tas5806md-stereo-output]
-device-strings = hw:%f,0
-channel-map = left,right
-exact-channels = yes
-fallback = yes
-paths-output = tas5805md-stereo-output
-direction = output
-priority = 2
-
-[Profile output:tas5806md-stereo-output+input:xvf3510-asr]
-output-mappings = tas5806md-stereo-output
-input-mappings = xvf3510-asr
-priority = 100
-skip-probe = yes
-
-[Profile output:tas5806md-stereo-output]
-output-mappings = tas5806md-stereo-output
-priority = 4
-skip-probe = yes
-
-[Profile input:xvf3510-asr]
-input-mappings = xvf3510-asr
-priority = 5
-skip-probe = yes
-
-[Profile input:xvf3510-comms]
-input-mappings = xvf3510-comms
-priority = 6
-skip-probe = yes