All of lore.kernel.org
 help / color / mirror / Atom feed
* What is the command line commands to use UAC2 at USB client side?
@ 2014-08-14  6:16 Xuebing Wang
  0 siblings, 0 replies; only message in thread
From: Xuebing Wang @ 2014-08-14  6:16 UTC (permalink / raw)
  To: linux-usb-devel, alsa-devel; +Cc: thomas.besemer, Richard.Jiang

Hi Community,

Based on Freescale platform , I am trying to use USB Audio Class version 
2.0.  Host can detect this UAC2 device.

At device side (after modprobe g_audio):

root@imx6slevk:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: wm8962audio [wm8962-audio], device 0: HiFi wm8962-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 1: imxspdif [imx-spdif], device 0: S/PDIF PCM Playback dit-hifi-0 []
   Subdevices: 1/1
   Subdevice #0: subdevice #0
card 2: UAC2Gadget [UAC2_Gadget], device 0: UAC2 PCM [UAC2 PCM]
   Subdevices: 1/1
   Subdevice #0: subdevice #0

At device side, in driver/usb/gadget/Kconfig, it says before for 
CONFIG_USB_AUDIO
-------------------------
           This driver doesn't expect any real Audio codec to be present
           on the device - the audio streams are simply sinked to and
           sourced from a virtual ALSA sound card created. The user-space
           application may choose to do whatever it wants with the data
           received from the USB Host and choose to provide whatever it
           wants as audio data to the USB Host.
-------------------------

My question is: at device side, how to configure sink/source for UAC2 
virtual ALSA sound card (hw:2,0, UAC2_Gadget)?

Thank you very much.

Xuebing Wang

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-14  6:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-14  6:16 What is the command line commands to use UAC2 at USB client side? Xuebing Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.