blob: 3d8f9a72b79c6055383e312b1f67bf467fd6c50d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /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
# That is fine, but the status remains as 'RUNNING' even after the speakers have turned themselves off...
# So I'm going down the track of periodically sending a 'sound' to a loopback device
# sudo modprobe snd-aloop
# Now aply -l shows a new 'card' called Loopback.
|