From 2dee2021d08a0837ce40941fff43a4b09d692146 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 Sep 2014 16:05:00 +0200 Subject: [alsa] Set default sound card to first non-HDMI card --- .../alsa/data/etc/systemd/system/alsa-default-card.service | 11 +++++++++++ .../system/multi-user.target.wants/alsa-default-card.service | 1 + 2 files changed, 12 insertions(+) create mode 100644 remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service create mode 120000 remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service (limited to 'remote/modules/alsa/data/etc/systemd/system') diff --git a/remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service b/remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service new file mode 100644 index 00000000..db35eeb7 --- /dev/null +++ b/remote/modules/alsa/data/etc/systemd/system/alsa-default-card.service @@ -0,0 +1,11 @@ +[Unit] +Description=Set default card ALSA will use +DefaultDependencies=no +After=tmp.target +Wants=tmp.target + +[Service] +Type=oneshot +ExecStart=/opt/openslx/scripts/alsa-default_card +RemainAfterExit=yes + diff --git a/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service b/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service new file mode 120000 index 00000000..55e393fd --- /dev/null +++ b/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service @@ -0,0 +1 @@ +../alsa-default-card.service \ No newline at end of file -- cgit v1.2.3-55-g7522 From 9a870516be1ea609f4bcdc6c8466bfe63a674e48 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 Sep 2014 20:47:55 +0200 Subject: [alsa] Disable alsa config generation - breaks vmware mic input --- .../etc/systemd/system/multi-user.target.wants/alsa-default-card.service | 1 - 1 file changed, 1 deletion(-) delete mode 120000 remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service (limited to 'remote/modules/alsa/data/etc/systemd/system') diff --git a/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service b/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service deleted file mode 120000 index 55e393fd..00000000 --- a/remote/modules/alsa/data/etc/systemd/system/multi-user.target.wants/alsa-default-card.service +++ /dev/null @@ -1 +0,0 @@ -../alsa-default-card.service \ No newline at end of file -- cgit v1.2.3-55-g7522