From fd34f6ff3eba6872abe67e9b4185fae7e9a49d3e Mon Sep 17 00:00:00 2001 From: angrygoats Date: Thu, 31 May 2018 18:15:06 -0700 Subject: [PATCH 1/2] helper for loading the steelseries arctis 7 headset --- README.md | 2 +- scripts/solutions/load_arctis.sh | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 scripts/solutions/load_arctis.sh diff --git a/README.md b/README.md index 44b9f1b..5ca0dc3 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ The directory structure is as follows: 2. *scripts/* - This directory contains most of the important things to get the installation running 1. *scripts/sysinstall/* - This directory contains a number of scripts for configuring the system 2. *scripts/sysinit/* - This directory contains anything needed for system initialization - 3. *scripts/solutions/* - This directory contains any fixes that can be run for various packages + 3. *scripts/solutions/* - This directory contains any fixes that can be run for various packages - SteelSeries Arctis 7 activation script is in here 4. *scripts/lemonbar/* - This directory contains any related lemonbar scripts 5. *scripts/diagnostics/* - This directory contains scripts for helping to diagnose problems 3. *installation_instructions* - This file contains a series of command you copy and paste during install of Arch diff --git a/scripts/solutions/load_arctis.sh b/scripts/solutions/load_arctis.sh new file mode 100755 index 0000000..c5f9542 --- /dev/null +++ b/scripts/solutions/load_arctis.sh @@ -0,0 +1,15 @@ +#!/usr/bin/bash + +# Simple script for configuring the arctis 7 headset in Linux. +# If the script runs successfully, you should now be able to choose +# the device in the playback menu of the mixer. + +aplay -l + +read -p "Card Number: " card_number +read -p "Device Number: " device_number + +echo "Running pacmd for device hw:$card_number,$device_number" + +pacmd load-module module-alsa-sink device=hw:$card_number:$device_number + From 197dd6c0095d0aaaad5fdd38e3e1c75f84a698ee Mon Sep 17 00:00:00 2001 From: angrygoats Date: Thu, 31 May 2018 18:16:53 -0700 Subject: [PATCH 2/2] fix a bug --- scripts/solutions/load_arctis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/solutions/load_arctis.sh b/scripts/solutions/load_arctis.sh index c5f9542..c60fbb1 100755 --- a/scripts/solutions/load_arctis.sh +++ b/scripts/solutions/load_arctis.sh @@ -11,5 +11,5 @@ read -p "Device Number: " device_number echo "Running pacmd for device hw:$card_number,$device_number" -pacmd load-module module-alsa-sink device=hw:$card_number:$device_number +pacmd load-module module-alsa-sink device=hw:$card_number,$device_number