Lines Matching +full:enabled +full:- +full:strings

50 http://www.spinics.net/lists/linux-usb/msg76388.html)
55 $ mount none $CONFIGFS_HOME -t configfs
60 -----------------------
81 A gadget also needs its serial number, manufacturer and product strings.
82 In order to have a place to store them, a strings subdirectory must be created
85 $ mkdir strings/0x409
87 Then the strings can be specified::
89 $ echo <serial number> > strings/0x409/serialnumber
90 $ echo <manufacturer> > strings/0x409/manufacturer
91 $ echo <product> > strings/0x409/product
94 ------------------------------
110 Each configuration also needs its strings, so a subdirectory must be created
113 $ mkdir configs/c.1/strings/0x409
117 $ echo <configuration> > configs/c.1/strings/0x409/configuration
124 -------------------------
140 Each function provides its specific set of attributes, with either read-only
141 or read-write access. Where applicable they need to be written to as
143 Please refer to Documentation/ABI/*/configfs-usb-gadget* for more information.
146 ------------------------------------------------------
154 $ ln -s functions/<name>.<instance name> configs/<name>.<number>
158 $ ln -s functions/ncm.usb0 configs/c.1
165 ----------------------
173 ./strings
174 ./strings/0x409
175 ./strings/0x409/serialnumber
176 ./strings/0x409/product
177 ./strings/0x409/manufacturer
180 ./configs/c.1/ncm.usb0 -> ../../../../usb_gadget/g1/functions/ncm.usb0
181 ./configs/c.1/strings
182 ./configs/c.1/strings/0x409
183 ./configs/c.1/strings/0x409/configuration
203 Such a gadget must be finally enabled so that the USB host can enumerate it.
213 $ echo s3c-hsotg > UDC
217 -----------------------
224 --------------
239 Remove strings directories in configurations:
241 $ rmdir configs/<config name>.<number>/strings/<lang>
245 $ rmdir configs/c.1/strings/0x409
275 Remove strings directories in the gadget::
277 $ rmdir strings/<lang>
281 $ rmdir strings/0x409
304 which can be read-only or read-write, depending on what they represent.
308 configured elements. However, they are embedded in usage-specific
317 +--sa (file)
339 +----------------------------------+
341 +-----------------+ | (*store)(cs *, buffer, length); |
343 | +-------------+ | | +------------------+ |
344 | | struct |-|----|------>|struct | |
346 | +-------------+ | | +------------------+ |
347 | | +----------------------------------+
350 +-----------------+ .
354 a number of its default sub-groups created automatically.
362 idProduct etc) and default sub-groups (configs, functions, strings).
364 appropriate locations. In the configs, functions and strings sub-groups
365 a user can create their sub-groups to represent configurations, functions,
366 and groups of strings in a given language.
377 - gadget's config_group
378 - gadget's default groups (configs, functions, strings)
379 - associating functions with configurations (symlinks)