summaryrefslogtreecommitdiff
path: root/speakerWatchdog.sh
blob: 344955fe6b8e0127c4e1a17f292ed2652e811fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/bash
# Workaround for stupd 'powersave' 'feature' of Creative Speakers
#
# SJP 11 Dec 2021
#
#  This is just a stub for now

# Which device is the audio output going to?

# st33v@cr4y:~$ grep RUNNING /proc/asound/card*/pcm*/sub*/status
# /proc/asound/card2/pcm0p/sub0/status:state: RUNNING