Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 1 | What: /sys/kernel/config/most_<component> |
| 2 | Date: March 8, 2019 |
| 3 | KernelVersion: 5.2 |
| 4 | Description: Interface is used to configure and connect device channels |
| 5 | to component drivers. |
| 6 | |
| 7 | Attributes are visible only when configfs is mounted. To mount |
| 8 | configfs in /sys/kernel/config directory use: |
| 9 | # mount -t configfs none /sys/kernel/config/ |
| 10 | |
| 11 | |
| 12 | What: /sys/kernel/config/most_cdev/<link> |
| 13 | Date: March 8, 2019 |
| 14 | KernelVersion: 5.2 |
| 15 | Description: |
| 16 | The attributes: |
| 17 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 18 | buffer_size |
| 19 | configure the buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 20 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 21 | subbuffer_size |
| 22 | configure the sub-buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 23 | (needed for synchronous and isochrnous data) |
| 24 | |
| 25 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 26 | num_buffers |
| 27 | configure number of buffers used for this |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 28 | channel |
| 29 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 30 | datatype |
| 31 | configure type of data that will travel over |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 32 | this channel |
| 33 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 34 | direction |
| 35 | configure whether this link will be an input |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 36 | or output |
| 37 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 38 | dbr_size |
| 39 | configure DBR data buffer size (this is used |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 40 | for MediaLB communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 41 | |
| 42 | packets_per_xact |
| 43 | configure the number of packets that will be |
| 44 | collected from the network before being |
| 45 | transmitted via USB (this is used for USB |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 46 | communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 47 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 48 | device |
| 49 | name of the device the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 50 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 51 | channel |
| 52 | name of the channel the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 53 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 54 | comp_params |
| 55 | pass parameters needed by some components |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 56 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 57 | create_link |
| 58 | write '1' to this attribute to trigger the |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 59 | creation of the link. In case of speculative |
| 60 | configuration, the creation is post-poned until |
| 61 | a physical device is being attached to the bus. |
| 62 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 63 | destroy_link |
| 64 | write '1' to this attribute to destroy an |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 65 | active link |
| 66 | |
| 67 | What: /sys/kernel/config/most_video/<link> |
| 68 | Date: March 8, 2019 |
| 69 | KernelVersion: 5.2 |
| 70 | Description: |
| 71 | The attributes: |
| 72 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 73 | buffer_size |
| 74 | configure the buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 75 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 76 | subbuffer_size |
| 77 | configure the sub-buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 78 | (needed for synchronous and isochrnous data) |
| 79 | |
| 80 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 81 | num_buffers |
| 82 | configure number of buffers used for this |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 83 | channel |
| 84 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 85 | datatype |
| 86 | configure type of data that will travel over |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 87 | this channel |
| 88 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 89 | direction |
| 90 | configure whether this link will be an input |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 91 | or output |
| 92 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 93 | dbr_size |
| 94 | configure DBR data buffer size (this is used |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 95 | for MediaLB communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 96 | |
| 97 | packets_per_xact |
| 98 | configure the number of packets that will be |
| 99 | collected from the network before being |
| 100 | transmitted via USB (this is used for USB |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 101 | communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 102 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 103 | device |
| 104 | name of the device the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 105 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 106 | channel |
| 107 | name of the channel the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 108 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 109 | comp_params |
| 110 | pass parameters needed by some components |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 111 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 112 | create_link |
| 113 | write '1' to this attribute to trigger the |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 114 | creation of the link. In case of speculative |
| 115 | configuration, the creation is post-poned until |
| 116 | a physical device is being attached to the bus. |
| 117 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 118 | destroy_link |
| 119 | write '1' to this attribute to destroy an |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 120 | active link |
| 121 | |
| 122 | What: /sys/kernel/config/most_net/<link> |
| 123 | Date: March 8, 2019 |
| 124 | KernelVersion: 5.2 |
| 125 | Description: |
| 126 | The attributes: |
| 127 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 128 | buffer_size |
| 129 | configure the buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 130 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 131 | subbuffer_size |
| 132 | configure the sub-buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 133 | (needed for synchronous and isochrnous data) |
| 134 | |
| 135 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 136 | num_buffers |
| 137 | configure number of buffers used for this |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 138 | channel |
| 139 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 140 | datatype |
| 141 | configure type of data that will travel over |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 142 | this channel |
| 143 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 144 | direction |
| 145 | configure whether this link will be an input |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 146 | or output |
| 147 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 148 | dbr_size |
| 149 | configure DBR data buffer size (this is used |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 150 | for MediaLB communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 151 | |
| 152 | packets_per_xact |
| 153 | configure the number of packets that will be |
| 154 | collected from the network before being |
| 155 | transmitted via USB (this is used for USB |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 156 | communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 157 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 158 | device |
| 159 | name of the device the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 160 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 161 | channel |
| 162 | name of the channel the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 163 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 164 | comp_params |
| 165 | pass parameters needed by some components |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 166 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 167 | create_link |
| 168 | write '1' to this attribute to trigger the |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 169 | creation of the link. In case of speculative |
| 170 | configuration, the creation is post-poned until |
| 171 | a physical device is being attached to the bus. |
| 172 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 173 | destroy_link |
| 174 | write '1' to this attribute to destroy an |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 175 | active link |
| 176 | |
| 177 | What: /sys/kernel/config/most_sound/<card> |
| 178 | Date: March 8, 2019 |
| 179 | KernelVersion: 5.2 |
| 180 | Description: |
| 181 | The attributes: |
| 182 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 183 | create_card |
| 184 | write '1' to this attribute to trigger the |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 185 | registration of the sound card with the ALSA |
| 186 | subsystem. |
| 187 | |
| 188 | What: /sys/kernel/config/most_sound/<card>/<link> |
| 189 | Date: March 8, 2019 |
| 190 | KernelVersion: 5.2 |
| 191 | Description: |
| 192 | The attributes: |
| 193 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 194 | buffer_size |
| 195 | configure the buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 196 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 197 | subbuffer_size |
| 198 | configure the sub-buffer size for this channel |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 199 | (needed for synchronous and isochrnous data) |
| 200 | |
| 201 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 202 | num_buffers |
| 203 | configure number of buffers used for this |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 204 | channel |
| 205 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 206 | datatype |
| 207 | configure type of data that will travel over |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 208 | this channel |
| 209 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 210 | direction |
| 211 | configure whether this link will be an input |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 212 | or output |
| 213 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 214 | dbr_size |
| 215 | configure DBR data buffer size (this is used |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 216 | for MediaLB communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 217 | |
| 218 | packets_per_xact |
| 219 | configure the number of packets that will be |
| 220 | collected from the network before being |
| 221 | transmitted via USB (this is used for USB |
George G. Davis | 259c20b | 2019-06-05 16:30:11 -0400 | [diff] [blame] | 222 | communication only) |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 223 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 224 | device |
| 225 | name of the device the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 226 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 227 | channel |
| 228 | name of the channel the link is to be attached to |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 229 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 230 | comp_params |
| 231 | pass parameters needed by some components |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 232 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 233 | create_link |
| 234 | write '1' to this attribute to trigger the |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 235 | creation of the link. In case of speculative |
| 236 | configuration, the creation is post-poned until |
| 237 | a physical device is being attached to the bus. |
| 238 | |
Mauro Carvalho Chehab | 54a19b4 | 2020-10-30 08:40:50 +0100 | [diff] [blame] | 239 | destroy_link |
| 240 | write '1' to this attribute to destroy an |
Christian Gromm | deaf3b7 | 2019-04-03 15:19:55 +0200 | [diff] [blame] | 241 | active link |