# SPDX-License-Identifier: GPL-2.0
java.lang.NullPointerException # USB Gadget support on a system involves # (a) a peripheral controller, and # (b) the gadget driver using it.
java.lang.NullPointerException # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 34
java.lang.NullPointerException # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). # - Peripherals (like PDAs systems java.lang.StringIndexOutOfBoundsException: Range [37, 33) out of bounds for length 49 # - Some supportUSB -theGo.
java.lang.NullPointerException
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
s ofjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 77
java.lang.NullPointerException
menuconfig USB_GADGET
tristate
USB_COMMON
help
USB is a host/ you 'a tothe- a .
PC) controlling up to 127 java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
hardware whichmakes iteasierset :
you can't connect a "to-the-host" connector to a peripheralyou need level ,and some software
Linux can run in areintegratedtheCPUin microcontroller more
driver,and software
talking to it. Peripheral controllers are often discrete silicon, or are integrated with are usually intoPC
hostcontrollersnames E" " or"UHCI", and
motherboards.
Enable this configuration option if you want to run Linux java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 68
a USB peripheral device. Configure one hardware driver for your
side ,anda" java.lang.StringIndexOutOfBoundsException: Range [68, 69) out of bounds for length 68
your peripheral than)
may .
If in doubt, say " ,see:/.-.java.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 67
iskind hardwaree insidePDAs.
For more information, see <http://www.linux-usb.org/gadget> and
thedocumentationfor .
if USB_GADGET
bool" messages(EVELOPMENT)java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
depends DEBUG_KERNEL
help
Many controller messages that the d driver , will
messages java.lang.StringIndexOutOfBoundsException: Range [53, 49) out of bounds for length 60
Avoid enabling these messages, even if java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 60
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 5
either messages if yyouuse java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 62
down forjava.lang.StringIndexOutOfBoundsException: Range [60, 61) out of bounds for length 60
production build.
USB_GADGET_VERBOSE
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 48
on
essagesifthisforthose
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 58
debugging java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
messages that the java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 59
create the youre
trying to track down. filesjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 63
productionjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
config USB_GADGET_DEBUG_FILES bool"java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
depends on PROC_FS
depe
ome driversjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 60
debuggingjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 59
( a. java.lang.StringIndexOutOfBoundsException: Range [52, 51) out of bounds for length 60
help ' orup
driver on a new board. aa
N.
config USB_GADGET_DEBUG_FS bool"Debugging information files in debugfs (DEVELOPMENT)"
java.lang.StringIndexOutOfBoundsException: Range [23, 20) out of bounds for length 20
help
Some of the drivers in the "gadget" framework can expose
debugging information
Someneed they
troubleshootingjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
files ""here.Ifin,
to conserve as AC java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
config milliAmperes. The perm is2-500mAjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63 int
range2500 defaultdriversthat morespecificjava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 48
help
configured,default java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
batteries. This is increased
suchanadapter .
Enter the the appearwith
milliAmperes CPU demand.DMA 0 mA offload th CPUwill java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 60
selectingjava.lang.StringIndexOutOfBoundsException: Range [44, 39) out of bounds for length 64
config ,2 int
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12 default supports can java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 59
help
Usually 2 buffers are enough to Drivers
pipeline. number may in to fora behaviour. For instance may be CPU up
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 66
an CPU onon
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
often and spin up occasionally to move data within VFS.
config
configjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 18 booljava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [16, 6) out of bounds for length 16
# configjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
POSITE
config
config USB_F_ACM
tristate
config
config
tristate
config
config USB_U_AUDIO
tristate SND_UMP
configjava.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 0
config
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 16
tristate
config USB_F_ECM
tristate
config USB_F_EEM
appropsymbolic
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 19
tristate
config USB_F_RNDIS
tristate
config USB_F_MASS_STORAGE
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
config
tristate
config depends on USB_C
tristate
config
tristate
config java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 5
config USB_F_UVC - hosts java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 59
tristate
select O java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 40
TTY
tristate
select
Youneeduser java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 65
config
tristate
config USB_F_PRINTER
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 16
java.lang.StringIndexOutOfBoundsException: Range [0, 9) out of bounds for length 5
# this first set of drivers all grouping of several ethernet frames java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 64
config USB_CONFIGFS
tristate "USB Gadget functions configurable through configfs"
help
Linux gadgetcanbeset through NET
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [18, 14) out of bounds for length 61
specified simply oftenjava.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 65
with java.lang.StringIndexOutOfBoundsException: Range [47, 44) out of bounds for length 64
java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 30
EthernetModel C java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 47
bool tjava.lang.StringIndexOutOfBoundsException: Range [39, 35) out of bounds for length 54
on
depends java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 20
help
Microsoft XP the "NDIS"( protocol
config USB_CONFIGFS_ACM bool"Abstract Control Model (CDC ACM)"
depends on USB_CONFIGFS
on
USB_U_SERIAL
help
serial.This to
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
config depends on USB_CONFIGFS bool"Object Exchange Model (CDC OBEX NET
depends on TTYCDC anewer somewhat ECM
select USB_U_SERIALand java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 72
help
willneed servertalking devttyGS,
since the kernel itself doesn't implement the model to with using
config USB_CONFIGFS_NCM bool"Network java.lang.StringIndexOutOfBoundsException: Range [63, 18) out of bounds for length 72
son
depends on NET
select USB_U_ETHER
select USB_F_NCM
select
help
is encapsulation,allows
grouping of several onPHONET
different select
config help boolEjava.lang.StringIndexOutOfBoundsException: Range [23, 15) out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
dependsjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 19
help
Device"() Control.
That protocol
simpler-hardware widely boolLjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 54
java.lang.StringIndexOutOfBoundsException: Range [19, 6) out of bounds for length 30 " CDC)"
depends on USB_CONFIGFSSourcesinkjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 58
Make first try top
select USB_F_SUBSET
help
test,
a java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 58
on
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
select composite functi space sameway
help
Microsoft Windows XP bundles the "Remote NDIS" (RNDIS) protocol,
java.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 67
Windows
)other
as the
is " 1.java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
select
select
ndson
This Audio ,
select USB_F_EEM
select CRC32
help
is standardis than and This driver' java.lang.StringIndexOutOfBoundsException: Range [30, 29) out of bounds for length 64 for.
the network interface sourced sound
model communicate
ethernet over USB. For from provide
is (usbXjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 72
config Audiojava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 47 bool""
depends onon
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 15
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 19
select USB_F_PHONET
help This
configE
confi
depends on
java.lang.StringIndexOutOfBoundsException: Range [7, 5) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
( much way the l",
specified as a module parameter or java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 61
on -audiojava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 61
select application do whatever thedata
datatojava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 58
implements
be youusing
USB java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
basic set functional tests
config USB_CONFIGFS_F_FS bool input and one MIDI output These jacksappearas
depends on USB_CONFIGFS
select USB_F_FS
help
The a "ard" the ALSA system MIDI
functionsin space the way GadgetFS
ALSA' aconnect etc.
of gadgets that functionsare
implemented inkernel space( Ethernet,serialor
) andother are in space.
config select bool"Audio Class The 2. function the generic emulated
on USB_CONFIGFS
depends on
select USB_LIBCOMPOSITE
select SND_PCM
select USB_U_AUDIO
Block/configuration
help This implements 1 , 1AudioStreaming forUSB- and-IN
depends USB_CONFIGFS
on select USB_F_HID
from ALSA cardcreated -space
application The HID functio generic emulation of USB
received from USB and providewhatever java.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
wants audiodata to USB Host.
config USB_CONFIGFS_F_UAC1_LEGACY 1.0("
depends
java.lang.StringIndexOutOfBoundsException: Range [11, 8) out of bounds for length 21
select
select java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
help
device.ItprovidesauserspaceAPItoprocess control 1 and stream streamvideo the host This USB_CONFIGFS_F_PRINTER
to present thedevice
config java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21 " Class 20java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
depends USB_CONFIGFS
depends on SND userspace
select USB_LIBCOMPOSITE
select SND_PCM
select USB_U_AUDIO
select USB_F_UAC2
help This Audio function receive sendprinterdataIt useioctlto 01AudioControl , 1 AudioStreaming ,see //.rst This driver' expect to
fig USB_CONFIGFS_F_TCM
sourcedfrom avirtual sound java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 65
application maydepends
Host andchoose provide it
USB_F_TCM
"IDI "
depends ( Attached SCSI.BOT is on alternative
depends on SND
select USB_LIBCOMPOSITE select USB_LIBCOMPOSITE
select protocols can workonUSB2.0and .0.
select USB_F_MIDI
help
source"drivers/usb/gadget/legacy/Kconfig"
input and one MIDI output. These MIDI jacks appear as
a sound "card" in the ALSA java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 0
connections can then be made on the gadget system, using
ALSA's aconnect utility etc.
config USB_CONFIGFS_F_MIDI2 bool"MIDI 2.0 function"
depends on USB_CONFIGFS
depends on SND
select USB_LIBCOMPOSITE
select USB_F_MIDI2
help
The MIDI 2.0 function driver provides the generic emulated
USB MIDI 2.0 interface, looped back to ALSA UMP rawmidi
device on the gadget host. It supports UMP 1.1 spec and
responds UMP Stream messages for UMP Endpoint and Function
Block information / configuration.
config USB_CONFIGFS_F_HID bool"HID function"
depends on USB_CONFIGFS
select USB_F_HID
help
The HID function driver provides generic emulation of USB
Human Interface Devices (HID).
For more information, see Documentation/usb/gadget_hid.rst.
config USB_CONFIGFS_F_UVC bool"USB Webcam function"
depends on USB_CONFIGFS
depends on VIDEO_DEV
depends on VIDEO_DEV
select VIDEOBUF2_DMA_SG
select VIDEOBUF2_VMALLOC
select USB_F_UVC
help
The Webcam function acts as a composite USB Audio and Video Class
device. It provides a userspace API to process UVC control requests and stream video data to the host.
config USB_CONFIGFS_F_PRINTER bool"Printer function"
select USB_F_PRINTER
depends on USB_CONFIGFS
help
The Printer function channels data between the USB host and a
userspace program driving the print engine. The user space
program reads and writes the device file /dev/g_printer<X> to
receive or send printer data. It can use ioctl calls to
the device file to get or set printer status.
For more information, see Documentation/usb/gadget_printer.rst
which includes sample code for accessing the device file.
config USB_CONFIGFS_F_TCM bool"USB Gadget Target Fabric"
depends on TARGET_CORE
depends on USB_CONFIGFS
select USB_LIBCOMPOSITE
select USB_F_TCM
help This fabric is a USB gadget component. Two USB protocols are
supported that is BBB or BOT (Bulk Only Transport) and UAS
(USB Attached SCSI). BOT is advertised on alternative
interface 0 (primary) and UAS is on alternative interface 1.
Both protocols can work on USB2.0and USB3.0.
UAS utilizes the USB 3.0 feature called streams support.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.