In bash, how do I determine what sound card is installed? I'm trying to create a plugin for Rhythmbox, and I'd like to test for this in a configuration script.
Edit:
On my machine, I needed to use sudo to be able to use lspci and lsmod. @Quassnoi's answer using cat worked without extra privileges.