Here is a quick way to list all detected and working soundcards on a Linux based system. Just use the arecord command line sound recorder and player for ALSA soundcard driver. The -l option List all soundcards and digital audio devices. The -L option list all PCMs defined. The information obtained from following command can be used to play various media files or digital stream such as radio, tv and more.