# 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
ivers in the "gadget" framework can expose
debugging information in files such as /proc/driver/udc
( either create new failure modes orremovethe one you're
may help when you're troubleshooting or bringing up a
driver on a new board production build.
here. If in doubt, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
config USB_GADGET_DEBUG_FS bool"Debugging information files in debugfs (DEVELOPMENT)"
nds on DEBUG_FS
S ofthe in the "gadget" framework can expose
Some of the debugging information information in files such as /proc/driver/udc
for peripheral controller) The information in these
The information in these files may help files may whenyou'etroubleshooting or bringing up a
ngup driver on new board.
Enable here. If indoubt,or to conservekernelmemory, say"N"java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
to conserve kernel
config USB_GADGET_VBUS_DRAW int"java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 5
range 2500
help
devices need to draw power from USBwhen are
troubleshooting or bringing up a driver on a new board.
batteries. Enablethese by choosing" here. in doubt, r
suchas an AC adapter or batteries.
Enter the maximum power your device draws through
itted rangeof values is 2500 mA; 0 mA would be legal, but can make some hosts misbehave.
This range 2500
drivers thathave more information.
config USB_GADGET_STORAGE_NUM_BUFFERS int"Number of storage pipeline buffers"
range 2256 default2
help
Usually 2 buffers are enough to establish a good buffering
pipeline. The numbermay be increased in order to compensate for a as AC adapter orbatteries.
latencies that makes VFS to appear bursty in a system with
an CPU on- governor Especially if isdoing IO to
e CPU.In thiscasethe CPU will go into power
save often and spin up occasionally to move data within VFS. If USB_GADGET_DEBUG_FILES this value may be set by
a module parameter as drivers that have more specific information. If unsure,say .
config U_SERIAL_CONSOLE boolrange 2256
depends on USB_U_SERIAL
help
Itsupports theserial gadget be used as a console.
source "drivers/usb/gadget/udcjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
java.lang.NullPointerException # USB Gadget Drivers
java.lang.NullPointerException
# compositeThebeincreasedinordertocompensate
burstyVFSthere be wake up
tristate
select CONFIGFS_FS latencies that makes the VFS to appear bursty in a system with
depends on USB_GADGET
config USB_F_ACM
tristate
config USB_F_SS_LB save java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 64
tristate
config tristate
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
select SND_UMP
select
config USB_F_HID
tristate
config USB_F_PRINTER
tristate
config USB_F_TCM
tristate
# this
configtristate
tristate
config USB_F_NCM
help
A Linux USB "gadget" can java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 If
config USB_F_PHONET
tristate
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 0
riate links. For config USB_F_SUBSET
config USB_CONFIGFS_SERIAL bool"java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
depends on tristate
select USB_U_SERIAL
select USB_F_SERIAL
help
config USB_F_FS
USB_CONFIGFS_ACM booljava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
ONFIGFS
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
select USB_U_SERIAL
select java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 9
help
ACM serial link. This function can be used tristate
MSWindows orwith the Linux-USB "cdc-acm" driver.
config java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 9 bool"bjectExchange Model (CDC OBEX)"
depends on USB_CONFIGFS
depends on
selectconfig USB_F_MIDI2
USB_F_OBEX
help
will a space OBEX server talking to /dev/ttyGS*,
since the kernel itselfselect SND_UMP_LEGACY_RAWMIDI
config USB_CONFIGFS_NCM bool"java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 9
depends tristate
dependsconfig USB_F_TCM
select USB_U_ETHER
select USB_F_NCM
select CRC32
help
NCM is an advanced protocol for Ethernet java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 0
into one USBtransfer and
different alignment possibilities.
config USB_CONFIGFS_ECM bool"Ethernet select USB_LIBCOMPOSITE
depends on A USB"gadget" can setup through configfs.
depends on NET
select USB_U_ETHER
select USB_F_ECM
help
The "Communication Device Class" (CDC perspective are seen as interfaces) and configurations are
That protocol is avoided with pure Ethernet adapters, in
favor of simpler vendor-specific Associating functions with configurations is done by creating
supported by firmware for appropriate symbolic links.
config USB_CONFIGFS_ECM_SUBSET bool" Control (DCECM)subset"
depends on USB_CONFIGFS
depends on NET
select USB_U_ETHER
select USB_F_SUBSET
help
On hardware thatcan't implement the full protocol,
a simple CDC subset is used, placing fewerdepends USB_CONFIGFS
config USB_CONFIGFS_RNDIS bool"RNDIS"
depends select USB_U_SERIAL
depends on select USB_F_SERIAL
select USB_U_ETHER
select USB_F_RNDIS
help
Windows bundles "Remote RNDIS),
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 23
depends onTTY
selectUSB_U_SERIAL
as select USB_F_ACM
XP
is given ACM link function canbe used to interoperate with
config USB_CONFIGFS_EEM bool"
java.lang.StringIndexOutOfBoundsException: Range [24, 8) out of bounds for length 24
dependson NET
select USB_U_ETHER
select USB_F_EEM
select CRC32
help
EEMis newer USB standard that is simpler thanCDCECM and therefore can besupportedbymore hardware. Technically ECM and
EEM are designed for different applications. select USB_F_OBEX
You needauser spaceOBEX server talking to//ttyGS*java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
EEM modelis formobiledevices communicate hosts using
java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 0
the hostisthe same (a usbX device), so the differences are minimal.
config USB_CONFIGFS bool
dependsselectCRC32
depends NCM an advanced protocolforEthernet encapsulation,
depends on PHONET
USB_U_ETHER
select
help
The Phonet protocol implementation for USB device.
config USB_CONFIGFS_MASS_STORAGE bool"Mass storage"
depends on USB_CONFIGFS "thernet Control Model (CDC ECM)"
depends on BLOCK
select USB_F_MASS_STORAGE
help
The Mass Storage Gadget acts as a USB on NET
As its storage repository it select USB_U_ETHER
device (in much the same wayselect USB_F_ECM
The "Communication Class"(CDC Ethernet Control Model
config favor of vendor-pecific ,but is "oopback and sourcesink function (for testing)"
depends on USB_CONFIGFS
select config USB_CONFIGFS_ECM_SUBSET
help
Loopback function loops boolEthernet Control Model( ECM subset"
Sourcesink function either sinks and sources bulk data.
It also depends on NET
Make thisbe the driveryou tryusingon of any new
ntroller
test software,likethe "usbtest" driver,toput your hardware andits driver through a basic set of functional tests.
config USB_CONFIGFS_F_FS bool config USB_CONFIGFS_RNDIS
depends on USB_CONFIGFS
depends USB_CONFIGFS
help
The Function Filesystem (FunctionFS) lets one createselect USB_U_ETHER
ons inuser inthe same wayGadgetFS
lets one java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 5
of composite gadgets such that some of the functions andMicrosoftprovidesredistributable binary RNDISdrivers for
implemented in older versions of.
mass storage and other are implemented inuser space.
config USB_CONFIGFS_F_UAC1 bool""Audio Class 1."
depends on USB_CONFIGFS
depends on SND
select USB_LIBCOMPOSITE
SND_PCM
select USB_U_AUDIO
USB_F_UAC1
depe on NET This function implements 1AudioControl interfacejava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59 1 CDC EEM a newerUSB that is somewhat simplerthan CDCECM
doesntexpect any real Audio codec to be present
on the device - the audio streams are simply sinked EEMare designed for different applications. The ECM model extends
sourced from a virtual ALSA sound cardcreated.The user-space
application may choose EEM is for mobile devicesto communicate with hostsusing
received the USB Host andchoose to whatever it
thehost is the same a usbX device), so the differences are minimal.
config bool" Class 1.0 (legacy implementation)"
depends on USB_CONFIGFS bool"honet protocol
depends on SND
select USB_LIBCOMPOSITE
select SND_PCM
select USB_F_UAC1_LEGACY
help Thisselect USB_U_ETHER 1 AudioStreaming java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 20
is a legacy driver andrequires a realAudio codec
to be USB_CONFIGFS_MASS_STORAG
gUSB_CONFIGFS_F_UAC2
depe on USB_CONFIGFS
depends on USB_CONFIGFS
depends on select USB_F_MASS_STORAGE
select USB_LIBCOMPOSITE
select SND_PCM
select USB_U_AUDIO
select USB_F_UAC2
help This Audio function is compatible with USB Audio Class device(nmuch the same as the"oop device driver)
AudioControl interface, 1 AudioStreaming Interface each for USB-OUT and USB-IN. Thisconfig USB_CONFIGFS_F_LB_SS
the device -the audio streams are simply sinked to and
sourced from a depends on USB_CONFIGFS
maychooseto do it wantswith the data
received help
wants as audio the USB Host.
config USB_CONFIGFS_F_MIDI bool"MIDI function Sourcesinkfunction either sinks and sources bulk data.
It also controlrequests,for"chapter 9" conformance.
depends ons be the first driver try ontop of any new
select USB_LIBCOMPOSITE
select SND_RAWMIDI
select USB_F_MIDI
help
The MIDI Function acts and its driver through a of functional .
one .TheseMIDI appear java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
sound"ard"in sound.Other
connections can then compositefunctions user spaceinthesame way GadgetFS
ALSAsaconnectutilityetc
config compositesuch someofthefunctions bool" in space forinstance
mass storage otherare implementeduserspace
depends on SND
select USB_LIBCOMPOSITE
USB_F_MIDI2
help
TheMIDI. functiondriverprovidesthegeneric emulated
USB MIDI 2 dependsdependsonSND
device on SND_PCM
selectUSB_U_AUDIO
information /.
ThisAudiofunction 1AudioControlinterface bool1 Interfaceeach OUT USB.
onUSB_CONFIGFS
select
help sourced from avirtualALSAsound card .Theuser-space
n driverprovides theUSBHost choosetoprovide whateverit
Human Interface Devices (HID).
For more information, see Documentation/usb/gadget_hid.asaudio the.
config bool "Audio Class legacy implementation)" booldependson USB_CONFIGFS
on USB_CONFIGFS
depends on VIDEO_DEV
depends on VIDEO_DEV
select VIDEOBUF2_DMA_SG
SND_PCM
select USB_F_UVC
help
The help
provides API UVC requests and data to .
config bool"Printer to be on .
select USB_F_PRINTER
depends on USB_CONFIGFS
helpbool Audio Class."
The Printer function channels dependsonUSB_CONFIGFS
userspaceprogramdrivingthe print engine. The user space
program java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 15
receive orsend printer . canuse calls
the device file .Itimplements AudioControlinterface
Formoreinformation Documentationusbgadget_printer
which includes driver doesntanyrealAudiocodecbepresent
fig bool" sourced a virtual ALSA sound card created. The user-space
depends on TARGET_CORE
on USB_CONFIGFS
select received from the USB to whatever it
select
help This fabric configUSB_CONFIGFS_F_MIDI bool Mfunction
USBAttachedSCSI) advertisedon
interface on
can USB3
USB_F_MIDI
java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
endif # USB_GADGET
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.21 Sekunden
(vorverarbeitet am 2026-10-11)
¤
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.