Skip to content

Commit

Permalink
raspinfo: Add some audio info to debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Dec 21, 2023
1 parent eb95fdb commit 2cc103f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions raspinfo/raspinfo
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,20 @@ display_info() {
fi
}

audio_info() {
aplay -l
echo
aplay -L
echo
systemctl --user status pipewire.socket pipewire.service pulseaudio.service pulseaudio.socket
echo
if command -v pactl > /dev/null; then
pactl info
else
echo pactl not installed
fi
}

OUT=raspinfo.txt

rm -f $OUT
Expand Down Expand Up @@ -207,6 +221,13 @@ echo

display_info

echo
echo "Audio Information"
echo "-------------------"
echo

audio_info

echo
echo "config.txt"
echo "----------"
Expand Down

0 comments on commit 2cc103f

Please sign in to comment.