18c2ecf20Sopenharmony_ciWhat: /sys/kernel/config/most_<component> 28c2ecf20Sopenharmony_ciDate: March 8, 2019 38c2ecf20Sopenharmony_ciKernelVersion: 5.2 48c2ecf20Sopenharmony_ciDescription: Interface is used to configure and connect device channels 58c2ecf20Sopenharmony_ci to component drivers. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci Attributes are visible only when configfs is mounted. To mount 88c2ecf20Sopenharmony_ci configfs in /sys/kernel/config directory use: 98c2ecf20Sopenharmony_ci # mount -t configfs none /sys/kernel/config/ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciWhat: /sys/kernel/config/most_cdev/<link> 138c2ecf20Sopenharmony_ciDate: March 8, 2019 148c2ecf20Sopenharmony_ciKernelVersion: 5.2 158c2ecf20Sopenharmony_ciDescription: 168c2ecf20Sopenharmony_ci The attributes: 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci buffer_size 198c2ecf20Sopenharmony_ci configure the buffer size for this channel 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci subbuffer_size 228c2ecf20Sopenharmony_ci configure the sub-buffer size for this channel 238c2ecf20Sopenharmony_ci (needed for synchronous and isochrnous data) 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci num_buffers 278c2ecf20Sopenharmony_ci configure number of buffers used for this 288c2ecf20Sopenharmony_ci channel 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci datatype 318c2ecf20Sopenharmony_ci configure type of data that will travel over 328c2ecf20Sopenharmony_ci this channel 338c2ecf20Sopenharmony_ci 348c2ecf20Sopenharmony_ci direction 358c2ecf20Sopenharmony_ci configure whether this link will be an input 368c2ecf20Sopenharmony_ci or output 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci dbr_size 398c2ecf20Sopenharmony_ci configure DBR data buffer size (this is used 408c2ecf20Sopenharmony_ci for MediaLB communication only) 418c2ecf20Sopenharmony_ci 428c2ecf20Sopenharmony_ci packets_per_xact 438c2ecf20Sopenharmony_ci configure the number of packets that will be 448c2ecf20Sopenharmony_ci collected from the network before being 458c2ecf20Sopenharmony_ci transmitted via USB (this is used for USB 468c2ecf20Sopenharmony_ci communication only) 478c2ecf20Sopenharmony_ci 488c2ecf20Sopenharmony_ci device 498c2ecf20Sopenharmony_ci name of the device the link is to be attached to 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci channel 528c2ecf20Sopenharmony_ci name of the channel the link is to be attached to 538c2ecf20Sopenharmony_ci 548c2ecf20Sopenharmony_ci comp_params 558c2ecf20Sopenharmony_ci pass parameters needed by some components 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci create_link 588c2ecf20Sopenharmony_ci write '1' to this attribute to trigger the 598c2ecf20Sopenharmony_ci creation of the link. In case of speculative 608c2ecf20Sopenharmony_ci configuration, the creation is post-poned until 618c2ecf20Sopenharmony_ci a physical device is being attached to the bus. 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci destroy_link 648c2ecf20Sopenharmony_ci write '1' to this attribute to destroy an 658c2ecf20Sopenharmony_ci active link 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ciWhat: /sys/kernel/config/most_video/<link> 688c2ecf20Sopenharmony_ciDate: March 8, 2019 698c2ecf20Sopenharmony_ciKernelVersion: 5.2 708c2ecf20Sopenharmony_ciDescription: 718c2ecf20Sopenharmony_ci The attributes: 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci buffer_size 748c2ecf20Sopenharmony_ci configure the buffer size for this channel 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci subbuffer_size 778c2ecf20Sopenharmony_ci configure the sub-buffer size for this channel 788c2ecf20Sopenharmony_ci (needed for synchronous and isochrnous data) 798c2ecf20Sopenharmony_ci 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ci num_buffers 828c2ecf20Sopenharmony_ci configure number of buffers used for this 838c2ecf20Sopenharmony_ci channel 848c2ecf20Sopenharmony_ci 858c2ecf20Sopenharmony_ci datatype 868c2ecf20Sopenharmony_ci configure type of data that will travel over 878c2ecf20Sopenharmony_ci this channel 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci direction 908c2ecf20Sopenharmony_ci configure whether this link will be an input 918c2ecf20Sopenharmony_ci or output 928c2ecf20Sopenharmony_ci 938c2ecf20Sopenharmony_ci dbr_size 948c2ecf20Sopenharmony_ci configure DBR data buffer size (this is used 958c2ecf20Sopenharmony_ci for MediaLB communication only) 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ci packets_per_xact 988c2ecf20Sopenharmony_ci configure the number of packets that will be 998c2ecf20Sopenharmony_ci collected from the network before being 1008c2ecf20Sopenharmony_ci transmitted via USB (this is used for USB 1018c2ecf20Sopenharmony_ci communication only) 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci device 1048c2ecf20Sopenharmony_ci name of the device the link is to be attached to 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ci channel 1078c2ecf20Sopenharmony_ci name of the channel the link is to be attached to 1088c2ecf20Sopenharmony_ci 1098c2ecf20Sopenharmony_ci comp_params 1108c2ecf20Sopenharmony_ci pass parameters needed by some components 1118c2ecf20Sopenharmony_ci 1128c2ecf20Sopenharmony_ci create_link 1138c2ecf20Sopenharmony_ci write '1' to this attribute to trigger the 1148c2ecf20Sopenharmony_ci creation of the link. In case of speculative 1158c2ecf20Sopenharmony_ci configuration, the creation is post-poned until 1168c2ecf20Sopenharmony_ci a physical device is being attached to the bus. 1178c2ecf20Sopenharmony_ci 1188c2ecf20Sopenharmony_ci destroy_link 1198c2ecf20Sopenharmony_ci write '1' to this attribute to destroy an 1208c2ecf20Sopenharmony_ci active link 1218c2ecf20Sopenharmony_ci 1228c2ecf20Sopenharmony_ciWhat: /sys/kernel/config/most_net/<link> 1238c2ecf20Sopenharmony_ciDate: March 8, 2019 1248c2ecf20Sopenharmony_ciKernelVersion: 5.2 1258c2ecf20Sopenharmony_ciDescription: 1268c2ecf20Sopenharmony_ci The attributes: 1278c2ecf20Sopenharmony_ci 1288c2ecf20Sopenharmony_ci buffer_size 1298c2ecf20Sopenharmony_ci configure the buffer size for this channel 1308c2ecf20Sopenharmony_ci 1318c2ecf20Sopenharmony_ci subbuffer_size 1328c2ecf20Sopenharmony_ci configure the sub-buffer size for this channel 1338c2ecf20Sopenharmony_ci (needed for synchronous and isochrnous data) 1348c2ecf20Sopenharmony_ci 1358c2ecf20Sopenharmony_ci 1368c2ecf20Sopenharmony_ci num_buffers 1378c2ecf20Sopenharmony_ci configure number of buffers used for this 1388c2ecf20Sopenharmony_ci channel 1398c2ecf20Sopenharmony_ci 1408c2ecf20Sopenharmony_ci datatype 1418c2ecf20Sopenharmony_ci configure type of data that will travel over 1428c2ecf20Sopenharmony_ci this channel 1438c2ecf20Sopenharmony_ci 1448c2ecf20Sopenharmony_ci direction 1458c2ecf20Sopenharmony_ci configure whether this link will be an input 1468c2ecf20Sopenharmony_ci or output 1478c2ecf20Sopenharmony_ci 1488c2ecf20Sopenharmony_ci dbr_size 1498c2ecf20Sopenharmony_ci configure DBR data buffer size (this is used 1508c2ecf20Sopenharmony_ci for MediaLB communication only) 1518c2ecf20Sopenharmony_ci 1528c2ecf20Sopenharmony_ci packets_per_xact 1538c2ecf20Sopenharmony_ci configure the number of packets that will be 1548c2ecf20Sopenharmony_ci collected from the network before being 1558c2ecf20Sopenharmony_ci transmitted via USB (this is used for USB 1568c2ecf20Sopenharmony_ci communication only) 1578c2ecf20Sopenharmony_ci 1588c2ecf20Sopenharmony_ci device 1598c2ecf20Sopenharmony_ci name of the device the link is to be attached to 1608c2ecf20Sopenharmony_ci 1618c2ecf20Sopenharmony_ci channel 1628c2ecf20Sopenharmony_ci name of the channel the link is to be attached to 1638c2ecf20Sopenharmony_ci 1648c2ecf20Sopenharmony_ci comp_params 1658c2ecf20Sopenharmony_ci pass parameters needed by some components 1668c2ecf20Sopenharmony_ci 1678c2ecf20Sopenharmony_ci create_link 1688c2ecf20Sopenharmony_ci write '1' to this attribute to trigger the 1698c2ecf20Sopenharmony_ci creation of the link. In case of speculative 1708c2ecf20Sopenharmony_ci configuration, the creation is post-poned until 1718c2ecf20Sopenharmony_ci a physical device is being attached to the bus. 1728c2ecf20Sopenharmony_ci 1738c2ecf20Sopenharmony_ci destroy_link 1748c2ecf20Sopenharmony_ci write '1' to this attribute to destroy an 1758c2ecf20Sopenharmony_ci active link 1768c2ecf20Sopenharmony_ci 1778c2ecf20Sopenharmony_ciWhat: /sys/kernel/config/most_sound/<card> 1788c2ecf20Sopenharmony_ciDate: March 8, 2019 1798c2ecf20Sopenharmony_ciKernelVersion: 5.2 1808c2ecf20Sopenharmony_ciDescription: 1818c2ecf20Sopenharmony_ci The attributes: 1828c2ecf20Sopenharmony_ci 1838c2ecf20Sopenharmony_ci create_card 1848c2ecf20Sopenharmony_ci write '1' to this attribute to trigger the 1858c2ecf20Sopenharmony_ci registration of the sound card with the ALSA 1868c2ecf20Sopenharmony_ci subsystem. 1878c2ecf20Sopenharmony_ci 1888c2ecf20Sopenharmony_ciWhat: /sys/kernel/config/most_sound/<card>/<link> 1898c2ecf20Sopenharmony_ciDate: March 8, 2019 1908c2ecf20Sopenharmony_ciKernelVersion: 5.2 1918c2ecf20Sopenharmony_ciDescription: 1928c2ecf20Sopenharmony_ci The attributes: 1938c2ecf20Sopenharmony_ci 1948c2ecf20Sopenharmony_ci buffer_size 1958c2ecf20Sopenharmony_ci configure the buffer size for this channel 1968c2ecf20Sopenharmony_ci 1978c2ecf20Sopenharmony_ci subbuffer_size 1988c2ecf20Sopenharmony_ci configure the sub-buffer size for this channel 1998c2ecf20Sopenharmony_ci (needed for synchronous and isochrnous data) 2008c2ecf20Sopenharmony_ci 2018c2ecf20Sopenharmony_ci 2028c2ecf20Sopenharmony_ci num_buffers 2038c2ecf20Sopenharmony_ci configure number of buffers used for this 2048c2ecf20Sopenharmony_ci channel 2058c2ecf20Sopenharmony_ci 2068c2ecf20Sopenharmony_ci datatype 2078c2ecf20Sopenharmony_ci configure type of data that will travel over 2088c2ecf20Sopenharmony_ci this channel 2098c2ecf20Sopenharmony_ci 2108c2ecf20Sopenharmony_ci direction 2118c2ecf20Sopenharmony_ci configure whether this link will be an input 2128c2ecf20Sopenharmony_ci or output 2138c2ecf20Sopenharmony_ci 2148c2ecf20Sopenharmony_ci dbr_size 2158c2ecf20Sopenharmony_ci configure DBR data buffer size (this is used 2168c2ecf20Sopenharmony_ci for MediaLB communication only) 2178c2ecf20Sopenharmony_ci 2188c2ecf20Sopenharmony_ci packets_per_xact 2198c2ecf20Sopenharmony_ci configure the number of packets that will be 2208c2ecf20Sopenharmony_ci collected from the network before being 2218c2ecf20Sopenharmony_ci transmitted via USB (this is used for USB 2228c2ecf20Sopenharmony_ci communication only) 2238c2ecf20Sopenharmony_ci 2248c2ecf20Sopenharmony_ci device 2258c2ecf20Sopenharmony_ci name of the device the link is to be attached to 2268c2ecf20Sopenharmony_ci 2278c2ecf20Sopenharmony_ci channel 2288c2ecf20Sopenharmony_ci name of the channel the link is to be attached to 2298c2ecf20Sopenharmony_ci 2308c2ecf20Sopenharmony_ci comp_params 2318c2ecf20Sopenharmony_ci pass parameters needed by some components 2328c2ecf20Sopenharmony_ci 2338c2ecf20Sopenharmony_ci create_link 2348c2ecf20Sopenharmony_ci write '1' to this attribute to trigger the 2358c2ecf20Sopenharmony_ci creation of the link. In case of speculative 2368c2ecf20Sopenharmony_ci configuration, the creation is post-poned until 2378c2ecf20Sopenharmony_ci a physical device is being attached to the bus. 2388c2ecf20Sopenharmony_ci 2398c2ecf20Sopenharmony_ci destroy_link 2408c2ecf20Sopenharmony_ci write '1' to this attribute to destroy an 2418c2ecf20Sopenharmony_ci active link 242