Difference between revisions of "Talk:ALSA"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "== checking things == You can assume that udev will autodetect your sound properly. You can check this with the command: lsmod | grep '^snd' | column -t If the output look...")
 
(display aound cards and capture devices: new section)
Line 12: Line 12:
  
 
If you have at least the devices controlC0 and pcmC0D0p or similar, then your sound modules have been detected and loaded properly.
 
If you have at least the devices controlC0 and pcmC0D0p or similar, then your sound modules have been detected and loaded properly.
 +
 +
== display aound cards and capture devices ==
 +
 +
As an example:
 +
 +
$ aplay -l && arecord -l
 +
**** List of PLAYBACK Hardware Devices ****
 +
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
 +
  Subdevices: 1/1
 +
  Subdevice #0: subdevice #0
 +
card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1]
 +
  Subdevices: 1/1
 +
  Subdevice #0: subdevice #0
 +
**** List of CAPTURE Hardware Devices ****
 +
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
 +
  Subdevices: 1/1
 +
  Subdevice #0: subdevice #0

Revision as of 00:30, 26 March 2021

checking things

You can assume that udev will autodetect your sound properly. You can check this with the command:

lsmod | grep '^snd' | column -t

If the output looks similar, your sound drivers have been successfully autodetected.

You might also want to check the directory /dev/snd/ for the right device files:

ls -l /dev/snd

If you have at least the devices controlC0 and pcmC0D0p or similar, then your sound modules have been detected and loaded properly.

display aound cards and capture devices

As an example:

$ aplay -l && arecord -l
**** List of PLAYBACK Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: AudioPCI [Ensoniq AudioPCI], device 1: ES1371/2 [ES1371 DAC1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
**** List of CAPTURE Hardware Devices ****
card 0: AudioPCI [Ensoniq AudioPCI], device 0: ES1371/1 [ES1371 DAC2/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0