14a1a3e9bSChristian GrommWhat: /sys/kernel/config/most_<component> 24a1a3e9bSChristian GrommDate: March 8, 2019 34a1a3e9bSChristian GrommKernelVersion: 5.2 44a1a3e9bSChristian GrommDescription: Interface is used to configure and connect device channels 54a1a3e9bSChristian Gromm to component drivers. 64a1a3e9bSChristian Gromm 74a1a3e9bSChristian Gromm Attributes are visible only when configfs is mounted. To mount 84a1a3e9bSChristian Gromm configfs in /sys/kernel/config directory use: 94a1a3e9bSChristian Gromm # mount -t configfs none /sys/kernel/config/ 104a1a3e9bSChristian Gromm 114a1a3e9bSChristian Gromm 124a1a3e9bSChristian GrommWhat: /sys/kernel/config/most_cdev/<link> 134a1a3e9bSChristian GrommDate: March 8, 2019 144a1a3e9bSChristian GrommKernelVersion: 5.2 154a1a3e9bSChristian GrommDescription: 164a1a3e9bSChristian Gromm The attributes: 174a1a3e9bSChristian Gromm 1854a19b4dSMauro Carvalho Chehab buffer_size 1954a19b4dSMauro Carvalho Chehab configure the buffer size for this channel 204a1a3e9bSChristian Gromm 2154a19b4dSMauro Carvalho Chehab subbuffer_size 2254a19b4dSMauro Carvalho Chehab configure the sub-buffer size for this channel 23*3e42d1deSCarlos Bilbao (needed for synchronous and isochronous data) 244a1a3e9bSChristian Gromm 254a1a3e9bSChristian Gromm 2654a19b4dSMauro Carvalho Chehab num_buffers 2754a19b4dSMauro Carvalho Chehab configure number of buffers used for this 284a1a3e9bSChristian Gromm channel 294a1a3e9bSChristian Gromm 3054a19b4dSMauro Carvalho Chehab datatype 3154a19b4dSMauro Carvalho Chehab configure type of data that will travel over 324a1a3e9bSChristian Gromm this channel 334a1a3e9bSChristian Gromm 3454a19b4dSMauro Carvalho Chehab direction 3554a19b4dSMauro Carvalho Chehab configure whether this link will be an input 364a1a3e9bSChristian Gromm or output 374a1a3e9bSChristian Gromm 3854a19b4dSMauro Carvalho Chehab dbr_size 3954a19b4dSMauro Carvalho Chehab configure DBR data buffer size (this is used 404a1a3e9bSChristian Gromm for MediaLB communication only) 414a1a3e9bSChristian Gromm 424a1a3e9bSChristian Gromm packets_per_xact 434a1a3e9bSChristian Gromm configure the number of packets that will be 444a1a3e9bSChristian Gromm collected from the network before being 454a1a3e9bSChristian Gromm transmitted via USB (this is used for USB 464a1a3e9bSChristian Gromm communication only) 474a1a3e9bSChristian Gromm 4854a19b4dSMauro Carvalho Chehab device 4954a19b4dSMauro Carvalho Chehab name of the device the link is to be attached to 504a1a3e9bSChristian Gromm 5154a19b4dSMauro Carvalho Chehab channel 5254a19b4dSMauro Carvalho Chehab name of the channel the link is to be attached to 534a1a3e9bSChristian Gromm 5454a19b4dSMauro Carvalho Chehab comp_params 5554a19b4dSMauro Carvalho Chehab pass parameters needed by some components 564a1a3e9bSChristian Gromm 5754a19b4dSMauro Carvalho Chehab create_link 5854a19b4dSMauro Carvalho Chehab write '1' to this attribute to trigger the 594a1a3e9bSChristian Gromm creation of the link. In case of speculative 604a1a3e9bSChristian Gromm configuration, the creation is post-poned until 614a1a3e9bSChristian Gromm a physical device is being attached to the bus. 624a1a3e9bSChristian Gromm 6354a19b4dSMauro Carvalho Chehab destroy_link 6454a19b4dSMauro Carvalho Chehab write '1' to this attribute to destroy an 654a1a3e9bSChristian Gromm active link 664a1a3e9bSChristian Gromm 674a1a3e9bSChristian GrommWhat: /sys/kernel/config/most_video/<link> 684a1a3e9bSChristian GrommDate: March 8, 2019 694a1a3e9bSChristian GrommKernelVersion: 5.2 704a1a3e9bSChristian GrommDescription: 714a1a3e9bSChristian Gromm The attributes: 724a1a3e9bSChristian Gromm 7354a19b4dSMauro Carvalho Chehab buffer_size 7454a19b4dSMauro Carvalho Chehab configure the buffer size for this channel 754a1a3e9bSChristian Gromm 7654a19b4dSMauro Carvalho Chehab subbuffer_size 7754a19b4dSMauro Carvalho Chehab configure the sub-buffer size for this channel 78*3e42d1deSCarlos Bilbao (needed for synchronous and isochronous data) 794a1a3e9bSChristian Gromm 804a1a3e9bSChristian Gromm 8154a19b4dSMauro Carvalho Chehab num_buffers 8254a19b4dSMauro Carvalho Chehab configure number of buffers used for this 834a1a3e9bSChristian Gromm channel 844a1a3e9bSChristian Gromm 8554a19b4dSMauro Carvalho Chehab datatype 8654a19b4dSMauro Carvalho Chehab configure type of data that will travel over 874a1a3e9bSChristian Gromm this channel 884a1a3e9bSChristian Gromm 8954a19b4dSMauro Carvalho Chehab direction 9054a19b4dSMauro Carvalho Chehab configure whether this link will be an input 914a1a3e9bSChristian Gromm or output 924a1a3e9bSChristian Gromm 9354a19b4dSMauro Carvalho Chehab dbr_size 9454a19b4dSMauro Carvalho Chehab configure DBR data buffer size (this is used 954a1a3e9bSChristian Gromm for MediaLB communication only) 964a1a3e9bSChristian Gromm 974a1a3e9bSChristian Gromm packets_per_xact 984a1a3e9bSChristian Gromm configure the number of packets that will be 994a1a3e9bSChristian Gromm collected from the network before being 1004a1a3e9bSChristian Gromm transmitted via USB (this is used for USB 1014a1a3e9bSChristian Gromm communication only) 1024a1a3e9bSChristian Gromm 10354a19b4dSMauro Carvalho Chehab device 10454a19b4dSMauro Carvalho Chehab name of the device the link is to be attached to 1054a1a3e9bSChristian Gromm 10654a19b4dSMauro Carvalho Chehab channel 10754a19b4dSMauro Carvalho Chehab name of the channel the link is to be attached to 1084a1a3e9bSChristian Gromm 10954a19b4dSMauro Carvalho Chehab comp_params 11054a19b4dSMauro Carvalho Chehab pass parameters needed by some components 1114a1a3e9bSChristian Gromm 11254a19b4dSMauro Carvalho Chehab create_link 11354a19b4dSMauro Carvalho Chehab write '1' to this attribute to trigger the 1144a1a3e9bSChristian Gromm creation of the link. In case of speculative 1154a1a3e9bSChristian Gromm configuration, the creation is post-poned until 1164a1a3e9bSChristian Gromm a physical device is being attached to the bus. 1174a1a3e9bSChristian Gromm 11854a19b4dSMauro Carvalho Chehab destroy_link 11954a19b4dSMauro Carvalho Chehab write '1' to this attribute to destroy an 1204a1a3e9bSChristian Gromm active link 1214a1a3e9bSChristian Gromm 1224a1a3e9bSChristian GrommWhat: /sys/kernel/config/most_net/<link> 1234a1a3e9bSChristian GrommDate: March 8, 2019 1244a1a3e9bSChristian GrommKernelVersion: 5.2 1254a1a3e9bSChristian GrommDescription: 1264a1a3e9bSChristian Gromm The attributes: 1274a1a3e9bSChristian Gromm 12854a19b4dSMauro Carvalho Chehab buffer_size 12954a19b4dSMauro Carvalho Chehab configure the buffer size for this channel 1304a1a3e9bSChristian Gromm 13154a19b4dSMauro Carvalho Chehab subbuffer_size 13254a19b4dSMauro Carvalho Chehab configure the sub-buffer size for this channel 133*3e42d1deSCarlos Bilbao (needed for synchronous and isochronous data) 1344a1a3e9bSChristian Gromm 1354a1a3e9bSChristian Gromm 13654a19b4dSMauro Carvalho Chehab num_buffers 13754a19b4dSMauro Carvalho Chehab configure number of buffers used for this 1384a1a3e9bSChristian Gromm channel 1394a1a3e9bSChristian Gromm 14054a19b4dSMauro Carvalho Chehab datatype 14154a19b4dSMauro Carvalho Chehab configure type of data that will travel over 1424a1a3e9bSChristian Gromm this channel 1434a1a3e9bSChristian Gromm 14454a19b4dSMauro Carvalho Chehab direction 14554a19b4dSMauro Carvalho Chehab configure whether this link will be an input 1464a1a3e9bSChristian Gromm or output 1474a1a3e9bSChristian Gromm 14854a19b4dSMauro Carvalho Chehab dbr_size 14954a19b4dSMauro Carvalho Chehab configure DBR data buffer size (this is used 1504a1a3e9bSChristian Gromm for MediaLB communication only) 1514a1a3e9bSChristian Gromm 1524a1a3e9bSChristian Gromm packets_per_xact 1534a1a3e9bSChristian Gromm configure the number of packets that will be 1544a1a3e9bSChristian Gromm collected from the network before being 1554a1a3e9bSChristian Gromm transmitted via USB (this is used for USB 1564a1a3e9bSChristian Gromm communication only) 1574a1a3e9bSChristian Gromm 15854a19b4dSMauro Carvalho Chehab device 15954a19b4dSMauro Carvalho Chehab name of the device the link is to be attached to 1604a1a3e9bSChristian Gromm 16154a19b4dSMauro Carvalho Chehab channel 16254a19b4dSMauro Carvalho Chehab name of the channel the link is to be attached to 1634a1a3e9bSChristian Gromm 16454a19b4dSMauro Carvalho Chehab comp_params 16554a19b4dSMauro Carvalho Chehab pass parameters needed by some components 1664a1a3e9bSChristian Gromm 16754a19b4dSMauro Carvalho Chehab create_link 16854a19b4dSMauro Carvalho Chehab write '1' to this attribute to trigger the 1694a1a3e9bSChristian Gromm creation of the link. In case of speculative 1704a1a3e9bSChristian Gromm configuration, the creation is post-poned until 1714a1a3e9bSChristian Gromm a physical device is being attached to the bus. 1724a1a3e9bSChristian Gromm 17354a19b4dSMauro Carvalho Chehab destroy_link 17454a19b4dSMauro Carvalho Chehab write '1' to this attribute to destroy an 1754a1a3e9bSChristian Gromm active link 1764a1a3e9bSChristian Gromm 1774a1a3e9bSChristian GrommWhat: /sys/kernel/config/most_sound/<card> 1784a1a3e9bSChristian GrommDate: March 8, 2019 1794a1a3e9bSChristian GrommKernelVersion: 5.2 1804a1a3e9bSChristian GrommDescription: 1814a1a3e9bSChristian Gromm The attributes: 1824a1a3e9bSChristian Gromm 18354a19b4dSMauro Carvalho Chehab create_card 18454a19b4dSMauro Carvalho Chehab write '1' to this attribute to trigger the 1854a1a3e9bSChristian Gromm registration of the sound card with the ALSA 1864a1a3e9bSChristian Gromm subsystem. 1874a1a3e9bSChristian Gromm 1884a1a3e9bSChristian GrommWhat: /sys/kernel/config/most_sound/<card>/<link> 1894a1a3e9bSChristian GrommDate: March 8, 2019 1904a1a3e9bSChristian GrommKernelVersion: 5.2 1914a1a3e9bSChristian GrommDescription: 1924a1a3e9bSChristian Gromm The attributes: 1934a1a3e9bSChristian Gromm 19454a19b4dSMauro Carvalho Chehab buffer_size 19554a19b4dSMauro Carvalho Chehab configure the buffer size for this channel 1964a1a3e9bSChristian Gromm 19754a19b4dSMauro Carvalho Chehab subbuffer_size 19854a19b4dSMauro Carvalho Chehab configure the sub-buffer size for this channel 199*3e42d1deSCarlos Bilbao (needed for synchronous and isochronous data) 2004a1a3e9bSChristian Gromm 2014a1a3e9bSChristian Gromm 20254a19b4dSMauro Carvalho Chehab num_buffers 20354a19b4dSMauro Carvalho Chehab configure number of buffers used for this 2044a1a3e9bSChristian Gromm channel 2054a1a3e9bSChristian Gromm 20654a19b4dSMauro Carvalho Chehab datatype 20754a19b4dSMauro Carvalho Chehab configure type of data that will travel over 2084a1a3e9bSChristian Gromm this channel 2094a1a3e9bSChristian Gromm 21054a19b4dSMauro Carvalho Chehab direction 21154a19b4dSMauro Carvalho Chehab configure whether this link will be an input 2124a1a3e9bSChristian Gromm or output 2134a1a3e9bSChristian Gromm 21454a19b4dSMauro Carvalho Chehab dbr_size 21554a19b4dSMauro Carvalho Chehab configure DBR data buffer size (this is used 2164a1a3e9bSChristian Gromm for MediaLB communication only) 2174a1a3e9bSChristian Gromm 2184a1a3e9bSChristian Gromm packets_per_xact 2194a1a3e9bSChristian Gromm configure the number of packets that will be 2204a1a3e9bSChristian Gromm collected from the network before being 2214a1a3e9bSChristian Gromm transmitted via USB (this is used for USB 2224a1a3e9bSChristian Gromm communication only) 2234a1a3e9bSChristian Gromm 22454a19b4dSMauro Carvalho Chehab device 22554a19b4dSMauro Carvalho Chehab name of the device the link is to be attached to 2264a1a3e9bSChristian Gromm 22754a19b4dSMauro Carvalho Chehab channel 22854a19b4dSMauro Carvalho Chehab name of the channel the link is to be attached to 2294a1a3e9bSChristian Gromm 23054a19b4dSMauro Carvalho Chehab comp_params 23154a19b4dSMauro Carvalho Chehab pass parameters needed by some components 2324a1a3e9bSChristian Gromm 23354a19b4dSMauro Carvalho Chehab create_link 23454a19b4dSMauro Carvalho Chehab write '1' to this attribute to trigger the 2354a1a3e9bSChristian Gromm creation of the link. In case of speculative 2364a1a3e9bSChristian Gromm configuration, the creation is post-poned until 2374a1a3e9bSChristian Gromm a physical device is being attached to the bus. 2384a1a3e9bSChristian Gromm 23954a19b4dSMauro Carvalho Chehab destroy_link 24054a19b4dSMauro Carvalho Chehab write '1' to this attribute to destroy an 2414a1a3e9bSChristian Gromm active link 242