gadget-testing.rst (48ee4835b73c48590d05a54730dc8037ebd39d3b) gadget-testing.rst (a7339e4f5788bd088bb0be1f96a6cce459676ed0)
1==============
2Gadget Testing
3==============
4
5This file summarizes information on basic testing of USB functions
6provided by gadgets.
7
8.. contents

--- 712 unchanged lines hidden (view full) ---

721Function-specific configfs interface
722------------------------------------
723
724The function name to use when creating the function directory is "uac2".
725The uac2 function provides these attributes in its function directory:
726
727 ================ ====================================================
728 c_chmask capture channel mask
1==============
2Gadget Testing
3==============
4
5This file summarizes information on basic testing of USB functions
6provided by gadgets.
7
8.. contents

--- 712 unchanged lines hidden (view full) ---

721Function-specific configfs interface
722------------------------------------
723
724The function name to use when creating the function directory is "uac2".
725The uac2 function provides these attributes in its function directory:
726
727 ================ ====================================================
728 c_chmask capture channel mask
729 c_srate capture sampling rate
729 c_srate list of capture sampling rates (comma-separated)
730 c_ssize capture sample size (bytes)
731 c_sync capture synchronization type (async/adaptive)
732 c_mute_present capture mute control enable
733 c_volume_present capture volume control enable
734 c_volume_min capture volume control min value (in 1/256 dB)
735 c_volume_max capture volume control max value (in 1/256 dB)
736 c_volume_res capture volume control resolution (in 1/256 dB)
737 fb_max maximum extra bandwidth in async mode
738 p_chmask playback channel mask
730 c_ssize capture sample size (bytes)
731 c_sync capture synchronization type (async/adaptive)
732 c_mute_present capture mute control enable
733 c_volume_present capture volume control enable
734 c_volume_min capture volume control min value (in 1/256 dB)
735 c_volume_max capture volume control max value (in 1/256 dB)
736 c_volume_res capture volume control resolution (in 1/256 dB)
737 fb_max maximum extra bandwidth in async mode
738 p_chmask playback channel mask
739 p_srate playback sampling rate
739 p_srate list of playback sampling rates (comma-separated)
740 p_ssize playback sample size (bytes)
741 p_mute_present playback mute control enable
742 p_volume_present playback volume control enable
743 p_volume_min playback volume control min value (in 1/256 dB)
744 p_volume_max playback volume control max value (in 1/256 dB)
745 p_volume_res playback volume control resolution (in 1/256 dB)
746 req_number the number of pre-allocated request for both capture
747 and playback

--- 209 unchanged lines hidden ---
740 p_ssize playback sample size (bytes)
741 p_mute_present playback mute control enable
742 p_volume_present playback volume control enable
743 p_volume_min playback volume control min value (in 1/256 dB)
744 p_volume_max playback volume control max value (in 1/256 dB)
745 p_volume_res playback volume control resolution (in 1/256 dB)
746 req_number the number of pre-allocated request for both capture
747 and playback

--- 209 unchanged lines hidden ---