Lines Matching +full:on +full:- +full:device
1 # SPDX-License-Identifier: GPL-2.0
3 # USB Gadget support on a system involves
7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks).
10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks).
11 # - Some systems have both kinds of controllers.
13 # With help from a special transceiver and a "Mini-AB" jack, systems with
14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
19 # are a subset (implementing a USB device class specification).
23 # Gadget drivers are hardware-neutral, or "platform independent",
29 # a less common variant of a device class protocol.
32 # gadget configuration. In the device model, each option contains
33 # both the device instantiation as a child for a USB gadget
35 # by the device.
44 Gadget Zero is a two-configuration device. It either sinks and
47 conformance. The driver needs only two bulk-capable endpoints, so
48 it can work on top of most device-side usb controllers. It's
52 Make this be the first driver you try using on top of any new
53 USB peripheral controller driver. Then you can use host-side
57 Gadget Zero also works with the host-side "usb-skeleton" driver,
58 and with many kinds of host-side test software. You may need
60 this device, and arrange to select an appropriate configuration.
66 bool "HNP Test Device"
67 depends on USB_ZERO && USB_OTG
69 You can configure this device to enumerate using the device
70 identifiers of the USB-OTG test device. That means that when
71 this gadget connects to another OTG device, with this one using
72 the "B-Peripheral" role, that device will use HNP to let this
73 one serve as the USB host instead (in the "B-Host" role).
77 depends on SND
87 1 AudioStreaming Interface each for USB-OUT and USB-IN.
91 on the device - the audio streams are simply sinked to and
92 sourced from a virtual ALSA sound card created. The user-space
102 depends on USB_AUDIO
109 depends on GADGET_UAC1
111 If you instead want legacy UAC Spec-1.0 driver that also has audio
112 paths hardwired to the Audio codec chip on-board and doesn't work
117 depends on NET
127 - The "Communication Device Class" (CDC) Ethernet Control Model.
129 favor of simpler vendor-specific hardware, but is widely
132 - On hardware can't implement that protocol, a simple CDC subset
133 is used, placing fewer demands on USB.
135 - CDC Ethernet Emulation Model (EEM) is a newer standard that has
140 Within the USB device, this gadget driver exposes a network device
141 "usbX", where X depends on what other networking devices you have.
142 Treat it like a two-node Ethernet link: host, and gadget.
144 The Linux-USB host-side "usbnet" driver interoperates with this
145 driver, so that deep I/O queues can be supported. On 2.4 kernels,
148 drivers on other host operating systems.
155 depends on USB_ETH
165 a second device configuration, supporting RNDIS to talk to such
168 To make MS-Windows work with this, use Documentation/usb/linux.inf
169 as the "driver info file". For versions of MS-Windows older than
175 depends on USB_ETH
185 the host is the same (a usbX device), so the differences are minimal.
192 depends on NET
210 programs implement a single-configuration USB device, including
239 depends on USB_FUNCTIONFS && NET
249 depends on USB_FUNCTIONFS && NET
257 depends on USB_FUNCTIONFS
264 depends on BLOCK
270 device (in much the same way as the "loop" device driver),
273 This driver is a replacement for now removed File-backed
281 depends on TARGET_CORE
287 advertised on alternative interface 0 (primary) and UAS is on
288 alternative interface 1. Both protocols can work on USB2.0 and USB3.0.
293 depends on TTY
300 The Serial Gadget talks to the Linux-USB generic serial driver.
301 This driver supports a CDC-ACM module option, which can be used
302 to interoperate with MS-Windows hosts or with the Linux-USB
303 "cdc-acm" driver.
305 This driver also supports a CDC-OBEX option. You will need a
314 make MS-Windows work with CDC ACM.
318 depends on SND
323 The MIDI Gadget acts as a USB Audio device, with one MIDI
326 connections can then be made on the gadget system, using
339 program reads and writes the device file /dev/g_printer to
341 the device file to get or set printer status.
347 which includes sample code for accessing the device file.
352 tristate "CDC Composite Device (Ethernet and ACM)"
353 depends on NET
372 depends on PHONET
373 depends on BLOCK
390 tristate "CDC Composite Device (ACM and mass storage)"
391 depends on BLOCK
405 depends on BLOCK && NET
429 depends on USB_G_MULTI
442 depends on USB_G_MULTI
462 includes sample code for accessing the device files.
469 tristate "EHCI Debug Device Gadget"
470 depends on TTY
473 This gadget emulates an EHCI Debug device. This is useful when you want
481 prompt "EHCI Debug Device mode"
485 depends on USB_G_DBGP
491 depends on USB_G_DBGP
503 depends on VIDEO_DEV
510 device. It provides a userspace API to process UVC control requests
519 USB Raw Gadget is a gadget driver that gives userspace low-level
527 See Documentation/usb/raw-gadget.rst for details.