This script reports upon the ALSA settings and status as well as the
detected hardware. It can list the report to a local address or upload to a
non-local URL for assistance.
http://hg.alsa-project.org/alsa/raw-file/tip/alsa-info.sh
Hope this is of use
Tom