Last active
March 28, 2023 01:21
-
-
Save killertofus/bac7804c76c30b3c389207584592b6ab to your computer and use it in GitHub Desktop.
find sound setting linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
clear ; echo '' ; echo 'Kernel Version' ; uname -r ; cat /proc/asound/version ; lscpu | grep 'Byte Order' ; echo '\' ; echo 'Audio Server and Devices' ; inxi -A ; echo '' ; echo '~' ; echo 'Output device info' ; echo '\' ; pactl info | grep -E 'Default Sink|Server Name' ; echo '' ; echo '~' ; echo 'Device Bitrate Hz' ; echo '\' ; echo 'Pulseaudio' ; pactl info | grep 'Default Sample' | awk {'print $4, $5, $6'} ; echo '|' ; echo 'Pipewire' ; pw-cli info 0 | grep default.clock.rate | awk {'print $2, $3, $4'} ; echo '' ; echo '~' ; echo 'Devices Connected' ; cat /proc/asound/cards ; echo '|' ; echo 'Log/Connected' ; sudo dmesg | grep -E 'Audio' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment