Skip to content

Instantly share code, notes, and snippets.

View NealsJoe's full-sized avatar

Neals Joe NealsJoe

View GitHub Profile
@NealsJoe
NealsJoe / .E490-sound-grep.sh
Last active January 3, 2021 10:02
ThinkPad E490 - sound
#!/bin/sh
doas cat /dev/sndstat > sndstat.txt
doas pciconf -lv | grep -i audio -B2 > sound-pciconf.txt
doas dmesg | grep -e 'sound' -e 'audio' -e 'snd' -e 'pcm' -e 'hda' > sound-dmesg.txt
doas sysctl -a | grep -e 'sound' -e 'audio' -e 'snd' -e 'pcm' -e 'hda' > sound-sysctl.txt
doas sysctl dev.pcm > sound-sysctl-pcm.txt
doas sysctl dev.hdaa > sound-sysctl-hdaa.txt