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

Fabio Estevam festevam at gmail.com
Sat Jun 1 20:09:38 CEST 2013


On Sat, Jun 1, 2013 at 3:02 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi Clemens,
>
> On Thu, May 30, 2013 at 8:23 AM, Clemens Ladisch <clemens at ladisch.de> wrote:
>
>>> I would expect to see only the Playback entry in aplay and only the
>>> Record entry in arecord.
>>
>> Please show the contents of /proc/asound/devices.
>
> Here it goes:
>
> root at freescale /$ cat /proc/asound/devices
>   0: [ 0]   : control
>  16: [ 0- 0]: digital audio playback
>  17: [ 0- 1]: digital audio playback
>  24: [ 0- 0]: digital audio capture
>  25: [ 0- 1]: digital audio capture
>  33:        : timer

Also, in case it helps:

root at freescale /$ cat /proc/asound/pcm
00-00: HiFi Playback sgtl5000-0 :  : playback 1 : capture 1
00-01: HiFi Capture sgtl5000-1 :  : playback 1 : capture 1

root at freescale /$ cat /proc/asound/
card0/        devices       pcm           version
cards         mxssgtl5000/  timers

root at freescale /$ cat /proc/asound/cards
 0 [mxssgtl5000    ]: mxs_sgtl5000 - mxs_sgtl5000
                      mxs_sgtl5000

root at freescale /$ cat /proc/asound/card0/
id      pcm0c/  pcm0p/  pcm1c/  pcm1p/

root at freescale /$ cat /proc/asound/card0/pcm0c/info
card: 0
device: 0
subdevice: 0
stream: CAPTURE
id: HiFi Playback sgtl5000-0
name:
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1

root at freescale /$ cat /proc/asound/card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: HiFi Playback sgtl5000-0
name:
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
root at freescale /$

Regards,

Fabio Estevam


More information about the Alsa-devel mailing list