[alsa-devel] aplay lists both Playback and Capture devices

Fabio Estevam festevam at gmail.com
Wed May 29 23:32:56 CEST 2013


Hi,

When running 'aplay -l' and 'arecord -l' I see the following output on
a mx28evk running a 3.10-rc kernel:

/$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: Playback sgtl5000-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: Capture sgtl5000-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: mxssgtl5000 [mxs_sgtl5000], device 0: Playback sgtl5000-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: mxssgtl5000 [mxs_sgtl5000], device 1: Capture sgtl5000-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I would expect to see only the Playback entry in aplay and only the
Record entry in arecord.

Is there anything I should change in sound/soc/mxs/mxs-sgtl5000.c in
order to get the correct outputs?

Regards,

Fabio Estevam


More information about the Alsa-devel mailing list